mail at antonio-dasilva.com wrote:
> 
> To profile a DocBook file in 3.6.1, is it still necessary to edit the 
> "XXE_user_preferences_dir/custom/~44oc~42ook/conf" file. I've tried simply 
> adding the paramater i want to "Change Document Conversion Parameters" and 
> running the transform I want (Convert to HTML Help) from the DocBook menu, 
> but it seems that the profiling is not working.

I'm sorry but I cannot reproduce this problem.

Please do what follows:

[1] Delete by hand everything under "XXE_user_preferences_dir/custom/"
(but not the directory itself).

[2] Restart XXE.

[3] Open a document of the wanted type (DocBook or DocBook 5 or
Simplified DocBook) because each document type has its own set of
customizations.

[4] *NEW in 3.6.1* Check "Use the profiling stylesheets" in
"Options|Customize Configuration|Document Conversion Preferences". This
is done once for all.

[5] For example, specify attribute "condition" to value "foo" for a
<para> found in the document being edited.

[6] Use "Options|Customize Configuration|Change Document Conversion
Parameters".
[a] Select for example "Convert to PDF, PostScript". Note that each type
of conversion has its own set of parameters.
[b] Use button "Add" to add parameter "profile.condition" with value "bar".
[c] Click OK.

[7] Convert the document to PDF and you'll *not* see in the PDF the
<para> having attribute condition="foo".

[8] Now remove attribute "condition" or set it to "bar" and convert the
document to PDF another time. This time, you'll see in the PDF, the
<para> having attribute condition="bar".


Reply via email to