bug-texinfo
[Top][All Lists]
Advanced

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

pdf and certain macro expansion


From: Kevin Ryde
Subject: pdf and certain macro expansion
Date: Sat, 03 May 2003 11:23:14 +1000
User-agent: Gnus/5.090019 (Oort Gnus v0.19) Emacs/21.2 (gnu/linux)

In the current debian i386 packaged texinfo 4.3, recent tetex 1.0.2
and 1.0.7, and texinfo.texi 2002-03-26.08, the file foo.texi below
processed with texi2dvi in pdf mode,

        texi2dvi --pdf foo.texi

gives the error below.  DVI mode seems fine, as does makeinfo.

For what it's worth, my intention was a macro which would be like
pxref but let me put a url into html output.  The form shown in
foo.texi would be for non-html, simply ignoring the url argument.


! Argument of @trim@ has an extra }.
<inserted text>
                @par
<to be read again>
                   }
@addtokens ...f @addtoks address@hidden address@hidden #1#2}
                                                  address@hidden
@nextsp ...ace @else @addtokens address@hidden address@hidden }
                                                  @advance @filenamelength b...

@xeatspaces #1->@expandafter @trim@
                                    @expandafter {#1 }
@getfilename ...ngth address@hidden @skipspaces #1
                                                  |@relax
...
l.1 ...s { emacs},@xeatspaces { The Emacs Editor}}
                                                  @endinput


Attachment: foo.texi
Description: TeXInfo document


reply via email to

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