From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32475 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org Newsgroups: gmane.text.pandoc Subject: Re: Embed command line options in the Markdown source Date: Fri, 14 Apr 2023 10:56:17 +1000 Message-ID: References: <844066b9-163f-4890-b981-74545070ee6dn@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=_MailMate_77AB63C3-E3B0-49BB-B62B-60C15F58F2AD_=" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24021"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCEMPL7DTEMRBO6J4KQQMGQEPHA6EGA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 14 02:56:31 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oi1-f187.google.com ([209.85.167.187]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pn7jr-000635-FQ for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 14 Apr 2023 02:56:31 +0200 Original-Received: by mail-oi1-f187.google.com with SMTP id j10-20020acab90a000000b0038c3c55cd6asf69658oif.3 for ; Thu, 13 Apr 2023 17:56:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681433790; cv=pass; d=google.com; s=arc-20160816; b=TzSNcguO3rcS3crup/Ac128DO467o9FfPpi+1rvoheMGvYJraY/VLragd0BsOhtAyM OLlA1/fPCtpHUiYxyF1ndLCxSaYcvHnHsAkX5O/rEkbmGHaMHhNUXtDTcEkfYJ3ujwxG HnMdEQSWErYcImxJC7dbWzQ53a06PZLY12n9bPEY/REJIUxkhWmPjQ7NGIGHnT3Qha0h +08f1DvIUVct146qRcPMqSdw6j7fA51gzzTpKatahjteL8y6qUbjxbmEbl9EzndHH1fn ZYqM3u1pi+sZ7V5gb/qB461KIqsc02fZcYG4KeE8WEUY6s6Yox6rAzuy5uNVUXsA01Ux xjBw== 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=M5BBBpephfRytBCBPH4ciN4UpIE9cr+ZBakQvnTGRKg=; b=nPozlXebQFGmNYmX/KKAAlFg98MUtOIgmWsPn+yr7t6Xf+Ga3VdjvY4wa5yuGuuf3q VS0R0yre/1EWsiP398RGuweiOUm7dHmqUEH1LaXUPCrnbu6KU+0H9rJw4U2M2oBi7VsX BNTGS/gj766k5DQJrNtldmYSvZEyy/Coo5m089IPjblc3hTqYAuQxOIiaB0PhtvjPaTk PTpIh+elS/Z1NTn4MZggQc/FCf/xhCuRG/8tsOUb4TMhHGyEZuckafCVYi2CLkM2qXuW unM7qyg7oZCTd++4B6KnV/0umjA2WiWxxmn8dFJvJuvmzJkNpl7W2KCIfNGmvErq3OKd OdOA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=E48GlO8W; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iCR55eme; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.29 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=1681433790; x=1684025790; 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=M5BBBpephfRytBCBPH4ciN4UpIE9cr+ZBakQvnTGRKg=; b=qrD8aTU2gCpdaQowFAUcRg3rVwDUfqh7dufVOvfK0wGZPs+Mf20jjwTVffkVMr8KFY w5MEegBKzTehuXR32gTscvfgFLcDwHkj9RMROKNiwvMyhpZDcHWlhVxLzWU7OJYa3KU9 DpHOydwypiasL+wfxSn/o3T4eHWlADWdxl5O65BdLfgzSmop7vQuGVM8fkSv5C021gBu GYNXfH6ACAwRjOTOiHJsvxvkPhFrD7QApGml5RTxmWkFx4zji9n9MbyVtTKuQuHb8uOW /Ip3QJ7BH27m/Rq8l/tqFobr3 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681433790; x=1684025790; 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=M5BBBpephfRytBCBPH4ciN4UpIE9cr+ZBakQvnTGRKg=; b=autIY8WLPJLMwhxlsDP2QjFGCIXSqPc9Bo+kYFNCB4zcyzL/11TZxSkS+1UU+S2Lzx 8cLes6V+Nmvtn5fhFW8eEOkdRPRGpU/WRrR/fSjS3It6+c9qZuSwnBVqIxuYKDubjqF2 P3IqoFIAElcBBbt9yuTFTGQp/O7otRvvMKvRheht/ftoEyslcYxaClUV8q3vLDHkCCC0 myLckxuHRjznbq/x5Ukpw67sQkHgChbWcUHO Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AAQBX9dsTIfOZVxa+xwq0cZ+WdviOUDkJGQNofhS4TGpDBNg4mrai3xr 7Im4m/WXypiyaAugQ3co9CY= X-Google-Smtp-Source: AKy350a/9wD1ok1pC+oG/Ho6LgdJWy1tUZr+g9zmwdO9MuxpNbcQjrfpc7usJD5C4StdR8f7Ts9/vA== X-Received: by 2002:a9d:63c9:0:b0:6a3:1eab:dbdf with SMTP id e9-20020a9d63c9000000b006a31eabdbdfmr1140450otl.6.1681433790235; Thu, 13 Apr 2023 17:56:30 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6870:2429:b0:17f:d72e:3ba5 with SMTP id n41-20020a056870242900b0017fd72e3ba5ls245532oap.4.-pod-prod-gmail; Thu, 13 Apr 2023 17:56:27 -0700 (PDT) X-Received: by 2002:a05:6870:d626:b0:187:8ee8:5f2d with SMTP id a38-20020a056870d62600b001878ee85f2dmr3082916oaq.7.1681433787560; Thu, 13 Apr 2023 17:56:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681433787; cv=none; d=google.com; s=arc-20160816; b=UGKSjAPJTxks8jvs7ZbJLaoYsBDE7AgPVUw+CbJLVYDPT4CuL3Ec1K9jVGA87zTrzC ciasC2iSoHqd19AcVbxCngNhYq0E2J7BvBFN+WPGfbX+qhRZ6l6IaC+kd8XwNQp9moJ1 JdnTVjufB1+++ofxviAwTnfyq3ZvE6BSAtLE766qxHhsRD983Cchi+h9iAf4joQXOQy8 W7CI8pNt5WvD3ZK3vLVgw0BSuQmHEWyVgel3HGKsWdwlNX9IKPyi7Y2UFjJBn17dW9E1 4cLAz+IhOXyWQv5P6f+qnf9OpQigGonVLVfJIrn4oSuUDx8TXa+2A6I5Y5INJk3ttA8E ehHg== 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=JXwCExO9ucQ/oE/zx6XUO7bYZih1Un+mEUOgm+Ixg5M=; b=N00+SLNhtEqb7SYTuSoHi7jok5EW8v2+GOqLj+esl/JEMEbZwFSVhn4dKzUAql7LG6 UB1Y8e6Vp3qNczI0+T9V3qrnZLf7tuwYGX8IHzwL5FiIJMrhAZYrdVffPh/G0L9fdjGy 3NDveIyhkOAs81ESPh0r+UrUOtfqgk0LlBwKeFab/EYiZuZqC0HPf25uWtFn8y4SoT7C aIGNAuvr7Q2eEykhn2ILH8YW/E+Yi+bO4qOzu2PSdFWPKO9swMoyjxAY9pNizAuRdWQT lkMP9y4L62dylaXrkVJkHE9C3U64fI4bk19lLrE3nan+0lmL0NC1oArF27jjnA1IRbcj FTaw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=E48GlO8W; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iCR55eme; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.29 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 out5-smtp.messagingengine.com (out5-smtp.messagingengine.com. [66.111.4.29]) by gmr-mx.google.com with ESMTPS id cr2-20020a056830670200b006a11f21462fsi434043otb.5.2023.04.13.17.56.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 17:56:27 -0700 (PDT) Received-SPF: pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.29 as permitted sender) client-ip=66.111.4.29; Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 844F15C00E9 for ; Thu, 13 Apr 2023 20:56:26 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Thu, 13 Apr 2023 20:56:26 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdekledggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffokfgjfhggtgfgsegrke hmreertdejnecuhfhrohhmpehnvgifsheshhgrlhhlohhlvghordhhrghilhhmrghilhdr nhgvthenucggtffrrghtthgvrhhnpedvudfffeekhfefjeekfefhfeeifedtudffueehie duieeljeehffettefgjeetieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehnvgifsheshhgrlhhlohhlvghordhhrghilhhmrghilhdrnhgvth X-ME-Proxy: Feedback-ID: i02894466:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 13 Apr 2023 20:56:25 -0400 (EDT) X-Mailer: MailMate (1.14r5926) In-Reply-To: X-Original-Sender: news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@hailmail.net header.s=fm3 header.b=E48GlO8W; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=iCR55eme; spf=pass (google.com: domain of news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org designates 66.111.4.29 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:32475 Archived-At: --=_MailMate_77AB63C3-E3B0-49BB-B62B-60C15F58F2AD_= Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable On 12 Apr 2023, at 22:48, denis.maier-NSENcxR/0n0@public.gmane.org wrote: > Could you use defaults files for this ? > That would reduce the amount of needed command line options to 1. > > pandoc myarticle.md -D mylayout Thanks Denis. Maybe I miss something but isn=E2=80=99t -D just for *orintin= g*=20 the default templates? (Or has this changed in pandoc 3?) In pandoc 2 the `--template` option does this, but it feels cumbersome=20 to create full custom template when I only want to increase the font=20 size to 12pt=E2=80=A6 --=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/CBF27702-32AA-4A20-B546-15B0A8C5B05D%40halloleo.hailmail.net= . --=_MailMate_77AB63C3-E3B0-49BB-B62B-60C15F58F2AD_= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

On 12 Apr 2023, at 22:48, denis.maier-NSENcxR/0n0@public.gmane.org wrote:

Could you use defaults files for this ?
That would reduce the amount of needed command line options to 1.

pandoc myarticle.md -D mylayout

Thanks Denis. Maybe I miss something but isn=E2=80=99t -D j= ust for orinting the default templates? (Or has this changed in pa= ndoc 3?)

In pandoc 2 the --template option does this, but it feels cumbers= ome to create full custom template when I only want to increase the font si= ze to 12pt=E2=80=A6

--
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/CBF27702-32AA-4A20-B546-15B0A8C5B05D%40halloleo.h= ailmail.net.
--=_MailMate_77AB63C3-E3B0-49BB-B62B-60C15F58F2AD_=--