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

rowcolor bug (maybe texlive 2024 related) #230

Open
pkra opened this issue Jan 16, 2025 · 0 comments
Open

rowcolor bug (maybe texlive 2024 related) #230

pkra opened this issue Jan 16, 2025 · 0 comments

Comments

@pkra
Copy link
Member

pkra commented Jan 16, 2025

Caveat: I recently upgraded my main machine to texlive 2024 and since I can't see any obvious changes in recent commits, the following might be related to that.

The following example:

\documentclass{amsart}
\usepackage{colortbl}
\begin{document}
\begin{tabular}{r}
    \rowcolor{gray!20} gray row
\end{tabular}
\end{document}

gives me

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//AMS TEXML//DTD MODIFIED JATS (Z39.96) Journal Archiving and Interchange DTD with MathML3 v1.3d2 20201130//EN" "texml-jats-1-3d2.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front id="ltxid1">
    <article-meta>
      <title-group>
        <article-title>hello</article-title>
      </title-group>
    </article-meta>
  </front>
  <body id="ltxid2">
    <table id="tblrid1">
      <sec disp-level="1" id="ltxid3" specific-use="section">
        <tr>
          <td class="texml-pl texml-pr texml-tar">gray!20 gray row</td>
        </tr>
      </sec>
    </table>
  </body>
</article>

and

.texml-pl { padding-left: 5.0pt }
.texml-pr { padding-right: 5.0pt }
.texml-tar { text-align: right }

Note the gray!20 in the td element as well as the missing .texml-bc class in the xml & rule in the css.

I'm seeing similar changes when running ./test/colortblx.tex.

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