[XeTeX] Whitespace in input

Zdenek Wagner zdenek.wagner at gmail.com
Sat Nov 19 15:02:48 CET 2011


2011/11/19 Ulrike Fischer <news3 at nililand.de>:
> Am Sat, 19 Nov 2011 00:30:58 +0100 schrieb Zdenek Wagner:
>
>>> /ActualText is your friend here.
>>> You tag the content and provide the string that you want to appear
>>> with Copy/Paste as the value associated to a dictionary key.
>
>> I do not know whether the PDF specification has evolved since I read
>> it the last time. /ActualText allows only single-byte characters, ie
>> those with codes between 0 and 255, not arbitrary Unicode characters.
>
> This here works fine with pdflatex + xetex:
>
Thank you, the package looks useful.

> \documentclass{article}
> \usepackage{accsupp}
> \begin{document}
> \BeginAccSupp{method=hex,unicode,ActualText=20AC}%
>  Euro%
> \EndAccSupp{}%
>
> \BeginAccSupp{method=hex,unicode,ActualText=03B1}%
>  alpha%
> \EndAccSupp{}%
> \end{document}
>
> --
> Ulrike Fischer
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list