From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95679 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \pdfactualtext and \char Date: Fri, 05 Aug 2016 17:47:46 +0200 Message-ID: <57A4B522.2040907@gmail.com> References: <00ceea89-90db-9f66-fc68-62a96092157e@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1959888506452312748==" X-Trace: blaine.gmane.org 1470412109 30836 195.159.176.226 (5 Aug 2016 15:48:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 5 Aug 2016 15:48:29 +0000 (UTC) User-Agent: Postbox 4.0.8 (Macintosh/20151105) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Aug 05 17:48:22 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVhMD-00078b-7O for gctc-ntg-context-518@m.gmane.org; Fri, 05 Aug 2016 17:48:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5C19D14671; Fri, 5 Aug 2016 17:48:07 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gw1ufqhqHgIX; Fri, 5 Aug 2016 17:48:04 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id D5DA914677; Fri, 5 Aug 2016 17:48:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id AFB4D14674 for ; Fri, 5 Aug 2016 17:48:03 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JCI7w3N_38a9 for ; Fri, 5 Aug 2016 17:48:03 +0200 (CEST) Original-Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3F52214671 for ; Fri, 5 Aug 2016 17:47:52 +0200 (CEST) Original-Received: by mail-wm0-f41.google.com with SMTP id i5so42965531wmg.0 for ; Fri, 05 Aug 2016 08:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=VtsECrna0FdBHYND5PNCIfqTJaxgyuBczOvhcyVGFGU=; b=Y3Ndihm5VzV3iU4t2gOaKZmwbRvkvePpaYMhUB7sAhVLq6IeoGYWzYQG4YgE8mMtIY j3oWSPKctC8s13fnQW+BZrFVPHVB7foHW3/1ihrwIDPdqH66rAQNSgQOESJS9NM7U3Ke OlfC7fEx5SWRxO/1uoX8A11Cv5SbcerufKqe1I9iYCwYuDbs1UeLqabVOV6VsCPz7Ull V7np7rXwNiPWp2SIgXVg2q8zR/0MbZv6rC8oBAMJboN6pHCfJuZhD1Ew6ArayMn+jI+H QkjJwljnsVJVStA9Z2EdF2vDuW/ZpKGpghpgayLDZ8ETE6wc8Ztdf5Bj9JR2a0eNdwTg 0Ocg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=VtsECrna0FdBHYND5PNCIfqTJaxgyuBczOvhcyVGFGU=; b=LFG/aK3CKBkrUjO3rW4bRFqNNmT+6QxOZ4LiAiEKBEBTmHVgAv+QiVNxbvJYyifsRD xhLl2E9PvCoXgKBYXQI+926I9tVJ9CphWcnfAeWOPHz5OhvQkh+gSQcrb8qhx/kj9GaD 1TL3wBczxJTg2WnwdRrwn+NSAbqU/QwSB2aZbx7vue/cz/JsLTYx01j20Ba4HqG8fbUS YqLysGgdVtWa8lLhbcxHB8a7aC1mgOzeN/zNiNaXKeWXtW9XnNTXRSDSL7/N3e23OCvu pzBNtsFuoHlX1WKb8kuRiITxgVKa0Ulb+RPdfvWVxIj9j+ZgPofNi2Cdj+hmtaJ0xXNN tUog== X-Gm-Message-State: AEkooutyYv6GUnwkYgvUYH5tkDKwJRqynY4P9zg+KnIpsKyZorm/WzRpV1cGRBuUKS90oQ== X-Received: by 10.194.61.205 with SMTP id s13mr70321162wjr.86.1470412071534; Fri, 05 Aug 2016 08:47:51 -0700 (PDT) Original-Received: from keima.localdomain (x2f28bc6.dyn.telefonica.de. [2.242.139.198]) by smtp.gmail.com with ESMTPSA id us9sm18359222wjb.43.2016.08.05.08.47.49 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 05 Aug 2016 08:47:51 -0700 (PDT) In-Reply-To: <00ceea89-90db-9f66-fc68-62a96092157e@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95679 Archived-At: This is a multi-part message in MIME format. --===============1959888506452312748== Content-Type: multipart/alternative; boundary="------------070503070002030201010400" This is a multi-part message in MIME format. --------------070503070002030201010400 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Henri Menke > 5. August 2016 um 17:40 > Dear list, > > \pdfactualtext behaves oddly when the argument is \char. > > \starttext > \pdfactualtext{\char`A}{B} > \stoptext > > In the example, the actual text in the PDF is »A« even though it > should be »B«. If I just use \pdfactualtext{A}{B} it works fine. You need a space after the "A". \starttext \pdfactualtext{\char`A }{B} \stoptext Wolfgang --------------070503070002030201010400 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
5. August 2016 um 17:40
Dear list,

\pdfactualtext behaves oddly when the argument is \char.

\starttext
\pdfactualtext{\char`A}{B}
\stoptext

In the example, the actual text in the PDF is »A« even though it should be »B«. If I just use \pdfactualtext{A}{B} it works fine.
You need a space after the "A".

\starttext
\pdfactualtext{\char`A }{B}
\stoptext

Wolfgang
--------------070503070002030201010400-- --===============1959888506452312748== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============1959888506452312748==--