Convert sphinxmessage to LaTeX package

This commit is contained in:
Takeshi KOMIYA 2019-01-04 22:46:31 +09:00
parent 45d04703fe
commit fc43bfc639
2 changed files with 3 additions and 1 deletions

View File

@ -47,7 +47,7 @@
<%= hyperref %>
<%= contentsname %>
<%= numfig_format %>
\input{sphinxmessages.sty}
\usepackage{sphinxmessages}
<%= tocdepth %>
<%= secnumdepth %>
<%= preamble %>

View File

@ -3,6 +3,8 @@
%
% message resources for Sphinx
%
\ProvidesPackage{sphinxmessages}[2019/01/04 v2.0 Localized LaTeX macros (Sphinx team)]
\renewcommand{\literalblockcontinuedname}{<%= _('continued from previous page') | e %>}
\renewcommand{\literalblockcontinuesname}{<%= _('continues on next page') | e %>}
\renewcommand{\sphinxnonalphabeticalgroupname}{<%= _('Non-alphabetical') | e %>}