I get this error:

Error producing PDF.
! LaTeX Error: Missing \begin{document}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
...                                             
                                                 
l.60 -

Thanks,

LRP


On Thu, Dec 24, 2020, at 9:43 AM, gnpan wrote:
You could use the wallpaper package (https://ftp.cc.uoc.gr/mirrors/CTAN/macros/latex/contrib/wallpaper/wallpapermanual.pdf).
Put the following in your YAML block:
header-includes: 
  - \usepackage{wallpaper}
  - \addtolength{\wpYoffset}{12cm} 
  - \ThisCenterWallPaper{1}{logo.png}

Change logo.png to whatever you logo is called (make sure it's in the same folder as your txt file) and adjust the Y offset to a value that gets the logo in the required position. You can also change the scale factor {1}. 
On Wednesday, 23 December 2020 at 23:38:58 UTC+2 LRP wrote:
I'd like to center a logo before the title on my PDF title page.

I found a recipe on the web using \usepackage{titling} in the metadata, but it failed. Can some kind soul show me how?

Many thanks,

LRP


--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/775d0e0f-927c-4dc4-aed0-dfc930f47b50n%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/47288226-5eeb-4341-847d-15e76114352d%40www.fastmail.com.