Browse Source

Merge pull request #2754 from danielopitz/master

Fixed LaTeX errors on documentation PDF generation
pull/2769/head
David Lord 6 years ago committed by GitHub
parent
commit
8c9df3f4eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      docs/flaskstyle.sty

8
docs/flaskstyle.sty

@ -1,11 +1,17 @@
\definecolor{TitleColor}{rgb}{0,0,0} \definecolor{TitleColor}{rgb}{0,0,0}
\definecolor{InnerLinkColor}{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}{% \renewcommand{\maketitle}{%
\begin{titlepage}% \begin{titlepage}%
\let\footnotesize\small \let\footnotesize\small
\let\footnoterule\relax \let\footnoterule\relax
\ifsphinxpdfoutput % Apply following fix only on PDF output, i.e. pdfoutput macro is not
% undefined
\ifx\pdfoutput\undefined\else
\begingroup \begingroup
% This \def is required to deal with multi-line authors; it % This \def is required to deal with multi-line authors; it
% changes \\ to ', ' (comma-space), making it pass muster for % changes \\ to ', ' (comma-space), making it pass muster for

Loading…
Cancel
Save