groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: * doc/groff.texinfo: Make PDF version compilable with mak


From: Werner LEMBERG
Subject: [groff] 01/01: * doc/groff.texinfo: Make PDF version compilable with makeinfo 5.x.
Date: Sun, 12 Oct 2014 18:35:22 +0000

wl pushed a commit to branch master
in repository groff.

commit 3dc991b4733add0e48d773b01e5e83308c792751
Author: Werner Lemberg <address@hidden>
Date:   Sun Oct 12 20:35:00 2014 +0200

    * doc/groff.texinfo: Make PDF version compilable with makeinfo 5.x.
    
    makeinfo 5.x handles macro expansion better, which changes the way
    how an \LE macro (for a less-than sign) has to be defined.  However,
    since we can't be sure that the latest version of `texinfo.tex' gets
    used with makeinfo 5.x only, we would have to support both 4.x and
    5.x.  No idea whether this is possible at all...  For this reason,
    we now simply use @value directly instead of wrapping it into a
    macro, avoiding any issues.
---
 ChangeLog         |   12 ++++++++++++
 doc/groff.texinfo |   19 ++++++-------------
 2 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 091a799..b0edbc8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,17 @@
 2014-10-12  Werner LEMBERG  <address@hidden>
 
+       * doc/groff.texinfo: Make PDF version compilable with makeinfo 5.x.
+
+       makeinfo 5.x handles macro expansion better, which changes the way
+       how an \LE macro (for a less-than sign) has to be defined.  However,
+       since we can't be sure that the latest version of `texinfo.tex' gets
+       used with makeinfo 5.x only, we would have to support both 4.x and
+       5.x.  No idea whether this is possible at all...  For this reason,
+       we now simply use @value directly instead of wrapping it into a
+       macro, avoiding any issues.
+
+2014-10-12  Werner LEMBERG  <address@hidden>
+
        [doc] Protect against picky `sed' programs.
        Problem reported by Axel Kielhorn <address@hidden>.
 
diff --git a/doc/groff.texinfo b/doc/groff.texinfo
index 6cb352d..066b527 100644
--- a/doc/groff.texinfo
+++ b/doc/groff.texinfo
@@ -428,28 +428,21 @@ developing GNU and promoting software freedom.''
 
 @c a <= sign
 @c
address@hidden A value defined with @set is embedded into three group levels if
address@hidden called with @value, so we need seven \aftergroup to put \le 
outside
address@hidden of the groups -- this is necessary to get proper mathematical
address@hidden spacing.
address@hidden Since expansion of macros has changed between texinfo 4.x and 
5.x,
address@hidden we can't define a macro but have to use @value directly.
 
 @tex
-\gdef\LEmacro{\aftergroup\aftergroup\aftergroup\aftergroup
-              \aftergroup\aftergroup\aftergroup\le}
+\gdef\LE{\le}
 @end tex
 
 @iftex
address@hidden LEmacro @LEmacro
address@hidden LE @LE
 @end iftex
 
 @ifnottex
address@hidden LEmacro <=
address@hidden LE <=
 @end ifnottex
 
address@hidden LE
address@hidden
address@hidden macro
-
 
 @c Special care is required with parentheses, brackets, and braces:
 @c
@@ -16195,7 +16188,7 @@ The address@hidden@var{n} must be an integer in the 
range @math{-32767}
 to 32767.
 
 @table @asis
address@hidden @math{0 @LE{} @var{n} @LE{} 1000}
address@hidden @math{0 @value{LE} @var{n} @value{LE} 1000}
 Set the color for filling solid drawing objects to a shade of gray,
 where 0 corresponds to solid white, 1000 (the default) to solid black,
 and values in between to intermediate shades of gray; this is obsoleted



reply via email to

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