From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27303 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: Thu, 24 Dec 2020 12:33:28 -0500 Message-ID: <5d9f1292-2e7c-4555-8ddc-cfb2d114fc78@www.fastmail.com> References: <775d0e0f-927c-4dc4-aed0-dfc930f47b50n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=44f45a08894f4b9aa5ef7ecb409e92c6 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17645"; 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+bncBCOZ3TURZAFBBCFCSP7QKGQED5MVQLY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Dec 24 18:34:07 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f60.google.com ([209.85.216.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ksUV3-0004Td-Pd for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 24 Dec 2020 18:34:05 +0100 Original-Received: by mail-pj1-f60.google.com with SMTP id c21sf1551239pjr.8 for ; Thu, 24 Dec 2020 09:34:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1608831244; cv=pass; d=google.com; s=arc-20160816; b=Q9myWo92SL0BJxZLfV0v3yekUyjni/mFcvlJ9p+hvWo5kbTNltp5lGBEg0De0O2bqZ QZY01vSq4BF/5dNM2C14JkrKRxBqJ9IUKEINjXn7fIv5zUQlmxQfglvsL8OzSiK+Gw7U l/juGHxC/JTJT7DoCeTOgu5uOtA/RJq6B3FdPIUFzz5YVVkvmYk7ndZPvdzNuNTAVHNa 40rPt3DpAQ2xjApOn9UPWc1S9yb46qdV43K/Cpi2mN+3+QMNet9b3awfEJ4qV0ENyxfK iTfMxake2+EesSQQYjW9TejXBzFbH6NuOdESzt5AlYR6rS+K0NrIH3gVQdprN1qrIWwS Rpug== 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=3Mqp5q0eInCiHh4ZwtFOw/SFAg+AxBh5qoMR7iz2VPI=; b=IZM9qh95SFkyl93HYyKER1ZGufn6qjVxYIuPnN+vb0yYpT8uX7xn73M4K+pyKc9Ce/ zk1OQItfEscdsjy7+Vtckm09VJ9tD0iTL0k0IgCw6iNUiD5F5M+C2L9bvV9BtRG3EWDc SapmXHD0xTYNzgSBXKqBD/ZYvyiWW5jxqBplmLfH9iNoeZsY4hjkKzbhece0TA75i5S+ +cveLejYTsF7ca63/Fhacr9y4p31ILCq863LGSeEV6iY03wyNxkQjm5Ps9XKLcuHnf94 HKuPzD37CpNCCg+cHEqteDe9yXi2wYh76znP0fWQfLqntdIc9C0u3fDV6DeUOr2ptrj9 MlPA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=mqezTrWN; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MfWLbuI9; spf=pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.27 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=3Mqp5q0eInCiHh4ZwtFOw/SFAg+AxBh5qoMR7iz2VPI=; b=C8XkEZ2zBAJg1DiXtMibezIQOlBaVrjesg15PcTER2u+iGDPHYak+9zEqAftuVgPv2 HoOxADgdJru0yGf8SGWhGgCmZ98kFmwxjH826Butav7KM5FzRkmWeV1qnW69nrOgKJO7 OoRL4+Dm5xcrEDTwaK+wiEVW6twWLx/nUvAZOEgjQw35o39L0hlFQVe4lkXgFXBySUKT KWK/QNw0TTkLvnCbRrUjP9umapfWtI6o95m/JecZvR6VmK9+lPmFW/yq0Xl44sXMWN0J m8Bcahhgy1bYqV1wDjm268JW9agCVEfc+NcXvALT5Yb8e2H1kbngXtn1W0iOK6zXXtKW Jscg== 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=3Mqp5q0eInCiHh4ZwtFOw/SFAg+AxBh5qoMR7iz2VPI=; b=CzWe0rRcSGqCFtrAnbyON1C3Afcalswfmxu2KVJhEJtoYfRYC2rVMzSpKzrP84lt5D 1C6nYQK+dynQf9/YDizRvi59urJ8O6fSjm5YL2HizGzjsmYO6uKs87mCzY6wR8wg4VDM Y1hyPwSQP3Ja8HCiM8fVSanuQmULJAWXCshDi/71YfLq9fNpXbmc0OeDduAjnlfwcwHb vj1wZ1K+dFnmIWVvfEUDy/c8TqNP1gIc6l5zocMAWznIPo0BZj8kC6osas6Fn3M0rlW2 Q79eRG20HsmKqrV/x/o+oAquSp5CntGRBsbSmh4p1BQyJdtRaO5kMnHfJqNkxIXroJf+ xF4Q== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM530xDFMT+WXdzFYPHZsWhZh9IEjzwMvF7Ka91J4bL2QmB9t8ipVh dQOaqI0DUqsMuiw10uhq2ag= X-Google-Smtp-Source: ABdhPJxuvZqK9gzo3/RwW0kkS2vcsYLcehHAbdd8MuM+/p/qlrHd6J9sbthtKqMdISZJGWMjExpR3Q== X-Received: by 2002:a05:6a00:1623:b029:1a4:e935:87a8 with SMTP id e3-20020a056a001623b02901a4e93587a8mr10473642pfc.26.1608831244512; Thu, 24 Dec 2020 09:34:04 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a63:2c94:: with SMTP id s142ls19655236pgs.9.gmail; Thu, 24 Dec 2020 09:34:00 -0800 (PST) X-Received: by 2002:a63:5342:: with SMTP id t2mr29928555pgl.194.1608831240041; Thu, 24 Dec 2020 09:34:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608831240; cv=none; d=google.com; s=arc-20160816; b=tqjUuGswjB9adKD1aUJbZuiLNpRwi6TNvI9kil9Z8GMYUl2sydgfkI+E7r61+nkoz3 HWHIMMQImPp/HUnNw2MGIwg8iWajSkiwFFk8EYE5r2Lhl5+lHUlmcii6adtqtq4g5urf n+lKFMhMbxY4o7SS3mrm1Z5h7zaswzWVbVXeunpUCqGEC0wu7azYsd/fLfP2Ch7FgX8o 9vJPX+3Qb2f5GBoZjcw8XGbMS5u3Q3lhf5dyN6RWO80Kfit8DbhU6M+64NuABDHHTn9E ntyXL/6biotkgGU75ZjR+fglay/zPdKM+ibXL5smH5aQ6CYEMu11p/ebkNtulKU/rfI7 RRPw== 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=SvjsQH3q7vzNC/DgDxRZFTq9DFc7Luc7NjBblr/hr4E=; b=bnhUNsKHwyww8bOCeRG+b3fp6v5uBri1eDqAVUkEDGnccdI/h5ogWHFJaDs9UWrFoU MGg9xWNYXwV9ZLcN/Zqw2nPRhRNR3MR9Hs340BZVYXxloTmra6TGi6F1XqJUnJgjNBIc ZkbGGrm2F8uxoq3dQlL/ZJpCLcjZoJEx4e6fn1XazY7k3H4wnNrUPn2oLi5EtZOraze9 F3K0rZyJIPIda6Dp85msj9Qon3rH8Omalns+NEkkjcntzTDTSlQz4hGTNcJTClvyEWup DSpj+5jy0BTuAaReQxNRJoIKUe7awvohijfnwycAGcliAnScFyYmypHsw2xvqBsJScHi CTzQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=mqezTrWN; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MfWLbuI9; spf=pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.27 as permitted sender) smtp.mailfrom=lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org Original-Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com. [66.111.4.27]) by gmr-mx.google.com with ESMTPS id z18si1613773plo.5.2020.12.24.09.33.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Dec 2020 09:33:59 -0800 (PST) Received-SPF: pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.27 as permitted sender) client-ip=66.111.4.27; Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id EC6F35C00DD for ; Thu, 24 Dec 2020 12:33:58 -0500 (EST) Original-Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Thu, 24 Dec 2020 12:33:58 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtledguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefofgggkfgjfhffhffv ufgtsegrtderreerredtnecuhfhrohhmpedfnfhlohihugcutfdruchprhgvnhhtihgtvg dfuceolhhlohihugesfihrihhtvghrshhglhgvnhdrtghomheqnecuggftrfgrthhtvghr nhepleevieegfefgheethefggfevjeeigeeivdevhfekkeduieeffeefheekgfehhfekne cuffhomhgrihhnpehuohgtrdhgrhdpghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfu ihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhhlohihugesfihrihhtvghrsh hglhgvnhdrtghomh X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 36A9E62A005F; Thu, 24 Dec 2020 12:33:15 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <775d0e0f-927c-4dc4-aed0-dfc930f47b50n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> 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=mqezTrWN; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=MfWLbuI9; spf=pass (google.com: domain of lloyd-l7gIAb2iU4jcM+WK4BI3xw@public.gmane.org designates 66.111.4.27 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:27303 Archived-At: --44f45a08894f4b9aa5ef7ecb409e92c6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks. But I get this feedback: [WARNING] Could not fetch resource 'WritersglenLogo_Color.png': replacing i= mage with description [WARNING] Could not fetch resource 'WritersglenLogo_Color.png': replacing i= mage with description Error producing PDF. ! Package pdftex.def Error: File `WritersglenLogo\T1\textunderscoreColor.pn= g' n ot found: using draft setting. See the pdftex.def package documentation for explanation. Type H for immediate help. Here's m YAML declaration: --- ... date: December 23, 2020 header-includes: - \usepackage{wallpaper} - \ThisCenterWallPaper{1}{WGLogo.png} --- And here's my source directory: -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: > You could use the wallpaper package (https://ftp.cc.uoc.gr/mirrors/CTAN/m= acros/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 sam= e 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 metadata, = 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 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/775d0e0f-927c-4dc4-aed0-dfc930f47b50n%40googlegroups.com <= https://groups.google.com/d/msgid/pandoc-discuss/775d0e0f-927c-4dc4-aed0-df= c930f47b50n%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/5d9f1292-2e7c-4555-8ddc-cfb2d114fc78%40www.fastmail.com. --44f45a08894f4b9aa5ef7ecb409e92c6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks. But I get thi= s feedback:

