From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25996 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pranesh Prakash Newsgroups: gmane.text.pandoc Subject: Re: Hiding TeX headers from HTML output Date: Tue, 25 Aug 2020 15:06:18 -0700 (PDT) Message-ID: <95f7f71e-6af3-4d73-b47e-dd7bd28585e9n@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_286_1666464721.1598393178618" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39014"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDA2Z3PTWYIBBXEWS35AKGQEYASDT4A-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Aug 26 00:06:24 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oo1-f62.google.com ([209.85.161.62]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kAh5D-000A3c-Gw for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 26 Aug 2020 00:06:23 +0200 Original-Received: by mail-oo1-f62.google.com with SMTP id j9sf136796oom.9 for ; Tue, 25 Aug 2020 15:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=c8eQo7qM57jP3EXb2Yk+qNS1yu9UjfTJZOLI8R/kQCQ=; b=ZuI+ODZEAKEFxap+9siDvTylzfqlmPNKLX4ajhImlFkm6cBgi5CxQRWKjUDPdPjg4X oaJTw/6e5GpUYPNJwnqrOVGU2ylRctZcPeObk06CCF5UO7RZzocqHZncbo0AB6HkEGyx /rol58siyxGCqW9XNGjNfifSPs764fTmGYTquvX6ll7FbTt9zK7HHShhy9+AYZVA5Wqz w5mymV4TTB4Kb10haXseB7kiz6D0qnGK3Rjrr21UxBzdrkTyJwD31tQDhExOIPPC0jGP Cj5KsygBGaxxJD1ijaSw2gJ7DIu8SEMIQv0fdLMreFJGUWjYalGRNRykHPdkRPjPTeqo 9vGQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=c8eQo7qM57jP3EXb2Yk+qNS1yu9UjfTJZOLI8R/kQCQ=; b=QY2DiFrXkfmR+a7VyLyvg+jLkegLbjk+qK0qwScN3o9Qjeocn6Hqvje6l9QHgbiLCo t8gHmyE7qCnJCrULd29eXYan/0cONkCfb+YdGYnomXd0Tbyx83f2XRN7GCabds6LIcPW yscqXYAfQHDbCtor2iQV/slE4nsbVUzobzWy43FnhFZOYVLGJBl8/7NW0Xrx5Tp41fG1 JMmgVrVr1Dcks8PnLs30YEbea3v6kXLois+cHEASUKtA4yC9dJXoLieWwFWGzgSkQ/4G x5hc2e7ORkMdDlOLjCpkHrgFsg0vigOcm6Fl+fRWmJY5A8a8HPS8MyWfTTZ6bnNDxua1 UZhQ== 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:in-reply-to :references: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=c8eQo7qM57jP3EXb2Yk+qNS1yu9UjfTJZOLI8R/kQCQ=; b=VTRpeWv4hgXjHw7LA5uJXwzseh/l43H/wQeWEplJlgOIUe8+RF08mIlwBvL0kEMwUv h0hPZIF/q0YvQW4lPIPIq4XDVwo6T8NSBf1AV84T2x2QEFXfvw+ysQG85gDD0AWR5fdB irRW6W4t7SP8sKlOyYCs5ZZibWOFOZngh/l5iNpqPjyqBMTKjkQ/zisITeS3k204hEAF o2UpHTX/RRMI0JfgAYuaup2u4094vf1hETn3/+H7c8wQtUjEub3EsmrdCvhrtdYAL8H0 exX5n3JQG/sALRgMbwbBavoHqTQ4qVffOIsrZuPnx6Is2rGb/u1qAoz3Onmk8f0tC3oE whdg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM533d22ep9JhbajByoR/vCr93T6JspEs1x5efnUGQLnDM/RGHgTB1 8f5x5Y7sqWQnwb2Ypiew7CY= X-Google-Smtp-Source: ABdhPJwIUY4ecQuBaK7GL/MnLJ6clO/jYRVIo3UC8o3ExF0nOTBCaaScPcMIUR6EEs/RoHK7fNXTHA== X-Received: by 2002:a9d:6053:: with SMTP id v19mr7752937otj.362.1598393182531; Tue, 25 Aug 2020 15:06:22 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:aca:d658:: with SMTP id n85ls55716oig.7.gmail; Tue, 25 Aug 2020 15:06:19 -0700 (PDT) X-Received: by 2002:a05:6808:60f:: with SMTP id y15mr2294734oih.137.1598393179652; Tue, 25 Aug 2020 15:06:19 -0700 (PDT) In-Reply-To: X-Original-Sender: the.solipsist-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:25996 Archived-At: ------=_Part_286_1666464721.1598393178618 Content-Type: multipart/alternative; boundary="----=_Part_287_1859055355.1598393178618" ------=_Part_287_1859055355.1598393178618 Content-Type: text/plain; charset="UTF-8" On Wednesday, 26 August, 2020 at 3:14:37 am UTC+5:30 John MacFarlane wrote: > header-includes is the field name to use. If I use header-includes in my defaults.yaml file thusly, without back-ticks: --- metadata: header-includes: | \usepackage{microtype,parskip,bookmark,setspace,xurl,secdot} \usepackage[hang,bottom]{footmisc} \setlength{\footnotesep}{3mm} ... I get the following error: > Error producing PDF. > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.43 \textbackslash If I use header-includes in my defaults.yaml file thusly, with back-ticks: --- metadata: header-includes: - | ```{=latex} \usepackage{microtype,parskip,bookmark,setspace,xurl,secdot} \usepackage[hang,bottom]{footmisc} \setlength{\footnotesep}{3mm} ``` ... I get the following error: > Error producing PDF. > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.43 ` Regards, Pranesh -- 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/95f7f71e-6af3-4d73-b47e-dd7bd28585e9n%40googlegroups.com. ------=_Part_287_1859055355.1598393178618 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wednesday, 26 August, 2020 at 3:14:37 am UTC+5:30 John MacFarlane wrote:=
> header-includes is the field name to use.

If I use h= eader-includes in my defaults.yaml file thusly, without back-ticks:
---
metadata:
   header-includes: |
<= div>   \usepackage{microtype,parskip,bookmark,setspace,xurl,secdo= t}
   \usepackage[hang,bottom]{footmisc}
   \setl= ength{\footnotesep}{3mm}
...

I get the followin= g error:

> Error producing PDF.
> ! LaTeX= Error: Missing \begin{document}.
>
>  See the LaTeX manu= al or LaTeX Companion for explanation.
> Type  H <return>&= nbsp; for immediate help.
>  ...     &n= bsp;            = ;            &n= bsp;            = ;  
>         &nbs= p;            &= nbsp;           &nbs= p;            &= nbsp;  
> l.43 \textbackslash

If I use header-includes in my defaults.yaml file thusly, with back-ticks:=
---
metadata:
   header-includes:<= br>  - |
   ```{=3Dlatex}
   \usepackage{mic= rotype,parskip,bookmark,setspace,xurl,secdot}
   \usepackage[h= ang,bottom]{footmisc}
   \setlength{\footnotesep}{3mm}
   ```
...

I get the follow= ing error:

> Error producing PDF.
> ! LaT= eX Error: Missing \begin{document}.
>
>  See the LaTeX ma= nual or LaTeX Companion for explanation.
> Type  H <return>= ;  for immediate help.
>  ...     =             &nb= sp;            =             &nb= sp;  

> l.43 `

Regards,
Pranesh

--
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/95f7f71e-6af3-4d73-b47e-dd7bd28585e9n%40googlegroups.= com.
------=_Part_287_1859055355.1598393178618-- ------=_Part_286_1666464721.1598393178618--