From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/32477 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "'Marek Stepanek' via pandoc-discuss" Newsgroups: gmane.text.pandoc Subject: Re: Embed command line options in the Markdown source Date: Fri, 14 Apr 2023 17:10:42 +0200 Message-ID: <5D6FAD4A-3DBF-4D24-8B7D-72C7918D1089@googlemail.com> References: <844066b9-163f-4890-b981-74545070ee6dn@googlegroups.com> 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" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21049"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBD6M3P4AXQHRB5OZ4WQQMGQEDZD6M4I-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri Apr 14 17:10:51 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lj1-f188.google.com ([209.85.208.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pnL4d-0005Gv-AK for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 14 Apr 2023 17:10:51 +0200 Original-Received: by mail-lj1-f188.google.com with SMTP id s9-20020a05651c200900b002a76fe67ef4sf3737548ljo.1 for ; Fri, 14 Apr 2023 08:10:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1681485050; cv=pass; d=google.com; s=arc-20160816; b=TPmJiYHPizACrbaixcTwpEPd5pNN9FgXJ4pG1FeqGs46Ko/SJfDXQEvoz/ulnUp4My 4kg4P1jntucwR6sf8vnrdRVSz37Iop/Po9E0Ncpc3U08r7Lkex8x1vi9/pm8945wFtXF KXyFw0x+jyXa1cx215AOeh3dNRUEgPj8qynuUDSQuR3MlbZE7FXwi0x6moUPnqle7vrR ff7eWdMtgZz761bZa65LQ+SsmlKJN4ASJJs+B9pk3lRrW7thTqTQxH3eiQoDstpR7pY4 attyTEGq9C3jhc/3ej703uwva41YS0SXG3vYI9kc1DJb2a/wMj5QrbdUqs/I1YHVqtCN DirA== 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:content-transfer-encoding:from :dkim-signature; bh=6Kz43+fTbMS+1thgW7eeb8Hj0cmFIwaAsoFq9/gHs9w=; b=fRAhfDIy9Zk3K4XdqAeJcY8TnlQVzOZhaiYBMj7nNyuZEgVoROvN5PxF+Yvg8T60X+ I5OGNllEuiz6qiAmrGeFra+DccyudTjUI4BbziutzJYoTmaMK7WgNqfXCuMoRSiQB7rp 0SHpoTWHRn9yAHZR+RaB38OGEcY6pXFaePdttwHlOjIdzR1NUttlmdzzwIRAf3GblFxz P4RcrOGpJvy2yk6MMB28PsZEKSiTn2HVX4Y1V6nhqBzOH1rrjvCS4wipH30KrQoMUmQP UgvZpC1nsTznVAfvcmmfVV582RiSigjUVmUfnLZfGwYZrnEfqkgtKAygqv+U4Mg6RepS 0yzQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=nFqgxSq7; spf=pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1681485050; x=1684077050; 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 :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=6Kz43+fTbMS+1thgW7eeb8Hj0cmFIwaAsoFq9/gHs9w=; b=rlZPUsz7MobCuVTywxl1x/r2ToWpktkBPLBQZgiU5HiXTkOMOJC3gE9k6mYv8ZKoio nMsZTqZa7gQ50HcswjZn2LGWdEYgMX4nLRTUzOKRH5n7/kHVk7MdUq62etwuImbqmP6/ tzX6wD1sW6My/UkgSYlkUI+JueWeXsFX142d1NYMHWuWYjXj730JkkShaN77s5awEjwi /it2lzv/6IwPAWsyO3XtmRdshGvmrfIlpcRFtyWd49YpRReLgPLOKHjzkRAzB2RooS+g bWPIiGZzPX2THk2mqMUOXHmNTvbAN3BFPPivbbGpsfJy X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681485050; x=1684077050; 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 :content-transfer-encoding:from:x-beenthere:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6Kz43+fTbMS+1thgW7eeb8Hj0cmFIwaAsoFq9/gHs9w=; b=YKhyM82jntCeElpfRbVrKlYL4L2gvmVgyrmjyltORTZnmv/qJ5Y7ITVAXiPYzF0PMO 2/gK0xK2JXn7CLzfbXsOGRrNhWPBLDaLXuyrY5SPWAN2oiQUhuyuLWI6aOYRkZ6X87S7 587ZMjDkXzewEI+k4r9hjhNnMcxApuFZihlBNXdbUlLHOPGyyQ7sILt+c/DGVWbt9pJc oYdZFz6mTFlKRN8/fjqXU+1s4wDPGPh+rGqwnqmTyhYng0zxy9OBlM5ktadFGsr9E X-Gm-Message-State: AAQBX9dkBARFlT3m9S7VIc/5DxBmpXNfC69T6zJX1L2Yv5Po3Gclm+GL xB5fEy+7MmyixwVtj1nfN5c= X-Google-Smtp-Source: AKy350aaRfQ4nQTsvDGHjo0e65zIoJjSAswh1DMTVtOtjjqvPdr+FwVOYYbo1fL/Ehv0vF408rbRPg== X-Received: by 2002:a2e:81cd:0:b0:2a7:a691:f5f2 with SMTP id s13-20020a2e81cd000000b002a7a691f5f2mr2092481ljg.8.1681485050684; Fri, 14 Apr 2023 08:10:50 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a2e:a911:0:b0:2a7:6880:576b with SMTP id j17-20020a2ea911000000b002a76880576bls2209455ljq.3.-pod-prod-gmail; Fri, 14 Apr 2023 08:10:44 -0700 (PDT) X-Received: by 2002:a2e:9384:0:b0:295:b0c6:834c with SMTP id g4-20020a2e9384000000b00295b0c6834cmr1844348ljh.41.1681485044283; Fri, 14 Apr 2023 08:10:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681485044; cv=none; d=google.com; s=arc-20160816; b=S1IWPRuFjUYDPGqjnaJk0zdUIVA3PnLyfw/qQmesn0Oo36WpJUGDQzTvIdGucKb4Ma hMw/Sr4l1EvBhq66i+Ez+tZ4ubGMc1oBB8Md2uiPrcwtDyiQLoW2HD3JosVmkJAQaIX+ PhHU2H2ivHU4xi4qCKlUgzC/pBCBWWZA3b6OBN3VAJA1qZkQe/IZTEejotip603O3bXg maUm9lTM5q68V39g4VQDsWmuX+ZPM9H9d8XH++ykLFbz1hd8ZKVEjDOGj7vqq9dUqInV nrPNNSZX0D9J3Zo+X1jEw4IsXy1ZDRHVbycn2zTiuhrUSH1TZHZLKAJWETzn0bpukSin Q9Mw== 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=s47BbmcVML9yBwL+85Jforhdmg8k5dwPHq8WxSbo9zc=; b=iS3bvuFHptVR6DrXStWAjrPqpRkzx9BMFb47eoWbnsiaejDwlnLVrBmcgaYn12DyNU 0qDnifMyEPtri4qfFFTNehcIpalGw2iFQZWuR+agKmjsJkUuyaZAWwye5jb38B/Q1Gcn v3IePXsOE8q9eJ5Fg8ydvbpY2CApDzAikpJCoPf7AKNmH69HztjLsGZ8D/9AtrPn+tj5 K8fd1sG5z5fe6PYby05r6aaG9JkW/lbE8ipsTR2C0lO7wybhBgFH7coi5PrhTQ0C0yjR vXwq9x8qAjIKyUEhpQlRpn9C04uXn/xM4zKhrI26uQyZ6Cq9MTOgS0Bl9CVQneM2xKRN wIgg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=nFqgxSq7; spf=pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Original-Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com. [2a00:1450:4864:20::435]) by gmr-mx.google.com with ESMTPS id i184-20020a2e22c1000000b002a8b2891ba7si21312lji.1.2023.04.14.08.10.44 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Apr 2023 08:10:44 -0700 (PDT) Received-SPF: pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::435 as permitted sender) client-ip=2a00:1450:4864:20::435; Original-Received: by mail-wr1-x435.google.com with SMTP id j12so1600356wrd.2 for ; Fri, 14 Apr 2023 08:10:44 -0700 (PDT) X-Received: by 2002:a5d:6687:0:b0:2f5:d0f:744a with SMTP id l7-20020a5d6687000000b002f50d0f744amr4764324wru.12.1681485043310; Fri, 14 Apr 2023 08:10:43 -0700 (PDT) Original-Received: from smtpclient.apple (p200300ee4f0d72003d02e1ded5a21750.dip0.t-ipconnect.de. [2003:ee:4f0d:7200:3d02:e1de:d5a2:1750]) by smtp.gmail.com with ESMTPSA id y18-20020adff6d2000000b002daf0b52598sm3770977wrp.18.2023.04.14.08.10.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Apr 2023 08:10:42 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.3) X-Original-Sender: mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@googlemail.com header.s=20221208 header.b=nFqgxSq7; spf=pass (google.com: domain of mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org designates 2a00:1450:4864:20::435 as permitted sender) smtp.mailfrom=mstep.germany-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com X-Original-From: Marek Stepanek 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:32477 Archived-At: I suggest to invoke (in Vim only ":! make") a Makefile with all options in = it. For example: *** all: save typeset open .PHONY: all save: w typeset: pandoc \ --from markdown \ --to latex \ --out anna_kareninaI_12-17.pdf \ --pdf-engine xelatex \ --verbose \ --citeproc \ --csl csl/din-1505-2-numeric-alphabetical.csl \ anna_kareninaI_12-17.md open: open anna_kareninaI_12-17.pdf The save is for Vim-Editor ...=20 greetings marek > On 14. Apr 2023, at 07:31, denis.maier-NSENcxR/0n0@public.gmane.org wrote: >=20 > Sorry, I meant -d > (Lowercase d) > Or --defaults=3D >=20 >=20 > ________________________________________ > Von: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org im= Auftrag von news-WPTjrydoUPgeaOpM6FAJmQkbCANdLtlA@public.gmane.org > Gesendet: Freitag, 14. April 2023 02:56:17 > An: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > Betreff: Re: Embed command line options in the Markdown source >=20 > On 12 Apr 2023, at 22:48, denis.maier-NSENcxR/0n0@public.gmane.org wrote: >=20 > Could you use defaults files for this ? > That would reduce the amount of needed command line options to 1. >=20 > pandoc myarticle.md -D mylayout >=20 > Thanks Denis. Maybe I miss something but isn=E2=80=99t -D just for orinti= ng the default templates? (Or has this changed in pandoc 3?) >=20 > In pandoc 2 the --template option does this, but it feels cumbersome to c= reate full custom template when I only want to increase the font size to 12= pt=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org. > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/CBF27702-32AA-4A20-B546-15B0A8C5B05D%40halloleo.hailmail.n= et. >=20 > --=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= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/ec59d4a1f494447c987ef64d1c957617%40unibe.ch. --=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/5D6FAD4A-3DBF-4D24-8B7D-72C7918D1089%40googlemail.com.