[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo ChangeLog doc/texinfo.txi util/htmlxref...
From: |
Karl Berry |
Subject: |
texinfo ChangeLog doc/texinfo.txi util/htmlxref... |
Date: |
Sun, 10 Oct 2010 18:01:26 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Karl Berry <karl> 10/10/10 18:01:26
Modified files:
. : ChangeLog
doc : texinfo.txi
util : htmlxref.cnf
Log message:
(Customizing HTML Headings): rename+edit
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1154&r2=1.1155
http://cvs.savannah.gnu.org/viewcvs/texinfo/doc/texinfo.txi?cvsroot=texinfo&r1=1.326&r2=1.327
http://cvs.savannah.gnu.org/viewcvs/texinfo/util/htmlxref.cnf?cvsroot=texinfo&r1=1.15&r2=1.16
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1154
retrieving revision 1.1155
diff -u -b -r1.1154 -r1.1155
--- ChangeLog 8 Oct 2010 23:28:29 -0000 1.1154
+++ ChangeLog 10 Oct 2010 18:01:25 -0000 1.1155
@@ -1,3 +1,9 @@
+2010-10-10 Karl Berry <address@hidden>
+
+ * doc/texinfo.txi (Customizing Output File Names): further
+ attempts at clarifying the config vars for output file names.
+ (Customizing HTML Headings): rename+edit.
+
2010-10-08 Karl Berry <address@hidden>
* doc/texinfo.txi (Defining Macros),
Index: doc/texinfo.txi
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.txi,v
retrieving revision 1.326
retrieving revision 1.327
diff -u -b -r1.326 -r1.327
--- doc/texinfo.txi 10 Oct 2010 00:11:03 -0000 1.326
+++ doc/texinfo.txi 10 Oct 2010 18:01:25 -0000 1.327
@@ -1,5 +1,5 @@
\input texinfo.tex @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.326 2010/10/10 00:11:03 karl Exp $
address@hidden $Id: texinfo.txi,v 1.327 2010/10/10 18:01:25 karl Exp $
@c Ordinarily, Texinfo files have the extension .texi. But texinfo.texi
@c clashes with texinfo.tex on 8.3 filesystems, so we use texinfo.txi.
@@ -18515,9 +18515,9 @@
* Output Elements:: The main unit of output documents.
* Navigation Panel Customization:: Customizing navigation buttons and more.
* Customizing HTML Page Layout:: Customizing page headers, footers, sections.
-* Customizing Special Elements::
-* Customizing Output-Related Names::
-* Headings formatting::
+* Customizing Special Elements:: The top, toc, about, etc., elements.
+* Customizing Output-Related Names:: File names and target names.
+* Customizing HTML Headings::
* Formatting insertions text and simple commands::
* References and footnotes formatting::
* Block commands formatting::
@@ -20137,16 +20137,16 @@
$first_in_page $previous_is_top \%element
@table @var
@item $filehandle
-is the opened filehandle to which the function should write.
+The opened filehandle to which the function should write.
@item $first_in_page
-is true if this section is the first section in the page.
+True if this section is the first section in the page.
@item $previous_is_top
-is true if this section is the section following the top section.
+True if this section is the section following the top section.
@item \%element
-is a hash reference with information about the element.
+A hash reference with information about the element.
@end table
The function should print the current section contents.
@@ -20155,7 +20155,6 @@
@deffn {Function Reference} end_section $filehandle @
$last_element_or_before_top \%element
@var{$filehandle} and @var{\%element} are as above.
-
@var{$last_element_or_before_top} is true if this section precedes the
top element or is the last one in page, or before the special
elements.
@@ -20573,15 +20572,23 @@
@cindex Output file names, customizing
@vindex PREFIX
address@hidden TOP_FILE
address@hidden TOC_FILE
address@hidden SUBDIR
@vindex EXTENSION
It is possible to specify the output file names with more control than
merely the command line option @option{--output} (@pxref{Invoking
-texi2any}): the configuration variables @code{PREFIX}, @code{TOP_FILE}
-and @code{TOC_FILE} may be used. The extension may also be overriden
-by the configuration variable @code{EXTENSION} value. The variable
-should be @code{undef} if no extension is to be added.
+texi2any}). The @code{PREFIX} configuration variable overrides the
+base name of the file given by @code{@@setfilename} or the file name
+and should not contain any directory components. To alter
+intermediate directories, use the @code{SUBDIR} configuration
+variable. Finally, The extension may also be overriden by the
+configuration variable @code{EXTENSION}. This variable should be
address@hidden if no extension is to be added.
+
address@hidden TOP_FILE
address@hidden TOC_FILE
+Furthermore, the configuration variables @code{TOP_FILE} and
address@hidden override the output file name for the top and contents
+elements.
@vindex NODE_FILES
Two function references enable further customization. The first,
@@ -20639,10 +20646,6 @@
The function should return the file name for the element (@var{$file}).
@end deftypefn
address@hidden xx vindex %renamed_nodes
address@hidden xx It is also possible to specify renamed node names in
address@hidden xx @code{%renamed_nodes}. They are processed as explained in
address@hidden xx @ref{HTML Xref Link Preservation}.
@node Customizing Output Target Names
@subsection Customizing Output Target Names
@@ -20707,92 +20710,140 @@
@samp{Overview}, @samp{Contents}, @samp{Footnotes} and @samp{About}.
address@hidden Headings formatting
address@hidden Customizing headings formatting
address@hidden Customizing HTML Headings
address@hidden Customizing HTML Headings
+
address@hidden Headings, customizing HTML
+
+A function reference may be defined to do the formatting of the heading
+text (usually changing font and underlining):
-A function reference may be used to do the formatting
-of the heading text (in general changing font and underlining):
address@hidden {Function Reference} $heading_text_formatted heading_text
$command $text $level
address@hidden {Function Reference} $heading_text_formatted heading_text @
+ $command $text $level
@var{$command} is the @@-command name associated with the heading.
@var{$text} is the heading @@-command argument, formatted.
@var{$level} is the level of the heading in the document tree.
@end deftypefn
+
@findex heading_text_preformatted
A similar function reference is available for preformatted context,
@code{heading_text_preformatted}.
-A function controls the formatting of element headings, @code{heading}.
-In the default case it mainly determines if the @code{heading_text} function
-reference should be called for this element, for example it is
-common not to output any heading text for a node, only
-for associated sectioning elements (@pxref{Two Paths}).
address@hidden {Function Reference} $heading_text heading \%element $command
$command_texi_arg $formatted_arg $in_preformatted $one_section $element_heading
-The @var{\%element} is a reference on a hash corresponding
-with the sectioning element. The following keys are of interest:
+A function controls the formatting of element headings,
address@hidden By default its main job is to determine whether the
address@hidden function reference should be called. Normally,
+heading text is not output for a node on its, only for any associated
+sectioning element (@pxref{Two Paths}).
+
address@hidden {Function Reference} $heading_text heading \%element $command @
+ $command_texi_arg $formatted_arg $in_preformatted $one_section @
+ $element_heading
+
address@hidden @var
address@hidden \%element
+A hash reference representing the sectioning element. The
+following keys are of interest:
+
@table @code
@item text
-The heading text
+The heading text.
+
@item text_nonumber
-The heading text without section number
+The heading text without section number.
+
@item node
-true if the sectioning element is a node without associated structuring command
+True if the sectioning element is a node without an associated
+structuring command.
+
@item level
-The level of the element in the document tree. @samp{0} is for @code{@@top},
address@hidden for @code{@@chapter} and so on
+The level of the element in the document tree: @samp{0} for
address@hidden@@top}, @samp{1} for @code{@@chapter}, and so on.
+
@item tag_level
-the sectioning element name, with @code{@@raisesections} and
address@hidden@@lowersections} taken into account
+The sectioning element name, with @code{@@raisesections} and
address@hidden@@lowersections} taken into account.
+
@item top
-true if it is the top element
+True if it is the top element.
address@hidden table
+
address@hidden $command
+The heading @@-command.
+
address@hidden $command_texi_arg
+The argument of the @@-command, unformatted.
+
address@hidden $formatted_arg
+The argument of the @@-command, formatted.
+
address@hidden $in_preformatted
+True if in preformatted environment.
+
address@hidden $one_section
+True if there is only one section.
+
address@hidden $element_heading
+True if the heading is the main component of the element.
@end table
address@hidden is the
-heading @@-command. @var{$command_texi_arg} is the argument of the
-@@-command, unformatted. @var{$formatted_arg} is is the argument of the
-@@-command, formatted. @var{$in_preformatted} is true if in preformatted
-environment. @var{$one_section} is true if there is only one
-section. @var{$element_heading} is set if the heading is the main component
-of the element.
@end deftypefn
It is also possible to customize the heading text with section number
-with the following function reference (called for headings and nodes):
address@hidden {Function Reference} $result_texi heading_texi $heading_command
$heading $number
+with this function reference (called for headings and nodes):
+
address@hidden {Function Reference} $result_texi heading_texi @
+ $heading_command $heading $number
@var{$heading_command} is the sectioning @@-command of that heading.
address@hidden is the texinfo for that heading. @var{$number} is the
-heading number classicaly computed with dots between numbers, and
-letters for top level appendix numbering. This function should return the
-texinfo text corresponding with the numbered heading.
address@hidden is the Texinfo input for that heading. @var{$number}
+is the heading number classically-computed with dots between numbers,
+and letters for top-level appendix numbering. This function should
+return the Texinfo text corresponding with the numbered heading.
@end deftypefn
The label associated with the heading that can appear before the
-heading itself and even before the navigation panel is customized with the
-following function reference:
address@hidden {Function Reference} $element_label element_label $identifier
\%element $command $unformatted_line
+heading itself and even before the navigation panel can be customized
+with this function reference:
+
address@hidden {Function Reference} $element_label element_label @
+ $identifier \%element $command $unformatted_line
@var{$identifier} is the identifier associated with the heading.
address@hidden is the same as above. @var{$command} is
-the @@-command appearing on the line, and @var{$unformatted_line} is
-the line, unformatted.
address@hidden deftypefn
-
-Additionally, for @code{@@node} and sectioning @@-commands the formatting
-of the label, navigation panel and heading is controlled by:
address@hidden {Function Reference} $element_heading_text element_heading
\%element $command $command_texi_arg $formatted_arg $in_preformatted
$one_section $element_heading $first_in_page $is_top $previous_is_top
$unformatted_line $element_id $new_element
address@hidden is the same as above.
address@hidden is the
-heading @@-command. @var{$command_texi_arg} is the argument of the
-@@-command, unformatted. @var{$formatted_arg} is is the argument of the
-@@-command, formatted. @var{$in_preformatted} is true if in preformatted
-environment. @var{$one_section} is true if there is only one
-section. @var{$element_heading} is set if the heading is the main component
-of the element.
address@hidden is true if this is the first heading in a page.
address@hidden is true if the heading is considered as a top element heading.
address@hidden is true if the previous helement was a top element.
address@hidden holds the whole line, unformatted. @var{$element_id}
-is the id of the heading. @var{$new_element} is true if the heading is
-the first of an element.
address@hidden deftypefn
address@hidden is the same as above. @var{$command} is the
+@@-command appearing on the line, and @var{$unformatted_line} is the
+line, unformatted.
address@hidden deftypefn
+
+Additionally, for @code{@@node} and sectioning @@-commands, the
+formatting of the label, navigation panel and heading is controlled
+by:
+
address@hidden {Function Reference} $element_heading_text element_heading @
+ \%element $command $command_texi_arg $formatted_arg @
+ $in_preformatted $one_section $element_heading $first_in_page @
+ $is_top $previous_is_top $unformatted_line $element_id $new_element
+
address@hidden, @var{$command}, @var{$command_texi_arg},
address@hidden, @var{$in_preformatted}, @var{$one_section}, and
address@hidden are as above. For the rest:
address@hidden @var
address@hidden $first_in_page
+True if this is the first heading in a page.
+
address@hidden $is_top
+True if the heading is considered as a top element heading.
+
address@hidden $previous_is_top
+True if the previous element was a top element.
+
address@hidden $unformatted_line
+Holds the whole line, unformatted.
+
address@hidden $element_id
+The id of the heading.
+
address@hidden $new_element
+True if the heading is the first of an element.
address@hidden table
address@hidden deftypefn
@node Formatting insertions text and simple commands
@@ -24660,7 +24711,7 @@
(@url{http://www.gnu.org/software/rcs}) version control systems, which
expand it into a string such as:
@example
-$Id: texinfo.txi,v 1.326 2010/10/10 00:11:03 karl Exp $
+$Id: texinfo.txi,v 1.327 2010/10/10 18:01:25 karl Exp $
@end example
(This is useful in all sources that use version control, not just manuals.)
You may wish to include the @samp{$Id:} comment in the @code{@@copying}
@@ -24739,7 +24790,7 @@
@verbatim
\input texinfo @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.326 2010/10/10 00:11:03 karl Exp $
address@hidden $Id: texinfo.txi,v 1.327 2010/10/10 18:01:25 karl Exp $
@comment %**start of header
@setfilename sample.info
@include version.texi
Index: util/htmlxref.cnf
===================================================================
RCS file: /sources/texinfo/texinfo/util/htmlxref.cnf,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- util/htmlxref.cnf 1 Oct 2010 18:05:24 -0000 1.15
+++ util/htmlxref.cnf 10 Oct 2010 18:01:25 -0000 1.16
@@ -1,6 +1,6 @@
# htmlxref.cnf - reference file for Texinfo files on the web.
-htmlxrefversion=2010-10-01.17; # UTC
+htmlxrefversion=2010-10-10.16; # UTC
# Copyright 2010 Free Software Foundation, Inc.
#
@@ -218,6 +218,31 @@
gtypist mono ${GS}/gtypist/doc/
+guile mono ${GS}/guile/manual/guile.html
+guile node ${GS}/guile/manual/html_node/
+
+GUILE_GNOME = ${GS}/software/guile-gnome/docs
+#guile-gnome
+ gobject node ${GUILE_GNOME}/gobject/html/
+ glib node ${GUILE_GNOME}/glib/html/
+ atk node ${GUILE_GNOME}/atk/html/
+ pango node ${GUILE_GNOME}/pango/html/
+ pangocairo node ${GUILE_GNOME}/pangocairo/html/
+ gdk node ${GUILE_GNOME}/gdk/html/
+ gtk node ${GUILE_GNOME}/gtk/html/
+ libglade node ${GUILE_GNOME}/libglade/html/
+ gnome-vfs node ${GUILE_GNOME}/gnome-vfs/html/
+ libgnomecanvas node ${GUILE_GNOME}/libgnomecanvas/html/
+ gconf node ${GUILE_GNOME}/gconf/html/
+ libgnome node ${GUILE_GNOME}/libgnome/html/
+ libgnomeui node ${GUILE_GNOME}/libgnomeui/html/
+ corba node ${GUILE_GNOME}/corba/html/
+ clutter node ${GUILE_GNOME}/clutter/html/
+ clutter-glx node ${GUILE_GNOME}/clutter-glx/html/
+
+guile-rpc mono ${GS}/guile-rpc/manual/guile-rpc.html
+guile-rpc node ${GS}/guile-rpc/manual/html_node/
+
gv mono ${GS}/gv/manual/gv.html
gv node ${GS}/gv/manual/html_node/
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/01
- texinfo ChangeLog doc/texinfo.txi util/htmlxref...,
Karl Berry <=
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/11
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/12
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/13
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/14
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/15
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/25
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/27
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/28
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/29
- texinfo ChangeLog doc/texinfo.txi util/htmlxref..., Karl Berry, 2010/10/30