On 23/2/16 14:52, Adam Twardoch (List) wrote:
Jonathan,

this is splendid. Adding support for the PDF "ActualText" tagging layer
is a huge step.

I wonder — what happens in case of mathematical formulae?


At this point, nothing in particular. :)

I think it would be rather clever to embed the TeX notation or even, huh
huh, MathML into the ActualText layer for the math mode — per equation,
of course :) .

I think these are ideas that could usefully be explored/implemented at the macro level, rather than being built in to the engine.

JK

 Or use the "Unicode math linear format" as proposed by
Microsoft:
http://www.unicode.org/notes/tn28/UTN28-PlainTextMath-v3.pdf

A.

Sent from my mobile phone.

On 23.02.2016, at 15:43, Jonathan Kew <jfkth...@gmail.com
<mailto:jfkth...@gmail.com>> wrote:

The code for the \XeTeXgenerateactualtext feature (it's an integer
parameter; set it to 1 to get ActualText added to the PDF, for better
copy/paste and search in Acrobat) is now on sourceforge, in an
"actualtext" branch, for anyone who wants to try building and
experimenting with it.

Note that this requires a new version of xdvipdfmx, as it uses a new
DVI opcode. The patch for xdvipdfmx is attached here (based on the
current TeXLive svn source).

Akira, if you could check that the patch seems OK, that would be
great. I've not really looked at dvipdfm-x code in a long time. I
haven't pushed this it to TL yet, as it's all rather experimental, but
I hope we can safely include it for TL'16.

JK
<xdvipdfmx-for-xetex-0_99995.patch>


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex




--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
   http://tug.org/mailman/listinfo/xetex




--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to