Summary: | app-text/xmlto cannot generate pdf | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Peter Simons <simons> |
Component: | New packages | Assignee: | Gentoo SGML project <sgml> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esqualante, jrmalaq, markus, nicolas.s-dev, tais.hansen |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Peter Simons
2008-06-04 20:12:40 UTC
One more piece of information: xmlto depends on passivetex for PDF generation, too. After emerging that package as well, I get another error: $ xmlto pdf foo.xml Making portrait pages on A4 paper (210mmx297mm) This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) entering extended mode (./tmp.fo LaTeX2e <2003/12/01> Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur kish, ukrainian, nohyphenation, loaded. xmltex version: 2002/06/25 v1.9 (Exp): (/usr/share/texmf/tex/xmltex/xmltex.cfg) No File: tmp.cfg (/usr/share/texmf/tex/passivetex/fotex.xmt) (/usr/share/texmf/tex/latex/base/article.cls Document Class: article 2004/02/16 v1.4f Standard LaTeX document class (/usr/share/texmf/tex/latex/base/size10.clo)) (/usr/share/texmf/tex/passivetex/fotex.sty ) No file tmp.aux. (/usr/share/texmf/tex/latex/cyrillic/t2acmr.fd) (/usr/share/texmf/tex/latex/base/ts1cmr.fd) (/usr/share/texmf/tex/latex/psnfss/t1ptm.fd) No file tmp.out. No file tmp.out. INFO: Using normal, i.e. nonfrench-spacing in document (/usr/share/texmf/tex/latex/psnfss/t1phv.fd) ! 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.211 ..." hyphenation-remain-character-count="2"> FastCGI -- The Forgotten T... ? ! Emergency stop. ... l.211 ..." hyphenation-remain-character-count="2"> FastCGI -- The Forgotten T... No pages of output. Transcript written on tmp.log. I don't know what that means, but it looks like it might very well be a problem in xmlto, not in the installation. Any advice is appreciated. Last but not least: xmlto is available in version 0.0.20. Renaming the ebuild is all there is to it in order to upgrade. app-text/passivetex consists fotex.xmt Hi, I think xmlto would require a dependancy of the xml useflag in texlive, or so. This will insert xmltex and passivetex. But the above mentioned error .." hyphenation-remain-character-count="2"> still remains. Has somebody resolved it in the meantime? I found a really old bug-report in Lauchpad with the same error, but no resolution: https://bugs.launchpad.net/xmlto/+bug/33033 Should be fixed with 0.0.22 ! LaTeX Error: File `fotex.xmt' not found. Yep, this problem is solved. .." hyphenation-remain-character-count="2"> However, this problem is still present. After inspecting the issue I found out that xmlto messes with USE_BACKEND variable. In file "usr/share/xmlto/format/docbook/pdf" backends defaults to FOP: $ head -n 2 /usr/share/xmlto/format/docbook/pdf case "$USE_BACKEND" in DEFAULT|FOP) but after creating fo and when converting from fo to pdf USE_BACKEND defaults to DBLATEX: $ head -n 2 /usr/share/xmlto/format/fo/pdf case "$USE_BACKEND" in DEFAULT|DBLATEX) Using xmlto --with-fop option I was able to create PDF without errors. I couldn't test dblatex because it's not in portage. (there is an ebuild submited in bug 129368) I guess this is not gentoo issue. It should be reported upstream. |