GNU bug report logs - #11461
Making cc-mode.pdf fails

Previous Next

Packages: emacs, cc-mode;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Sat, 12 May 2012 16:36:01 UTC

Severity: normal

Found in version 24.0.96

Done: Andreas Schwab <schwab <at> linux-m68k.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 11461 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11461 <at> debbugs.gnu.org
Subject: Re: bug#11461: Making cc-mode.pdf fails
Date: Sun, 13 May 2012 20:52:37 +0000
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 <at> 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).




This bug report was last modified 13 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.