Skip to contentSkip to conversation

Load xcolor before loading newtxtext

PATCH Paul E. McKenney 1 participant 1 message Nov 8, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Paul E. McKenney

author Applied
#1 lore raw
Quoted 7 lines · Akira Yokosawa

newtxtext v1.73 loads xcolor for its new option called "supscolor" without any options.
This conflicts with the later loading of xcolor with the option list of [table,svgnames].
Resolve it by loading xcolor with our option list just before loading newtxtext.

Quoted 6 lines

---
Next Ubuntu LTS (24.04) will likely have newtxtext >= 1.73. Note that as of this writing, newtxtext v1.73 is not compatible with our -sf (sans-serif) builds. This issue is expected to be fixed soon in v1.732 or higher.

Queued and pushed, thank you!!!

Thanx, Paul

Quoted 30 lines

Thanks, Akira
--

 perfbook-lt.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
perfbook-lt.tex +1 -1
index cddff24f..8db77cb6 100644
@@ -15,6 +15,7 @@
 \usepackage[full]{textcomp} % use symbols in TS1 encoding
 \usepackage{lmodern}
 \usepackage[T1]{fontenc} % use postscript type 1 fonts
+\usepackage[table,svgnames]{xcolor} % newtxtext v1.73 loads xcolor without options
 \usepackage[defaultsups,helvratio=0.9]{newtxtext} % use nice, standard fonts for roman
 
 % Improves the text layout
@@ -44,7 +45,6 @@
 \setlist[sequence]{label*=\arabic*}
 %\usepackage{enumerate}
 \usepackage{ifthen}
-\usepackage[table,svgnames]{xcolor}
 \usepackage[shortcuts]{extdash}
 \usepackage{changepage}
 \usepackage{listings}

base-commit: 6e4fc392e080383f29b6eac5fc2e94ef7ec13876

Signature · 1 line
2.34.1