[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Specifying directory for epub 3 output
Hi Dave,
I don't think this is an issue for DocBook XSL, but with
Oxygen's transformation scenarios. You should ask them if there is an
option to specify the current working directory as a base for a transformation
so you don't have to specify a full path in base.dir.
That said, you still should not be getting full paths in the
ListofTitles links. Those should be computed relative to base.dir where
the book TOC file is, and should not contain base.dir in their path. I'm
not clear how Oxygen is changing that aspect.
From: Xmplar
Sent: Tuesday, January 15, 2013 2:43 AM
To: DocBook Apps
Subject: [docbook-apps] Specifying directory for epub 3
output To save all output files I've had to specify the exact pathname of my current directory in the 'base.dir' param with a few custom variables: <xsl:variable name="epuboutput.dir">c:/xmplar/cop-e-boox v0-2/master1-20120826</xsl:variable> <xsl:variable name="basemetainf.dir" select="concat($epuboutput.dir, '/epuboutput/')" /> <xsl:param name="base.dir" select="concat($basemetainf.dir, 'OEBPS/')"/> I get the files generating where I want them, but in the resulting book toc I get the lists of titles all being generated with the entire pathname in the <a href...> element: <div xmlns:xlink="http://www.w3.org/1999/xlink" class="ListofTitles"> <a href="">Figures</a></div> <div xmlns:xlink="http://www.w3.org/1999/xlink" class="ListofTitles"> <a href="">Tables</a></div> <div xmlns:xlink="http://www.w3.org/1999/xlink" class="ListofTitles"> <a href="">Boxes</a></div> <div xmlns:xlink="http://www.w3.org/1999/xlink" class="ListofTitles"> <a href="">Equations</a></div> I thought I found where to remove the full pathname from href (in template name="make.lot.chunk") but commenting out the lines containing base.dir doesn't work. So in short, I'd like to know: 1. How I can use the standard base.dir param without my pathname modifications and generate files in the current directory (instead of them being saved to the oXygen program directory), or 2. How I can remove the pathname from the href of the lists of titles while using the modified base.dir. Thanks! -- Dave Gardiner
|
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]