Next in thread →
Next in month →
Re: DOCBOOK: Efficiently including images in DocBook
/ Nik Clayton <> was heard to say:
| Producing the postscript version doesn't work. For some reason, although
| fig1.eps exists in the same directory, the stylesheets don't use fig1.eps,
| and instead use the contents of the textobject, so I get ASCII art in my
| Postscript output.
Uh, that's odd. If you send me your stylesheet and a short test
document I'll run my eyeballs over it.
| I tried an alternative method, where I include two imageobjects, but wrap
| them with the parameter entities so that only one is visible to the processor
| when the document is converted;
|
| <mediaobject>
| <![ %output.png; [
| <imageobject>
| <imagedata fileref="fig1.png" format="png">
| </imageobject>
| ]]>
|
| <![ %output.eps; [
| <imageobject>
| <imagedata fileref="fig1.eps" format="eps">
| </imageobject>
| ]]>
If you go with this approach, I recommend that you leave both images
in (skip the marked sections) and teach the stylesheets to explicitly
select the right one.
Be seeing you,
norm
--
Norman Walsh <> | Where it is permissible both to
http://www.oasis-open.org/docbook/ | die and not to die, it is an abuse
Chair, DocBook Technical Committee | of valour to die.--Mencius
Next in thread →
Next in month →