From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32914 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Oliver Newsgroups: gmane.text.pandoc Subject: Re: How to add to header-includes? Date: Mon, 03 Jul 2023 18:46:12 +1000 Message-ID: References: <6D8F810C-361A-44A1-AA2E-FA22B318A2C2@halloleo.hailmail.net> <87y1lgqvuz.fsf@zeitkraut.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_EF9F5516-78F0-41E6-B7BA-6CB02FCAFF78_=" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1714"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBW4VRKSQMGQEMHVSESA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Jul 03 10:46:25 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f61.google.com ([209.85.167.61]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qGFCT-0000J4-0B for gtp-pandoc-discuss@m.gmane-mx.org; Mon, 03 Jul 2023 10:46:25 +0200 Original-Received: by mail-lf1-f61.google.com with SMTP id 2adb3069b0e04-4fb736a7746sf3842538e87.3 for ; Mon, 03 Jul 2023 01:46:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688373984; cv=pass; d=google.com; s=arc-20160816; b=K8X0T0GttmSporbbbT8pMUMBlekon74irBsZHXmay877+kX4UwMs1T3BQMF0D7Oog+ D/Mdf/LjROffmEySNlICkR1NMR7B63ft5556T6hRdQ/cX9DzxuySSfUGF6bqZYtDZsxC u7+zKk9tRvN9o2pDAvDpUv21Ok+omQSGbkmmtZaonL+aPMmLMG+pxe/rIzCJVxjiGBnW N1UG4nOFGaYny+f9Lc5YaFwk/1xvrkha4n2bVim9H3/j+75ta0QHPOGQYrNzeTFhQ8Rn 7E5Aq7+PPFM9ou3ynNDhbjM/Pnw2Yrm7Z+Uo+vNfud02pDaNJn0bWHN9yi4uSXh+Tpyq Fakw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :feedback-id:sender:dkim-signature; bh=QTABIuTt++2ebMUkBv9MsxU3jtSL2YzTBGeOKi1W5YI=; fh=WilDeuJr2kCYCFTuMedNeSS3diAl/X6Ns7GjUd6TCLY=; b=KghiEAYn3fDu88lhP54/3mBBkjbKmlA9dCsRaBrguCblO5bM4xdnHNQkMZceeSdyVj Qqt5i01P+nWvFLKswQAC0DtEtrbAFd88XWAqvVFAlLyeUj0xyAmxkbpPkNcDwFcDvEay HeDGP4ovr7WvjUfcNE87wnCmKnI3rK+I8Jzwi2MkipetsMAKyj8CViLXILsd5aYjjL1Z lRzOCBDOY70zPWWX293w3k8cf+NX8+Sc7LUotAXxGnhX3W49HfSjq2Tdx1xEFHzipC4K oM/NffRDPxsvbWsHPSjo9NLT0yXpF9MYhEoitemfwH7oTC3ebcO724/rD0UwQBcbmn4i LYJg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm2 header.b=jNwTwe+Q; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=g54RaoY6; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.28 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1688373984; x=1690965984; 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:feedback-id:sender:from:to:cc :subject:date:message-id:reply-to; bh=QTABIuTt++2ebMUkBv9MsxU3jtSL2YzTBGeOKi1W5YI=; b=K2jvPiIsRlqwAvhDWKUGevVqGb8cBF34PV7LAjkWBGlyiVhA92uSVDQSTz+eFeSgrl VJiyfwCFOkNJJwJr3iwb/mpvERIdL0pYIpaGOserx7k38HL/BfJb6Ld6jKBMhE3SCuse 24sySqFJ2yKV+iaNh30DdUChT+ofnSTBEvTbBUwebAJReArOhQxmkp+v7m8YFIvuIja5 +OlBeU0h9iL6jFndjyPbadJbUryvhqZm7ehr4XsNEZfae8Kg9cfiYPpiqeyCUzBQtptS ijUk79bRhVGTNyQyq6W88aaIL X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688373984; x=1690965984; 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 :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:feedback-id:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=QTABIuTt++2ebMUkBv9MsxU3jtSL2YzTBGeOKi1W5YI=; b=MB/Sx7+fM5Qv2NDIxd5x2pRoDwvrMoV9qKYntiuxNhIzKyDuCJAAyhwB5jjl3N6RD1 5gw+qChcTYDhST6lUmdBkWCtQvNYl5aila/vyGS74yTrnbFYaLHFMX5rH31rJclSPi8l mmy6nbULFsKd8r2qms784wKmn2/IgAV2FbFHSMdKJ6lFna2Wy6xpQMQSqtv0X2Wps0tP L7SQnl0yszSxgB6ODAQ6jhNt/CBBvtpGBYVx Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: ABy/qLYWYun/KYihJVcztAO3iIgWA0/huzuEtBPxPS29DH5YCW0O4knR QJHO0fFcLmQRwk+mrR8ud0s= X-Google-Smtp-Source: APBJJlFVdfS3NSvHHYVhb1QKwKoaDR3Wte4F6b64Mve//uRd/PHh0+bOuMSMExBMuzU78BQkEAB+GQ== X-Received: by 2002:a05:6512:2148:b0:4f9:5ca5:af23 with SMTP id s8-20020a056512214800b004f95ca5af23mr5295960lfr.9.1688373983722; Mon, 03 Jul 2023 01:46:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a19:5008:0:b0:4fb:7be6:88e with SMTP id e8-20020a195008000000b004fb7be6088els248356lfb.0.-pod-prod-08-eu; Mon, 03 Jul 2023 01:46:18 -0700 (PDT) X-Received: by 2002:a2e:92d5:0:b0:2b6:e332:1d6b with SMTP id k21-20020a2e92d5000000b002b6e3321d6bmr2172781ljh.52.1688373978180; Mon, 03 Jul 2023 01:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688373978; cv=none; d=google.com; s=arc-20160816; b=K+jb8l4XHV0LkZky+jyV7HtvkqTYqNwneSRcKyZjo4IAX+DUHHJCudsoEOnh6jr/QU pNFg5Y/ggwha5mpUh5yJ1g3vYds0kn3dl/DpdhpKWUamq14tJ8f3b2TFndjzdzoJT0Dq xyHw/DNl0GJr2HOiP3F3qIB7fr4s7MnURONPZqNzILSqkczv9dbWJVnYWlzwB69ncpbV HcwPjBZ7VRR6+gCNrYAO9lnU10v2Pz7vl5NYQJq6kBSBVx77FJK+QG9Hmb2PhxJgbvdB we5QSangxjbXnc5G33Xv7q0uEnJbkvTFwVgwxXjpdtDUTU//B4sdcSyWCI7kZd6TFdcJ FPjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:feedback-id:dkim-signature :dkim-signature; bh=mzDLQe6ZhjGh7oQAauDBs3Qy6kd0R/ZIoHhHNWNSkwo=; fh=m01AhCNo7xUywHldCVYouaJypLlN7JgtNYbImzBf4N4=; b=1LI06lnSOAlsWmcytyNJh0rMogQHAhowc96zkYZ0wrwq+tVMk8YMPktwPawa/o+Vf7 oKiIJTRRpkaplLkxzTqweCUxNlaN2q6cQEJwXyBtwFf6qMfMWBpz8TD+icyIMRB1JbH4 JOUDbQKMRRpqYLEONGyT965pLvP1w7vFq0XmzHvV79IljHXYZ3e3iudShdIg9BdZaoV6 8yyu/R0bDSVcQudQwCSCRmCbj+PvJnHryo1j6MDrZI59MYq76JsuKBOYy0FatmUYs/sM MQ2uuKfV/BIJIBPuzzWRmshEKEqK8N8f66OZ0gUe0iWkAWlqqIpybT/BPL9s6D7++SOn 58tg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm2 header.b=jNwTwe+Q; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=g54RaoY6; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.28 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net Original-Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com. [66.111.4.28]) by gmr-mx.google.com with ESMTPS id x19-20020a2ea7d3000000b002b6a63b9bb2si968385ljp.2.2023.07.03.01.46.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jul 2023 01:46:17 -0700 (PDT) Received-SPF: pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.28 as permitted sender) client-ip=66.111.4.28; Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 4CB875C01F2 for ; Mon, 3 Jul 2023 04:46:16 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Mon, 03 Jul 2023 04:46:16 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvgddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffoffkjghfgggtgfesrgekmh erredtjeenucfhrhhomhepqfhlihhvvghruceonhgvfihssehhrghllhholhgvohdrhhgr ihhlmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpefhteduiefhvdffjeeigfejte etkeffudfgudegudffgfeifeffgfehffffkeekjeenucevlhhushhtvghrufhiiigvpedt necurfgrrhgrmhepmhgrihhlfhhrohhmpehnvgifsheshhgrlhhlohhlvghordhhrghilh hmrghilhdrnhgvth X-ME-Proxy: Feedback-ID: i02894466:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 3 Jul 2023 04:46:15 -0400 (EDT) X-Mailer: MailMate (1.14r5937) In-Reply-To: <87y1lgqvuz.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm2 header.b=jNwTwe+Q; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=g54RaoY6; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.28 as permitted sender) smtp.mailfrom=news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hailmail.net 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:32914 Archived-At: --=_MailMate_EF9F5516-78F0-41E6-B7BA-6CB02FCAFF78_= Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable Hi there In a markdown document I can add for the LaTeX writer the following in=20 the YAML metadata blocK: ``` --- header-includes: - \usepackage{tikzsymbols} ... ``` Then I can use in the document things like `\Cooley[-3][cyan]` and more.=20 :-) However I was not able to add this `\usepackage` declaration to a=20 defaults file. I tried in my defaults file `myarticle.yaml` the=20 following: ``` from: markdown+raw_attribute metadata: documentclass: scrartcl header-includes: - \usepackage{tikzsymbols} ``` but then I get the Latex error: ``` ! LaTeX Error: Missing \begin{document}. [...] l.46 \textbackslash ``` Somehow the `\usepackage{tikzsymbols}` command is now =E2=80=9Eescaped=E2= =80=9C so=20 that the backslash get printed out... How can I avoid this and give the=20 `\usepackage` declaration in the defaults file? Thanks for any pointers! Oliver --=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/CDCA3285-4D99-40FE-B54D-603494C2B62D%40halloleo.hailmail.net= . --=_MailMate_EF9F5516-78F0-41E6-B7BA-6CB02FCAFF78_= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Hi there

In a markdown document I can add for the LaTeX writer the f= ollowing in the YAML metadata blocK:

---
header-includes:
  - \usepackage{tikzsymbols}
...

Then I can use in the document things like \Cooley[-3][cyan] and = more. :-)

However I was not able to add this \usepackage declaration to a d= efaults file. I tried in my defaults file myarticle.yaml the following:

from: ma=
rkdown+raw_attribute
metadata:
  documentclass: scrartcl
  header-includes:
    - \usepackage{tikzsymbols}

but then I get the Latex error:

! LaTeX =
Error: Missing \begin{document}.
[...]
l.46 \textbackslash

Somehow the \usepackage{tikzsymbols} command is now =E2=80=9Eesca= ped=E2=80=9C so that the backslash get printed out... How can I avoid this = and give the = \usepackage declaration in the defaults file?

Thanks for any pointers!

Oliver

--
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.c= om/d/msgid/pandoc-discuss/CDCA3285-4D99-40FE-B54D-603494C2B62D%40halloleo.h= ailmail.net.
--=_MailMate_EF9F5516-78F0-41E6-B7BA-6CB02FCAFF78_=--