mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #2462 from jfbu/anticipatefutureluatex
Load compatibility patch for LuaTeX 0.85+
This commit is contained in:
commit
9b24fc2b94
@ -8,6 +8,12 @@
|
|||||||
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
||||||
\ProvidesPackage{sphinx}[2010/01/15 LaTeX package (Sphinx markup)]
|
\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}}
|
\@ifclassloaded{memoir}{}{\RequirePackage{fancyhdr}}
|
||||||
|
|
||||||
\RequirePackage{textcomp}
|
\RequirePackage{textcomp}
|
||||||
|
Loading…
Reference in New Issue
Block a user