From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/25993 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 12:53:21 -0700 (PDT) Message-ID: <5410022c-4154-4c69-999a-8862f97a8f8an@googlegroups.com> References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_988_1783045021.1598385201717" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18679"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss Original-X-From: pandoc-discuss+bncBDA2Z3PTWYIBBM6YSX5AKGQEQW4ODMI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Tue Aug 25 21:53:26 2020 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ot1-f60.google.com ([209.85.210.60]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kAf0Y-0004kj-Nz for gtp-pandoc-discuss@m.gmane-mx.org; Tue, 25 Aug 2020 21:53:26 +0200 Original-Received: by mail-ot1-f60.google.com with SMTP id w15sf17273oti.5 for ; Tue, 25 Aug 2020 12:53:26 -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=rv9su9IGj5+9uyehiMLs7RpAaP2+ft3ybt22MCfEsfw=; b=KXN18YeacYJ/y7k9l8zREvAPq/Bz7/UC+tzGgorLO06jAk9OyKKg3keKXp45yUJfka Xvglz/cl4f+9/DK08vT9UKri9K7hBB+ebStpErF3cAnP96io7HjukaWbZ1YtWiRyBkfv eq70HYoZOzIwAF4KahsdCYNhNd1zyLsMT2WpMcugcIMNwl4IIrJz0z7jeFRY/PaG99dY qG7QDcuqfIwkex5AKucV/Yw7DkutZ0/0zLx4ixb06748mLefPYRKk6LePiqudEZ2r0Ib C4Yd+/HIoeAYL8mkXiCTz6B5e5cy6il/JnPywYVoerIooeO62QTmFjgn7ps/ikNMwg5l sU9Q== 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=rv9su9IGj5+9uyehiMLs7RpAaP2+ft3ybt22MCfEsfw=; b=UU3VeNuAcLNWxQkkPedFDOaDtzgACmBOZzKLpVf8cJVBibnceb0ACp9bSJxtsqp7v5 FbZFs3i4gj2nq2aD/Hn1djSqPd2zI3BYx8B3l3CQo357AiiGys8ulioR+b3+6lP47n2q dIBO1x7IdCt0P2VHQF4KA77+WA2DDIL3VWfSD7w9mGewUd6r4pbH//VE14AEpPkus1Gy CqIX9VMkQrXBUPW1Vq4N/d1aqRI2zwIvLBYT6mIv5kmOLfIvn29hrYsQXGLs9soW8PLi qTFz96QE9Up78AGs/7Xj7Fm+G9jeM/5McZttzP1hV4q3ql4+b26vGzEj7TY8nqSEz5w8 Y1kw== 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=rv9su9IGj5+9uyehiMLs7RpAaP2+ft3ybt22MCfEsfw=; b=C40wNCPL7GzgeXTgoAnO99iAk9VnVQvwHMo/tkQdbibzJuI+i/18T5LDfZlpjQOke+ Mju+niLQphArlBfCk2RoVFBbrxzSgTi/m9xv/Rb9HXuxk7Fzx1K1nYVUA179n3A7QnLh fef/u/f30Uei5LzMjaQK5qFWR/MbzcQNl6k6zX0+i98+bo3ivgn+lkAx6jaDtuCIAVkK 8aBoT0U/g6Xy5vM8BSsW8pFLwdsM9OhT2F4jj4F43S/PGQM1gEbhAUO5/BzGP2NAex5U dwgdsQ8c063Hu70daw7/2gSIJlBwtiDZypldgGW70OBd50puy1KOpWonnN26p2Asm7sH dOgQ== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM532gjbW8QFnoXan+F35fx/2sFdUeQUGhXbPt5YrHnYd1hhEwK3Oe W1+wE0jy4205I+elfZ4FjSc= X-Google-Smtp-Source: ABdhPJxDVdmtUbpAvGbuB4QgLa8itgd3LtdxL9LP353X4jjvwPJTHf16qsSC8jC8kfV3oy4nvRwhUg== X-Received: by 2002:a4a:de11:: with SMTP id y17mr7934318oot.29.1598385205731; Tue, 25 Aug 2020 12:53:25 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6830:1f11:: with SMTP id u17ls2411222otg.9.gmail; Tue, 25 Aug 2020 12:53:22 -0700 (PDT) X-Received: by 2002:a05:6830:1ad7:: with SMTP id r23mr7311136otc.96.1598385202728; Tue, 25 Aug 2020 12:53:22 -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:25993 Archived-At: ------=_Part_988_1783045021.1598385201717 Content-Type: multipart/alternative; boundary="----=_Part_989_692035944.1598385201717" ------=_Part_989_692035944.1598385201717 Content-Type: text/plain; charset="UTF-8" On Tuesday, 25 August, 2020 at 11:50:33 pm UTC+5:30 Pranesh Prakash wrote: > Error producing PDF. > ! LaTeX Error: Missing \begin{document}. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.43 ` > Investigating using `--verbose`, I find that the intermediate file has the "```{=latex}" / "```{=pdf}" intact: \setcounter{secnumdepth}{5} ```{=latex} \usepackage{microtype,parskip,bookmark,setspace,xurl,secdot} \usepackage[hang,bottom,multiple]{footmisc} \setlength{\footnotesep}{3mm} ``` ```{=latex} \usepackage{parskip} \setlength{\parskip}{5pt plus1pt} \setlength\parindent{1.5em} ``` \ifxetex % Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic) This back-tick is what is causing the error. Clearly I've done something wrong in the way I include the headers. -- 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/5410022c-4154-4c69-999a-8862f97a8f8an%40googlegroups.com. ------=_Part_989_692035944.1598385201717 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tuesday, 25 August, 2020 at 11:50:33 pm UTC+5:30 Pranesh Prakash wrote:<= br>> Error producing PDF.
> ! LaTeX Error: Missing \begin{document= }.
>
> See the LaTeX manual or LaTeX Companion for explanatio= n.
> Type H <return> for immediate help.
> ... =
> =
> l.43 `
>

Inves= tigating using `--verbose`, I find that the intermediate file has the "```{= =3Dlatex}" / "```{=3Dpdf}" intact:

\setcounter{sec= numdepth}{5}
```{=3Dlatex}
\usepackage{microtype,parskip,bookmark,set= space,xurl,secdot}
\usepackage[hang,bottom,multiple]{footmisc}
\setle= ngth{\footnotesep}{3mm}
```
```{=3Dlatex}
\usepackage{parskip}
= \setlength{\parskip}{5pt plus1pt}
\setlength\parindent{1.5em}
```
= \ifxetex
  % Load polyglossia as late as possible: uses bidi with R= TL langages (e.g. Hebrew, Arabic)


This back-tick is what is causing the error.

Cl= early I've done something wrong in the way I include the headers.

--
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/5410022c-4154-4c69-999a-8862f97a8f8an%40googlegroups.= com.
------=_Part_989_692035944.1598385201717-- ------=_Part_988_1783045021.1598385201717--