texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo ChangeLog doc/texinfo.txi


From: Karl Berry
Subject: texinfo ChangeLog doc/texinfo.txi
Date: Fri, 10 Sep 2010 00:28:25 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Karl Berry <karl>       10/09/10 00:28:25

Modified files:
        .              : ChangeLog 
        doc            : texinfo.txi 

Log message:
        (Navigation Panel Formatting Functions): rename + edit

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1129&r2=1.1130
http://cvs.savannah.gnu.org/viewcvs/texinfo/doc/texinfo.txi?cvsroot=texinfo&r1=1.305&r2=1.306

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1129
retrieving revision 1.1130
diff -u -b -r1.1129 -r1.1130
--- ChangeLog   8 Sep 2010 23:57:52 -0000       1.1129
+++ ChangeLog   10 Sep 2010 00:28:24 -0000      1.1130
@@ -1,3 +1,7 @@
+2010-09-09  Karl Berry  <address@hidden>
+
+       * doc/texinfo.txi (Navigation Panel Formatting Functions): rename+edit.
+
 2010-09-08  Karl Berry  <address@hidden>
 
        * doc/texinfo.txi (Output Element Lines),

Index: doc/texinfo.txi
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.txi,v
retrieving revision 1.305
retrieving revision 1.306
diff -u -b -r1.305 -r1.306
--- doc/texinfo.txi     8 Sep 2010 23:57:52 -0000       1.305
+++ doc/texinfo.txi     10 Sep 2010 00:28:24 -0000      1.306
@@ -1,5 +1,5 @@
 \input texinfo.tex    @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.305 2010/09/08 23:57:52 karl Exp $
address@hidden $Id: texinfo.txi,v 1.306 2010/09/10 00:28:24 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.
 
@@ -18518,6 +18518,10 @@
 @end quotation
 @end cartouche
 
+This chapter describes how to customize virtually every aspect of the
address@hidden HTML output.  (Other output formats have no useful
+customization possibilities.)
+
 @menu
 * Loading Init Files::             Initialization files and their search paths.
 * Init File Basics::               General information on init files.
@@ -19183,8 +19187,8 @@
 tasks before document output.
 @end deffn
 
-By default, the hashes @code{%BUTTONS_NAME} (@pxref{Navigation Button
-Specification}), @code{%BUTTONS_GOTO} (@pxref{About text}) are
+By default, the hashes @code{%BUTTONS_NAME} (@pxref{Navigation Panel
+Button Specification}), @code{%BUTTONS_GOTO} (@pxref{About text}) are
 initialized.  The initialization of these variables depends on the
 document language.  Similarly, the encoding variables are set based on
 the information now available (@pxref{Init File Encodings}).  When
@@ -19681,7 +19685,7 @@
 
 A variety of data items, called @dfn{element labels}, are associated
 with elements.  They may be used in the formatting functions, and/or
-associated with a button (@pxref{Navigation Button Specification}).
+associated with a button (@pxref{Navigation Panel Button Specification}).
 
 Each element label has a name and a reference to the element they
 represent, when such an element exists.  The element is either a
@@ -19838,16 +19842,17 @@
 redefine the function doing the navigation panel formatting.
 
 @menu 
-* Button: Navigation Button Specification.
-* Panel formatting function::
+* Buttons: Navigation Panel Button Specification.
+* Functions: Navigation Panel Formatting Functions.
 @end menu
 
 
address@hidden Navigation Button Specification
address@hidden Navigation Button Specification
address@hidden Navigation Panel Button Specification
address@hidden Navigation Panel Button Specification
+
address@hidden Navigation panel button specification
address@hidden Button specification, navigation panel
 
address@hidden Navigation button specification
address@hidden Button specification, navigation
 Several arrays and hashes enable precise control over the navigation
 panel buttons and their display.  The following arrays determine the
 buttons present in the various navigation panels:
@@ -19958,67 +19963,81 @@
 @code{%BUTTONS_REL} hash is used for the @code{rel} attribute.
 
 
address@hidden Panel formatting function
address@hidden Changing the navigation panel formatting
address@hidden Navigation Panel Formatting Functions
address@hidden Navigation Panel Formatting Functions
+
address@hidden Navigation panel formatting functions
address@hidden Formatting functions, for navigation panel
+
+In the unusual event that your needs are not met by changing the
+navigation buttons (see the previous section), you can completely
+control the formatting of navigation panels by redefining function
+references.
+
+
+The overall display of navigation panels is controlled via this
+function reference, @code{print_navigation}:
+
address@hidden {Function Reference} $navigation_text print_navigation @
+           \@@buttons $vertical
address@hidden@@buttons} is an array reference holding the specification of
+the buttons for that navigation panel.  @var{$vertical} is true if the
+navigation panel should be vertical.  Returns the formatted navigation
+panel in @var{$navigation_text}.
address@hidden deftypefn
+
+The function reference @code{button_formatting} does the formatting of
+one button:
+
address@hidden {Function Reference} $formatted_button button_formatting @
+           $button $vertical
address@hidden holds the specification of the button as explained
+above.  @var{$vertical} is true if the navigation panel should be
+vertical.  Returns the formatted result in @var{$formatted_button}.
address@hidden deftypefn
+
+By default, the function associated with @code{$print_head_navigation}
+formats the navigation panel for the page header. 
+
address@hidden {Function Reference} $page_head print_head_navigation @
+           $filehandle \@@buttons $first_in_page $previous_is_top \%element
address@hidden @bullet
address@hidden @var{$filehandle} is the opened filehandle the function should
+write to, if defined.  If not defined the function should return the
+formatted page header as a string.
 
