make pdfdocs problem

From: carbonated beverage
Date: Mon Sep 15 2003 - 06:01:42 EST


Hi all,

The `make pdfdocs' target still fails for me on the
`writing_usb_drivers' document. There's one small bug in it, and one
problem I haven't figured out yet.

There is a malformed <literal>blah<literal> sequence, where the
closing tag is instead an opening tag. Patch for that below.

Also, when the TeX back-end runs, for some reason, ConTeX seems
to get referenced and I get this (trimmed):

loading : Context Support Macros / Missing
)
loading : Context Support Macros / PDF
) (/usr/share/texmf/tex/latex/hyperref/nameref.sty) (./writing_usb_driver.out
! Missing $ inserted.
[snippity]
LaTeX Font Warning: Font shape `\\\OT1/cmr/m/n' @undefined
(Font) using `\\OT1/cmr/m/n' instead on input line 2.
LaTeX Font Warning: Font shape `\\\\OT1/cmr/m/n' @undefined
(Font) using `\\\OT1/cmr/m/n' instead on input line 2.
[snip]
LaTeX Font Warning: Font shape `[LOTS of \'s]\\\OT1/cmr/m/n' @undefined
(Font) using `\[LOTS of \s']\OT1/cmr/m/n' instead on input line 2.
[snip]
! TeX capacity exceeded, sorry [save size=5000].

But when I generate it manually from the sgml file that was generated, i.e.:
jade -t tex -d /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl
-i print -o foo.tex ../Documentation/DocBook/writing_usb_driver.sgml
jadetex foo.tex

I get a proper dvi file.

Converting to RTF also works:

jade -t rtf -d /usr/share/sgml/docbook/utils-0.6.9/docbook-utils.dsl
-i print -o foo.rtf Documentation/DocBook/writing_usb_driver.sgml

Anyone have ideas?

-- DN
Daniel

===== Documentation/DocBook/writing_usb_driver.tmpl 1.4 vs edited =====
--- 1.4/Documentation/DocBook/writing_usb_driver.tmpl Wed Aug 20 09:40:22 2003
+++ edited/Documentation/DocBook/writing_usb_driver.tmpl Mon Sep 15 03:45:26 2003
@@ -209,7 +209,7 @@
The driver now needs to verify that this device is actually one that it
can accept. If so, it returns 0.
If not, or if any error occurs during initialization, an errorcode
- (such as <literal>-ENOMEM<literal> or <literal>-ENODEV<literal>)
+ (such as <literal>-ENOMEM</literal> or <literal>-ENODEV</literal>)
is returned from the probe function.
</para>
<para>
-
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/