mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Refactor LaTeX [3/2]: Add all missing .sty in the \ProvidesFile
Sorry for oversight
This commit is contained in:
parent
a327be4a77
commit
953f4511a2
@ -1,7 +1,7 @@
|
|||||||
%% NOTICES AND ADMONITIONS
|
%% NOTICES AND ADMONITIONS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexenvadmonitions}[2021/01/27 admonitions]
|
\ProvidesFile{sphinxlatexenvadmonitions.sty}[2021/01/27 admonitions]
|
||||||
|
|
||||||
% Some are quite plain
|
% Some are quite plain
|
||||||
% the spx@notice@bordercolor etc are set in the sphinxadmonition environment
|
% the spx@notice@bordercolor etc are set in the sphinxadmonition environment
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% PYTHON DOCS MACROS AND ENVIRONMENTS
|
%% PYTHON DOCS MACROS AND ENVIRONMENTS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexenvdocs}[2021/01/27 documentation environments]
|
\ProvidesFile{sphinxlatexenvdocs.sty}[2021/01/27 documentation environments]
|
||||||
|
|
||||||
% (some macros here used by \maketitle in sphinxmanual.cls and sphinxhowto.cls)
|
% (some macros here used by \maketitle in sphinxmanual.cls and sphinxhowto.cls)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% INDEX, BIBLIOGRAPHY, APPENDIX, TABLE OF CONTENTS
|
%% INDEX, BIBLIOGRAPHY, APPENDIX, TABLE OF CONTENTS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexenvindbibtoc}[2021/01/27 index, bib., toc]
|
\ProvidesFile{sphinxlatexenvindbibtoc.sty}[2021/01/27 index, bib., toc]
|
||||||
|
|
||||||
% fix the double index and bibliography on the table of contents
|
% fix the double index and bibliography on the table of contents
|
||||||
% in jsclasses (Japanese standard document classes)
|
% in jsclasses (Japanese standard document classes)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% LITERAL BLOCKS
|
%% LITERAL BLOCKS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexenvliteral}[2021/01/27 code-blocks and parsed literals]
|
\ProvidesFile{sphinxlatexenvliteral.sty}[2021/01/27 code-blocks and parsed literals]
|
||||||
|
|
||||||
% Based on use of "fancyvrb.sty"'s Verbatim.
|
% Based on use of "fancyvrb.sty"'s Verbatim.
|
||||||
% - with framing allowing page breaks ("framed.sty")
|
% - with framing allowing page breaks ("framed.sty")
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% TOPIC AND CONTENTS BOXES
|
%% TOPIC AND CONTENTS BOXES
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexenvshadowbox}[2021/01/27 topic and contents boxes]
|
\ProvidesFile{sphinxlatexenvshadowbox.sty}[2021/01/27 topic and contents boxes]
|
||||||
|
|
||||||
% Again based on use of "framed.sty", this allows breakable framed boxes.
|
% Again based on use of "framed.sty", this allows breakable framed boxes.
|
||||||
\long\def\spx@ShadowFBox#1{%
|
\long\def\spx@ShadowFBox#1{%
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% GRAPHICS
|
%% GRAPHICS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexgraphics}[2021/01/27 graphics]
|
\ProvidesFile{sphinxlatexgraphics.sty}[2021/01/27 graphics]
|
||||||
|
|
||||||
% \sphinxincludegraphics resizes images larger than the TeX \linewidth (which
|
% \sphinxincludegraphics resizes images larger than the TeX \linewidth (which
|
||||||
% is adjusted in indented environments), or taller than a certain maximal
|
% is adjusted in indented environments), or taller than a certain maximal
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% FIXME STUFF attention, changes here may necessitate changes elsewhere
|
%% FIXME STUFF attention, changes here may necessitate changes elsewhere
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexmiscfixme}[2021/01/27 latex to be removed at some point]
|
\ProvidesFile{sphinxlatexmiscfixme.sty}[2021/01/27 latex to be removed at some point]
|
||||||
|
|
||||||
%% COLOR (general)
|
%% COLOR (general)
|
||||||
%
|
%
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% ALPHANUMERIC LIST ITEMS
|
%% ALPHANUMERIC LIST ITEMS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexmisclists}[2021/01/27 lists]
|
\ProvidesFile{sphinxlatexmisclists.sty}[2021/01/27 lists]
|
||||||
|
|
||||||
\newcommand\sphinxsetlistlabels[5]
|
\newcommand\sphinxsetlistlabels[5]
|
||||||
{% #1 = style, #2 = enum, #3 = enumnext, #4 = prefix, #5 = suffix
|
{% #1 = style, #2 = enum, #3 = enumnext, #4 = prefix, #5 = suffix
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% NUMBERING OF FIGURES, TABLES, AND LITERAL BLOCKS
|
%% NUMBERING OF FIGURES, TABLES, AND LITERAL BLOCKS
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexmiscnumbering}[2021/01/27 numbering]
|
\ProvidesFile{sphinxlatexmiscnumbering.sty}[2021/01/27 numbering]
|
||||||
|
|
||||||
% Everything is delayed to \begin{document} to allow hyperref patches into
|
% Everything is delayed to \begin{document} to allow hyperref patches into
|
||||||
% \newcounter to solve duplicate label problems for internal hyperlinks to
|
% \newcounter to solve duplicate label problems for internal hyperlinks to
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% OPTION HANDLING
|
%% OPTION HANDLING
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexoptionhandling}[2021/01/27 option handling]
|
\ProvidesFile{sphinxlatexoptionhandling.sty}[2021/01/27 option handling]
|
||||||
|
|
||||||
% Handle options via "kvoptions" (later loaded by hyperref anyhow)
|
% Handle options via "kvoptions" (later loaded by hyperref anyhow)
|
||||||
\RequirePackage{kvoptions}
|
\RequirePackage{kvoptions}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% PACKAGES
|
%% PACKAGES
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexrequirepackages}[2021/01/27 packages]
|
\ProvidesFile{sphinxlatexrequirepackages.sty}[2021/01/27 packages]
|
||||||
|
|
||||||
\RequirePackage{graphicx}
|
\RequirePackage{graphicx}
|
||||||
\@ifclassloaded{memoir}{}{\RequirePackage{fancyhdr}}
|
\@ifclassloaded{memoir}{}{\RequirePackage{fancyhdr}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
%% TITLES
|
%% TITLES
|
||||||
%
|
%
|
||||||
\ProvidesFile{sphinxlatexstyleheadings}[2021/01/27 headings]
|
\ProvidesFile{sphinxlatexstyleheadings.sty}[2021/01/27 headings]
|
||||||
|
|
||||||
% Since Sphinx 1.5, users should use HeaderFamily key to 'sphinxsetup' rather
|
% Since Sphinx 1.5, users should use HeaderFamily key to 'sphinxsetup' rather
|
||||||
% than defining their own \py@HeaderFamily command (which is still possible).
|
% than defining their own \py@HeaderFamily command (which is still possible).
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% PAGE STYLING
|
%% PAGE STYLING
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexstylepage}[2021/01/27 page styling]
|
\ProvidesFile{sphinxlatexstylepage.sty}[2021/01/27 page styling]
|
||||||
|
|
||||||
% Style parameters and macros used by most documents here
|
% Style parameters and macros used by most documents here
|
||||||
\raggedbottom
|
\raggedbottom
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%% TEXT STYLING
|
%% TEXT STYLING
|
||||||
%
|
%
|
||||||
% change this info string if making any custom modification
|
% change this info string if making any custom modification
|
||||||
\ProvidesFile{sphinxlatexstyletext}[2021/01/27 text styling]
|
\ProvidesFile{sphinxlatexstyletext.sty}[2021/01/27 text styling]
|
||||||
|
|
||||||
% to obtain straight quotes we execute \@noligs as patched by upquote, and
|
% to obtain straight quotes we execute \@noligs as patched by upquote, and
|
||||||
% \scantokens is needed in cases where it would be too late for the macro to
|
% \scantokens is needed in cases where it would be too late for the macro to
|
||||||
|
Loading…
Reference in New Issue
Block a user