[CLN-list] [PATCH 1/2] Fix the documentation build failure (wrong texinfo).

Alexei Sheplyakov alexei.sheplyakov at gmail.com
Fri May 28 22:40:52 CEST 2010


Building PDF, PostScript, and DVI versions of the documentation fails
with the following error message(s):
../../doc/cln.texi:1170: Argument of @asis has an extra }.
<inserted text>
                @par
<to be read again>
                   }

According to texinfo maintainer @itemize @asis is illegal, one should
use @itemize @w{} instead [1].

[1] http://lists.gnu.org/archive/html/bug-texinfo/2009-03/msg00016.html
---
 doc/cln.texi |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/doc/cln.texi b/doc/cln.texi
index 7c0aa5f..d16f8af 100644
--- a/doc/cln.texi
+++ b/doc/cln.texi
@@ -1167,7 +1167,7 @@ Returns the complex conjugate of @code{x}.
 
 We have the relations
 
- at itemize @asis
+ at itemize @w{}
 @item
 @code{x = complex(realpart(x), imagpart(x))}
 @item
@@ -1282,7 +1282,7 @@ down exactly as often as it rounds up.
 
 The functions are related like this:
 
- at itemize @asis
+ at itemize @w{}
 @item
 @code{ceiling(m/n) = floor((m+n-1)/n) = floor((m-1)/n)+1}
 for rational numbers @code{m/n} (@code{m}, @code{n} integers, @code{n}>0), and
@@ -2091,7 +2091,7 @@ come from @code{newbyte} and the other bits come from @code{n}.
 
 The following relations hold:
 
- at itemize @asis
+ at itemize @w{}
 @item
 @code{ldb (n, b) = mask_field(n, b) >> b.position},
 @item
@@ -2454,7 +2454,7 @@ If @code{x} is already an exact number, this function returns @code{x}.
 
 If @code{x} is any float, one has
 
- at itemize @asis
+ at itemize @w{}
 @item
 @code{cl_float(rational(x),x) = x}
 @item
@@ -2628,7 +2628,7 @@ one digit in the non-exponent part. The exponent has the syntax
 @var{expmarker} @var{expsign} @{@var{digit}@}+.
 The exponent marker is
 
- at itemize @asis
+ at itemize @w{}
 @item
 @samp{s} for short-floats,
 @item
@@ -2646,7 +2646,7 @@ function @samp{float_format}.
 
 @item Complex numbers
 External representation:
- at itemize @asis
+ at itemize @w{}
 @item
 In algebraic notation: @code{@var{realpart}+ at var{imagpart}i}. Of course,
 if @var{imagpart} is negative, its printed representation begins with
-- 
1.7.1



More information about the CLN-list mailing list