mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
merge with 0.6
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -135,6 +135,9 @@ Release 1.0 (in development)
|
|||||||
Release 0.6.6 (in development)
|
Release 0.6.6 (in development)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
* #404: Make ``\and`` work properly in the author field of the
|
||||||
|
``latex_documents`` setting.
|
||||||
|
|
||||||
* #409: Make the ``highlight_language`` config value work properly
|
* #409: Make the ``highlight_language`` config value work properly
|
||||||
in the LaTeX builder.
|
in the LaTeX builder.
|
||||||
|
|
||||||
|
|||||||
@@ -33,10 +33,11 @@
|
|||||||
\rule{\textwidth}{1pt}
|
\rule{\textwidth}{1pt}
|
||||||
\ifsphinxpdfoutput
|
\ifsphinxpdfoutput
|
||||||
\begingroup
|
\begingroup
|
||||||
% This \def is required to deal with multi-line authors; it
|
% These \defs are 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
|
||||||
% generating document info in the PDF file.
|
% generating document info in the PDF file.
|
||||||
\def\\{, }
|
\def\\{, }
|
||||||
|
\def\and{and }
|
||||||
\pdfinfo{
|
\pdfinfo{
|
||||||
/Author (\@author)
|
/Author (\@author)
|
||||||
/Title (\@title)
|
/Title (\@title)
|
||||||
@@ -48,7 +49,10 @@
|
|||||||
{\rm\Huge\py@HeaderFamily \@title} \par
|
{\rm\Huge\py@HeaderFamily \@title} \par
|
||||||
{\em\large\py@HeaderFamily \py@release\releaseinfo} \par
|
{\em\large\py@HeaderFamily \py@release\releaseinfo} \par
|
||||||
\vspace{25pt}
|
\vspace{25pt}
|
||||||
{\Large\py@HeaderFamily \@author} \par
|
{\Large\py@HeaderFamily
|
||||||
|
\begin{tabular}[t]{c}
|
||||||
|
\@author
|
||||||
|
\end{tabular}} \par
|
||||||
\vspace{25pt}
|
\vspace{25pt}
|
||||||
\@date \par
|
\@date \par
|
||||||
\py@authoraddress \par
|
\py@authoraddress \par
|
||||||
|
|||||||
@@ -40,10 +40,11 @@
|
|||||||
\rule{\textwidth}{1pt}%
|
\rule{\textwidth}{1pt}%
|
||||||
\ifsphinxpdfoutput
|
\ifsphinxpdfoutput
|
||||||
\begingroup
|
\begingroup
|
||||||
% This \def is required to deal with multi-line authors; it
|
% These \defs are 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
|
||||||
% generating document info in the PDF file.
|
% generating document info in the PDF file.
|
||||||
\def\\{, }
|
\def\\{, }
|
||||||
|
\def\and{and }
|
||||||
\pdfinfo{
|
\pdfinfo{
|
||||||
/Author (\@author)
|
/Author (\@author)
|
||||||
/Title (\@title)
|
/Title (\@title)
|
||||||
@@ -55,7 +56,11 @@
|
|||||||
{\rm\Huge\py@HeaderFamily \@title \par}%
|
{\rm\Huge\py@HeaderFamily \@title \par}%
|
||||||
{\em\LARGE\py@HeaderFamily \py@release\releaseinfo \par}
|
{\em\LARGE\py@HeaderFamily \py@release\releaseinfo \par}
|
||||||
\vfill
|
\vfill
|
||||||
{\LARGE\py@HeaderFamily \@author \par}
|
{\LARGE\py@HeaderFamily
|
||||||
|
\begin{tabular}[t]{c}
|
||||||
|
\@author
|
||||||
|
\end{tabular}
|
||||||
|
\par}
|
||||||
\vfill\vfill
|
\vfill\vfill
|
||||||
{\large
|
{\large
|
||||||
\@date \par
|
\@date \par
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ htmlhelp_basename = 'SphinxTestsdoc'
|
|||||||
|
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('contents', 'SphinxTests.tex', 'Sphinx Tests Documentation',
|
('contents', 'SphinxTests.tex', 'Sphinx Tests Documentation',
|
||||||
'Georg Brandl', 'manual'),
|
'Georg Brandl \\and someone else', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
latex_additional_files = ['svgimg.svg']
|
latex_additional_files = ['svgimg.svg']
|
||||||
|
|||||||
Reference in New Issue
Block a user