From: Borislav Petkov <bbpetkov@yahoo.de>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] [KERNEL-DOC] fix tex error when building pdfdocs
Date: Fri, 13 Apr 2007 08:35:00 +0200 [thread overview]
Message-ID: <20070413063459.GA4075@gollum.tnic> (raw)
In-Reply-To: <20070412164851.0c5d6e54.randy.dunlap@oracle.com>
On Thu, Apr 12, 2007 at 04:48:51PM -0700, Randy Dunlap wrote:
> On Thu, 12 Apr 2007 22:38:42 +0200 Borislav Petkov wrote:
>
> > When building pdfdocs, the db2pdf converter bails out because of an
> > latex-reserved token - '#' - in the intermediary .tex file which ends up in a
> > conversion error with the following error message:
> >
> > <log>
> > [15.0.32])
> > ! Incomplete \iffalse; all text was ignored after line 8154.
> > <inserted text>
> > \fi
> > <*> kernel-hacking.tex
> > </log>
> >
> > This is a rather arbitrary fix, so suggest away.
>
> Hi,
>
> I don't have a problem with the change, but I don't get that tex error either.
> Here is an extract from the .tex file:
>
>
> {\def\Element%
> {451}\def\ProcessingMode%
> {title-sosofo-mode}}\#if\endNode{}\endSeq{}\endLink{}\Seq%
> {}\Leader%
> {}.\endLeader{}\Link%
>
<snip>
Actually this is the TOC-piece of .tex code around line 1622. The offending line
is way down (ca. 8152) at the actual chapter heading and it looks like this:
{\def\Element%
{0:451}\def\ProcessingMode%
{title-sosofo-mode}}\#if\endNode{}\def\HeadingText{%
10.7. \if}%
\endHeadPar{}\endSeq{}\Node%
and I think it is the fourth line that causes the problem for the # sign is
stripped and the title is converted to a tex conditional - \if - which isn't
terminated, but I'm not so sure. The thing is, the docbook2tex converts the
.tmpl file to .tex file ok but db2pdf chokes. What docbook-utils are you using?
Mine are version 0.6.14-1 of debian unstable.
By the way, were you going to send me some kernel-doc todo's...?
next prev parent reply other threads:[~2007-04-13 6:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-12 20:38 Borislav Petkov
2007-04-12 23:48 ` Randy Dunlap
2007-04-13 6:35 ` Borislav Petkov [this message]
2007-04-13 15:20 ` Randy Dunlap
2007-04-14 8:14 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070413063459.GA4075@gollum.tnic \
--to=bbpetkov@yahoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=randy.dunlap@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®