-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
My attempt at replacing fancyhdr with scrlayer-scrpage #174
Conversation
eisvogel.tex
Outdated
\usepackage{ifxetex,ifluatex} | ||
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex | ||
\usepackage{iftex} | ||
\ifpdftex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you leave these lines as they are? I'm merging with the default template regularly and want to keep merge conflicts to a minimum.
It would be best to include these lines in the pandoc default template and make a pull request.
eisvogel.tex
Outdated
@@ -51,6 +51,7 @@ | |||
$endif$ | |||
% | |||
\documentclass[ | |||
version=last, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line can be removed since version=last
is the default.
eisvogel.tex
Outdated
@@ -74,7 +75,7 @@ | |||
$for(classoption)$ | |||
$classoption$$sep$, | |||
$endfor$ | |||
,captions=tableheading |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
This reverts commit a778f6b.
@Wandmalfarbe, I have made all the changes you requested for. I think you can merge it now. |
I tested and found no visual difference between the files produced with fancyhdr and scrlayer-scrpage. Now, the warnings issued by LuaLaTeX are silenced. Feel free to improve upon my code.
I also fixed the ifxetex & ifluatex legacy package warnings and replaced the complicated
if pdftex
checks with a simpler macro.