latex3 / tagpdf

Tagging support code for LaTeX
60 stars 7 forks source link

raw key not working with luatex #3

Closed u-fischer closed 6 years ago

u-fischer commented 6 years ago
\documentclass{article}
\usepackage{tagpdf}
\tagpdfsetup{activate-mc,uncompress}
\pagestyle{empty}
\begin{document}
 \tagmcbegin{tag=P,raw={/ActualText<FEFF2226>}}
  blub
 \tagmcend
\end{document}

ActualText entry is missing in the pdf when compiled with lualatex.

u-fischer commented 6 years ago

This works now with version 0.3. The same effect can now also be done with

\documentclass{article}
\usepackage{tagpdf}
\tagpdfsetup{activate-mc,uncompress}
\pagestyle{empty}
\begin{document}
 \tagmcbegin{tag=P,actualtext=∦} %unicode 2226= not parallel
  blub
 \tagmcend
\end{document}