From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28301 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Bentley Newsgroups: gmane.text.pandoc Subject: Is $header-includes$ too high in default.latex? Date: Fri, 7 May 2021 15:31:21 -0700 (PDT) Message-ID: <0c7b7414-fe12-41c3-8978-731808fe79b5n@googlegroups.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2144_370577587.1620426681266" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7338"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDALJJXEUYJRBOX722CAMGQED3VXXZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat May 08 00:31:24 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f55.google.com ([209.85.210.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lf90G-0001mz-JJ for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 08 May 2021 00:31:24 +0200 Original-Received: by mail-ot1-f55.google.com with SMTP id z18-20020a0568301292b02902dc88381e4dsf3223362otp.1 for ; Fri, 07 May 2021 15:31:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=bCXdDPcDs488685docFEycKAUgWSU5HJe1a54PoJL70=; b=G0Kay+myzmTxiQzLDHwFTeQGdoxHWEKUrH4OP/6d6XEcmLDjGGdbqm+y8o4g6vHLZY BNeoWc+oKuM2FPxj52fpxKOhegSbfUQsNRVaPBqQbMyhkT5RUjdwleYxcpooCccPeKHk 9XnUeIQVrqXvNbdM7qTOqq2uYBGVhWn0r1LXwSQMmNrpQFpIHmx5UJD3v0OrqHpmmIoY FxeLVWgdL+n1KBiD2/hkOCuHYHg8B9N2BGM+Hyg3i128Zw/7SGJAfcYO2BJ+sC1RChPe 1nQzHcrGAs61EcGofV8XJXZ6djPPjD78EfG1Z1I1UUWbFymNsrrSXD1vyvotTDSZRM6R boXA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=bCXdDPcDs488685docFEycKAUgWSU5HJe1a54PoJL70=; b=faLuyfUmXk1hctN7LFM2jKeHK2McIBV73Hyh4HGVwjvz4aUPplY89RJYPs8Ib7N+FY Cw7gLK4dHkC6AGmXNj3uAqCmfeEwg6eruu+Qj6/DNGFek/Nm6fOAGblNmbk2+nxqEBY5 UrTXamrES+/q+ofdZQoDyQbshAYcp5bFMXoyvhYSgVizPgh++1Pxe2NsVkkKh2M4jbYY o0ifsux3ZxP1mlkjrogoUsrZMvZs8L7IJeIehtQShAneC+ZxdebbilOPY9SkmnvRe4Nh NKkTIjpKAm8NDCiQFVmLqIIw5RU6rs2R3y6AivbkXdq9D7YEmq16YmH8DuEkAQwCwhJg 4zbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=bCXdDPcDs488685docFEycKAUgWSU5HJe1a54PoJL70=; b=EEgVddTqFodbgd5BBuXxyFxDpRCGTJskqMX4gjmEayDD2kLOcbQFAOmqgb0XJ+cfh0 n5BEllRKQp07WTpMQyevIi5KbNvCjnkVYFCtWcYgOAdLlu5VusZZraQxk5zLr0+cAT7P LPyW5Wn8JcFbIMboB3w7ouXCFRZpmk7YG1S62t4vIinXVzOaHb7RhiI/X1ff5kuLPhYh lGxBxXztndDeOG+MAOS16MlshxoSySHB+Ogx0kyTI/wBysv33/vHHVbTJ8PQGkzCBGnD y8rnoS4whb/JHYJFLiJoPqNzDB4ytDxF+MLnPAEtMTRfJEsvfkirhONilaaU6Pk21c02 TXFQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532/YE6F8L47jWZ+P3LQp1HJ7ZjTONFDZ+hQ5WnKXCocZgs0t8XK MXkDB10qC7VyTLKJkoDYtsA= X-Google-Smtp-Source: ABdhPJzpwbNNpM/PtvNPnFz1OWK5xH1NLF2kSTFX5DnLvwn+C5PkI7kc0vAe1Sb2W1NOxh7YpbiDCw== X-Received: by 2002:a05:6830:187:: with SMTP id q7mr10221700ota.277.1620426683648; Fri, 07 May 2021 15:31:23 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6808:1cf:: with SMTP id x15ls2073216oic.1.gmail; Fri, 07 May 2021 15:31:22 -0700 (PDT) X-Received: by 2002:aca:a98a:: with SMTP id s132mr8911862oie.164.1620426682032; Fri, 07 May 2021 15:31:22 -0700 (PDT) X-Original-Sender: johnny.bentley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org 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:28301 Archived-At: ------=_Part_2144_370577587.1620426681266 Content-Type: multipart/alternative; boundary="----=_Part_2145_1722617677.1620426681266" ------=_Part_2145_1722617677.1620426681266 Content-Type: text/plain; charset="UTF-8" The option `--include-in-header` is specified to "Include contents of FILE, verbatim, at the end of the header". https://pandoc.org/MANUAL.html#option--include-in-header The option `--include-in-header` sets the template variable `$ header-includes$`. However, in default.latex the `$header-includes` variable is placed quite high in the header, preceding quite a number of latex header commands. Shouldn't `$header-includes` be placed just before `\begin{document}`? My motivation is to override prior default settings. Specifically I'm trying to override `\setlength{\csllabelwidth}{3em}` that gets spit out in the header when processing citations. I *can* do this by using --include-before-body/$include-before$ instead. But that seems like abusing what should be a content option rather than a coding option. Of course I could alter default.latex at my end, and use a custom default template. But I'm trying to avoid that path. So, is $header-includes$ too high in default.latex? -- 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/0c7b7414-fe12-41c3-8978-731808fe79b5n%40googlegroups.com. ------=_Part_2145_1722617677.1620426681266 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
The option `--include-in-header` is specified to "Include contents= of FILE, verbatim, at the end of the header". https://pandoc.org/MANUAL.ht= ml#option--include-in-header

The option `--include= -in-header` sets the template variable `$header-includes$`.

However, in default.latex the=20 `$header-includes` variable is placed quite high in the header, prece= ding quite a number of latex header commands. Shouldn't  `$header-includes` be placed just before `= \begin{document}`?

My motivati= on is to override prior default settings. Specifically I'm trying to overri= de `\setlength{\csllabelwidth}{3em}` that gets spit out in the header= when processing citations.

I *can* do this by using --include-before-body/$include-before$ instead. But that seems like abusing what should be a content option= rather than a coding option.

Of course I could alter default.latex at my end, = and use a custom default template. But I'm trying to avoid that path.
=

So, is $header-includes$ too high in default.latex?
=

--
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.com/d= /msgid/pandoc-discuss/0c7b7414-fe12-41c3-8978-731808fe79b5n%40googlegroups.= com.
------=_Part_2145_1722617677.1620426681266-- ------=_Part_2144_370577587.1620426681266--