[WARNING] Could not fetch resource= 'WritersglenLogo_Color.png': replacing image with description
[WARNING] Could not fetch resource '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 documentation for explanation.
T= ype  H <return>  for immediate help.

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

And here's my source directory:

-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 A= M, gnpan wrote:
You could use the wallpaper package (https://ftp.c= c.uoc.gr/mirrors/CTAN/macros/latex/contrib/wallpaper/wallpapermanual.pdf).
Put the following in your YAML block:
=
header-includes: 
  - \usepackage{wallpaper}
  - \addtolength{\wpYoffset}{12cm} 
&n= bsp; - \ThisCenterWallPaper{1}{logo.png}

Chang= e logo.png to whatever you logo is called (make sure it's in the same folde= r as your txt file) and adjust the Y offset to a value that gets the logo i= n 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.
<= /div>

I found a recipe on the web using \usepackage{titl= ing} 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" gr= oup.
<= div> To view this discussion on the web visit https://groups.goo= gle.com/d/msgid/pandoc-discuss/775d0e0f-927c-4dc4-aed0-dfc930f47b50n%40goog= legroups.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/5d9f1292-2e7c-4555-8ddc-cfb2d114fc78%40www.fastmail.co= m.
--44f45a08894f4b9aa5ef7ecb409e92c6--