Jean Jordaan wrote:
> I'd like to use Options ? Customize Configuration ? Document
> Conversion Preferences and check option "Use the profiling
> stylesheets".
> 
> However, both options under Document Conversion Preferences are grayed
> out. What should I do to make them active?
> 

You have opened a DocBook 4 or DocBook 5 document and used that "Options
? Customize Configuration ? Document Conversion Preferences" to display
a dialog box. This dialog box has a grayed "Use the profiling
stylesheets" checkbox.

This may happen if you have modified the DocBook 4 or DocBook 5
configurations (for example, you have added a process command whose name
does not start with "docb." for DocBook 4 and with "db5." for DocBook 5).

Unlike the other "Customize Configuration" entries which are generic,
"Document Conversion Preferences" is a command which is *specific* to
the bundled DocBook configurations.

To prove what I say, note how this command is declared in xslMenu.incl:

  <!--
=================================================================== -->

  <command name="db5.conversionPreferences">
    <class>com.xmlmind.xmleditapp.docbook.ConversionPreferences</class>
  </command>

  <menu name="customizeConfig" label="_Customize Configuration">
    <item label="Document Conversion _Preferences..."
          command="db5.conversionPreferences" />
  </menu>

Modify these configurations and you need to modify the "Document
Conversion Preferences" command (in Java[tm]) accordingly.

We do not provide support on how to do this. You need to read the source
code in src/com/xmlmind/xmleditapp/docbook/ConversionPreferences.java.



Reply via email to