The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* make pdfdocs problem
@ 2003-09-15 10:57 carbonated beverage
  2003-09-15 16:11 ` Juergen Quade
  2003-09-16 18:40 ` Greg KH
  0 siblings, 2 replies; 4+ messages in thread
From: carbonated beverage @ 2003-09-15 10:57 UTC (permalink / raw)
  To: linux-kernel

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-09-16 18:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 10:57 make pdfdocs problem carbonated beverage
2003-09-15 16:11 ` Juergen Quade
2003-09-15 18:48   ` carbonated beverage
2003-09-16 18:40 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox