Schramm, Martin wrote:
> for our company I am evaluating the XXE Professional version. We might buy a 
> number of licenses, when the evaluation proves, that it matches our 
> requirements.
> 
> We are using XML DocBook and transform these XML files to F0/PDF by using our 
> own XSL Stylesheets. In our PDF output we use a section numbering, that 
> includes the number of the chapter. For example the fist section with title 
> "Tested interfaces" in chapter 3 is labeled: "3.1 Tested interfaces". 
> 
> But in the WYSIWYG view of the XXE the section's numbering does not include 
> the chapters numbering and therefore is would just display "1. Tested 
> interfaces". This has caused a lot of confusion, especially in large 
> documents with lots of subsections. 

We do not pretend to be WYSIWYG. We call this view: the styled view, as
opposed to the tree view.

We do not include the number of the chapter in the numbering of sections
because we encourage authors to create modular documents. In the case of
a modular document, the author works most of the time on a separate
chapter and in this case, including the number of the chapter in the
numbering of sections is not useful.



> 
> Is there a possibility to change adjust the WYSIWYG view of the XXE 
> Professional version, so the numbering matches our PDF output? This is an 
> important requirement, which has to be evaluated until this Friday, Nov. 28th 
> 2008. I could not find a hint in your documentation. Could you please send me 
> a notice, if this adjustment would be possible.
> 

Sure.

--> Quick and dirty method:

[1] Copy attached custom.imp to XXE_install_dir/addon/config/docbook/css/

[2] Use a text editor to add:

----
@import "custom.imp";
---

at the end of XXE_install_dir/addon/config/docbook/css/docbook.css



--> If you are using DocBook 5 rather than DocBook 4, add custom.imp to
XXE_install_dir/addon/config/docbook5/css/ and modify
XXE_install_dir/addon/config/docbook5/css/docbook5.css



--> The clean maintainable method (which does not require modifying the
stock configuration) is explained here:
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html



--> CSS extension simple-counter() is documented here:
http://www.xmlmind.com/xmleditor/_distrib/doc/csssupport/simple-counter.html
(We also support the standard CSS counters but they are less efficient
and harder to use.)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: custom.imp
Url: 
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081124/f6fdf1f6/attachment.bat
 

Reply via email to