* bug#11461: Making cc-mode.pdf fails
@ 2012-05-12 16:34 Glenn Morris
2012-05-12 19:05 ` Andreas Schwab
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Glenn Morris @ 2012-05-12 16:34 UTC (permalink / raw)
To: 11461
Package: emacs,cc-mode
Version: 24.0.96
Trying to make cc-mode.pdf fails.
cd doc/misc
make cc-mode.pdf
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian)
[...]
doc/misc/cc-mode.texi:705: Argument of @emacsman has an extra }.
<inserted text>
@par
<to be read again>
}
@addtokens ...f @addtoks {@noexpand #1={@the #1#2}
}@addtoks
@skipspaces ...@else @addtokens {@filename }{@PP }
@advance @filenamelength b...
<argument> @emacsman
{}
@getfilename ...ngth =0@expandafter @skipspaces #1
|@relax
...
l.705 @emacsmantitle{}}
.
?
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#11461: Making cc-mode.pdf fails
2012-05-12 16:34 bug#11461: Making cc-mode.pdf fails Glenn Morris
@ 2012-05-12 19:05 ` Andreas Schwab
2012-05-12 19:20 ` Andreas Schwab
2012-05-13 20:52 ` Alan Mackenzie
2 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2012-05-12 19:05 UTC (permalink / raw)
To: Glenn Morris; +Cc: 11461-done
Glenn Morris <rgm@gnu.org> writes:
> make cc-mode.pdf
>
> This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian)
> [...]
> doc/misc/cc-mode.texi:705: Argument of @emacsman has an extra }.
> <inserted text>
> @par
> <to be read again>
> }
> @addtokens ...f @addtoks {@noexpand #1={@the #1#2}
> }@addtoks
> @skipspaces ...@else @addtokens {@filename }{@PP }
> @advance @filenamelength b...
> <argument> @emacsman
> {}
> @getfilename ...ngth =0@expandafter @skipspaces #1
> |@relax
This is really a bug in texinfo.tex, in the way @skipspaces expands its
argument token by token. I have checked in a workaround.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#11461: Making cc-mode.pdf fails
2012-05-12 16:34 bug#11461: Making cc-mode.pdf fails Glenn Morris
2012-05-12 19:05 ` Andreas Schwab
@ 2012-05-12 19:20 ` Andreas Schwab
2012-05-13 20:52 ` Alan Mackenzie
2 siblings, 0 replies; 4+ messages in thread
From: Andreas Schwab @ 2012-05-12 19:20 UTC (permalink / raw)
To: Glenn Morris; +Cc: 11461
Actually the bug is already fixed in the latest version of texinfo.tex,
so it is probably better to just update it.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#11461: Making cc-mode.pdf fails
2012-05-12 16:34 bug#11461: Making cc-mode.pdf fails Glenn Morris
2012-05-12 19:05 ` Andreas Schwab
2012-05-12 19:20 ` Andreas Schwab
@ 2012-05-13 20:52 ` Alan Mackenzie
2 siblings, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2012-05-13 20:52 UTC (permalink / raw)
To: Glenn Morris; +Cc: 11461
Hi, Glenn.
On Sat, May 12, 2012 at 12:34:49PM -0400, Glenn Morris wrote:
> Package: emacs,cc-mode
> Version: 24.0.96
> Trying to make cc-mode.pdf fails.
> cd doc/misc
> make cc-mode.pdf
> This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Debian)
> [...]
> doc/misc/cc-mode.texi:705: Argument of @emacsman has an extra }.
> <inserted text>
> @par
> <to be read again>
> }
> @addtokens ...f @addtoks {@noexpand #1={@the #1#2}
> }@addtoks
> @skipspaces ...@else @addtokens {@filename }{@PP }
> @advance @filenamelength b...
> <argument> @emacsman
> {}
> @getfilename ...ngth =0@expandafter @skipspaces #1
> |@relax
> ...
> l.705 @emacsmantitle{}}
> .
> ?
The relevant bit of source code from cc-mode.texi looks like this:
you want only spaces. @xref{Just Spaces,,, @emacsman{},
@emacsmantitle{}}. <============ L705
The "extra" } closes off the @xref. This looks like a bug in pdfTex. It
seems to have got horribly confused, perhaps because the @xref is split
over two lines and contains macros.
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-13 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-12 16:34 bug#11461: Making cc-mode.pdf fails Glenn Morris
2012-05-12 19:05 ` Andreas Schwab
2012-05-12 19:20 ` Andreas Schwab
2012-05-13 20:52 ` Alan Mackenzie
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.