Steve Valaitis wrote:
> 
> This brings me to my next question. Is there a way to specify a custom
> configuration per "project" so to speak? Like is there a processing
> instruction, or other configuration that could be put in a book element
> to specify a local configuration that XXE would use to customize the
> docbook conversion?
> 
> The reason I ask is because I work on projects for multiple clients, and
> some of the config settings I have in my main config file don't always
> apply to each project(particularly the CSS file for formatting). I'm
> constantly having to go in to the config and comment, or uncomment
> sections for each different client.
> 

XMLmind XML Editor being a pure authoring tool (i.e. its purpose is not
to produce PDFs having the right corporate look), it is difficult for us
to understand why you need to have different configurations for the same
document type.

Now the answer to your question is:

[1] Create different customizations of the DocBook configuration as
explained in
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html

* All these configuration must be called "DocBook".
* Create each custom configuration in its own directory.
* Do not create them in subdirectories of any of the two addon/
directories scanned by XXE during its startup.

[2] Select the ``right'' custom DocBook configuration by using the
XXE_ADDON_PATH environment variable as explained in
http://www.xmlmind.com/xmleditor/_distrib/doc/configure/lookup_phase.html

* If you are working on Windows, it may be slightly more convenient to
create several xxe.bat files (client1_xxe.bat, client2_xxe.bat, etc),
each one having a different value for the XXE_ADDON_PATH system property
(read xxe.bat and you'll guess what I mean).



---
PS: Did you know about the convertdoc command-line utility? It is very
handy to cleanly separate authoring from generation of HTML, RTF, PDF.
More info in
http://www.xmlmind.com/xmleditor/_distrib/doc/commands/convertdoc.html


Reply via email to