-If you are not satisfied with this scheme, it is possible to
-control exactly the formatting of navigation panels by redefining a function 
-reference.  The function controlling the display of navigation panel is 
-associated with the following function reference:
-
address@hidden {Function Reference} $navigation_text print_navigation 
\@@buttons $vertical
address@hidden@@buttons} is an array reference which should hold the 
specification of 
-the buttons for that navigation panel.  
address@hidden is true if the navigation panel should be vertical.
-Returns the formatted navigation panel in @var{$navigation_text}.
address@hidden deftypefn
-
-You may also only redefine the function reference @code{button_formatting}
-that does the formatting of one button:
address@hidden {Function Reference} $formatted_button button_formatting $button 
$vertical
address@hidden hold the specification of the button as explained above.
address@hidden is true if the navigation panel should be vertical.
address@hidden deftypefn
-
-The default functions call the function associated with 
address@hidden to format the navigation panel for the 
-page header.  Thus you can control parts of the formatting by
-redefining the function reference.  This function reference 
-does nothing except for HTML.
-
address@hidden {Function Reference} $page_head print_head_navigation 
$filehandle \@@buttons $first_in_page $previous_is_top \%element
address@hidden is the opened filehandle the function should write to,
-if defined. If not defined the function should return the formatted
-page head.
address@hidden@@buttons} is an array reference which should hold the 
specification of 
-the buttons for the navigation panel. 
address@hidden should be set if this is the first navigation
address@hidden @var{\@@buttons} is an array reference holding the specification
+of the buttons for the navigation panel.
+
address@hidden @var{$first_in_page} should be set if this is the first 
navigation
 panel in the page.
address@hidden is true if the previous element is the top
-element.
address@hidden is a reference on a hash holding informations about
+
address@hidden @var{$previous_is_top} is true if the previous element is the
+top element.
+
address@hidden @var{\%element} is a hash reference with information about
 the element.
address@hidden itemize
 @end deftypefn
 
-Similarly, the default functions call the function associated with 
address@hidden to format the navigation panel for the 
-page footer, in HTML, the only format with page footers in the
-default case.  Thus you can control parts of the formatting by
-redefining the function reference.
+Similarly, the function associated with @code{$print_foot_navigation}
+formats the navigation panel for the page footer.
 
address@hidden {Function Reference} print_foot_navigation $filehandle 
\@@buttons $rule $print_navigation_panel \%element $maybe_in_page
address@hidden is the opened filehandle the function should write to.
address@hidden@@buttons} is an array reference which should hold the 
specification of 
-the buttons for the navigation panel.
address@hidden is a rule that may be used to separate the navigation panel
address@hidden {Function Reference} print_foot_navigation @
+  $filehandle \@@buttons $rule $print_navigation_panel \%element $maybe_in_page
address@hidden @bullet
address@hidden @var{$filehandle}, @var{\@@buttons}, and @var{\%element} are as 
above.
+
address@hidden @var{$rule} is a rule that may be used to separate the 
navigation panel
 from the preceding text.
address@hidden is a boolean that say wether it would make
-sense to print the navigation panel itself.
address@hidden is a reference on a hash holding informations about
-the element being finished.
address@hidden is set if called between regular elements and top or 
-between regular elements and special elements, that is, not at
-the end of a file.
+
address@hidden @var{$print_navigation_panel} is a boolean specifying
+whether the navigation panel itself should be printed.
+
address@hidden @var{$maybe_in_page} is set if the present footer is between
+regular elements and the top, or between regular elements and special
+elements, that is, not at the end of a file.
address@hidden itemize
 @end deffn
 
 @node Page layout customization
@@ -20343,7 +20362,7 @@
 @subsubsection Formatting of about text
 
 The default about element contains an explaination of the buttons used
-in the document (@code{@@SECTION_BUTTONS}, @ref{Navigation Button
+in the document (@code{@@SECTION_BUTTONS}, @ref{Navigation Panel Button
 Specification}) and an example locating the buttons targets in an
 example.  The formatting of this text may be influenced by the
 following hashes and variables:
@@ -24509,7 +24528,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.305 2010/09/08 23:57:52 karl Exp $
+$Id: texinfo.txi,v 1.306 2010/09/10 00:28:24 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}
@@ -24588,7 +24607,7 @@
 
 @verbatim
 \input texinfo   @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.305 2010/09/08 23:57:52 karl Exp $
address@hidden $Id: texinfo.txi,v 1.306 2010/09/10 00:28:24 karl Exp $
 @comment %**start of header
 @setfilename sample.info
 @include version.texi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]