Re: DocBook Graphics: Use complete filename in fileref attribute?



On Tue, Nov 18, 2008 at 09:29:46PM +0100, Steffen Macke wrote:
No! The tags includes an attribute with file format,
and the stylesheets can handle that (default.graphic.files.extension
param or somethink like). adding file extension will break the ability
to choose file format as building pdf/ps.

Shouldn't this be done using the mediaobject?

http://www.sagehill.net/docbookxsl/GraphicSelection.html

Good point, while I don't know if dblatex _and_ jw can handle that.

FYI, the command-line used to build html is that one: xsltproc \
--stringparam graphic.default.extension png ../$(htmlstyle) ../$<

with /doc/[lang]/html.xsl as htmlstyle and (finally) /doc/[lang]/dia.xml
as target.

I _voluntary_ keeped html.xsl lang defined, to allow translators to
handle locale "printing rules" settings (eg: formal.title.placement
differs slightly from one lang to other).

Last, GNOME Yelp perfectly handles the absence of graphic extention ;)

One thing I didn't done is the htmlhelp (and makefile.msc) build, which
can be done by the Norman Walsh's docbook stylesheets too, I think with
the same parameters. Mainly because I didn't find any /working/ htmlhelp
archive builder in the Free Software area (and, yes, M$ ones shipped for
free is good enough: I tried it at work), and also because I didn't get
a read of other makefile.msc to get the syntax.

On the other hand, xslt processing is too installation-dependant on
Windows to makes that ;) I written a HOWTO in French for my job I can
publish, but my English expression is so bad I do not want to translate
it myself...


Regards,
-- 
=== The BOFH Excuse Server ===
Your excuse is: suboptimal routing experience



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]