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

\rowfont command broken #4

Open
svonohr opened this issue Jan 21, 2019 · 2 comments
Open

\rowfont command broken #4

svonohr opened this issue Jan 21, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@svonohr
Copy link

svonohr commented Jan 21, 2019

The following example does generate a lot of Missing \cr inserted and Misplaced \cr errors:

\documentclass{article}

\usepackage{tabu}
\usepackage{colortbl}

\begin{document}

\begin{tabu} {l|l}
\rowfont[c]{\bfseries}
1 & 2
\end{tabu}

\end{document}

When not loading the colortbl package the example compiles fine. All packages should be up to date (tabu 2019/01/11 v2.9). See also the attached test.log

@davidcarlisle
Copy link
Member

davidcarlisle commented Jan 21, 2019 via email

davidcarlisle added a commit that referenced this issue Jan 21, 2019
@u-fischer
Copy link

u-fischer commented Feb 1, 2019

This one seems to work again if one remove the \aftergroup from \tabu@ignorehfil:

\documentclass{article}
\usepackage{colortbl}

\usepackage{tabu}

\makeatletter \def\tabu@ignorehfil{\tabu@nohfil} %removed \aftergroup
\begin{document}
\begin{tabu} {l|l}
\rowfont[c]{\bfseries}
1 & 2
\end{tabu}

\end{document}

(I did not check what is needed if color is not loaded, and I'm not sure if it is the proper fix).

This was referenced Feb 26, 2019
@FrankMittelbach FrankMittelbach added the bug Something isn't working label Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants