forked from orbit-oss/flask
Fixed LaTeX errors on documentation PDF generation
This commit is contained in:
parent
9bee619320
commit
676efcc21a
1 changed files with 7 additions and 1 deletions
|
|
@ -1,11 +1,17 @@
|
|||
\definecolor{TitleColor}{rgb}{0,0,0}
|
||||
\definecolor{InnerLinkColor}{rgb}{0,0,0}
|
||||
|
||||
% Replace Unicode character 'PARTY POPPER' (U+1F389) with a non-breaking space.
|
||||
% pdfLaTeX doesn't support Unicode.
|
||||
\DeclareUnicodeCharacter{1F389}{\nobreakspace}
|
||||
|
||||
\renewcommand{\maketitle}{%
|
||||
\begin{titlepage}%
|
||||
\let\footnotesize\small
|
||||
\let\footnoterule\relax
|
||||
\ifsphinxpdfoutput
|
||||
% Apply following fix only on PDF output, i.e. pdfoutput macro is not
|
||||
% undefined
|
||||
\ifx\pdfoutput\undefined\else
|
||||
\begingroup
|
||||
% This \def is required to deal with multi-line authors; it
|
||||
% changes \\ to ', ' (comma-space), making it pass muster for
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue