From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/27309 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:17:29 -0500 Message-ID: <47288226-5eeb-4341-847d-15e76114352d@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=6b2574066e8e40d181accef7e215d4ee Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34113"; 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+bncBCOZ3TURZAFBBSMDUP7QKGQEINNWY4I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Dec 27 18:18:07 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pg1-f186.google.com ([209.85.215.186]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ktZgE-0008kk-LP for gtp-pandoc-discuss@m.gmane-mx.org; Sun, 27 Dec 2020 18:18:06 +0100 Original-Received: by mail-pg1-f186.google.com with SMTP id n2sf3274748pgj.12 for ; Sun, 27 Dec 2020 09:18:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1609089485; cv=pass; d=google.com; s=arc-20160816; b=y+TVGrAK6ZimtUf/KMm8qXZqTzOiGxf+kP+KsCL4H6YX0xXCcCH5vfdRnbK7USkqWH QQq4HPvfWjfg/gQuQwj/0rLxcmjwfOx30TL8WnwE1+2klnC8jvYLv128lLqABY/YJq0P P0JT3WcdS9222M+NtD3Bv8xBgycVEKJp0FRC4fnwmJgM29mbRMyvvzygVVXo3NdtPxwx ZRw0a49++6HI+/OBlMtCmb9l7u96HxghcUvgIfwB7UHcLvIKZIe8e/2L/LMsFA/9QhjR ga5RFKoZIf7NTCY/vbYA8k44tk+Lh2VArSnRDVoI7rDFKjR6oYDTbCWPTc6XdONpIXFt yYqw== 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=xyqB8LA0mOphMhzXNCyYuM9B2KBEACbT9FuTVl26jWg=; b=GiO7sk9vLWXM94VWks8qUvJ/9F9JkFhGsvnH7cpq2bpaaHqGZNkWArMV8tBYvev4XU D4BD6qr+ofR731mY2+GHs0D7vJLPWT4GXLUWeJcskh3aRXlfs10YHfojnp9EjIDd57HS 3lkB1LmdPA4H2qQ7JtpXnfR6ctBVb9C2x7Ahgcd7zPPSAn2Q5s/w1XhojunCliTS9nKK 77Yq07j2PNsNQLeutZEnf2PDPvkxm5ZSa5n2lwfbh2HOZIPG+UiARpZg8riZppgJklaQ bHQ3vnAZ9qXA5UfiI0XZpQhzjlVa7JnXYp0GDMHspm2ln0zTcArZAS9QHucjEU+nsCpR aSrg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=lzIgaR7D; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WoaP4dSE; 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=xyqB8LA0mOphMhzXNCyYuM9B2KBEACbT9FuTVl26jWg=; b=oFGjYI4BcWtx0dNNSlZHvu9w4oDJvkj9ZryqaunwGFZHDpLn/u6tQIrcrlaXpdbLbm 83PNLzo45R/kkmBOERAKMt/8BdmDfpXRLAFZecPMq9hAWGR0ZybMW/+l1vl8gfqSoWFv lIP0Nw5AEohy0a3pJWJEyTaetzT42SBoaoq5Mxkl6fm7Pq5rEvNrVRSSYKZyiolXdM81 xqTZeb7Knk/RG2ZGkkqHDPcY6X00yYNwRRFRIPJgR45gFZEVep0qecrxIrUlg8Ys49zl hqrp4alS6nEyALskIvJYF7hDTLDiya0GtcR829umV5sx0PQqHpyV/TL5Jl9juFrZKaoV 1QUg== 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=xyqB8LA0mOphMhzXNCyYuM9B2KBEACbT9FuTVl26jWg=; b=k9CwyxYmM0npMh0TyhVxOaEF3bQonDLKfVPhupqnGB2oJEBi3CHQGY4rWGu4s1eOOD ZCko2Js6RXICnnP5FhaYxj9ePIMdVgQA9Y/Td2ytZivc8um48uh9z4q4ljPa5mYKW+RE ndNVE8YGUGdzRjJNTCnAE4JhxkomRahJBIL7CCCZQCNhqFksbfclUUjokM+OadOUck4m 22psaq2h0hh/YpM9SM8Jd14x0Ln6Qlt0aJZlMlIa0mjxgz4hqXAwn9fHa1HlnZ4Mstm8 eMwyg/nkReiet9T9KOxAdMzxJXeJ93gR7qwZdAgLoh7HMObTJ9VoLTwuVG7hKnQhCx/N oAfQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533+EJb7de9PO3n9kAGhh0dDul3Lddgl+nMX+/BW0zk5fb1d5srd sN8yH8x0m+i1PusADjiTT/w= X-Google-Smtp-Source: ABdhPJwvarrRkgtuqJVFYH0XMv3J5vLurOfvUk6NjYXVBPNDDOtjTc6SZpArgrsnfwLPvp+LD9kflg== X-Received: by 2002:a17:902:aa49:b029:da:e4a6:3934 with SMTP id c9-20020a170902aa49b02900dae4a63934mr40847369plr.42.1609089485372; Sun, 27 Dec 2020 09:18:05 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:bc47:: with SMTP id t7ls5425039pjv.2.gmail; Sun, 27 Dec 2020 09:18:01 -0800 (PST) X-Received: by 2002:a17:902:ac98:b029:da:cd0f:b6a4 with SMTP id h24-20020a170902ac98b02900dacd0fb6a4mr42088607plr.71.1609089481249; Sun, 27 Dec 2020 09:18:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609089481; cv=none; d=google.com; s=arc-20160816; b=b6ndM6LFGtVtqtweMXlddSNQuvC1u7CRECqMcok5SgVHkn+qzdcDoyya0FT0tAxd7G gE1xJKLwndrNxdaJL6oU5BtG8kh2H3FoaQLnat4cTqF3kOftoYlV9nvnZHbohpVv/lR3 wQyhFES7XectikthiPtn9C8/x4j8/hTXFzqqrQCMu+Ve06rDwHp29/3lp9PssVgbFN9g KQ8NiXQAN/gEmXrZhkX8dGsGzAm41we19o4XNzsKabMldsZAXku2prQi1UeI5Jjz7ZAS 7aeYRVRffN3ATN3p+lmUEP5t9I9f9H5SGZk7a74HO5WfGPM+NEXWXEl7NJx5WcAkNYus PHjg== 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=urw/zP0KR4DFRZoM4YkdPUlOOTG9jsKi4vA9gVZ5wkc=; b=ZhaVyAZwXx+2odsntOzKOEbWMBGskWpzqcaDJOH7lpPkKlGw6pD+/FmTLJb/BnVvQz fgmDu35zkPDBY8pkWKZThPnootM0Hvj6kcNvG3GvZAfYBsM8PfZ5UiWpJwdoJjeLI+Yn T11baxPu1zLuqy7Kypihr4ZPMAxdC242VDp7m6Wq4CaX34+okzvnGBNhFx/CKahNKM2u MwO1j7GYEpTg0ozBXMe+Af6ec7YOlQnwOmmuQtMGQV5VPVzS8eXpMcxsL/Pg6laEF+eu pBtLthEXUeuOml0pqY8k1WfVLL/Z7Eyoy+eeBue5jwW6jasjlMQQ+xHUpSK8BTr3aPOk ErjA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@writersglen.com header.s=fm1 header.b=lzIgaR7D; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WoaP4dSE; 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 d22si2425878pgb.1.2020.12.27.09.18.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Dec 2020 09:18:01 -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 4DC6A5C0076 for ; Sun, 27 Dec 2020 12:18:00 -0500 (EST) Original-Received: from imap22 ([10.202.2.72]) by compute1.internal (MEProxy); Sun, 27 Dec 2020 12:18:00 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddujedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enogfuuhhsphgvtghtffhomhgrihhnucdlgeelmdenucfjughrpefofgggkfgjfhffhffv ufgtsegrtderreerredtnecuhfhrohhmpedfnfhlohihugcutfdruchprhgvnhhtihgtvg dfuceolhhlohihugesfihrihhtvghrshhglhgvnhdrtghomheqnecuggftrfgrthhtvghr nhepleevieegfefgheethefggfevjeeigeeivdevhfekkeduieeffeefheekgfehhfekne cuffhomhgrihhnpehuohgtrdhgrhdpghhoohhglhgvrdgtohhmnecuvehluhhsthgvrhfu ihiivgepudenucfrrghrrghmpehmrghilhhfrhhomheplhhlohihugesfihrihhtvghrsh hglhgvnhdrtghomh X-ME-Proxy: Original-Received: by mailuser.nyi.internal (Postfix, from userid 501) id 281E362A005E; Sun, 27 Dec 2020 12:17:11 -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=lzIgaR7D; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=WoaP4dSE; 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:27309 Archived-At: --6b2574066e8e40d181accef7e215d4ee Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I get this error: Error producing PDF. ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... =20 =20 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/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/47288226-5eeb-4341-847d-15e76114352d%40www.fastmail.com. --6b2574066e8e40d181accef7e215d4ee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I get this error:
=

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

See the LaTeX manua= l or LaTeX Companion for explanation.
Type  H <return= >  for immediate help.
...    &nb= sp;            =             &nb= sp;            =    
       =             &nb= sp;            =             &nb= sp;    
l.60 -

Thanks,

LRP

On Thu, Dec 24, 2020, at 9:43 AM, gnpan wrote:
Put the = following in your YAML block:
header-includes: 
=
  - \usepackage{wallpaper}
  - \addtolen= gth{\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 ca= n 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 i= t failed. Can some kind soul show me how?

Many= thanks,

LRP

--
You received this message because you are sub= scribed to the Google Groups "pandoc-discuss" group.
To unsu= bscribe from this group and stop receiving emails from it, send an email to= pandoc-disc= uss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
=

--
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/47288226-5eeb-4341-847d-15e76114352d%40www.fastmail.co= m.
--6b2574066e8e40d181accef7e215d4ee--