Wandmalfarbe / pandoc-latex-template

A pandoc LaTeX template to convert markdown files to PDF or LaTeX.
BSD 3-Clause "New" or "Revised" License
6.09k stars 959 forks source link

titlepage-logo parameter is unused #284

Closed remi-pr closed 2 years ago

remi-pr commented 2 years ago

Hi and thanks for this template.

I think the titlepage-logo parameter is unused, though it controls the packages imported, it does not do the graphics inclusion, this is still using the logo parameter instead as one can see here.

Cheers

Wandmalfarbe commented 2 years ago

The linked part is for the generation of beamer documents, which use $logo$ to display a background image on the slides. This becomes clear with a bit of indentation:

$if(beamer)$
    $if(institute)$
        \institute{$for(institute)$$institute$$sep$ \and $endfor$}
    $endif$
    $if(titlegraphic)$
        \titlegraphic{\includegraphics{$titlegraphic$}}
    $endif$
    $if(logo)$
        \logo{\includegraphics{$logo$}}
    $endif$
$endif$

I mixed/overwrote the variables by accident, but that has been fixed (see https://github.com/Wandmalfarbe/pandoc-latex-template/issues/265).