Problems indexing < character with asciidoctor-pdf
This post was updated on Feb 26, 2017; 2:12pm.
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:
You'll be happy to know that this is only a warning. The index still renders correctly with alpha.14.
Cheers,
-Dan
On Sun, Feb 26, 2017 at 6:55 AM, apnadkarni [via Asciidoctor :: Discussion] <[hidden email]> wrote:
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.
Thanks in advance,
/Ashok
If you reply to this email, your message will be added to the discussion below: