DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion syntax for special characters

  • mgharvey2

    syntax for special characters

    Participants 1
    Replies 2
    Last Activity 7 years, 6 months ago

    XMetal 8.0.1.051, DITA 1.2

    I have to use two special characters in my text; infinity and lowercase tau.

    q looked like it was going to work, but XMetaL tells me I have invalid markup and no character shows up in the WebHelp output.

    My heading looks like this:


    What am I doing wrong?

    Reply

    barbwire

    Reply to: syntax for special characters

    I think you should not use HTML entities. Try to set the file encoding to UTF-8 and just write the correct symbol. For example ∞.

    Reply

    Derek Read

    Reply to: syntax for special characters

    The DITA DTDs do not define any named character entities* (which is why you are being told the file is invalid as you are referencing an undefined entity). It is best to do as barbwire says and insert Unicode characters directly into the document.

    *Note that this is not entirely true. The DITA DTDs define one named character entity but it is not recommended for use:
    It was included in the original DTDs that IBM created and remains in all versions up to 1.3 but is marked as “deprecated” and will be removed in the 2.0 version of the DTDs.

    Reply

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

Lost Your Password?

Products
Downloads
Support