[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#811399: texlive-latex-recommended: scrartcl, fancyhdr, color: bogus vertical space in footer



Package: texlive-latex-recommended
Version: 2015.20160117-1
Severity: minor

When using scrartcl with fancyhdr (I know this is not recommended,
but the KOMA-Script documentation explains when and how it can work,
and so far, KOMA-Script’s own header and footer capabilities, e.g.
with scrlayer-scrpage, don’t do what I want), while the color pak‐
kage is loaded, weird vertical space occurs.

I’ve attached an MWE as .tex and the output as .png to demonstrate
the vertical space – if I apply “\usekomafont{pageheadfoot}” also
to the “\fancyfoot[L]”, the effect is not visible but the footer
*including* the footrule is placed lower on the page.

When I remove the color package, or when I use \setkomafont to
remove the \defaultcolor from pageheadfoot (and pagenumber), it
works just fine.


######################################
 List of ls-R files

-rw-r--r-- 1 root root 2032 Jan 18 09:50 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Oct 14 05:48 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Jan 17 09:55 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jan 17 09:55 /usr/share/texlive/texmf-dist/ls-R -> /var/lib/texmf/ls-R-TEXLIVEDIST
######################################
 Config files
-rw-r--r-- 1 root root 1464 Jan 18 09:48 /etc/texmf/web2c/texmf.cnf
-rw-r--r-- 1 root root 3118 Jun 29  2015 /var/lib/texmf/web2c/fmtutil.cnf
lrwxrwxrwx 1 root root 32 Jan 17 09:55 /usr/share/texmf/web2c/updmap.cfg -> /var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 4962 Jan 18 09:50 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 Nov 26  2007 mktex.cnf
-rw-r--r-- 1 root root 1464 Jan 18 09:48 texmf.cnf
######################################
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages texlive-latex-recommended depends on:
ii  tex-common          6.04
ii  texlive-base        2015.20160117-1
ii  texlive-binaries    2015.20150524.37493-7+b1
ii  texlive-latex-base  2015.20160117-1

Versions of packages texlive-latex-recommended recommends:
ii  prosper                        1.00.4+cvs.2007.05.01-4
ii  texlive-latex-recommended-doc  2015.20160117-1

Versions of packages texlive-latex-recommended suggests:
ii  texlive-pstricks  2015.20160117-1

Versions of packages tex-common depends on:
ii  dpkg  1.18.4
ii  ucf   3.0031

Versions of packages tex-common suggests:
ii  debhelper  9.20160115

Versions of packages texlive-latex-recommended is related to:
ii  tex-common        6.04
ii  texlive-binaries  2015.20150524.37493-7+b1

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
\documentclass{scrartcl}
\RequirePackage{fancyhdr}
\RequirePackage[utf8]{inputenc}
\RequirePackage{color}% <--
\RequirePackage[T1]{fontenc}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0.6pt}
\renewcommand*\pagemark{{\usekomafont{pagenumber}p.\thepage}}
\fancyfoot[L]{without any special options}
\fancyfoot[C]{\usekomafont{pageheadfoot}\pagemark}
\fancyfoot[R]{\usekomafont{pageheadfoot}with KOMA-Script font}

\begin{document}

Miau!

\end{document}

Attachment: mwe.png
Description: PNG image


Reply to: