Pages: 1
Print
Author Topic: TOPLEAF: Adding custom characters on hyphenation?  (Read 122 times)
Nick V
Member

Posts: 7


« on: November 07, 2011, 01:15:27 PM »

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 <text-properties breakchars="" wordbreak="url"/>. 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.
Logged
gjn2066
Member

Posts: 47



WWW
« Reply #1 on: November 08, 2011, 12:08:48 AM »

Hmmmm, I think I understand the requirement. I'll think about it and get back to you.
Logged
Pages: 1
Print
Jump to:  

email us