Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: extra alignment tab has been changed to \cr in document coverage report #11

Open
weilanad opened this issue Jul 5, 2024 · 0 comments

Comments

@weilanad
Copy link

weilanad commented Jul 5, 2024

When running the document coverage with MiKTeX with the following content

\begin{savenotes}\sphinxattablestart
\sphinxthistablewithglobalstyle
\centering
\begin{tabulary}{\linewidth}[t]{TTTTT}
\sphinxtoprule
\sphinxmultirow{2}{1}{%
\begin{varwidth}[t]{\sphinxcolwidth{1}{5}}
\sphinxstyletheadfamily \sphinxAtStartPar
Filename
\par
\vskip-\baselineskip\vbox{\hbox{\strut}}\end{varwidth}%
}%
&\sphinxmultirow{2}{2}{%
\begin{varwidth}[t]{\sphinxcolwidth{1}{5}}
\sphinxstyletheadfamily \sphinxAtStartPar
Total
\par
\vskip-\baselineskip\vbox{\hbox{\strut}}\end{varwidth}%
}%
&\sphinxmultirow{2}{3}{%
\begin{varwidth}[t]{\sphinxcolwidth{1}{5}}
\sphinxstyletheadfamily \sphinxAtStartPar
Covered
\par
\vskip-\baselineskip\vbox{\hbox{\strut}}\end{varwidth}%
}%
&\sphinxmultirow{2}{4}{%
\begin{varwidth}[t]{\sphinxcolwidth{1}{5}}
\sphinxstyletheadfamily \sphinxAtStartPar
Missing
\par
\vskip-\baselineskip\vbox{\hbox{\strut}}\end{varwidth}%
}%
&\sphinxmultirow{2}{5}{%
\begin{varwidth}[t]{\sphinxcolwidth{1}{5}}
\sphinxstyletheadfamily \sphinxAtStartPar
Coverage in \%
\par
\vskip-\baselineskip\vbox{\hbox{\strut}}\end{varwidth}%
}%
\\
\sphinxvlinecrossing{1}\sphinxvlinecrossing{2}\sphinxvlinecrossing{3}\sphinxvlinecrossing{4}\sphinxfixclines{5}\sphinxmidrule
\sphinxtableatstartofbodyhook
\sphinxtablestrut{1}&\sphinxtablestrut{2}&\sphinxtablestrut{3}&\sphinxtablestrut{4}&\sphinxtablestrut{5}&
\sphinxAtStartPar
📦FRAMConfigurationTool
&
\sphinxAtStartPar
1
&
\sphinxAtStartPar
1
&
\sphinxAtStartPar
0
&
\sphinxAtStartPar
100.0\%
\\
\sphinxhline
\sphinxAtStartPar
 📦CLI
&
\sphinxAtStartPar
27
&
\sphinxAtStartPar
23
&
\sphinxAtStartPar
4
&
\sphinxAtStartPar
85.2\%
\\
\sphinxhline
\sphinxAtStartPar
 📦data
&
\sphinxAtStartPar
1
&
\sphinxAtStartPar
1
&
\sphinxAtStartPar
0
&
\sphinxAtStartPar
100.0\%
\\
\sphinxhline
\sphinxAtStartPar
Overall (3 files):
&
\sphinxAtStartPar
29
&
\sphinxAtStartPar
25
&
\sphinxAtStartPar
4
&
\sphinxAtStartPar
86.2\%
\\
\sphinxbottomrule
\end{tabulary}
\sphinxtableafterendhook\par
\sphinxattableend\end{savenotes}

I receive the following error

Extra alignment tab has been changed to \cr. \end{tabulary}

This can be fixed by

\sphinxtablestrut{1}&\sphinxtablestrut{2}&\sphinxtablestrut{3}&\sphinxtablestrut{4}&\sphinxtablestrut{5}\\
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant