From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: searchable pdf in mkii, usepdffontresource stub
Date: Tue, 17 Jun 2008 18:34:13 +0200 [thread overview]
Message-ID: <4857E785.50706@wxs.nl> (raw)
In-Reply-To: <4857E026.2020105@mail.ru>
Oleg Kolosov wrote:
> Hello!
>
> I'm trying to generate searchable pdf with cyrrillic glyphs with the
> following:
>
> \enableregime[utf]
> \mainlanguage[ru]
> \setupencoding[default=t2a]
> \useencoding[pfr]
> \usepdffontresource t2a
> \usetypescript[pscyr][\defaultencoding] % type-pscyr is my own
> typescript file
> \setupbodyfont[pscyr,14pt]
>
> also tried with:
>
> \startencoding[t2a]
> \usepdffontresource t2a
> \stopencoding
>
> It seems that \usepdffontresource does nothing. I see pdfr-def loaded in
> log, but not pdfr-t2a. \input pdfr-t2a (or pdfr-ec) says that
> \startpdffontresource is undefined command. I've created pdfr-t2a.tex by
> replacing definitions in pdfr-ec with ones from cmap latex package
> (found in file t2a.cmap). I'm using ConTeXt mkII since mkIV is in active
> development. Tried also with ec as default encoding with the same result
> (pdfr-ec.tex is not loaded).
>
> Please help me create header for minimal file which will generate
> searchable PDF.
pdftex does it itself (i.e. create the vectors) using pdfr-def.tex
(unless i did something wrong)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2008-06-17 16:34 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-10 14:36 distro info Andrea Valle
2008-06-10 14:43 ` Andrea Valle
2008-06-10 15:29 ` Wolfgang Schuster
2008-06-10 15:30 ` Otared Kavian
2008-06-10 15:34 ` Hans Hagen
2008-06-10 17:21 ` David
2008-06-10 17:37 ` Hans Hagen
2008-06-10 20:31 ` Andrea Valle
2008-06-12 1:22 ` David
2008-06-12 7:51 ` Olivier Guéry
2008-06-12 8:58 ` Mojca Miklavec
2008-06-10 15:58 ` Mojca Miklavec
2008-06-10 20:27 ` Andrea Valle
2008-06-10 21:08 ` Mojca Miklavec
2008-06-11 12:09 ` Oliver Buerschaper
2008-06-11 14:55 ` Andrea Valle
2008-06-11 16:05 ` Mojca Miklavec
2008-06-11 16:55 ` Andrea Valle
2008-06-11 20:43 ` Jesse Alama
2008-06-12 9:00 ` Andrea Valle
2008-06-13 16:40 ` Henning Hraban Ramm
2008-06-13 17:08 ` Andrea Valle
2008-06-13 18:01 ` Mojca Miklavec
2008-06-13 18:20 ` Henning Hraban Ramm
2008-06-13 18:26 ` Matthias Weber
2008-06-13 19:23 ` Henning Hraban Ramm
2008-06-13 17:57 ` Thomas A. Schmitz
2008-06-14 11:07 ` Oliver Buerschaper
2008-06-14 11:35 ` Thomas A. Schmitz
2008-06-14 13:57 ` Andrea Valle
2008-06-14 17:36 ` Thomas A. Schmitz
2008-06-14 21:38 ` Henning Hraban Ramm
2008-06-14 23:32 ` Charles P. Schaum
2008-06-14 14:19 ` Oliver Buerschaper
2008-06-14 16:35 ` Jesse Alama
2008-06-14 18:59 ` Mojca Miklavec
2008-06-14 23:05 ` Diego Depaoli
2008-06-15 0:41 ` Charles P. Schaum
2008-06-15 1:36 ` Matthias Weber
2008-06-15 9:40 ` Andrea Valle
2008-06-30 5:27 ` Jesse Alama
2008-06-30 7:03 ` Alan Stone
2008-06-30 8:20 ` Mojca Miklavec
2008-06-30 16:21 ` George N. White III
2008-06-14 11:48 ` Andrea Valle
2008-06-14 13:55 ` John Culleton
2008-06-17 16:02 ` searchable pdf in mkii, usepdffontresource stub Oleg Kolosov
2008-06-17 16:34 ` Hans Hagen [this message]
2008-06-17 18:55 ` Oleg Kolosov
2008-06-17 19:13 ` Hans Hagen
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=4857E785.50706@wxs.nl \
--to=pragma@wxs.nl \
--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).