mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Load compatibility patch for LuaTeX 0.85+
See http://ctan.org/pkg/luatex85 for more info. Old packages relying on pdf naming of primitives will break under LuaTeX 0.85+, which will be generally available starting with TeXLive 2016 release. modified: sphinx/texinputs/sphinx.sty
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
||||
\ProvidesPackage{sphinx}[2010/01/15 LaTeX package (Sphinx markup)]
|
||||
|
||||
\ifx\directlua\undefined\else
|
||||
% if compiling with lualatex 0.85 or later load compatibility patch issued by
|
||||
% the LaTeX team for older packages relying on \pdf<name> named primitives.
|
||||
\IfFileExists{luatex85.sty}{\RequirePackage{luatex85}}{}
|
||||
\fi
|
||||
|
||||
\@ifclassloaded{memoir}{}{\RequirePackage{fancyhdr}}
|
||||
|
||||
\RequirePackage{textcomp}
|
||||
|
||||
Reference in New Issue
Block a user