texinfo-commits
[Top][All Lists]
Advanced

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

texinfo ChangeLog NEWS doc/texinfo.tex doc/texi...


From: Karl Berry
Subject: texinfo ChangeLog NEWS doc/texinfo.tex doc/texi...
Date: Mon, 19 Jan 2009 01:56:14 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Karl Berry <karl>       09/01/19 01:56:13

Modified files:
        .              : ChangeLog NEWS 
        doc            : texinfo.tex texinfo.txi 

Log message:
        new command @headitemfont

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.975&r2=1.976
http://cvs.savannah.gnu.org/viewcvs/texinfo/NEWS?cvsroot=texinfo&r1=1.185&r2=1.186
http://cvs.savannah.gnu.org/viewcvs/texinfo/doc/texinfo.tex?cvsroot=texinfo&r1=1.294&r2=1.295
http://cvs.savannah.gnu.org/viewcvs/texinfo/doc/texinfo.txi?cvsroot=texinfo&r1=1.238&r2=1.239

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/texinfo/texinfo/ChangeLog,v
retrieving revision 1.975
retrieving revision 1.976
diff -u -b -r1.975 -r1.976
--- ChangeLog   19 Jan 2009 01:35:21 -0000      1.975
+++ ChangeLog   19 Jan 2009 01:56:12 -0000      1.976
@@ -1,5 +1,9 @@
 2009-01-18  Karl Berry  <address@hidden>
 
+        * doc/texinfo.tex (\headitemfont): new macro, synonym for @b.
+       * doc/texinfo.txi (Multitable Rows): document @headitemfont.
+       Suggestion from wl, 21 Oct 2008 09:02:51.
+
        * doc/texinfo.tex (\doitemize): try typesetting the item mark,
        in case the user erroneously said @itemize @samp, to give an error
        earlier.  Report from Bruce Korb, help-texinfo 02 Nov 2008 10:38:30.

Index: NEWS
===================================================================
RCS file: /sources/texinfo/texinfo/NEWS,v
retrieving revision 1.185
retrieving revision 1.186
diff -u -b -r1.185 -r1.186
--- NEWS        19 Jan 2009 00:51:47 -0000      1.185
+++ NEWS        19 Jan 2009 01:56:13 -0000      1.186
@@ -1,4 +1,4 @@
-$Id: NEWS,v 1.185 2009/01/19 00:51:47 karl Exp $
+$Id: NEWS,v 1.186 2009/01/19 01:56:13 karl Exp $
 This NEWS file records noteworthy changes, very tersely.
 See the manual for detailed information.
 
@@ -24,6 +24,7 @@
 
 * Language:
   . new environments @smallquotation and @raggedright.
+  . new command @headitemfont for the sake of template rows.
   . new diacritic command @ogonek.
   . DEL (0x7f = 0177 = 127) is a true comment character (catcode 14 in TeX).
 

Index: doc/texinfo.tex
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.tex,v
retrieving revision 1.294
retrieving revision 1.295
diff -u -b -r1.294 -r1.295
--- doc/texinfo.tex     19 Jan 2009 01:35:21 -0000      1.294
+++ doc/texinfo.tex     19 Jan 2009 01:56:13 -0000      1.295
@@ -3673,12 +3673,19 @@
 %
 % @headitem starts a heading row, which we typeset in bold.
 % Assignments have to be global since we are inside the implicit group
-% of an alignment entry.  Note that \everycr resets \everytab.
-\def\headitem{\checkenv\multitable \crcr \global\everytab={\bf}\the\everytab}%
+% of an alignment entry.  \everycr resets \everytab so we don't have to
+% undo it ourselves.
+\def\headitemfont{\b}% for people to use in the template row; not changeable
+\def\headitem{%
+  \checkenv\multitable
+  \crcr
+  \global\everytab={\bf}% can't use \headitemfont since the parsing differs
+  \the\everytab % for the first item
+}%
 %
 % A \tab used to include \hskip1sp.  But then the space in a template
 % line is not enough.  That is bad.  So let's go back to just `&' until
-% we encounter the problem it was intended to solve again.
+% we again encounter the problem the 1sp was intended to solve.
 %                                      --karl, address@hidden, 20apr99.
 \def\tab{\checkenv\multitable &\the\everytab}%
 

Index: doc/texinfo.txi
===================================================================
RCS file: /sources/texinfo/texinfo/doc/texinfo.txi,v
retrieving revision 1.238
retrieving revision 1.239
diff -u -b -r1.238 -r1.239
--- doc/texinfo.txi     19 Jan 2009 01:35:21 -0000      1.238
+++ doc/texinfo.txi     19 Jan 2009 01:56:13 -0000      1.239
@@ -1,5 +1,5 @@
 \input texinfo.tex    @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.238 2009/01/19 01:35:21 karl Exp $
address@hidden $Id: texinfo.txi,v 1.239 2009/01/19 01:56:13 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.
 
@@ -9109,6 +9109,14 @@
 Info, the heading row is followed by a separator line made of dashes
 (@samp{-} characters).
 
address@hidden headitemfont
address@hidden Font for multitable heading rows
+The command @code{@@headitemfont} can be used in templates when the
+entries in a @code{@@headitem} row need to be used in a template.  It
+is a synonym for @code{@@b}, but using @code{@@headitemfont} avoids
+any dependency on that particular font style, in case we provide a way
+to change it in the future.
+
 Here is a complete example of a multi-column table (the text is from
 @cite{The GNU Emacs Manual}, @pxref{Split Window,, Splitting Windows,
 emacs, The GNU Emacs Manual}):
@@ -19257,7 +19265,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.238 2009/01/19 01:35:21 karl Exp $
+$Id: texinfo.txi,v 1.239 2009/01/19 01:56:13 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}
@@ -19333,7 +19341,7 @@
 
 @verbatim
 \input texinfo   @c -*-texinfo-*-
address@hidden $Id: texinfo.txi,v 1.238 2009/01/19 01:35:21 karl Exp $
address@hidden $Id: texinfo.txi,v 1.239 2009/01/19 01:56:13 karl Exp $
 @comment %**start of header
 @setfilename sample.info
 @include version.texi




reply via email to

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