git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Issues building docs on an offline box again.

From
Tim Visher <tim.visher@gmail.com>
Date
Feb 24, 2009, 13:04 UTC
Message-ID
<c115fd3c0902240504y9fe6ce4m65ba73ce2937cb9e@mail.gmail.com>
In-Reply-To
<20090224022856.GN4371@genesis.frugalware.org>
On Mon, Feb 23, 2009 at 9:28 PM, Miklos Vajna <vmiklos@frugalware.org> wrote:
Show 5 quoted lines
>> My current solution is to build them on the online box and then copy
>> them over the sneaker net to the offline box.  But, this is kludgey,
>> so not cool. :)
>
> That's just a workaround.
Certainly agree with you there.
> The solution is to have the correct mappings under /etc/xml, so that
> it maps the doctype to /usr/share/xml/docbook/manpages/docbook.xsl,
> or a similar path. After all, ideally your distro does this for you
> automatically. :)

How would I do that? Unfortunately I have no experience whatsoever with configuring docbook. I've always just used a package manager to install it. Anyway, there's a `catalog` file in /etc/xml with the following:

$ cat /etc/xml/catalog
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
V1.0//EN" "http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <public publicId="-//OASIS//DTD DocBook XML V4.2//EN"
uri="http://www.oasis-open.org/docbook/xml/4.2/"/>
  <rewriteSystem
systemIdStartString="http://www.oasis-open.org/docbook/xml/4.2/"
rewritePrefix="/usr/share/xml/docbook/4.2/"/>
</catalog>
To my untrained eye there seems to be a local path in there but I have no idea.
Thanks for the help!
-- 
In Christ,

Timmy V.

http://burningones.com/
http://five.sentenc.es/ - Spend less time on e-mail
Previous: Miklos VajnaNext: Miklos Vajna
Message 3 of 5 in “Issues building docs on an offline box again.”
  1. Tim VisherFeb 23, 2009
  2. Miklos VajnaFeb 24, 2009
  3. Tim VisherFeb 24, 2009
  4. Miklos VajnaFeb 24, 2009
  5. Ben WaltonFeb 24, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.