Hi Bela

Off the top of my head I can't think of a better way, you can also include arbitrary entity references in the AsciiDoc e.g. &#fb84;

Cheers, Stuart


source.
On 25/05/10 06:19, Bela Hausmann wrote:
My current solution is this:

asciidoc.conf:
[replacements]
(?<!\\)ffl=&#xFB04;
(?<!\\)ffi=&#xFB03;
(?<!\\)fl=&#xFB02;
(?<!\\)fi=&#xFB01;
(?<!\\)ff=&#xFB00;
\\fl=fl
\\fi=fi
\\ff=ff

Seems to work. Feedback?

Bela

On May 23, 3:23 pm, Bela Hausmann<[email protected]>  wrote:
Hello,

is there any support for ligatures in AsciiDoc? I can display them via
DocBook/fop/PDF when I use the Unicode character[1] but they are not
automatically translated?

Can I use the replacements feature to do this or is there a better
way?

Greetings,
Bela

[1]http://en.wikipedia.org/wiki/
Typographic_ligature#Ligatures_in_Unicode_.28Latin-derived_alphabets.29

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group 
athttp://groups.google.com/group/asciidoc?hl=en.


--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to