|
This post was updated on .
Writing docs for a programming language, I want to index the "<" character. No problem with asciidoctor-fopub, but with asciidoctor-pdf, all the following attempts give parse errors.
This is a `<` indexterm:[<, index text] test.
This is a `<` indexterm:[\<, index text] test.
This is a `<` indexterm:["<", index text] test.
This is a `<` indexterm:[{lt}, index text] test.
Error is: Failed to parse formatted text: <
What's the magic required for this to work with asciidoctor-pdf? I much prefer its output to fopub.
As an aside indexterm2: does work but I really need indexterm:
Thanks in advance,
/Ashok
|