xmlto problems
Boey Maun Suang
boeyms at macports.org
Mon Aug 13 00:18:06 PDT 2007
Hi Brad,
Your output says that it's looking for an SGML catalog file, and the
docbook-xsl port only installs an XML catalog file; the former format
is deprecated and not as easy to manipulate with standard tools.
I'm not sure what's going on here; could you be able to attach a copy
of the XML file that you're trying to PDF so that I can see if I can
reproduce the problem?
Kind regards,
Maun Suang
On 08/08/2007, at 01:50, Brad Miller wrote:
> Hello,
>
> I've been trying to use asciidoc and xmlto to compile some
> documentation.
>
> In documentation for the mercurial bundle, and using a simple
> example from the asciidoc tutorial page I get the following errors
> when I try the following:
>
> xmlto pdf article.xml ~/tmp
> I/O error : Attempt to load network entity http://
> docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl
> warning: failed to load external entity "http://
> docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
> cannot parse http://docbook.sourceforge.net/release/xsl/current/fo/
> docbook.xsl
> Variable $SGML_CATALOG_FILES not set
> I/O error : Attempt to load network entity http://
> docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl
> warning: failed to load external entity " http://
> docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"
> cannot parse http://docbook.sourceforge.net/release/xsl/current/fo/
> docbook.xsl
>
> I have no sgml directory in /opt/local/share/ and I've tried
> setting SGML_CATALOG_FILES to various random locations suggested in
> the archives but no luck.
>
> I don't understand why it says it failed to load the external
> entities from docbook.sourceforge.net when I can curl them without
> a problem.
>
> Here's what I have installed:
> xmlto @0.0.18_2 (active)
> asciidoc @8.2.1_1 (active)
> docbook-xml @4.5_0 (active)
> docbook-xsl @1.72.0_0 (active)
>
>
> Thanks,
>
> --
> Brad Miller
> Assistant Professor, Computer Science
> Luther College
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
--
Boey Maun Suang (Boey is my surname)
Email: boeyms at macports dot org
More information about the macports-users
mailing list