latex3 / tagging-project

Issues related to the tagging project
https://latex3.github.io/tagging-project/
LaTeX Project Public License v1.3c
42 stars 15 forks source link

spaces lost in tags with shapepar #630

Open mbertucci47 opened 3 months ago

mbertucci47 commented 3 months ago

With the shapepar package, spaces are lost in the tags. I can't tell if this is a real issue or just an issue with Acrobat's display. Also, for some reason uploading the resulting pdf to ngpdf errors.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid}
  }
\documentclass{article}

\usepackage{shapepar}

\title{shapepar tagging test}

\begin{document}

\shapepar{\nutshape} blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah

\bigskip

\squarepar{blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah}

\Shapepar{\circleshape} blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah

\bigskip

\font\cmsybig=cmsy10 at 1.2in
\newcommand\BigO{{\cmsybig \char10}}
\cutout{r}(-1cm,2\baselineskip)
\setlength\cutoutsep{6pt}
\shapepar[1.7cm]{\circleshape}%
\setlength\unitlength{1cm}%
\begin{picture}[alt=big O](0,0)%
\put(1.0,-1.3){\makebox[0pt]{\BigO}}
\end{picture}

blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah

\end{document}
FrankMittelbach commented 3 months ago

looks like it is losing the spaces at the end of line probably because it is building individual line boxes. In addition it build a bunch of empty paragraphs, most likely because paragraph tagging is activated while it is building trial results. Bottom line I think it is best called incompatible even though it might be simple to fix.