ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* enco-pfr.tex - support for Adobe Acrobat
@ 2005-12-02 11:18 Richard Gabriel
  0 siblings, 0 replies; only message in thread
From: Richard Gabriel @ 2005-12-02 11:18 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 1503 bytes --]

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

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:
  \useencoding[pfr]

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

ANY GUESS?

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


Thanks to all,
Richard

[-- Attachment #1.2: Type: text/html, Size: 2994 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-02 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 11:18 enco-pfr.tex - support for Adobe Acrobat Richard Gabriel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).