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

Bug#811399: marked as done (texlive-latex-recommended: scrartcl, fancyhdr, color: bogus vertical space in footer)



Your message dated Tue, 19 Jan 2016 08:11:39 +0900
with message-id <20160118231139.GP25216@logic.at>
and subject line Re: Bug#811399: (no subject)
has caused the Debian Bug report #811399,
regarding texlive-latex-recommended: scrartcl, fancyhdr, color: bogus vertical space in footer
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
811399: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811399
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
Hi Johannes,

thanks for the explanations/

> This can be fixed using `\leavevmode', as the following shows (for
> the KOMA example):

[...]

> The behaviour is known (see `texdoc grfguide', page six).
> 
> Possible workaround shown above. Clean solution would be to use
> package `scrlayer-scrpage' as recommended by the KOMA author. The
> package is much more powerful in comparison to `fancyhdr'.
> 
> 
> There are dedicated places that deal with that kind of stuff, for
> example question-answer-sites like TeX.stackexchange and TeXwelt.de
> (german), just as well as classical forums like latex-community.org
> or goLaTeX.de (german).

All fully agreed, closing this bug.

Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------

--- End Message ---

Reply to: