From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32904 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: titlegraphic syntax Date: Sat, 1 Jul 2023 08:57:08 -0700 Message-ID: <0E10A9F7-FF0C-45DB-928A-895E5AD74BC6@gmail.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.3\)) Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9822"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBV4ZQGSQMGQE43KXNZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 01 17:57:16 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-yw1-f189.google.com ([209.85.128.189]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qFcyK-0002K9-08 for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 01 Jul 2023 17:57:16 +0200 Original-Received: by mail-yw1-f189.google.com with SMTP id 00721157ae682-56ff7b4feefsf29158827b3.0 for ; Sat, 01 Jul 2023 08:57:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688227035; cv=pass; d=google.com; s=arc-20160816; b=tBh5db8drPQcDx9TbygK7PPIaB1pY1+JJj91hdzKJYAmKclmtmLY1liEYDliOiAmta p1NTXf4WGInyopVUuqftAER6DDpEnqC6qi1S4cJiCDJ3JM7yktAWQsZl7gw8YoPbHiEb Fk9vRLB1w3xJjgNngg9H4a851Ux9b6UfvxcLsSyNCz3jOk8XEJud0Zrngmezaj7cYUj0 xIyp22bo8/BiSsGX4VB6NanmxxJDJt5vL4CqfaeJ8NuzMeR00P1npUH2oSy0dIhQXb8q tuqGkpGSW1g4Hc1TrdfbRiuRJq500ZL0FH6BTreeFmNQeipLdMPxI2UOWqnUDAi7AC1e qH1w== 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:message-id:in-reply-to:to :references:date:subject:mime-version:content-transfer-encoding:from :sender:dkim-signature:dkim-signature; bh=aqBQvhfhYsPLy8tRbrx0blQmm72IcehkGA0gVE3/REk=; fh=A7KGSvm30SBY9b2v+N53j+lkchMNZtkZbRzF4WqsV70=; b=fIrPTxC/FZkM52MA2H6uQoOQJLBMZJVkVojulxzvoAM/PYf04L3Lo2/LkEiZ4D8jUC Oc8L+1ifLhdYPOj6ydsDSet4CjDJCiRzHPUIdSViC9yxRpimTIov65m/SbDBOB+1NAyT /tspKhp5ui3DB8Xy4De0vPLj0bUX2dHlQ0Hm85k+U6QPdH7B4UZqcdS6MTHaxMJxz1Xw 4rqNOa94FcsUOumcKK1zYxe6r+nmR6m4fqyJiOLpTINF16KcdsszNLIy2SUq+XNFXHab tCplk4y7ZGVfZmGSWTpMNNeDD4FBJjJq5GtMo27aC0fwGgSK2FsHF7PuhO50GiLCRAzP sf1A== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=FxpsY0Pn; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::436 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1688227034; x=1690819034; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=aqBQvhfhYsPLy8tRbrx0blQmm72IcehkGA0gVE3/REk=; b=qZXk9OqDVHUEGjqagOVOw/yBqblQa39IcrCJGU3XP7BlrNmY9giSlIWAVVy6vJguOI W4NvCExi9e0TnGc9dBDhIoDdB24mg7wYhqxoWwYkPYg68NI9RpHQE8NVDNW7EFI2Iyjg Sl0MXwYb9XweVH1Byn+kgDsLKEGwJS7O7GPHixl+m2xc2wLpNXqnjjVKzXAkFiaTdV92 49+IrNzpZyKBb+klcSNolZb/Kk9QelV5qkBntrBN13v4mj9hccePzg93OpyerVztjjJV IbRV7aDEgkB0AfPcmiof2+Gg7u7Zb48EDsOuf DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688227034; x=1690819034; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=aqBQvhfhYsPLy8tRbrx0blQmm72IcehkGA0gVE3/REk=; b=K74YI8ztfAWmefs3Lkqj8YyK9J1G7FAK6Rjs2OmAQhf4JXeky8749EBgU5U9A4bXVq y8SKH1zpZh6culX+GpPIJh1WKk5B6AzlswbMpmki6z2IkpcY/LEw9MnbyoJeVe2EIHQD d23NDkj2KFyTO5RZ9CRpWM7c/fhcFwbIX8kqdPZUWvosuPtmYLUMxj6UEfBLdE9IJ0Da HY2dgeBrn9amOupjkab0ZZfhcPpd1cBuhtR1JVpTnHjkBTVufd/jw94rxF47JSxEGOuv 8jLpEpO3BFP3+oCztkh6Wj6yIablZZgQVW8t0WPiEV5jpe0YNvx X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688227034; x=1690819034; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-beenthere:x-gm-message-state :sender:from:to:cc:subject:date:message-id:reply-to; bh=aqBQvhfhYsPLy8tRbrx0blQmm72IcehkGA0gVE3/REk=; b=gGUwdnNzM73WYVLdQcNOtduQ+fVb5Kh68RWJNbJMHZuWf8mzRCSDGBnBwHzWK8XgkG mffoRRO0Kqc4q/zKoRm5wkBym2h6KqJqfABeTcqauIgaUot7gnzqtKzrmYYkUyE55BDr ldhwkTUDG5KIXiWu+e2p1v4j6ASRFUtqSU/wnP1VsRNPwQh/j/GSU6u2+HznUkYRiSJP O095fO+puREYn6qIH6SwTayQjDmeYwuuKBRZWN7LtDAXrAbVcT2Mlg7aZJ Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLbaXqAgx3a1OAZIgUYbD6WRb3yD5ukOiPC8UaDU+JmDt1wjCQF0 scAXoM9lF4qqjqSeW5rhslU= X-Google-Smtp-Source: APBJJlGknmihLjb04GtlzqMeFzil40XVj4dgGfGgGjl5a7RZhpV59uZ2+L/SAZVma3quthfQVxrqEA== X-Received: by 2002:a81:73d7:0:b0:577:3bf2:7ac0 with SMTP id o206-20020a8173d7000000b005773bf27ac0mr4484681ywc.5.1688227034829; Sat, 01 Jul 2023 08:57:14 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a25:ab73:0:b0:bad:24e2:54ff with SMTP id u106-20020a25ab73000000b00bad24e254ffls1133050ybi.1.-pod-prod-08-us; Sat, 01 Jul 2023 08:57:11 -0700 (PDT) X-Received: by 2002:a25:bb46:0:b0:c4e:9560:3975 with SMTP id b6-20020a25bb46000000b00c4e95603975mr33373ybk.25.1688227030986; Sat, 01 Jul 2023 08:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688227030; cv=none; d=google.com; s=arc-20160816; b=piUtYk2nzmlU8T2z3OEE550K6yIwwkg3dxlaGclTSQddbjf1zRPDJxcLmBXaIst4bE Bnu0Ti31/ttreY2Q9PkAjZBJZamHUa3p8vD8FGG6Bhtqk/5m8xlig2f9UpZl1zOuixbV C747z8FHSOk3QKcdi+se5d03LqgnJyZwoVMgF1cEDqXeYbhFIxuIb58lp/QlfwtVGI1t L3uHmWzajZy5XRULvsDU6YnrTGNDs6aGu9AcBeizO29f+cp2CJeVNYu09QSfvx2p7Ltm P1ikTn1/YRpgPuL3eEAAnH7j+Oac2wrPoP9s46KNo3ox71ysjqnpD7V+Q04xrwlxAL5Z Rm8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:dkim-signature; bh=Aw2/R0AZTnmRgfZD8ljhxqxwzI6qrJhmN9uu70zdKw0=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=aoRDTsgzAT76QqtELzRFCL569ctp2sUHcZI6ygdrtgZLU+TP7fcuV3l/hhj00HqmMy XpPYRC35lQSLggU2RkGaxAH/9mrjyWb5zL1Mol+0aJm02ffGopibeLthW451FEl/UaLS 6sd8BCrWtA2VZA3K+74c8Fiasf/njA1RYx7SNIC8mcJX8PsEUpL2jistjeqBawvLRIIo 3qIMC9yzMADaeN1epHtLWze2imDHHqstKethrPh2pzScH/JgpEmHkhngmk48KpjCxUxN 070HPiOHGdQCmUJ08r7R4M6NBNsAjcN1/i9Ornc67rTT6DgUz1fOqE6iUe5Yjg8uMf3U v7Bw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=FxpsY0Pn; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::436 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Original-Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com. [2607:f8b0:4864:20::436]) by gmr-mx.google.com with ESMTPS id r189-20020a2576c6000000b00bc8ef1f2720si1599261ybc.1.2023.07.01.08.57.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 01 Jul 2023 08:57:10 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::436 as permitted sender) client-ip=2607:f8b0:4864:20::436; Original-Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-668704a5b5bso2345118b3a.0 for ; Sat, 01 Jul 2023 08:57:10 -0700 (PDT) X-Received: by 2002:aa7:88cf:0:b0:674:ff6d:1b39 with SMTP id k15-20020aa788cf000000b00674ff6d1b39mr7407615pff.9.1688227029812; Sat, 01 Jul 2023 08:57:09 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:d427:2e4d:a832:6136]) by smtp.gmail.com with ESMTPSA id q14-20020a63f94e000000b005143448896csm12122896pgk.58.2023.07.01.08.57.08 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 01 Jul 2023 08:57:09 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=FxpsY0Pn; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::436 as permitted sender) smtp.mailfrom=fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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:32904 Archived-At: You could change the template so that it just has $mytitlegraphic$ and then in your metadata --- mytitlegraphic: '![](image.png){width=3D5cm}' ... This markdown will be expanded to LaTeX before being passed to the mytitleg= raphic variable. > On Jun 30, 2023, at 6:41 PM, Ant Eagle wrote: >=20 > I know that the beamer template includes a way to use the metadata variab= le `titlegraphic`. But the template seems to be quite basic: >=20 > ``` > $if(titlegraphic)$ > \titlegraphic{\includegraphics{$titlegraphic$}} > $endif$ > ``` > Is there any way to add standard image attributes, such as width, etc., w= ithout modifying the template? I guess the answer is no since there is noth= ing in the template that would yield `\includegraphics[width=3D5cm]{$titleg= raphic$}`, but then my question, being mostly ignorant of the variable synt= ax in templates, is whether it is possible to parse a single metadata varia= ble into two components, e.g., to take the markdown source >=20 > `titlegraphic: image.png {width=3D5cm}` >=20 > and yield the beamer code >=20 > `\titlegraphic{\includegraphics[width=3D5cm]{image.png}}` >=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/fe93f88c-48a6-4a15-8ca8-1a6f865549a2n%40googlegroups.com. --=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/0E10A9F7-FF0C-45DB-928A-895E5AD74BC6%40gmail.com.