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

Converting policy.sgml to texinfo



Hello,

(Apologies if I'm sending to the wrong list.)

I'm trying to convert the policy.sgml.gz file in package debian-policy
version 3.5.6.0 to texinfo and info formats with debiandoc2texinfo and
makeinfo, from packages debiandoc-sgml version 1.1.49 and texinfo
version 4.0b-2, respectively.  debiandoc2texinfo reports no errors, and
generates a file called policy.texinfo.  At the makeinfo step, makeinfo
reports approximately 35 times

policy.texinfo:428: @asis expected `{...}'.

and segfaults.  The info document it generates contains menus and an
empty section 1.1, but no further nodes (line 428 of policy.texinfo is
in section 1.2).

Trying to convert policy.texinfo to dvi generates an error at line 382,
and the resultant postscript consists of only the first two pages of the
policy file.  (I don't know much about TeX, but mention this in case it
helps debug the problem.)

The exact commands I issued are appended at the end of this email.

Can anybody help me to generate the info file, or point me to a
working copy in texinfo format?

Thank you,
Richard Kreuter
kreuter@ausar.rutgers.edu

-----
Edited transcript of attempt to produce policy.info file:

boole:debian-policy# whoami 
root
boole:debian-policy# pwd 
/usr/share/doc/debian-policy
boole:debian-policy# cp policy.sgml.gz policy.sgml.gz.dist
boole:debian-policy# gzip -d policy.sgml.gz

boole:debian-policy# debiandoc2texinfo policy.sgml
boole:debian-policy# makeinfo -v policy.texinfo 
policy.texinfo:428: @asis expected `{...}'.
policy.texinfo:428: @asis expected `{...}'.
policy.texinfo:428: @asis expected `{...}'.
<many more iterations of the preceding line>
Segmentation fault

boole:/usr/share/doc/debian-policy# tex policy.texinfo 
This is TeX, Version 3.14159 (Web2C 7.3.7)
(./policy.texinfo (/usr/share/texmf/tex/texinfo/texinfo.tex
Loading texinfo [version 2001-03-28.08]: Basics, pdf, fonts, page
headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns,
macros,
cross references,
(/usr/share/texmf/tex/plain/dvips/epsf.tex) localization,
and turning on texinfo input format.) [1]
Overfull \hbox (12.04105pt too wide) in paragraph at lines 72--78
[]@textrm A copy of the GNU Gen-eral Pub-lic Li-cense is avail-able as
`@texttt
 /usr/share/common-licenses/GPL[]@textrm '[]|
[2] Chapter 1
! Missing = inserted for @ifnum.
<to be read again> 
                   @errmessage 
@item ->@errmessage 
                    {@item while not in a table}
@tablez ...{@Etable }@let @itemindex =#1@ifnum 0#3
                                                  >0 @advance @leftskip
by #...
l.382 ...tandard interfaces The material presented

? q
OK, entering @batchmode




Reply to: