DITA and XMetaL Discussion

  • plumblei

    Colored code snippets

    Participants 0
    Replies 1
    Last Activity 9 years, 7 months ago

    We're in the process of converting our documentation from doc to DITA. Now, we have all code snippets colored in the Eclipse IDE style, which makes them more readable. Is there any easy way to paste these snippets to DITA topics in XMetal?

    Reply

    Derek Read

    Reply to: Colored code snippets

    Which deliverable (output type) do you want this to “look nice” in?
    Can I assume your code snippets are inside elements?

    For HTML there are a couple of JavaScript + CSS scripting solutions for making code snippets look nice.
    For PDF there are some XSLTs that can be integrated into the DITA OT transformation process to add styling for code snippets.

    These are projects outside the DITA OT but can be added to it.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support