From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32894 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ant Eagle Newsgroups: gmane.text.pandoc Subject: titlegraphic syntax Date: Fri, 30 Jun 2023 18:41:33 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15954_1424925857.1688175693466" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29190"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCK5RWGXQAJBBT4I72SAMGQECS4XGVY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jul 01 03:41:41 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pj1-f55.google.com ([209.85.216.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qFPcK-0007R3-Vg for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 01 Jul 2023 03:41:41 +0200 Original-Received: by mail-pj1-f55.google.com with SMTP id 98e67ed59e1d1-260cb94f585sf2190729a91.0 for ; Fri, 30 Jun 2023 18:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1688175699; x=1690767699; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=cUTt1gxgaWPa7RW6OEE5vAyAUQok/wycqDpI3VOEbCo=; b=rP+46BYtc7WoDT5Jgd16RGGZb2SBTeeaZhWvGDELzpSjdtXeJBlQHnn6r9LD7yimQF pY34aO4EsNbugkCWlRX/yugirkXUsWePU8YRRbQo1id+yGqIuOnVWWAYiuTGUY4CM/9n G5/xRHVBAONQo0X7xB2dxO0hWk7M9NRxd62EWDbWh0RvTnEXKxYOjD3gc5xRsZMSLMb1 vb6rjyQqmH04lGzTzV8cZrfim8lZf+us4foV7XSridMPtk+5xJAG7PV1WReyZyfNRrVq fggDPVGxghCa/j7TmFxNNktc5hRYuNlU+Z5fyG3kZ+GntqXQMEzmBwaXQ5k2t0Mp9uRf aLpg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=antonyeagle-org.20221208.gappssmtp.com; s=20221208; t=1688175699; x=1690767699; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:x-original-sender :mime-version:subject:message-id:to:from:date:from:to:cc:subject :date:message-id:reply-to; bh=cUTt1gxgaWPa7RW6OEE5vAyAUQok/wycqDpI3VOEbCo=; b=zo5q6EtNejopQ/L66NuZmkhssRbJDth8ZSNHB6WzHNfqYvILz91AFenIh4CuI9Wy4t PbxotYURqlCN8H1v+sWqOCicP3l4igXbcm4Js5Kse/N3mDjHce8e9FWgoMT+Kjx8ZY3N t5IuSArFP4hy1H7P7Aadqp7ZjYQIpwojnGOGFzPaP29n86/5iAuVFq4LT2QRmyibx7FB 8Uo0/fYG20lxEJoaGGRgkbaQZ9FsnMVyEnHwIHXGvK3MoaRs1L9NNhoPUEFCmXf/ARpt IOV0Lmp8ZA68bT5TelSXunIxXzX1tZ4kQ3oTl+ZSis7dLBwGvjnFZ80LT5mU50TX4I5j mo0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688175699; x=1690767699; 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-sender:mime-version:subject:message-id:to:from:date :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=cUTt1gxgaWPa7RW6OEE5vAyAUQok/wycqDpI3VOEbCo=; b=dz5nilnE5gnMPL3SjIvbf0l8gPiLru8Qeq0ASsukINHD+oZ/uwe4oljRlEu55MC2bJ ru0JKvBamE6RcFmy9P3zNsjMGURWHHC87nsMn7iJDBPMN7PVnWS+4gpAgSKE/iwu1L5/ BQ+MfJJ0D0Z9Wos6jasCwEa2jmf99mdOGcSUqraT/DqkIFvpPmKYzZHo5LND8Br+sQaa FnmiGslj5G+ub5M/iQlJn0JwDtcYp5HnBHEY8oFcowkP4XbC7CXFkoGVQOSTeNHiOBNX LCdVK5afUb3FUxqkr4DXJpUzltHIdyGLLDTjprbdva5R6W63ADSDx5QeY2RUfRfBiM6z Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDyMR7bm9K3v76Yp+RASexHquPbTVPQyhctk+1OFySe6+GcYuprb tFKOEdJM5vqWsxuB0f7nApY= X-Google-Smtp-Source: ACHHUZ6PfintclzAtVzpYq+1Vrgcvpkq2sz09R3uJJBKwqshBk7u7/dqePXvy7EiXXvM4kVr4szP5Q== X-Received: by 2002:a17:90b:1e0b:b0:25b:f105:8372 with SMTP id pg11-20020a17090b1e0b00b0025bf1058372mr12139934pjb.5.1688175699592; Fri, 30 Jun 2023 18:41:39 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:7541:b0:262:e7e7:b2e2 with SMTP id q59-20020a17090a754100b00262e7e7b2e2ls1846338pjk.1.-pod-prod-00-us; Fri, 30 Jun 2023 18:41:34 -0700 (PDT) X-Received: by 2002:a17:903:790:b0:1b0:1e01:c7e with SMTP id kn16-20020a170903079000b001b01e010c7emr3099952plb.1.1688175694569; Fri, 30 Jun 2023 18:41:34 -0700 (PDT) X-Original-Sender: ant-DePdjkTX6oTpmi9iPZTz7g@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:32894 Archived-At: ------=_Part_15954_1424925857.1688175693466 Content-Type: multipart/alternative; boundary="----=_Part_15955_1769026244.1688175693466" ------=_Part_15955_1769026244.1688175693466 Content-Type: text/plain; charset="UTF-8" I know that the beamer template includes a way to use the metadata variable `titlegraphic`. But the template seems to be quite basic: ``` $if(titlegraphic)$ \titlegraphic{\includegraphics{$titlegraphic$}} $endif$ ``` Is there any way to add standard image attributes, such as width, etc., without modifying the template? I guess the answer is no since there is nothing in the template that would yield `\includegraphics[width=5cm]{$titlegraphic$}`, but then my question, being mostly ignorant of the variable syntax in templates, is whether it is possible to parse a single metadata variable into two components, e.g., to take the markdown source `titlegraphic: image.png {width=5cm}` and yield the beamer code `\titlegraphic{\includegraphics[width=5cm]{image.png}}` -- 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/msgid/pandoc-discuss/fe93f88c-48a6-4a15-8ca8-1a6f865549a2n%40googlegroups.com. ------=_Part_15955_1769026244.1688175693466 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I know that the beamer template includes a way to use the metadata var= iable `titlegraphic`. But the template seems to be quite basic:
=

```
$if(titlegraphic)$
\titlegraphic{\= includegraphics{$titlegraphic$}}
$endif$
```
Is th= ere any way to add standard image attributes, such as width, etc., without = modifying the template? I guess the answer is no since there is nothing in = the template that would yield `\includegraphics[width=3D5cm]{$titlegraphic$= }`, but then my question, being mostly ignorant of the variable syntax in t= emplates, is whether it is possible to parse a single metadata variable int= o two components, e.g., to take the markdown source

<= /div>
`titlegraphic: image.png {width=3D5cm}`

and yield the beamer code

`\titlegraphic= {\includegraphics[width=3D5cm]{image.png}}`

--
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/fe93f88c-48a6-4a15-8ca8-1a6f865549a2n%40googlegroups.= com.
------=_Part_15955_1769026244.1688175693466-- ------=_Part_15954_1424925857.1688175693466--