From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41731 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: searchable pdf in mkii, usepdffontresource stub Date: Tue, 17 Jun 2008 18:34:13 +0200 Message-ID: <4857E785.50706@wxs.nl> References: <4857E026.2020105@mail.ru> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213722571 15191 80.91.229.12 (17 Jun 2008 17:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Jun 2008 17:09:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 17 19:10:11 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1K8egh-0002A0-9x for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jun 2008 19:09:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 57D1E1FB3C; Tue, 17 Jun 2008 19:08:48 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13937-02-3; Tue, 17 Jun 2008 19:08:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 957EA1FBAC; Tue, 17 Jun 2008 18:35:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D1901FBC1 for ; Tue, 17 Jun 2008 18:34:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 10985-01-12 for ; Tue, 17 Jun 2008 18:34:18 +0200 (CEST) Original-Received: from mail.pragma-ade.net (dsl-083-247-100-017.solcon.nl [83.247.100.17]) by ronja.ntg.nl (Postfix) with ESMTP id ADF6F1FBAC for ; Tue, 17 Jun 2008 18:34:13 +0200 (CEST) Original-Received: from [10.100.1.100] (unverified [10.100.1.100]) by controller-1 (SurgeMail 3.9e) with ESMTP id 13663-1840426 for ; Tue, 17 Jun 2008 18:34:13 +0200 User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <4857E026.2020105@mail.ru> X-Originating-IP: 10.100.1.100 X-Authenticated-User: hagen@controller-1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41731 Archived-At: 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 ___________________________________________________________________________________