Here you go. This is just an example I picked up from a tutorial site. The same thing happens on all the documentation for mercurial. That is where I first ran into the problem was trying to build mercurial from source. This happens on two different installations of macports for me, so I think you'll be able to reproduce. Thanks, Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 8/13/07, Boey Maun Suang <boeyms@macports.org> wrote:
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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- Boey Maun Suang (Boey is my surname) Email: boeyms at macports dot org