Package: texlive-base Version: 2017.20170629-1 Severity: important Dear TexLive Maintainers,
Package fancyhdr 3.9 includes an extramarks style which fails to work with a
XeTeX document with a book documentclass. Other classes work fine.
Found this error while packaging XeTeX asn1c documentation and with a MWE.
This error is fixed in fancyhdr 3.9a which has been release 2017-06-30.
I have checked it by replacing extramarks.sty file.
So just upgrading a package should fix a problem.
##################################
minimal input file
\documentclass[a4paper,10pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{fancyhdr}
\usepackage{extramarks}
\title{42}
\author{Jane Doe}
\date{\today}
\pagestyle{fancy}
\addtolength{\headwidth}{\marginparsep}
\addtolength{\headwidth}{\marginparwidth}
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
\fancyhf{}
\fancyhead[LE,RO]{\textbf{\thepage}}
\fancyhead[LO]{\textbf{\rightmark}}
\fancyhead[RE]{\textbf{\leftmark}}
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers
\renewcommand{\headrulewidth}{0pt} % and the line
}
\begin{document}
\maketitle
\chapter{Chap}
\part{Part}
\section{Sec}
\end{document}
##################################
log file:
This is XeTeX, Version 3.14159265-2.6-0.99998 (TeX Live 2017/Debian) (preloaded
format=xelatex 2017.7.20) 20 JUL 2017 10:23
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**mwe1
(./mwe1.tex
LaTeX2e <2017-04-15>
Babel <3.11> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo
File: bk10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2015/03/17 v1.2c Input encoding file
\inpenc@prehook=\toks14
\inpenc@posthook=\toks15
Package inputenc Warning: inputenc package ignored with utf8 based engines.
) (/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty
Package: fancyhdr 2016/10/11 v3.9 Extensive control of page headers and footers
\f@nch@headwidth=\skip43
\f@nch@O@elh=\skip44
\f@nch@O@erh=\skip45
\f@nch@O@olh=\skip46
\f@nch@O@orh=\skip47
\f@nch@O@elf=\skip48
\f@nch@O@erf=\skip49
\f@nch@O@olf=\skip50
\f@nch@O@orf=\skip51
)
(/usr/share/texlive/texmf-dist/tex/latex/fancyhdr/extramarks.sty
Package: extramarks 2016/10/11 v3.9 Extra marks for LaTeX
) (./mwe1.aux)
\openout1 = `mwe1.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: Checking defaults for TU/lmr/m/n on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 24.
LaTeX Font Info: ... okay on input line 24.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <12> on input line 26.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <8> on input line 26.
LaTeX Font Info: External font `cmex10' loaded for size
(Font) <6> on input line 26.
[1
] [2
]
Chapter 1.
[3] [4
] [5] [6]
! Undefined control sequence.
\@markright ...4#5->\@temptokena {#1}\@temptokenb
{{#3}{#4}}\unrestored@prot...
l.32 \section{Sec}
? X
##################################
other files
######################################
List of ls-R files
-rw-r--r-- 1 root root 1289 Jul 20 06:24 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Jun 24 12:20 /usr/share/texmf/ls-R ->
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Jun 29 02:30 /usr/share/texlive/texmf-dist/ls-R ->
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jun 29 02:30 /usr/share/texlive/texmf-dist/ls-R ->
/var/lib/texmf/ls-R-TEXLIVEDIST
######################################
Config files
lrwxrwxrwx 1 root root 40 Jun 29 02:30 /usr/share/texmf/web2c/texmf.cnf ->
../../texlive/texmf-dist/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Jun 29 02:30 /usr/share/texmf/web2c/fmtutil.cnf ->
/var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Jun 29 02:30 /usr/share/texmf/web2c/updmap.cfg ->
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 2763 Jul 20 06:24
/var/lib/texmf/tex/generic/config/language.dat
######################################
Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root 283 Jun 24 12:20 mktex.cnf
-rw-r--r-- 1 root root 475 Jul 20 06:23 texmf.cnf
######################################
md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c /etc/texmf/texmf.d/00debian.cnf
-- System Information:
Debian Release: buster/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C),
LANGUAGE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect
Versions of packages texlive-base depends on:
ii debconf 1.5.63
ii libpaper-utils 1.1.24+nmu5
ii tex-common 6.07
ii texlive-binaries 2017.20170613.44572-3
ii ucf 3.0036
ii xdg-utils 1.1.1-1
Versions of packages texlive-base recommends:
ii lmodern 2.004.5-3
Versions of packages texlive-base suggests:
pn ghostscript <none>
pn gv | postscript-viewer <none>
pn perl-tk <none>
pn xpdf-reader | pdf-viewer <none>
Versions of packages tex-common depends on:
ii dpkg 1.18.24
ii ucf 3.0036
Versions of packages tex-common suggests:
ii debhelper 10.6.4
Versions of packages texlive-base is related to:
ii tex-common 6.07
ii texlive-binaries 2017.20170613.44572-3
-- no debconf information
---
Best regards,
Eugene Seliverstov
signature.asc
Description: Message signed with OpenPGP

