[NTG-context] enco-pfr.tex - support for Adobe Acrobat

Richard Gabriel rgabriel at kerio.com
Fri Dec 2 12:18:56 CET 2005

Hello Hans, Taco and others!

I would like to know how the "enco-pfr.tex" module works and how to properly use it.
Besides of other languages, I also typeset documents in Czech. The search doesn't work (in recent Acrobat 7.0.5) for particular Czech letters (e.g. č,ž etc.). If I try to search for a simple letter (e.g. "č") it stops on every word containing "č", but also "c". If I try to search for a whole word (e.g. "počítač"), nothing is found. :-)

I've followed the instructions posted on http://wiki.contextgarden.net/Encodings_and_Regimes and in the mailing list thread linked from that page. 
So I tried:

\input enco-pfr
\startencoding [ec]
  \usepdffontresource ec
\setupbodyfont[lbr]% I have typescripts for Lucida Bright fonts, the Czech is typeset OK
A testing Czech sentence follows:
Příliš žluťoučký kůň úpěl ďábelské ódy.

Later I've found out that:
- \input enco-pfr 
  is already done in context.tex
- \startencoding [ec] \usepdffontresource ec \stopencoding 
  is already done at the bottom of enco-pfr.tex
- so it seems that the only command I should issue is:

BTW, in the Czech format (cont-cz.tex), I have defined:
Doesn't it collide with the \useencoding[pfr] command later in the document?


Note: The ligatures work OK even if I don't use the \useencoding[pfr] command at all.

Thanks to all,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20051202/5d76f44b/attachment.html

More information about the ntg-context mailing list