From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33172 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: iandol Newsgroups: gmane.text.pandoc Subject: Defaults Files and header-includes Date: Mon, 9 Oct 2023 18:06:34 -0700 (PDT) Message-ID: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_18180_1983266943.1696899994947" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3298"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBC2PTEMIZYERBHGHSKUQMGQE3KHZWOQ-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 10 03:06:40 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f61.google.com ([209.85.210.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qq1Cp-0000fi-BQ for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 10 Oct 2023 03:06:39 +0200 Original-Received: by mail-ot1-f61.google.com with SMTP id 46e09a7af769-6c6204b2defsf7035969a34.0 for ; Mon, 09 Oct 2023 18:06:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1696899998; x=1697504798; darn=m.gmane-mx.org; 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=eyOeKK8KYsdaXcq4+8F3SZVAAU04dmOfKcOmCT7XrAw=; b=DuCZmIKHv5fOJjhmb9jZRyByt0dWDmshiQEBxlOAzvbTOKInoiytW+s90UG12hNMlT 5+3pCwC/BA6lG85FsLCXb3rL/EmnfnlNZMe0ICZdeQ67koqihPdix2CabZDYzTWcscHP +LF5wkBS06G220yXWyWDqPFuoTHYPnvTWMJrCbGz3bCo4zEnThVvehu9lAPBe+egjsJk ypGC4/Owa0cuInrIPBQORYkowW+wUrdBnmlr5BfbOkIxQFAhh/XrPA+TaO7GrjEOgKmV bgiaco2zqkNV+XiP44ADwZGj2+dgR8BG3INSBKaog/fU1eDjgM1PeH92FzrJL3hQWhER gxLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696899998; x=1697504798; darn=m.gmane-mx.org; 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=eyOeKK8KYsdaXcq4+8F3SZVAAU04dmOfKcOmCT7XrAw=; b=Jtewih7gS39ufUp3Xo+pxNI2nl3zfVAo3CPUusC3VTCILwuWobd9Qg7yJqXZ2NT4eh rP0LV5yyb2TevFQlhK4uigrX7uLgBVs1aGExFK1TZrHKE/OLknn1k3Yeq2V+K3qSfpRq 0DMplorkWX5Go3GtaLRb0x3MwpzV4QzPgTaOKu3fflnxeTG2PsDpX1j30uBUcd+1Sd5u Ii5e09Jcxgq7ia/u5bfPjc8kFI3dOkoG2yrlkBv2tuzIwfJPkadYRFoQ5LGBdAZyktmp qWuCNxeSGvAahRdM3JgWYCYyhXKqKVxJqPq0JjlWD9Jf5McrVBbcscQqkWhicXrC7YZJ o5pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696899998; x=1697504798; 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=eyOeKK8KYsdaXcq4+8F3SZVAAU04dmOfKcOmCT7XrAw=; b=AooXr/fgq/SPdu3itVSQyQcXzy8vlGVSB3WfB9JpYn3E+PzP93kSmfU5y+/njfh1n0 6h0j8ZrwA+AmAsT9vSAg+cFe8XxoghVJnNUN6F3vxK6Y6S2DYUkTuFZZKNunY6uzGPx+ gGJ2e0K/8bhE3oPnqxMoZHO5ZUhv9rM5OQ2xNgPNPRmM2Y7m9Crr7UipZ9E+THanb293 /G8MdioW0E/LSsgdkH3BIasvzMuWkOFxP6+i8FNEoV2VxAmEo5Q1gkx2r18RJrOFX+sn aYqoIYqfUqKQobQEW1NTsPylUIJMflJB1NC72Xd76PjdVJUQDR7GhnyE9Jatdvv4FT9J Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YwW3SeiC9dTnbQc6vw1qoFMygWhXaxSxtXyzoOlxtjw73A9Qgbj 4QeC/DXy5ag8OJgtihhi2y4= X-Google-Smtp-Source: AGHT+IEtloa8NxoFLc4svwknQW0n5Hf1KX0+Vu32LeDT6GgJQyVpU0qq8eoDmfaIynSvUsQ/AG3ISA== X-Received: by 2002:a05:6830:1452:b0:6b4:5ed3:8246 with SMTP id w18-20020a056830145200b006b45ed38246mr16767663otp.2.1696899998254; Mon, 09 Oct 2023 18:06:38 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:5101:0:b0:57b:ebfe:d8a with SMTP id s1-20020a4a5101000000b0057bebfe0d8als6459248ooa.0.-pod-prod-01-us; Mon, 09 Oct 2023 18:06:35 -0700 (PDT) X-Received: by 2002:a9d:6394:0:b0:6ba:8e4a:8e62 with SMTP id w20-20020a9d6394000000b006ba8e4a8e62mr4964603otk.7.1696899995529; Mon, 09 Oct 2023 18:06:35 -0700 (PDT) X-Original-Sender: iandol-Re5JQEeQqe8AvxtiuMwx3w@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:33172 Archived-At: ------=_Part_18180_1983266943.1696899994947 Content-Type: multipart/alternative; boundary="----=_Part_18181_1714178728.1696899994947" ------=_Part_18181_1714178728.1696899994947 Content-Type: text/plain; charset="UTF-8" I want to use header-includes: in a defaults file, so assuming it is metadata (i.e. converted to variables for the template) do this in my typst.yaml defaults file: metadata: header-includes: | ```{=typst} #set heading(numbering: "(I)") ``` mainfont: "Alegreya Sans" But the output is escaped. The same header-includes text works when added to the document metadata header directly. I'm probably doing something stupid but didn't yet grok what that is... Any help appreciated! Best, Ian -- 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/cd6c5731-19c7-4189-9b45-ab783decfdb4n%40googlegroups.com. ------=_Part_18181_1714178728.1696899994947 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I want to use header-includes: in a defau= lts file, so assuming it is metadata (i.e. converted to variables for the t= emplate) do this in my typst.yaml defaults file:

=
metadata= :
header-inclu= des: |
```{=3Dtypst}
= #set heading(numbering: "(I)"= )
```=
mainfont: "Alegreya Sans"

But the output is escaped. The same header-includ= es text works when added to the document metadata header directly. I'm prob= ably doing something stupid but didn't yet grok what that is... Any help ap= preciated!

Best, Ian

--
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/cd6c5731-19c7-4189-9b45-ab783decfdb4n%40googlegroups.= com.
------=_Part_18181_1714178728.1696899994947-- ------=_Part_18180_1983266943.1696899994947--