Skip to content

Commit a9d09bf

Browse files
committed
Bugfix: Title forgotten in template
1 parent 95b3bd2 commit a9d09bf

File tree

3 files changed

+45
-20
lines changed

3 files changed

+45
-20
lines changed

Content.pdf

0 Bytes
Binary file not shown.

build/output-tex/input.tex

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,32 @@
425425
\fi
426426

427427
\begin{document}
428-
\maketitle
428+
\begin{titlepage}
429+
\makeatletter
430+
\begin{center}
431+
\includesvg[inkscapearea=page,width=0.5\textwidth]{files/Logo.svg}
432+
\end{center}
433+
\vspace{1cm}
434+
\begin{center}
435+
\Huge \textbf{\@title}
436+
\end{center}
437+
\begin{center}
438+
\LARGE Demonstrating the Power of Markdown with Pandoc
439+
\end{center}
440+
\vspace{1cm}
441+
\begin{center}
442+
\textbf{Gabriel Nützi} \\ \& \\ \textbf{The Community}
443+
\end{center}
444+
\begin{center}
445+
\@date
446+
\end{center}
447+
\begin{center}
448+
\vfill
449+
Zürich, Switzerland
450+
\vspace{1cm}
451+
\end{center}
452+
\makeatother
453+
\end{titlepage}
429454
\begin{abstract}
430455
This is a setup demonstrating the power and use of markdown for
431456
technical documents by using a fully automated conversion sequence with

convert/pandoc/includes/Template.tex

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,11 @@
457457
\frontmatter
458458
$endif$
459459
$if(title)$
460-
$if(beamer)$
461-
\frame{\titlepage}
462-
$else$
463-
\maketitle
464-
$endif$
460+
$-- $if(beamer)$
461+
$-- \frame{\titlepage}
462+
$-- $else$
463+
${ Title.tex() }
464+
$-- $endif$
465465
$if(abstract)$
466466
\begin{abstract}
467467
$abstract$
@@ -520,26 +520,26 @@
520520
\renewcommand\refname{$biblio-title$}
521521
$endif$
522522
$endif$
523-
$if(beamer)$
524-
\begin{frame}[allowframebreaks]{$biblio-title$}
525-
\bibliographytrue
526-
$endif$
523+
$-- $if(beamer)$
524+
$-- \begin{frame}[allowframebreaks]{$biblio-title$}
525+
$-- \bibliographytrue
526+
$-- $endif$
527527
\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$}
528-
$if(beamer)$
529-
\end{frame}
530-
$endif$
528+
$-- $if(beamer)$
529+
$-- \end{frame}
530+
$-- $endif$
531531
532532
$endif$
533533
$endif$
534534
$if(biblatex)$
535-
$if(beamer)$
536-
\begin{frame}[allowframebreaks]{$biblio-title$}
537-
\bibliographytrue
538-
\printbibliography[heading=none]
539-
\end{frame}
540-
$else$
535+
$-- $if(beamer)$
536+
$-- \begin{frame}[allowframebreaks]{$biblio-title$}
537+
$-- \bibliographytrue
538+
$-- \printbibliography[heading=none]
539+
$-- \end{frame}
540+
$-- $else$
541541
\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$
542-
$endif$
542+
$-- $endif$
543543
544544
$endif$
545545
$for(include-after)$

0 commit comments

Comments
 (0)