[PATCH] [KERNEL-DOC] fix tex error when building pdfdocs

From: Borislav Petkov
Date: Thu Apr 12 2007 - 16:40:33 EST


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.

Signed-off-by: Borislav Petkov <bbpetkov@xxxxxxxx>

Index: 21-rc6/Documentation/DocBook/kernel-hacking.tmpl
===================================================================
--- 21-rc6.orig/Documentation/DocBook/kernel-hacking.tmpl
+++ 21-rc6/Documentation/DocBook/kernel-hacking.tmpl
@@ -1138,7 +1138,7 @@ static struct block_device_operations op
</sect1>

<sect1 id="conventions-ifdef">
- <title>&num;if</title>
+ <title>Prepocessor Conditionals</title>

<para>
It is generally considered cleaner to use macros in header files

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/