From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27310 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Lloyd R. prentice" Newsgroups: gmane.text.pandoc Subject: Re: PDF - How center image on title page Date: Sun, 27 Dec 2020 12:23:42 -0500 Message-ID: <786798ba-7e82-4e11-98a1-2be3ac601668@www.fastmail.com> References: <775d0e0f-927c-4dc4-aed0-dfc930f47b50n@googlegroups.com> <5d9f1292-2e7c-4555-8ddc-cfb2d114fc78@www.fastmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=586b6e2461844511ae52d41b19f57332 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20413"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Cyrus-JMAP/3.3.1-61-gb52c239-fm-20201210.001-gb52c2396 To: "'Karl Weber' via pandoc-discuss" Original-X-From: pandoc-discuss+bncBCOZ3TURZAFBBNEGUP7QKGQEEIMM4UQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Dec 27 18:24:11 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-io1-f64.google.com ([209.85.166.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ktZm5-00055k-75 for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 27 Dec 2020 18:24:09 +0100 Original-Received: by mail-io1-f64.google.com with SMTP id t23sf3101773ioh.0 for ; Sun, 27 Dec 2020 09:24:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609089848; cv=pass; d=google.com; s=arc-20160816; b=knIt/l6n9VNmRyAXh3YQx9gUi22o2GEHCTL6WMiZfh+ZlbgnJMVVs+se7ud24KNP6z srSvyPwtFeyzWRzUXjUEieQvcrMyD1njpRtVWRrTmKabs10fDeHCSAiM71xvQbhp5YO6 9nKyQMPDcGlL+e7Q90L+v6MJg3rWPpV0vlIMSXo6/6BU6uL0rLbfCI1Y3+HZl9TT5z+b jN0vdJRSRZDzr4cmv7hvGN3Kd1+Ne2Ub5rND/w+DxfABtAzW5mO5BM/kwIjWCpxMaZZS MxoHKFdOaauo7o9GmssjYXoHbDdVqA49z/+33hh+q9gQmVa8uuKUhm3tTjmLw8nvWpLt W/pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:subject:to:from:date :references:in-reply-to:message-id:mime-version:user-agent:sender :dkim-signature; bh=iwaD+jchPRZmJ15gYPVBV62m6ZPrZqu33Vn9+k8BGxM=; b=uqvlqE1+2t6SW3cIVHO8pPW5sX4Ku1gl85XoypmMeMuUE/8fS4fmjGvov1k+EhiM+8 B0kX0pIZJH3ht11PsrFt552xhks+LGeBGbFg5yhYGRVwF8nSzB6/dqZ9g1bQzFztVZCG Zshtj99Gk/3RiCbGtLXqQyOjwBSs/fBqcanS2+NOUtH/2Xa4ttNAXus/qJEvNwCT+NtC XWjERW9HXeBrduo4qwogu+4nLjODEtxFobLT35yx3rUxF1YrMCP5PfEy0xUULi5ZYPpE j36yXncp8CyDl9QRUVTmxmtV1ehCV4XwtoMJrWOGev4fe93KT+J342wIvFPr0j4SDHeH qmhg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=bInrnt0v; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=X2uJXVPE; spf=pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:user-agent:mime-version:message-id:in-reply-to:references :date:from:to:subject:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=iwaD+jchPRZmJ15gYPVBV62m6ZPrZqu33Vn9+k8BGxM=; b=ZCiZCLckHNN8ECI/qvZ+izQE5L+EoQT6xIW5CQH9uWQqIupbajCDkv4VfMSP6hoEVi 1MwaxKWWkUIrmAMYq5ReOmyZ/ehnpUnQ+S8hz5AyzD4TaskH9gZTGYTH2tF86dv/P+L8 wvSw5FaySRaL6419y3qOac20f1+Pp7YbqD3MCHM0RcuWcG1msobUPdWej96MtBTI8z+2 QvqhSAPcb+uCnKgRMotgQJZ139E0qcKVo5dj+WZ2yv3CdPJoz6Tpn6gZhgwBnGFLVmQr Pl3A6ajai5XyU5d7qcIkKrx8shPA27+3bBrT08MUGYloMuwIL3I82S5rcUg7eZzEnNat YfAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:user-agent:mime-version:message-id :in-reply-to:references:date:from:to:subject:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=iwaD+jchPRZmJ15gYPVBV62m6ZPrZqu33Vn9+k8BGxM=; b=O6FFi/fIITtQeePiqPuyUW61WauTV74RO9fLfVB51rJc5U7lOAi3c0pT2bepi6qy7K cuVOUOujKgyVkSQBbR8r7eH9tevENrolpnk8TQCL7nod2yG9XOv474J5NWEiMnmp2U7I qX2qz0+ENqcf0D6/dSOV5xSu1VLmTkZtWF2a5Nq0E56jpCsYiB60+PdTWrXHXTMTccCm XFJw2zN+6z7cLzZdnj0E43jARuKKDfRon2sA7rykovpl26cm+MVOXIz5bpn4hYsP0dX0 zXz4VsGN+zs420BDKK9cVSxfirBDaIZJEFoLMSXij/ZhB2IKltVtgsqQctdfLF50tRTu hj+A== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530B/ELsvMjzdY46gMVz5uj32iKb7Yb+WkWLyQIMZO12/g59+YeB l2rK6w0KnBIQSjxSEJZpPLQ= X-Google-Smtp-Source: ABdhPJzcA6wkh9puGX/3i52iHEopUNE5vyp06nn2/jYHBVgPVdjr5ziifwFWMD416KptQgMC9cpcCg== X-Received: by 2002:a92:9a50:: with SMTP id t77mr40939833ili.268.1609089848167; Sun, 27 Dec 2020 09:24:08 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a92:d203:: with SMTP id y3ls14332689ily.6.gmail; Sun, 27 Dec 2020 09:24:03 -0800 (PST) X-Received: by 2002:a05:6e02:13ed:: with SMTP id w13mr15877181ilj.242.1609089843827; Sun, 27 Dec 2020 09:24:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609089843; cv=none; d=google.com; s=arc-20160816; b=YGzOYSf/TySvJ0cztizI3+aA2JC8548/dha40nNIERrp82e0wjNJBhbPkyZnuC5XbE J/5nGwdPGHsoaLQdBspFVdwoGMRIx403+Kp6u1wONagEZzrttLJHxGzzOyQxTsDSmmVT o4MqIv27UnR8SjTVeiVTErirnQW2jSo2rqK23dSA0mAycHYmiHWBYkW1G06Lrpo8EZKR BNa+i9o+/CP+YoaL1NVxTjmnisOuE0O0ybL8t9r7v8q23CtP80eY+JH4j/J1hXKtHan0 Vhla1cW6E6HXRDeY2zf3ad35frFsl9DNY+oMfDVfltFNGwD+nuRIFWEdLolXSsuazRAX +l4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:to:from:date:references:in-reply-to:message-id:mime-version :user-agent:dkim-signature:dkim-signature; bh=WYYVY14VgWANAHf/Yzw1MDmvvfR+hxumdoaDYnHDE5k=; b=GTF6Mq4ZvcG0s6COFUR61qlWSXuoXaM4/EjDWnhjdCz+kleH66CWpgqcK5o7VSwrWZ rR843KR+w9VP6yCkPCDnjV5x/3iHcFdnALz1ImrkP20gbX4R3cw1c+kwKeUk7ZRsq6DH 5bAkFOMZpkMYjLDwlsq+v61MYn/r3y8oTvSYnaU1hw3P2Trf9iEIF/6t2Y9kMdL0LY/P Gci3p5b536yDYph3AARVZ9TatS+PSxGG6ZJ7QgdAPsrmGzv6y+61kLf9qReD9RKeQCOB DUX+Cbppb3np6BEtxEgjYcSp8Mc73RYcX9oaoaVJTbaNgZRd/rMhL6ke7rm7BkbKmUcw qNqw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=bInrnt0v; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=X2uJXVPE; spf=pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org Original-Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com. [66.111.4.25]) by gmr-mx.google.com with ESMTPS id r17si3083686ilg.4.2020.12.27.09.24.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Dec 2020 09:24:03 -0800 (PST) Received-SPF: pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.25 as permitted sender) client-ip=66.111.4.25; Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1CB275C0098 for ; Sun, 27 Dec 2020 12:24:03 -0500 (EST) Original-Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Sun, 27 Dec 2020 12:24:03 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddujedguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefofgggkfgjfhffhffv ufgtsegrtderreerredtnecuhfhrohhmpedfnfhlohihugcutfdruchprhgvnhhtihgtvg dfuceolhhlohihugesfihrihhtvghrshhglhgvnhdrtghomheqnecuggftrfgrthhtvghr nhepleevieegfefgheethefggfevjeeigeeivdevhfekkeduieeffeefheekgfehhfekne cuffhomhgrihhnpehuohgtrdhgrhdpghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhhlohihugesfihrihhtvghrsh hglhgvnhdrtghomh X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id ED6DF62A005E; Sun, 27 Dec 2020 12:23:13 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: X-Original-Sender: lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=bInrnt0v; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=X2uJXVPE; spf=pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:27310 Archived-At: --586b6e2461844511ae52d41b19f57332 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This also gives me Missing \begin{document} error. Thanks, L. On Thu, Dec 24, 2020, at 2:35 PM, Pranesh Prakash wrote: > I'm not a LaTeX expert, but I recently used this excerpted bit in a metad= ata file, and it worked for me. Your mileage may vary. >=20 > ``` > header-includes: | > \usepackage{graphicx} > \usepackage{titling} > \pretitle{\begin{center} > \includegraphics[height=3D1.25in]{source/full-logo.png}\Huge\vskip 5e= m} > \posttitle{\vfill \color{NavyBlue} \LARGE Long Title of Project > \par \large PROJECT \par \normalsize Project Agreement No: X= XXX \par \end{center}} > ``` >=20 >=20 > On Friday, 25 December, 2020 at 12:05:33 am UTC+5:30 gnpan wrote: >> Hmm, I don't use Makefile so can't be sure what goes wrong - I put all t= he fontsize, mainfont, geometry, papersize, etc. in the YAML. Try something= simple first: >> Create a test.md file with the following content (or use the attachment)= : >> --- >> date: 24 December 2020 >> header-includes:=20 >> - \usepackage{wallpaper} >> - \addtolength{\wpYoffset}{12cm}=20 >> - \ThisCenterWallPaper{1}{WGLogo.png} >> --- >>=20 >> # Your title >>=20 >> Your text.=20 >>=20 >> Then run this command: >> pandoc --pdf-engine xelatex -o test.pdf test.md >>=20 >> That should work and you can take it on from there.=20 >> On Thursday, 24 December 2020 at 19:54:28 UTC+2 LRP wrote: >>> __ >>> Oops. I forgot to delete two lines in my YAML file. >>>=20 >>> error message now reads: >>>=20 >>> Error producing PDF. >>> ! LaTeX Error: Can be used only in preamble. >>>=20 >>> See the LaTeX manual or LaTeX Companion for explanation. >>> Type H for immediate help. >>> ... =20 >>> =20 >>> l.65 \usepackage >>>=20 >>> Here's YAML file: >>>=20 >>> --- >>> ... >>> date: December 23, 2020 >>> header-includes: >>> - \usepackage{wallpaper} >>> - \ThisCenterWallPaper{1}{WGLogo.png} >>> -- >>>=20 >>> Here's -how I call pandoc in Makefile: >>> pandoc \ >>> --top-level-division=3Dchapter \ >>> --variable mainfont=3D"DejaVu Sans" \ >>> --variable monofont=3D"DejaVu Sans Mono" \ >>> --variable fontsize=3D11pt \ >>> --variable geometry:"top=3D1in, bottom=3D2in, left=3D1i= n, right=3D1in" \ >>> --variable geometry:a4paper \ >>> --table-of-contents \ >>> --number-sections \ >>> -f markdown $< \ >>> --pdf-engine=3Dpdflatex \ >>> -o $@ >>>=20 >>> Thanks again, >>>=20 >>> LRP >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> On Thu, Dec 24, 2020, at 12:33 PM, Lloyd R. prentice wrote: >>>> Thanks. But I get this feedback: >>>>=20 >>>> [WARNING] Could not fetch resource 'WritersglenLogo_Color.png': replac= ing image with description >>>> [WARNING] Could not fetch resource 'WritersglenLogo_Color.png': replac= ing image with description >>>> Error producing PDF. >>>> ! Package pdftex.def Error: File `WritersglenLogo\T1\textunderscoreCol= or.png' n >>>> ot found: using draft setting. >>>>=20 >>>> See the pdftex.def package documentation for explanation. >>>> Type H for immediate help. >>>>=20 >>>> Here's m YAML declaration: >>>> --- >>>> ... >>>> date: December 23, 2020 >>>> header-includes: >>>> - \usepackage{wallpaper} >>>> - \ThisCenterWallPaper{1}{WGLogo.png} >>>> --- >>>>=20 >>>> And here's my source directory: >>>>=20 >>>> -rw-r--r-- 1 lloyd lloyd 25516 Aug 1 00:31 WGLogo.png >>>> -rw-r--r-- 1 lloyd lloyd 871 Dec 24 12:23 Writersglen.md >>>>=20 >>>> LRP >>>>=20 >>>> On Thu, Dec 24, 2020, at 9:43 AM, gnpan wrote: >>>>> You could use the wallpaper package (https://ftp.cc.uoc.gr/mirrors/CT= AN/macros/latex/contrib/wallpaper/wallpapermanual.pdf). >>>>> Put the following in your YAML block: >>>>> header-includes:=20 >>>>> - \usepackage{wallpaper} >>>>> - \addtolength{\wpYoffset}{12cm}=20 >>>>> - \ThisCenterWallPaper{1}{logo.png} >>>>>=20 >>>>> 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= }.=20 >>>>> 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. >>>>>>=20 >>>>>> I found a recipe on the web using \usepackage{titling} in the metada= ta, but it failed. Can some kind soul show me how? >>>>>>=20 >>>>>> Many thanks, >>>>>>=20 >>>>>> LRP >>>>>=20 >>>>> --=20 >>>>> You received this message because you are subscribed to the Google Gr= oups "pandoc-discuss" group. >>>>> To unsubscribe from this group and stop receiving emails from it, sen= d an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@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.c= om . >>>>=20 >>>>=20 >>>> --=20 >>>> You received this message because you are subscribed to the Google Gro= ups "pandoc-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send= an email to pandoc-discus...-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>>> To view this discussion on the web visit https://groups.google.com/d/m= sgid/pandoc-discuss/5d9f1292-2e7c-4555-8ddc-cfb2d114fc78%40www.fastmail.com= . >>>=20 >=20 > --=20 > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/c53afc45-5ef0-44c9-841d-7c46fea07316n%40googlegroups.com <= https://groups.google.com/d/msgid/pandoc-discuss/c53afc45-5ef0-44c9-841d-7c= 46fea07316n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter>. --=20 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 e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/786798ba-7e82-4e11-98a1-2be3ac601668%40www.fastmail.com. --586b6e2461844511ae52d41b19f57332 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

This a= lso gives me Missing \begin{document} error.

T= hanks,

L.

On Thu,= Dec 24, 2020, at 2:35 PM, Pranesh Prakash wrote:
I'm not a LaTeX expert, but I recently = used this excerpted bit in a metadata file, and it worked for me.  You= r mileage may vary.

```
hea= der-includes: |
  \usepackage{graphicx}
  \usepackage{titling}
  \pretitle{\begin{= center}
    \includegraphics[height=3D1.25in]{sourc= e/full-logo.png}\Huge\vskip 5em}
  \posttitle{\vfil= l \color{NavyBlue} \LARGE Long Title of Project
   =          \par \large PROJECT \par \normalsize Pro= ject Agreement No: XXXX \par \end{center}}
```


On Friday, 25 December, 2020 at 12:05:33 = am UTC+5:30 gnpan wrote:
Hmm, I don't use Makefile so can't be sure wh= at goes wrong - I put all the fontsize, mainfont, geometry, papersize, etc.= in the YAML. Try something simple first:
Create a test.md fi= le with the following content (or use the attachment):
-= --
date: 24 December 2020
header-includes: = ;
  - \usepackage{wallpaper}
  - \add= tolength{\wpYoffset}{12cm} 
  - \ThisCenterWallPape= r{1}{WGLogo.png}
---

# Your titl= e

Your text. 

Then run this command:
pandoc --pdf-engine xelatex -o= test.pdf test.md

That should work and you can= take it on from there. 
On Thursday, 24 December 2020 at 19:54:= 28 UTC+2 LRP wrote:

Oops. I forgot to delet= e two lines in my YAML  file.

error messa= ge now reads:

Error producing PDF.
! LaTeX Error: Can be used only in preamble.

See the LaTeX manual or LaTeX Companion for explanation.
<= div>
Type  H <return>  for immediate help.
...          = ;            &n= bsp;            = ;          
            &n= bsp;            = ;            &n= bsp;           
<= /div>
l.65 \usepackage

Here's YAML file:

---
...
= date: December 23, 2020
header-includes:
 =   - \usepackage{wallpaper}
   - \ThisCenterWal= lPaper{1}{WGLogo.png}
--

<= div>Here's -how I call pandoc in Makefile:
   =     pandoc \
     &nb= sp;          --top-level-divis= ion=3Dchapter  \
      &nb= sp;         --variable mainfont=3D"= DejaVu Sans" \
       &nbs= p;        --variable monofont=3D"DejaVu = Sans Mono" \
        =         --variable fontsize=3D11pt \
=
          &nbs= p;     --variable geometry:"top=3D1in, bottom=3D2in, le= ft=3D1in, right=3D1in" \
      =           --variable geometry:= a4paper \
        &nb= sp;       --table-of-contents \
            &n= bsp;   --number-sections \
    =             -f markd= own  $< \
       &= nbsp;        --pdf-engine=3Dpdflatex \
          &n= bsp;     -o $@

Thanks agai= n,

LRP





On Thu, Dec 24= , 2020, at 12:33 PM, Lloyd R. prentice wrote:
Thanks. But I get this feedback:

[WARNING] Could not fetch resource 'WritersglenLogo_Color.png': re= placing image with description
[WARNING] Could not fetch reso= urce 'WritersglenLogo_Color.png': replacing image with description
Error producing PDF.
! Package pdftex.def Error: File `= WritersglenLogo\T1\textunderscoreColor.png' n
ot found: using= draft setting.

See the pdftex.def package doc= umentation for explanation.
Type  H <return> = for immediate help.

Here's m YAML declaration= :
---
...
date: December 23, 2020=
header-includes:
   - \usepackage{wa= llpaper}
   - \ThisCenterWallPaper{1}{WGLogo.png}
---

And here's my source director= y:

-rw-r--r-- 1 lloyd lloyd 25516 Aug  1 = 00:31 WGLogo.png
-rw-r--r-- 1 lloyd lloyd   871 Dec= 24 12:23 Writersglen.md

LRP
On Thu, Dec 24, 2020, at 9:43 AM, gnpan wrote:
=
Put the following in your YAML block:
header-includ= es: 
  - \usepackage{wallpaper}
 = ; - \addtolength{\wpYoffset}{12cm} 
  - \ThisCenter= WallPaper{1}{logo.png}

Change logo.png to what= ever 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 pos= ition. You can also change the scale factor {1}. 
On Wednesday, 23 December 2020 at 23:38:58 UTC+2 LR= P 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 metad= ata, but it failed. Can some kind soul show me how?

Many thanks,

LRP
<= /div>


--
You received this message because yo= u 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.


--
You received this messag= e 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-discus...-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<= /a>.


--
=
You received this message because you are subscribed to the Google Gr= oups "pandoc-discuss" group.
To unsubscribe from this group = and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe@googlegr= oups.com.

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/786798ba-7e82-4e11-98a1-2be3ac601668%40www.fastmail.co= m.
--586b6e2461844511ae52d41b19f57332--