Coder Social home page Coder Social logo

Comments (4)

jfbu avatar jfbu commented on June 1, 2024 1

P.S. I found the tabularray commit which changed its way of doing things, and thus with tabularray 2022-07-01: Version 2022C you would not have seen this conflict. I can not test but if you add

\makeatletter
\let\c@rownum\relax
\let\therownum\relax
\makeatother

before loading tabularray problems should go away.

from sphinx.

picnixz avatar picnixz commented on June 1, 2024

It appears that the issue is with the fact that our LaTeX files are loaded before you are using tabulary. However the latter appears to forcibly define a new counter that we actually defined ourselves (and probably prior to its loading).

I think the problem can go away if you don't use tabulary, or if you can try patching tabulary itself (see etoolbox). @jfbu any suggestions you have in mind?

from sphinx.

jfbu avatar jfbu commented on June 1, 2024

Hello, are you referring to tabularray or to tabulary? l.112 \int_new:N \c@rownum is LaTeX3 code, which tabulary does not use.

Sphinx LaTeX code does define a rownum counter, as would package xcolor with option table.

Some non-Sphinx code is doing a non cautious \newcounter{rownum} (or equivalent in LaTeX3 lingua).

Hmm I tried to trick tabularray into throwing the same error but its LaTeX3 code is \int_zero_new:N \c@rownum and this code does check for prior existence. Your code is \int_new:N \c@rownum. It may be that an old version oftabularray has the problem. I can't test any other installation of TeXLive than current one or TL2019 and older ones, and tabularray did not exist then.

You could try \makeatletter\let\c@rownum\relax\makeatother before loading your version of tabularrray.

from sphinx.

franzhaas avatar franzhaas commented on June 1, 2024

Thanks a lot, this solved my issue!

from sphinx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.