public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: "Sudarshan S Chawathe" <chaw@eip10.org>
To: Per Bothner <per@bothner.com>
Cc: kawa <kawa@sourceware.org>
Subject: Re: Building documentation, chunkfast.xsl URL in doc/style/kawa.xsl
Date: Sun, 30 Apr 2017 18:38:00 -0000	[thread overview]
Message-ID: <1488.1493577512@vereq.eip10.org> (raw)
In-Reply-To: Your message of "Sun, 30 Apr 2017 10:56:37 -0700."             <eb9d51cb-9207-e4df-fa14-57b40eed3e48@bothner.com>

> Strange. That's really not a good fix - we really want to be able to
> build every when offline - assuming you have the needed prerequisites
> installed correctly.

I agree re. offline building.  And, to the configure option mentioned
below is probably the way to go.  Thanks!

For completeness sake...

My understanding of the suggested URL for chunkfast.xsl is that it is a
canonical name for it, and that an installed docbook-xsl system should
use the locally installed stylesheet matching that canonical name.  This
is based on a very quick scan of the Docbook XSL README and so may be
quite wrong.  The relevant text from the README is:

    ----------------------------------------------------------------------
    How to use the stylesheets
    ----------------------------------------------------------------------
    The base canonical URI for these stylesheets is:

      http://docbook.sourceforge.net/release/xsl/current/

    You call any of the stylesheets in this distribution by doing one
    of the following:

      - Use the base canonical URI in combination with one of the
        pathnames below. For example, for "chunked" HTML, output:

        http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl


> What is the $DPATH for
>    configure --with-docbook-stylesheets=$PATH

I somehow overlooked that option to configure, and hadn't set it.  That
would be an easier fix.

> Mine (on Fedora) is:
> /usr/share/sgml/docbook/xsl-ns-stylesheets-1.79.1

I think the Debian equivalent (from the Debian README for the
docbook-xsl package) would be

  /usr/share/xml/docbook/stylesheet/docbook-xsl

> There should be a file $DPATH/html/chunkfast.xsl

Yes, there is 

  /usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunkfast.xsl

so that seems like the right thing.


So, bottom line, the configure option should do the trick (although the
canonical names thing is interesting). 

Regards,

-chaw

  reply	other threads:[~2017-04-30 18:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-30 17:26 Sudarshan S Chawathe
2017-04-30 17:56 ` Per Bothner
2017-04-30 18:38   ` Sudarshan S Chawathe [this message]
2017-04-30 18:54     ` Per Bothner
2017-04-30 20:25       ` Sudarshan S Chawathe
2017-04-30 22:46         ` Per Bothner
2017-04-30 23:21           ` Sudarshan S Chawathe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488.1493577512@vereq.eip10.org \
    --to=chaw@eip10.org \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).