From: David Nebauer <davidnebauer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Latex command in header inclusion munged with \textbackslash{}
Date: Thu, 10 Aug 2017 04:10:59 -0700 (PDT) [thread overview]
Message-ID: <06c61ee7-a420-4787-b90f-dda37007ef07@googlegroups.com> (raw)
In-Reply-To: <6dc05b9e-b1fd-cf4c-6d6b-8b6adb9a1df0-NSJBNaQhiPN7tPAFqOLdPg@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 1786 bytes --]
Using a nightly worked. Here is a better minimal working example that shows
the effect of the redefined command:
---
title: "Minimal Working Example"
header-includes:
- \let\oldsection\section
- \renewcommand{\section}[1]{\clearpage\oldsection{#1}}
---
# Heading 1 #
Text 1.
# Heading 2 #
Text 2.
The command
pandoc -t latex --latex-engine=xelatex --output=mwe2.pdf mwe2.md
results in a pdf file with each heading on a new page. Producing latex
output shows the header inclusions inserted without alteration - without
needing the "backtick" notation John mentioned.
Guess I'm using a pandoc nightly until this behaviour migrates into
debian/testing :-)
Thanks John, Roland and BP for chipping in to help me.
P.S. It's been ages since I used Google Groups. If there is any way to mark
this post or thread "solved" please let me know and I will.
On Thursday, 10 August 2017 03:24:41 UTC+9:30, Roland Hieber wrote:
>
> On 08.08.2017 15:56, David Nebauer wrote:
> > Can't install dev pandoc because the ghc archive downloaded as part of
> > the process is corrupt.
>
> You could try installing one of the nightlies from
> https://github.com/pandoc-extras/pandoc-nightly instead.
>
> - Roland
>
--
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/06c61ee7-a420-4787-b90f-dda37007ef07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 6253 bytes --]
next prev parent reply other threads:[~2017-08-10 11:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 7:39 David Nebauer
[not found] ` <85d3801f-6a20-4873-bf2e-e8cd7f13445e-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-07 18:25 ` John MacFarlane
[not found] ` <20170807182546.GB91733-qqGlgsTyhTiCiGiXOSDXzGEIDr1rnHf9vtmmnBSr4lwnUAKC5xwfQhvRwXAb8BAkh13vi7wywA4@public.gmane.org>
2017-08-08 13:56 ` David Nebauer
[not found] ` <1cef78af-0bfb-4d45-983b-39863c588bb6-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-09 17:54 ` Roland Hieber
[not found] ` <6dc05b9e-b1fd-cf4c-6d6b-8b6adb9a1df0-NSJBNaQhiPN7tPAFqOLdPg@public.gmane.org>
2017-08-10 11:10 ` David Nebauer [this message]
2017-08-08 14:02 ` David Nebauer
[not found] ` <c39d6355-1b71-4355-813f-5e85a1beb988-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-08-09 19:33 ` BP Jonsson
[not found] ` <eca11bcc-3eeb-a426-dcb6-7a70d4b411e4-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-09 19:36 ` BP Jonsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=06c61ee7-a420-4787-b90f-dda37007ef07@googlegroups.com \
--to=davidnebauer-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).