Bug#683163: xmlto fail to convert example docbook to PDF (LaTeX Error, missing \item?)

2019-08-08 Thread Hilmar Preuße
Control: severity 683163 important
Control: merge 683163 170477

Am 29.07.2012 um 13:01 teilte Petter Reinholdtsen mit:

Hi,

> I ran into a problem with the PDF suport in xmlto.  I see the problem
> with a larger file (the freeculture.xml file available from
> https://github.com/petterreinholdtsen/free-culture-lessig >, but
> was also able to see it with an example file available from
>  https://trac.v2.nl/export/7884/v2fo/trunk/v2fo/lib/docbook/test/book.xml >.
> 
Known issue, not solved yet. It is 170477 and friends. I'm merging your bug.

Unfortunately nobody did some substantial work on the issue for now. So
we don't even know if this is an issue in passivetex or xmltex. In the
first case there is no hope b/c it was maintained by Sebastian Rahtz and
nobody took over the maintainer-ship. I'll see, whether I can invest
some time into investigation in the next days.

Hilmar
-- 
sigfault
#206401 http://counter.li.org



signature.asc
Description: OpenPGP digital signature


Bug#683163: xmlto fail to convert example docbook to PDF (LaTeX Error, missing \item?)

2012-07-31 Thread Daniel Leidert
reassign 683163 xmltex
thanks

Am Sonntag, den 29.07.2012, 13:01 +0200 schrieb Petter Reinholdtsen:

[snip]
 When I process it using 'xmlto pdf book.xml', I get this output:
 
 Making portrait pages on a4 paper (210mmx297mm)
 This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
 entering extended mode
 (./tmp.fo
 LaTeX2e 2009/09/24
 Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, 
 noh
 yphenation, bulgarian, ukrainian, russian, danish, french, basque, ngerman, 
 ger
 man, german-x-2009-06-19, ngerman-x-2009-06-19, italian, bokmal, nynorsk, 
 spani
 sh, galician, catalan, loaded.
 xmltex version: 2002/06/25 v1.9 (Exp):

xmltex is very old and unmaintained. The support for xmltex has been
removed from docbook-xsl(-ns) recently. I reassigned your report to
xmltex, but don't expect that to get fixed. Your chances will probably
be higher using dblatex or fop.

Regards, Daniel


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#683163: xmlto fail to convert example docbook to PDF (LaTeX Error, missing \item?)

2012-07-29 Thread Petter Reinholdtsen
Package: xmlto
Version: 0.0.23-2

I ran into a problem with the PDF suport in xmlto.  I see the problem
with a larger file (the freeculture.xml file available from
URL: https://github.com/petterreinholdtsen/free-culture-lessig , but
was also able to see it with an example file available from
URL: https://trac.v2.nl/export/7884/v2fo/trunk/v2fo/lib/docbook/test/book.xml 
.

I changed the XML slightly like this to get it to verify with xmllint:

--- book.xml.1  2003-03-26 13:05:41.0 +0100
+++ book.xml2012-07-29 12:49:38.0 +0200
@@ -1,7 +1,7 @@
 ?xml version=1.0 encoding=utf-8?
-!DOCTYPE book
-  PUBLIC -//Norman Walsh//DTD DocBk XML V3.1.7//EN
-  http://nwalsh.com/docbook/xml/3.1.7/docbookx.dtd;
+
+!DOCTYPE book PUBLIC -//OASIS//DTD DocBook XML V4.3//EN
+http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd; 
 
 !-- test document --
 
@@ -28,12 +28,12 @@
 /preface
 
 part
-docinfo
+partinfo
 titlePart One Title/title
 legalnotice
 paraFoo! A legal notice in a part!/para
 /legalnotice
-/docinfo
+/partinfo
 titlePart One Title/title
 partintro
 titlePartIntro Title/title
@@ -72,8 +72,8 @@
 /part
 
 chapter
-  docinfotitleFirst Chapter/titlesubtitleChapter Subtitle/subtitle
-  /docinfotitleFirst Chapter/title
+  chapterinfotitleFirst Chapter/titlesubtitleChapter 
Subtitle/subtitle
+  /chapterinfotitleFirst Chapter/title
 paraThis is a test paragraph./para
 figure id=testfig3titleTest Figure/title
 programlistingThis is a

When I process it using 'xmlto pdf book.xml', I get this output:

Making portrait pages on a4 paper (210mmx297mm)
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./tmp.fo
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, bulgarian, ukrainian, russian, danish, french, basque, ngerman, ger
man, german-x-2009-06-19, ngerman-x-2009-06-19, italian, bokmal, nynorsk, spani
sh, galician, catalan, loaded.
xmltex version: 2002/06/25 v1.9 (Exp):
(/usr/share/texmf/tex/xmltex/config/xmltex.cfg) 
No File: tmp.cfg (/usr/share/texmf/tex/xmltex/passivetex/fotex.xmt)
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size10.clo))
(/usr/share/texmf/tex/xmltex/passivetex/fotex.sty
)
No file tmp.aux.
(/usr/share/texmf/tex/latex/tipa/t3ptm.fd)
(/usr/share/texmf-texlive/tex/latex/cyrillic/t2acmr.fd)
(/usr/share/texmf-texlive/tex/latex/base/ts1cmr.fd)
(/usr/share/texmf-texlive/tex/latex/psnfss/t1ptm.fd)
(/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
)
No file tmp.out.
No file tmp.out.
INFO: Using normal, i.e. nonfrench-spacing in document
(/usr/share/texmf-texlive/tex/latex/psnfss/t1phv.fd) [1{/var/lib/texmf/fonts/ma
p/pdftex/updmap/pdftex.map}] [2]

! LaTeX Error: Something's wrong--perhaps a missing \item.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
 ...  
  
l.254 ... hyphenation-remain-character-count=2
  First Dedication/fo:block...

? 
! Emergency stop.
 ...  
  
l.254 ... hyphenation-remain-character-count=2
  First Dedication/fo:block...

!  == Fatal error occurred, no output PDF file produced!
Transcript written on tmp.log.

Any idea what is wrong?

Attaching the example file, to ensure it is available for future
reference.

-- 
Happy hacking
Petter Reinholdtsen
?xml version=1.0 encoding=utf-8?

!DOCTYPE book PUBLIC -//OASIS//DTD DocBook XML V4.3//EN
http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd; 

!-- test document --

booktitleBook Test Document Title/title
bookinfo
titleBookinfo Test Document Title/title
subtitleBook Subtitle/subtitle
authorgroup
authorfirstnameNorman/firstnamesurnameWalsh/surname/author
/authorgroup
/bookinfo

dedicationtitleFirst Dedication/title
paraJust a test. ldquo;What aboutmdash;this?rdquo;/para
/dedication

dedication
paraJust a test./para
/dedication

prefacetitleForeword/title
?dbhtml filename=forward.htm?
paraThis is a test paragraph./para
/preface

part
partinfo
titlePart One Title/title
legalnotice
paraFoo! A legal notice in a part!/para
/legalnotice
/partinfo
titlePart One Title/title
partintro
titlePartIntro Title/title
paraPartintro contentfootnote
paraThis is a footnote in a partintro./para
/footnote./para
sect1
titlePartIntro Section/title
paraPartIntros can actually have section content as well./para
/sect1
/partintro
chapter id=chapter
title id=chaptertitleSection Tests/title

sect1titleFirst Sect1/title
paraParagraph./para
figure id=testfig1titleTest Figure/title
programlistingThis is a
  ProgramListing
/programlisting
/figure
/sect1