From: Richard Gabriel <rgabriel@kerio.com>
Subject: enco-pfr.tex - support for Adobe Acrobat
Date: Fri, 02 Dec 2005 12:18:56 +0100 [thread overview]
Message-ID: <20051202111856.b21d9859@mx1.kerio.com> (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
reply other threads:[~2005-12-02 11:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051202111856.b21d9859@mx1.kerio.com \
--to=rgabriel@kerio.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).