From 66f6e60b6dc60cc08482030b92df223b6a51b15f Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 29 Aug 2021 03:02:07 +0000
Subject: CTAN sync 202108290302

---
 macros/latex/contrib/tagpdf/ex-spaceglyph-listings.tex | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'macros/latex/contrib/tagpdf/ex-spaceglyph-listings.tex')

diff --git a/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.tex b/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.tex
index 554efad01e..d04f8824fb 100644
--- a/macros/latex/contrib/tagpdf/ex-spaceglyph-listings.tex
+++ b/macros/latex/contrib/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
-- 
cgit v1.2.3

