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

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

 



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 <[email protected]>

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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux