J. Friedrich wrote:
>
> here are some questions left concerning XMLMind.

Sorry in advance because the answers below are too succinct to be really 
useful. The reason for that is written at the very end of this email.



>
> 1. Graphics don't appear in the size of the page/within the text block, when 
> I want to convert .pdf. Even when I set the attribute 'align' with the value 
> 'justify'. I am working with .png mostly screen shots and use the style sheet 
> 'figure'.
>

You need to specify special attributes for DocBook element imagedata (or 
graphic -- now obsolete)  such as width, depth, contentwidth, 
contentdepth, etc.

DocBook 4:

http://www.docbook.org/tdg/en/html/imagedata.html

DocBook 5:

http://www.docbook.org/tdg5/en/html/imagedata.html

XXE_install_dir/demo/docbook-image.xml may be used as a short tutorial 
for these attributes.




> 2. Converting .pdf the font is times new roman or something alike. We are 
> using Verdana. I already changed the standard CSS Stylesheet in the options, 
> but the .pdf fonts are still serifed. How can I change this?
>

The CSS stylesheets specify what you see on screen and not what you'll 
get in PDF.

The DocBook XSL stylesheets which generate XSL-FO (an intermediate page 
description format) specify what you'll get in PDF.

These DocBook XSL stylesheets are customized either by specifying XSLT 
stylesheet parameters or by redefining XSLT attribute sets.

For example, you may want to specify XSLT stylesheet parameter:

body.font.family

to:

Verdana

See 
http://docbook.sourceforge.net/release/xsl/current/doc/fo/body.font.family.html

However but doing just this, it will not work because FOP, the XSL-FO 
processor which generates the PDF will not automatically find the TTF 
font file corresponding to Verdana.

--> In order to tell FOP where to find the Verdana font, please use menu 
item Options|Preferences, Add-on|FOP section and add 4 Verdana fonts: 
one for regular, one for bold, one for italic or oblique, one for 
bold/italic or bold/oblique.

--> In order to specify an XSLT stylesheet parameter from within XMLmind 
XML Editor, please use menu item
Options|Customize Configuration|Change Document Conversion Parameters
and refer to this documentation:

http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.xmleditapp.kit.part.ConversionParametersEditor.html

More generally, please refer to this FAQ:
---
How do I customize the HTML, PDF, RTF, etc, generated using the "Convert 
Document" menu?
http://www.xmlmind.com/xmleditor/faq.html#custom_deliverables
---



> 3. Can I change the style sheet itself, if yes, where is it filed.

The DocBook XSLT stylesheets are found here:

DocBook 4:

XXE_install_dir/addon/config/docbook/xsl/fo/*.xsl

DocBook 5:

XXE_install_dir/addon/config/docbook5/xsl/fo/*.xsl

However, the cleanest way to customize the DocBook XSLT stylesheets is 
described here:

http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customize_xslt.html



>
> 4. The depth of the chapter structure at the moment is
>   Part
>   Chapter
>   Section
> What if I need another depth after 'section'? the 'simplesect' is not useful 
> here.

Sections can be nested. That is, you may insert a section inside a section.

Alternatively, you could have used sect1, sect2, sect3, etc, which is 
somewhat clearer though less flexible than sections.

DocBook 4:

http://www.docbook.org/tdg/en/html/section.html

DocBook 5:

http://www.docbook.org/tdg5/en/html/section.html



>
> Could you please help me in these things?
>

I'm sorry but the answer is: not really!

All your questions seem to be about DocBook itself or about the DocBook 
XSLT stylesheets. I mean, your questions are not directly related to our 
product.

Please remember that XMLmind XML Editor is just an XML *authoring* 
*tool* (worth a few hundred dollars), and not a complete DocBook 
publishing solution or a consultancy service about DocBook (worth a few 
thousand dollars).




 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to