latex3 / tagging-project

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

(incompatible module) wrapfig #40

Open dpantele opened 9 months ago

dpantele commented 9 months ago

For further records, wrapfig currently does not work:

\DocumentMetadata{testphase={phase-III},pdfversion=2.0,pdfstandard=A-4}
\documentclass{article}

\usepackage{wrapfig}
\usepackage{graphicx}

\begin{document}

\begin{wrapfigure}{R}{0.5\textwidth}
    \includegraphics[width=0.3\columnwidth]{example-image}
    \caption{An example image}
\end{wrapfigure}

In the quaint village of Greenwood, nestled at the edge of a whispering forest,
a unique tradition has been thriving for centuries. Every spring, the villagers
gather to celebrate the Festival of Blooms, a vibrant event marked by an
explosion of colors and scents. The festival centers around the competition of
floral arrangements, where participants from all age groups display their
creativity with flowers handpicked from the surrounding woods. The air is filled
with the sweet fragrance of wild roses, lilacs, and jasmine, mingling with the
sound of laughter and folk music. Children dart between stalls, their faces
painted with petal motifs, while elders share stories of festivals past. The
highlight of the event is the crowning of the Bloom Queen, a title bestowed upon
the creator of the most breathtaking floral display. This tradition, more than
just a celebration, is a testament to the village's deep connection with nature
and its cycles

\end{document}

Error:

./a.tex:13: Missing number, treated as zero.
<to be read again> 
\__int_eval_end: 
l.13     \caption{An example image}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

./a.tex:13: Missing number, treated as zero.
<to be read again> 
\__int_eval_end: 
l.13     \caption{An example image}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

./a.tex:13: Missing number, treated as zero.
<to be read again> 
<
l.13     \caption{An example image}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

./a.tex:13: Missing number, treated as zero.
<to be read again> 
\__int_eval_end: 
l.13     \caption{An example image}

A number should have been here; I inserted `0'.
(If you can't figure out why I needed to see a number,
look up `weird error' in the index to The TeXbook.)

Package tagpdf Warning: Parent-Child 'StructTreeRoot/pdf' --> 'Caption/pdf2'.
(tagpdf)                Relation is not allowed (struct 0, /StructTreeRoot -->
(tagpdf)                struct 7) on line 13

./a.tex:13: Use of \??? doesn't match its definition.
<argument> \???  
      ! LaTeX Error: A sequence was misused.
l.13     \caption{An example image}

If you say, e.g., `\def\a1{...}', then you must always
put `1' after `\a', since control sequence names are
made up of letters only. The macro here has not been
followed by the required stuff, so I'm ignoring it.

)
! Incomplete \iffalse; all text was ignored after line 13.
<inserted text> 
\fi 
<*> a.tex

The file ended while I was skipping conditional text.
This kind of error happens when you say `\if...' and forget
the matching `\fi'. I've inserted a `\fi'; this might work.

! Emergency stop.
FrankMittelbach commented 2 months ago

Doesn't error any more in this way, but now shows warnings and the resulting tagging structure is not correct. So status is still unchanged.