public inbox for
 help / color / mirror / Atom feed
From: Sam Varshavchik <>
Subject: dbhtml dir parameter when chunking, and html.stylesheet
Date: Mon, 16 Apr 2007 23:50:00 -0000	[thread overview]
Message-ID: <> (raw)

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

I am using Docbook XSL 1.72

Let's say I provide this when processing chunk.xsl:

<xsl:param name="html.stylesheet" select="'style.css'"/>

All my chunked html files now have:

<link rel="stylesheet" href="style.css" type="text/css" />

Now, I put:

<?dbhtml dir="subdir" ?>

into one of my chunked sections.  The corresponding chunk goes into subdir, 
but subdir/foo.html has an identical link, also with href="style.css", but 
it should really be ../style.css!

What are my options to do this right?  Unless there's a way to get this 
right, I'll have to churn the results through a custom XSL hack that adjusts 
the relative stylesheet link :-(

I'm also looking at what happens to all the admonition graphics, I suspect 
the same problem affects them, too :-((

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-04-16 23:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-16 23:50 Sam Varshavchik [this message]
2007-04-17  6:23 ` Michael(tm) Smith

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:

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

  git send-email \ \ \ \

* 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).