* \pdfactualtext and \char
@ 2016-08-05 15:40 Henri Menke
2016-08-05 15:47 ` Wolfgang Schuster
0 siblings, 1 reply; 2+ messages in thread
From: Henri Menke @ 2016-08-05 15:40 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
Cheers, Henri
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: \pdfactualtext and \char
2016-08-05 15:40 \pdfactualtext and \char Henri Menke
@ 2016-08-05 15:47 ` Wolfgang Schuster
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2016-08-05 15:47 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 433 bytes --]
> Henri Menke <mailto:henrimenke@gmail.com>
> 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
[-- Attachment #1.2: Type: text/html, Size: 1438 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-05 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-05 15:40 \pdfactualtext and \char Henri Menke
2016-08-05 15:47 ` Wolfgang Schuster
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).