[tex-live] fancyhdr.sty still uses \sl -- now blocked in KOMA-Script (TL 2016)
Harald Koenig
koenig at tat.physik.uni-tuebingen.de
Sat Aug 13 12:15:22 CEST 2016
Hi,
this example
--- 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ---
\documentclass{scrartcl}
\usepackage{fancyhdr}
\pagestyle{fancy}
\begin{document}
foo
\end{document}
--- 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ---
with TeX-Live 2016 now throws this error:
(/usr/local/texlive/2016/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty) (./sl.aux)
! Class scrartcl Error: undefined old font command `\sl'.
I've added the following patch to my local file for now:
--- 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ---
--- texlive/2016/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty~ 2016-08-13 11:59:14.420505535 +0200
+++ texlive/2016/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty 2016-08-13 12:01:15.828090826 +0200
@@ -337,11 +337,11 @@
% lefthead empty on ``plain'' pages, \rightmark on even, \leftmark on odd pages
% evenhead empty on ``plain'' pages, \leftmark on even, \rightmark on odd pages
\if at twoside
- \fancyhead[el,or]{\fancyplain{}{\sl\rightmark}}
- \fancyhead[er,ol]{\fancyplain{}{\sl\leftmark}}
+ \fancyhead[el,or]{\fancyplain{}{\normalfont \slshape \rightmark}}
+ \fancyhead[er,ol]{\fancyplain{}{\normalfont \slshape \leftmark}}
\else
- \fancyhead[l]{\fancyplain{}{\sl\rightmark}}
- \fancyhead[r]{\fancyplain{}{\sl\leftmark}}
+ \fancyhead[l]{\fancyplain{}{\normalfont \slshape \rightmark}}
+ \fancyhead[r]{\fancyplain{}{\normalfont \slshape \leftmark}}
\fi
\fancyfoot[c]{\rm\thepage} % page number
--- 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ------ 8< ---
Harald
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
\/\/\/\/\/\/\/\/\/
Harald Koenig // / \\ \
koenig at tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
More information about the tex-live
mailing list