franco.flamigni wrote:
> I use XMLmind to edit and mantain a user manual. I publish it in pdf and
> html help.
> My wish would be to have a similar layout in both output and configure
> it using what I see while I'm editing.
> Till now I did not find what to do.
> For instance I have some icons as inline graphic whose size is set to
> 0.5cm. In the editor it is ok as in the chm but in the pdf they are very
> large and overlap the text.
I cannot reproduce this problem either with FOP or with XEP. Please make
sure to select the imagedata element and to set its contentwidth
attribute to 0.5cm.
Note that we don't bother do this in our own documents. Both XEP and FOP
(the copy bundled with XMLmind XML Editor) properly render icons at
120dpi using their intrinsic dimensions (which make them look right).
May be the images you use contain erroneous size or resolution metadata.
> The captions of the figures are centered in the editor but are left
> aligned in pdf and chm.
The CSS style sheets used to render a document on screen do not attempt
to make it look like the PDF or CHM output.
If you want to center the figures in the PDF and CHM output then you
need to parametrize and/or customize the DocBook XSL style sheets.
If, on the contrary, you want to have figures left aligned in the editor
then you need to customize the DocBook CSS style sheets. Example:
---
figure > title {
text-align: left;
}
---
How to do this is explained here: "Customizing an existing
configuration"
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html
> I would like to indent the sections.
> Can you help me indicating what files I have to customize ( and
> possibly) where I can find a clear explanation of the parameters that
> can be set.
Please refer to this FAQ: ``How do I customize the HTML, PDF, RTF, etc,
generated by using the "Convert Document" menu?''
http://www.xmlmind.com/xmleditor/faq.html#custom_deliverables