Skip to content

Commit

Permalink
Merge pull request #21 from gabyx/feature/pandoc-update-2.14
Browse files Browse the repository at this point in the history
Bufix: Title forgotten in template
  • Loading branch information
gabyx authored Jun 5, 2021
2 parents 7dc761f + a9d09bf commit 1dc9880
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 20 deletions.
Binary file modified Content.pdf
Binary file not shown.
27 changes: 26 additions & 1 deletion build/output-tex/input.tex
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,32 @@
\fi

\begin{document}
\maketitle
\begin{titlepage}
\makeatletter
\begin{center}
\includesvg[inkscapearea=page,width=0.5\textwidth]{files/Logo.svg}
\end{center}
\vspace{1cm}
\begin{center}
\Huge \textbf{\@title}
\end{center}
\begin{center}
\LARGE Demonstrating the Power of Markdown with Pandoc
\end{center}
\vspace{1cm}
\begin{center}
\textbf{Gabriel Nützi} \\ \& \\ \textbf{The Community}
\end{center}
\begin{center}
\@date
\end{center}
\begin{center}
\vfill
Zürich, Switzerland
\vspace{1cm}
\end{center}
\makeatother
\end{titlepage}
\begin{abstract}
This is a setup demonstrating the power and use of markdown for
technical documents by using a fully automated conversion sequence with
Expand Down
38 changes: 19 additions & 19 deletions convert/pandoc/includes/Template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,11 @@
\frontmatter
$endif$
$if(title)$
$if(beamer)$
\frame{\titlepage}
$else$
\maketitle
$endif$
$-- $if(beamer)$
$-- \frame{\titlepage}
$-- $else$
${ Title.tex() }
$-- $endif$
$if(abstract)$
\begin{abstract}
$abstract$
Expand Down Expand Up @@ -520,26 +520,26 @@
\renewcommand\refname{$biblio-title$}
$endif$
$endif$
$if(beamer)$
\begin{frame}[allowframebreaks]{$biblio-title$}
\bibliographytrue
$endif$
$-- $if(beamer)$
$-- \begin{frame}[allowframebreaks]{$biblio-title$}
$-- \bibliographytrue
$-- $endif$
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
$if(beamer)$
\end{frame}
$endif$
$-- $if(beamer)$
$-- \end{frame}
$-- $endif$
$endif$
$endif$
$if(biblatex)$
$if(beamer)$
\begin{frame}[allowframebreaks]{$biblio-title$}
\bibliographytrue
\printbibliography[heading=none]
\end{frame}
$else$
$-- $if(beamer)$
$-- \begin{frame}[allowframebreaks]{$biblio-title$}
$-- \bibliographytrue
$-- \printbibliography[heading=none]
$-- \end{frame}
$-- $else$
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
$endif$
$-- $endif$
$endif$
$for(include-after)$
Expand Down

0 comments on commit 1dc9880

Please sign in to comment.