[Agda] How to avoid T3 fonts in pdf generated with lhs2TeX?

Dominique Devriese dominique.devriese at cs.kuleuven.be
Thu Nov 1 23:15:53 CET 2012


2012/11/1 Andreas Abel <andreas.abel at ifi.lmu.de>:
> Hello,
> maybe someone has experience in publishing papers that use lhs2TeX and
> unicode characters with ACM, and has been in my situation before...
> Sheridan, who publishes for ACM, does not like T3 fonts. However, lhs2tex
> --agda does make use of T3 fonts via:
>   \RequirePackage[utf8x]{inputenc}
> If I remove this, my unicode characters are garbled in the lhs2tex-generated
> code. Does anoyone know a smart workaround besides replacing all the unicode
> characters manually by some math symbols in the .tex file?

Not sure about all this, but perhaps you can try to use utf8 instead
of utf8x and manually define translations for the unicode characters
that you use,e.g.:


Perhaps you can then somehow avoid translations that use T3 fonts (not
sure what these are though). Note: the numbers are the characters'
unicode hexadecimal representation (AFAIU), which you can find e.g.
using emacs's describe-char.


More information about the Agda mailing list