Hi,
I'm just trying to do some documentation in LyX using the DocBook
layout style and I'm finding a few things which are making life difficult.
Firstly, is there a way to make text appear in a different font, eg
emphasised or typewriter styles in LyX just end up as normal text in
ps/pdf or docbook-html output.
Secondly, and more importantly, is graphics inclusion. It's proving to be
a major pita.
How do you get references to figure numbers in the text? Using the usual
label+crossreference doesn't work in any output form. The figure floats
get given numbers as expected though.
How do you get figures included properly? Using eps figures that display
fine in LyX are not included when viewing in ps/pdf. The outputted sgml
contains references to the file but without extension and with no
reference to the file type. eg including file1.eps generates something
like:
<graphic fileref="file1"></graphic>
using something like db2html on this then converts this reference to
file1.gif, which doesn't exist and so the figures don't get included.
Besides, who wants gif when you've got png?
Including a bitmap image instead eg file1.png generates this:
<graphic fileref="file1.eps"></graphic>
What?! db2html then trys to include the eps direct into the html img src,
and not many browsers I know can handle eps figures ;0). And I didn't want an
eps file included, I wanted the perfectly fine .png file.
Also, the DTD is for version 3.01 of DocBook which is now deprecated
afaik. Are these things fixed in the cvs version (which is offline from
here at least)?
Cheers,
Frink (exhasperated)
--
John Bland M.Phys (Hons) AMInstP / \ PhD Student & Sys Admin
Email: j.bland at cmp.liv.ac.uk / \ Condensed Matter Group
http://ringtail.cmp.liv.ac.uk/ / \ Liverpool University
"Everybody relax, I'm here." -- Jack Burton