From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33173 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: Defaults Files and header-includes Date: Mon, 9 Oct 2023 21:03:39 -0700 Message-ID: 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" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5544"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDW7ZIEHTIIBBHU2SOUQMGQE35K5VSY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Oct 10 06:03:46 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f57.google.com ([209.85.161.57]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qq3yD-0001FS-Td for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 10 Oct 2023 06:03:45 +0200 Original-Received: by mail-oo1-f57.google.com with SMTP id 006d021491bc7-57b63eba015sf6968824eaf.3 for ; Mon, 09 Oct 2023 21:03:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696910625; cv=pass; d=google.com; s=arc-20160816; b=fOL8rVDTC3Sq55RnQ8S5+eZMO/LDwwNCCxbYBEIwRfUYD2INCj3K1V9kya9kxCMqLM 2jr9RX1m3dTBPU6jc52NyFO5exZ0LMJuwXcQql+0/03ywYFIwwqsTPtaJtmBvdnop0PL S/+MdPrPr/d7aRL4qI7Fs/Cn4lNe/0vckyng6NnHlbLM2C6gyGB7xt0378gE16qcRk63 J6hKCIuKO6XoOTcjN50S7K6buUGYt2pv0fLdOqCc4fjsccFBz0e6SYBRQj1HPNyYANdb ZG6v13QjrffbglEMOy6bxYDx0eLN8F9/igQff8eqOBu9bf/thglwS+r3CYfTsiUh80PP /41Q== 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:from:sender:dkim-signature :dkim-signature; bh=ChPytNfsr4bt8GxfuQmm/yJ/TLlB69vqSUNeOgu1tLc=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=tA+6cqmd957dNkFihPPmD5dHc0G0ljQE8uRgBpZAJThfJ4KrtFbQ8w4nKgSsBoV4G3 Irj6rnAlZ0QD2eSZvt4WT3lD8igu5MqEClELu3fmTBtDWq5TxSkXJRznjQu/fd80T7iD t0jPn0rBk3Rs3X5+cgDRDQDAcAfxPAYdNiPbp8u3Jd5j6EIoEJ0mR31Fupjr6oiwVZXH GWA0mkGu3WIxVCvttxp61vsQy5HJYLMbMS4Zetlg70LPBE2pjnIuSLBTC9cksgac0PbS P1KN7BXZ64xB4tOjQeJlVVjAXqssMzgEpww6kuV9A/VODutiPDk+Y7CfMpsg4Wdxtbt2 tpBQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZjESKY4y; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d 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=20230601; t=1696910625; x=1697515425; 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:sender :from:to:cc:subject:date:message-id:reply-to; bh=ChPytNfsr4bt8GxfuQmm/yJ/TLlB69vqSUNeOgu1tLc=; b=UsTbFFD1IAWqaQ+H3KaEBCKNUC+SHC2PTscHTtyTtvWGb02bgFJH+BxGvPVrERrtUl NlHe2zycVESyi9RgwlvW6xlALfLtas7JHpZBzsVUAF65GCHi1sntA2ymWRFkWz8zcg/q P/1QoEY+rZD9WiUcm+LP0vC95DU1lNGTq42MCfTwOPiDBYgkSCG/F+Mnblk5OIcqQlU6 avY/5nIEZ7eBI+A/2vgHk9yb9v+UUT3v0tV+J4MDDXAckvQoiyh2RAZzzSwlBV3hnMjS CIzN8M+gik49wgZ9IjkYHBrEnMVRGRqbkI9wZJX8r5Lj+7g9hIXU DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696910625; x=1697515425; 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-authentication-results:x-original-sender:message-id :in-reply-to:to:references:date:subject:mime-version:from:from:to:cc :subject:date:message-id:reply-to; bh=ChPytNfsr4bt8GxfuQmm/yJ/TLlB69vqSUNeOgu1tLc=; b=hs7s+MKslt4lQeAZ+raueivXCSTcnvbZ3e9kbr1oW1SFZfoXF1SY4omxhQoBiUdY8a 8FCgHJ5Ol9fE+MitVOI+h+P/1JUGPOSOQQGRc4iFYMDPmoZAKYrW2o4GT9Re9sZgmqpz 5ZAvWeMtZnhnhDldKTBgfT1dFVabqSr3XFcbw3DEorJCNXW8gNbCvf2qYgZfDbAW8PTp Qy40EHhL8UnMV/HZMDGVdwFUG3cNHyzh7laMYs5gEH1pW6ivxnBCGcyi/fc967BVY84z qbl9W37c+KPexW1q8vkfiXIL1cwRriDBjXzfTxG/L4f2u4w98p5ixInQ15qj2GIlh0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696910625; x=1697515425; 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:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=ChPytNfsr4bt8GxfuQmm/yJ/TLlB69vqSUNeOgu1tLc=; b=F2UBG42wy11oSaqLZgp4sOs6grEMLxuUyFD4iqFQ7KPfmXqzPxffDlmP4K5Q8Lu+sI yJZvjk9xQkPugLVeJl1xonD7ALwAqPHqDo516+dlAniem3nP20gKHFNEDHr30VhISknq DqIW6/Fl+hyc/zlO9s953N+AQKOmpd7QJ/BPXOe1JLuMOlC7aahvvM4db9noXEYKnJZx YYPUWgeTq9uRoEYp6ohYSnUapNW0f6m1Od38L5erkkmu8jl4RQhkIuz4sp2vD3b9ACBO Xb739E Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0Yypvi7Rkf2rO1TstzGC0qGOS1jMdhymvL55zU7VPQoPADJNzUma sKFgZidnXMhFNG+t7C6QiS0= X-Google-Smtp-Source: AGHT+IGOYBmo5hS5JOTJcrmQKYGrjL5H79ufrPY/QyqRCWvprgk2YfZYYrP/KknkpgR3cv1X6kx7dw== X-Received: by 2002:a4a:6c02:0:b0:57b:3ee3:1abe with SMTP id q2-20020a4a6c02000000b0057b3ee31abemr14042022ooc.5.1696910624881; Mon, 09 Oct 2023 21:03:44 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a4a:3708:0:b0:57b:7aef:9d28 with SMTP id r8-20020a4a3708000000b0057b7aef9d28ls7699986oor.0.-pod-prod-09-us; Mon, 09 Oct 2023 21:03:42 -0700 (PDT) X-Received: by 2002:a9d:4f0e:0:b0:6c4:aa6a:c4eb with SMTP id d14-20020a9d4f0e000000b006c4aa6ac4ebmr17857043otl.10.1696910622004; Mon, 09 Oct 2023 21:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696910621; cv=none; d=google.com; s=arc-20160816; b=qELPwYuwjfZAi/jKx5VmEzNZS8oJv6MmhljVssslwRm8C7N86zVmzvq/rcGqbSIz65 Ik2lDRcMYRGyb/Ha/2ivO99uC6V4VaHWdAeaTebdtVZ6SAkvlc/f7jTgps3iCD71AKa7 lilCGvrqJXWWHNIzfCTTY8Jr3fpBGXE/e1KsYo5w3o20x4zFR0Tr+EDRLYdj043q+LDN +1uI3zmXGSL/uJQp0Lv0TrOL96bqnYV6/IGj1GSnzGthOmhA+qnvwN+EjGTOLJwaTA28 wBIg9TA2LviQJBAPkjWwFKvj0UveOq46Tfm/YpeGu5GwAxJziTsLYblpeRQdFycK2aza u8Lw== 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=8S6Ez+3VQG9I5XbJWJzHhcaqyXBUjf9EcnxeXm9IVu8=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=MNqQvFb9Z3Ob+k7j8sJtkdlo+SBF2dUcGLeEYMV9l0/iSU2eYPi7AJRjecOgeFxKHc bThkYDtPkFXbKVtFvSu1Q4uJBhD07A+WfcAeJJM8HqhgHA/tCOdr3sPbk7yeIQgYJRZj d3OVOa3ZLB93eMGG3BUluQef0xiIcLM+e66YM5AyQNTwBTcnKCGcZAXwVsZcwSMvuWiA nZhTc++FasgS3KcJ6ej/pkA7VmjOptakGHxMPNdYsM6BYTDr3idPOpTqR0n34CRO9yVd 4QI05j1piE2s4VTpWxyC8OqVYwlkclCsviJ7j809z6LKlC3dgciPjltp5F8xA08YnJus TXjQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZjESKY4y; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d 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-x42d.google.com (mail-pf1-x42d.google.com. [2607:f8b0:4864:20::42d]) by gmr-mx.google.com with ESMTPS id ea4-20020a0568306d8400b006c6510a80d7si1285272otb.1.2023.10.09.21.03.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Oct 2023 21:03:41 -0700 (PDT) Received-SPF: pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d as permitted sender) client-ip=2607:f8b0:4864:20::42d; Original-Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-692a885f129so3908365b3a.0 for ; Mon, 09 Oct 2023 21:03:41 -0700 (PDT) X-Received: by 2002:a05:6a20:1593:b0:155:5c28:ea74 with SMTP id h19-20020a056a20159300b001555c28ea74mr17596847pzj.12.1696910620711; Mon, 09 Oct 2023 21:03:40 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:644:4701:23f0:b0b5:4f04:ce0d:a223]) by smtp.gmail.com with ESMTPSA id x10-20020a170902820a00b001bbdd44bbb6sm10398348pln.136.2023.10.09.21.03.39 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2023 21:03:40 -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=20230601 header.b=ZjESKY4y; spf=pass (google.com: domain of fiddlosopher-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4864:20::42d 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:33173 Archived-At: metadata in a defaults file is parsed as plain text not markdown (remember, default files are basically equivalent to specifying something on the command line, and this is how --metadata behaves). So the raw attribute won't be recognized. > On Oct 9, 2023, at 6:06 PM, iandol wrote: > > 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.