From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41728 Path: news.gmane.org!not-for-mail From: Oleg Kolosov Newsgroups: gmane.comp.tex.context Subject: searchable pdf in mkii, usepdffontresource stub Date: Tue, 17 Jun 2008 20:02:46 +0400 Message-ID: <4857E026.2020105@mail.ru> References: 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 1213718779 31525 80.91.229.12 (17 Jun 2008 16:06:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Jun 2008 16:06:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 17 18:07:02 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 1K8dgP-00076y-R4 for gctc-ntg-context-518@m.gmane.org; Tue, 17 Jun 2008 18:05:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 392651FD1B; Tue, 17 Jun 2008 18:04:29 +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 08746-03-2; Tue, 17 Jun 2008 18:03:44 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1CB7E1FCA1; Tue, 17 Jun 2008 18:03:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 89C9B1FC24 for ; Tue, 17 Jun 2008 18:03:42 +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 08248-03-5 for ; Tue, 17 Jun 2008 18:03:09 +0200 (CEST) Original-Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.23]) by ronja.ntg.nl (Postfix) with ESMTP id 585A31FCA1 for ; Tue, 17 Jun 2008 18:03:09 +0200 (CEST) Original-Received: from [87.117.41.245] (port=54136 helo=[172.16.6.11]) by mx27.mail.ru with asmtp id 1K8deG-000BH6-00 for ntg-context@ntg.nl; Tue, 17 Jun 2008 20:03:08 +0400 User-Agent: Thunderbird 2.0.0.14 (X11/20080512) In-Reply-To: X-Spam: Not detected X-Mras: OK 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:41728 Archived-At: 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. -- Best Regards, Oleg Kolosov ___________________________________________________________________________________ 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 ___________________________________________________________________________________