Thanks for the fast response!

> Currently the answer is no. However this is a good idea for an
>> enhancement. So we *may* implement syntax highlighting (and also line
>> numbering) in the future.
>
>
For now my easiest option is to parse the HTML output using the
"ColorizerLibrary.dll" from *Sandcastle Help File Builder. *I can build the
PDF by outputting the "single chunk" HTML plus some custom CSS and then
convert this to PDF using *wkhtmltopdf*.

Are there any examples of creating custom XSL for a top-level DITA
specialisation?

For example, the FAQ schema suggested by IBM:

    <faq id="product-faq">
      <title>Frequently Asked Questions</title>
      <faqbody>
        <faqgroup>
          <title>General Questions</title>
          <faqlist>
            <faqitem>
              <faqquest>Is this project open source?</faqquest>
              <faqans>
                <p>Absolutely! Here are the project pages:</p>
                <ul>
                  <li>X</li>
                  <li>Y</li>
                </ul>
              </faqans>
            </faqitem>
          </faqlist>
        </faqgroup>
      </faqbody>
    </faq>
 
--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to