diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.tex | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.tex b/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.tex index 554efad01ee..d04f8824fbc 100644 --- a/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.tex +++ b/Master/texmf-dist/doc/latex/tagpdf/ex-spaceglyph-listings.tex @@ -8,16 +8,15 @@ \makeatletter %\def\lst@outputspace{\pdffakespace\ } %not so good % this here works fine with luatex, if the font has a space glyph: +% the pdf then has four space glyphs. But this doesn't mean that they get copied&pasted! \def\lst@visiblespace{\lst@ttfamily{\char32}{\char32}} % with pdftex this could work %\def\lst@visiblespace{\lst@ttfamily{\pdffakespace\ }{\pdffakespace\ }} -\tagpdfsetup{activate-all,interwordspace=on,show-spaces,log=v} +\tagpdfsetup{activate,interwordspace=on,show-spaces,log=v} \begin{document}\pagestyle{empty} -\tagstructbegin{tag=Document} \tagmcbegin{tag=P} \begin{lstlisting}[showspaces] aaa aaa xxxx \end{lstlisting} \tagmcend -\tagstructend -\end{document}
\ No newline at end of file +\end{document}
\ No newline at end of file |