public inbox for
 help / color / mirror / Atom feed
* dbhtml dir parameter when chunking, and html.stylesheet
@ 2007-04-16 23:50 Sam Varshavchik
  2007-04-17  6:23 ` Michael(tm) Smith
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Varshavchik @ 2007-04-16 23:50 UTC (permalink / raw)
  To: docbook-tools-discuss

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-17  6:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-16 23:50 dbhtml dir parameter when chunking, and html.stylesheet Sam Varshavchik
2007-04-17  6:23 ` Michael(tm) Smith

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