From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32697 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Oliver Newsgroups: gmane.text.pandoc Subject: \newcommand in a document header is totally different to a \newcommand in the defaults header Date: Thu, 25 May 2023 21:46:40 +1000 Message-ID: <2AFD24A5-E14B-4348-9520-F233E1854E26@halloleo.hailmail.net> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_D18C6705-3FE4-4BE3-AB86-C3455ADC70DF_=" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5854"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBLMVXWRQMGQEQVEUWDA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu May 25 13:46:58 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ed1-f64.google.com ([209.85.208.64]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1q29Qo-0001KW-Fz for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 25 May 2023 13:46:58 +0200 Original-Received: by mail-ed1-f64.google.com with SMTP id 4fb4d7f45d1cf-513e9c14adbsf2192586a12.3 for ; Thu, 25 May 2023 04:46:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1685015218; cv=pass; d=google.com; s=arc-20160816; b=Dv7HjBoNyTZFcn3IVjNTSO56lEZSgjmW5UxmaBvq+A1EkvLzkMqTGvHh1e0s/PYCpN xEcBxNe/wEIrgrjc+n1KLQh5xg3SLhN5cas7aw2ndTk4LQ1h6oCwKP4KOoq6cW5b0mhu iKh4jr21QTMzVEGROgEeM+hYva40ULD3+YchRM8bNB2XnixUHhT3gaDSUO0II3EgE+CE NvbUan4/INhJhIn8cnqgUy45XnrnyqFS6WEPp+KVk/abXPwgVlURyRzT8XdxGT3jvvrt UdpHMlRb+agW8lMz0Khd0FzGQxSufCojHPBpqnWL/bjWFVTiAhjszG22vN1PwDYVwWAU qBHQ== 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:message-id:date:subject:to:from:feedback-id:sender :dkim-signature; bh=QvGunGOjEqWYm7IRIVVDZtzUrt1eQo9YyAymXwR2GtQ=; b=qD1JIUq5lF9oexBR7MbSnS6oCyVD0/2YehCqM6JDJbTKXa+G7dGr3NZ0UwLgm5vSem mVzmEwLa1eOpbuaJZTDhH8OJoVmNhfrXvwYXD64LsbSb87MCfeHBwnVOVtsmt60qrEDd 7YowZhEdjaiYhH9jJfjXVdoPamCyIsXqPl+j2yQ+dIYV83cXHYxtthbTb3yVb+btNc66 l9TTSSLPbjDWIiPVyCUygT97WotlspBeKwiJjaUal3g6DZE+x5hYn8FQuzEsEAj6mmtg hMKZinokUyCQ+A4XJSuaqKdrB/7zN+tX56pk4LzGeAPXZWaSzpDs3YCjwY0xfdJQnUUS fpRQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm1 header.b=QXQ2tIrG; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VGdGtCt7; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.24 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=1685015218; x=1687607218; 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:message-id:date:subject:to :from:feedback-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=QvGunGOjEqWYm7IRIVVDZtzUrt1eQo9YyAymXwR2GtQ=; b=G+SolLNHXXGoUpSq3YwDhcWUmE97WbuGFCR3td9Ruvx/hJvSAEwyh7bts6DWX9yGzb tuRRy1FqqSlmCuhHywBbQ3oZjcqWERYleJZo3PUZkTHNtRgj7S7pLFRER9U6F86fwaPe nS9UZ+v8Em/AEF9WXXTdJfkAIVqgxINbU1vCSdX9elDVJXDQ28fU6qjK7ccG6BYNwjYF o143s9jAcRW2fyDmoLCN9UYP5xvc8OuNkRH+EgH9WdZ6oup1gH29GaAgQlaC02v38KUx sl9xjeunYzYadBJUjPirOTyoRKGllOKkUf5DJ2z0+iiFz4vrDwCb+0NHGN X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685015218; x=1687607218; 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: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=QvGunGOjEqWYm7IRIVVDZtzUrt1eQo9YyAymXwR2GtQ=; b=PFXym1WZcRautc0B1QUsKOsy8XjpN3nG6KX+gD1u+yhvDvdps3/qizLZAC62IeX+13 dlp6S7HiXN+3xDmsxGYqcKZX+pq8ZFvVMCvSrjCj6ZoV/nagOxyf6ud+1bxdeYfnA1aV 8mfyh1VIyPJLopE4xG0beZXvVypgRp2tFmXn47rNuj/oK3GpLxFrtic1NquoLy8grnzz VelALMWf8AzeRwCLY/tbHTcOEE7GnQRiZwLfdvFa9jznW/DBvc1gz1lMBuw4snuBObFV Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AC+VfDxYUCg4BaJEjz2sr7l8krf6ugyEvlS9f9qROBE1FJHw83ypDCwo oPEiu18FL1m+JN5sW64Q/5U= X-Google-Smtp-Source: ACHHUZ5YhZth1zukUFmbrBp5ZGGYHVhGY1xBnZy+hJoymTRo331tesgPe1Z8zojiXv8aKynHBHaMLw== X-Received: by 2002:a05:6402:6c1:b0:50b:d34c:4710 with SMTP id n1-20020a05640206c100b0050bd34c4710mr3798556edy.5.1685015217197; Thu, 25 May 2023 04:46:57 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aa7:ce16:0:b0:50d:9f1b:98d5 with SMTP id d22-20020aa7ce16000000b0050d9f1b98d5ls161184edv.1.-pod-prod-02-eu; Thu, 25 May 2023 04:46:52 -0700 (PDT) X-Received: by 2002:aa7:cd79:0:b0:50d:889f:3277 with SMTP id ca25-20020aa7cd79000000b0050d889f3277mr4092486edb.9.1685015212395; Thu, 25 May 2023 04:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685015212; cv=none; d=google.com; s=arc-20160816; b=oMV5x9ec/EhxHe9hUHv8J6mrT4LP8HpIP4v74H8tJnXPnUzgFrEhGXrXwbs4ikruTS C1Nesgy88vZvgKzGpQ749I4IAWdh+v0cjvks2mo3OossWuWhLlkMHfQU0LpdlUCBVJ2V oJzeI4bMhZwI0EZVm0ly6WzS3okXq5oxmOUsv7ffb82i403WgLYpeNFJmkmb2zeDYOln Gpf+xKTdwAoO0WXYZI7BeInPazkGNa8yZ7xEBlsKbURZGTkKtSjRHSFw4bbcJghIKrWb cZwvrkW+q2WquOY8RIibyypGqb2AEAwwbZ9+1OwI44TNHNVQIVwkH3oVOcLJVMqECRTc QaQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:feedback-id:dkim-signature:dkim-signature; bh=hQxLSYaNMJEg/WYLDicznXHyxsnTEYwvA4uKprRlcTQ=; b=MEaifD/tz0HUoQFmRZra19wbITxUYqNsn5iIS8kZLBERrzGLFNqNPUBBPWm1pq4vDO 8UuePxxSPr6JJ/lKw+QBbADDbcjjIYKXISR3yag6o1Gu6GLE5eW6jgJjhP60Sba1GxFJ VPxTEllwIm5isbJ0HVUwjT7P7YCDZURA1CPh/4ljCjHpprpVl0+6bjG1kn1V01sC3STO bL4KfireVAfzLOXL2dw7AnlkUHNhxzUnYqJaJ+zLEAp27XTfoKp8KCBZdqgC0TlG6KMk 1VjBGkF3q4n7lf1AvkEj7NukDoj0R2YcRB0gWJcxKWU/nQlQA8fs3h+CjCQbBZ+TV8wc n/hQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm1 header.b=QXQ2tIrG; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VGdGtCt7; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.24 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 wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com. [64.147.123.24]) by gmr-mx.google.com with ESMTPS id b6-20020a0564021f0600b0050bdc0e7cf6si74956edb.5.2023.05.25.04.46.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 May 2023 04:46:51 -0700 (PDT) Received-SPF: pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.24 as permitted sender) client-ip=64.147.123.24; Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 0EE4F3200917 for ; Thu, 25 May 2023 07:46:49 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 25 May 2023 07:46:50 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeejjedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffokfggtgfgsegrkehmre ertdejnecuhfhrohhmpefqlhhivhgvrhcuoehnvgifsheshhgrlhhlohhlvghordhhrghi lhhmrghilhdrnhgvtheqnecuggftrfgrthhtvghrnhepfeehtefftdffgedvfefghffgvd dtgeelfeethfegleehtdfggeekkeehgfetkeeinecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepnhgvfihssehhrghllhholhgvohdrhhgrihhlmh grihhlrdhnvght X-ME-Proxy: Feedback-ID: i02894466:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 25 May 2023 07:46:48 -0400 (EDT) X-Mailer: MailMate (1.14r5937) X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm1 header.b=QXQ2tIrG; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=VGdGtCt7; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 64.147.123.24 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:32697 Archived-At: --=_MailMate_D18C6705-3FE4-4BE3-AB86-C3455ADC70DF_= Content-Type: text/plain; charset="UTF-8"; format=flowed; markup=markdown Content-Transfer-Encoding: quoted-printable In a defaults file I have e.g: ``` variables: header-includes: - \newcommand{\mydef}{My definition} ``` This will provide for the TeX document the command `\mydef`. In my Markdown document I have ``` --- header-includes: - \newcommand{\yourprop}{Your proposition} ... This will *not* provide a command `\yourprop`, instead every time when=20 in the source `\yourprop` appear it will be replaced *by pandoc* with=20 =E2=80=9EYour proposition=E2=80=9C. Where on earth is this behaviour coming from? --=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/2AFD24A5-E14B-4348-9520-F233E1854E26%40halloleo.hailmail.net= . --=_MailMate_D18C6705-3FE4-4BE3-AB86-C3455ADC70DF_= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

In a defaults file I have e.g:

variable=
s:
  header-includes:
    - \newcommand{\mydef}{My definition}

This will provide for the TeX document the command \mydef.

In my Markdown document I have

---
header-includes:
  - \newcommand{\yourprop}{Your proposition}

...

This will *not* provide  a command `\yourprop`, instead every time when in =
the source `\yourprop` appear it will be replaced *by pandoc* with =E2=80=
=9EYour proposition=E2=80=9C.

Where on earth is this behaviour coming from?

--
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/2AFD24A5-E14B-4348-9520-F233E1854E26%40halloleo.h= ailmail.net.
--=_MailMate_D18C6705-3FE4-4BE3-AB86-C3455ADC70DF_=--