tufte-latex icon indicating copy to clipboard operation
tufte-latex copied to clipboard

Package siunitx Error: Package 'units' incompatible

Open biochem-birmingham opened this issue 2 years ago • 4 comments

I've been using siunitx successfully with the Tufte book class for a couple of years, but now my .tex file doesn't compile. To make a minimal example, I took the sample-book.tex file from these github pages (compiles ok), but when I add "\usepackage{siunitx}" anywhere before \begin{document}, and no other lines or latex code, the sample-book.tex no longer compiles. I don't know enough about the Tufte book class and .sty files to see where the clash is. Any suggestions for a way forward?

Have tried with Ubuntu and Windows versions of TexStudio (default installation options). Miktex packages are up to date.

many thanks in advance

biochem-birmingham avatar Aug 19 '22 14:08 biochem-birmingham

I have the same problem, does anybody have a solution?

ThermometerAC avatar Nov 11 '22 08:11 ThermometerAC

I wasn't able to wait for a solution to this (had to meet a fixed deadline), so I migrated to the KAO Book Latex Template. While I did find the Tufte book template very useful for several years, I am pleased to have made the transition to KAO Book. So far, a good experience and no issues with siunitx. Also, usage of \label and \ref to specific sections and figures has been more successful for me in KAO Book.

biochem-birmingham avatar Nov 11 '22 12:11 biochem-birmingham

Thanks for the answer, I hope there is a other solution to get this solved. Unfortunately, changing the template is currently not an option for me.

ThermometerAC avatar Nov 11 '22 12:11 ThermometerAC

\usepackage{siunitx}[=v2]

See in the siunitx documentation the section "Upgrading from version 2".

componavt avatar Mar 14 '23 15:03 componavt