DITA and XMetaL Discussion
Nick V November 7, 2011 at 7:15 pm
TOPLEAF: Adding custom characters on hyphenation?November 7, 2011 at 7:15 pmParticipants 0Replies 1Last Activity 10 years, 10 months ago
Is there a way to insert a custom hyphen when breaking a line within a specified tag?
Previously, our handling of the codeblock tag in a PDF transform would insert a “hooked hyphen” / “optional hyphen” (¬) character when forced to break a line, to indicate that the sample code should not be reproduced exactly as shown in the PDF.
Currently, I have the codeblock handling pre-content set to specify
. I can update the break characters as we find specific exceptions, but I'm not sure what the best method is to add the hooked hyphen on a line break.
- You must be logged in to reply to this topic.