public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Tobias Klausmann <klausman-MzPq5hiN5PY4ErOGf3VzIA@public.gmane.org>
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: \part in LaTeX input
Date: Sun, 25 Jan 2015 20:51:30 +0100	[thread overview]
Message-ID: <20150125195130.GA130821@skade.schwarzvogel.de> (raw)

Hi! 

Near as I can tell, the highest level of structure that PanDoc
currently handles for LaTeX inputs is \chapter. However, I'd like
to use \part. For pdflatex, it results in a separate page with
the title of the part centered vertically and horizontally. I
understand that this is not achievable with all outputs, but all
I require is for it to work with EPUB and maybe XHTML. 

It doesn't even have to mimic the layout of pdflatex (though it
would be nice), but having it as the topmost level of headings is
sort of the requirements. I tried patching things over using a
custom macre thatt would basically expand to:

\clearpage \begin{center}\Huge #1\end{center} \clearpage

But that didn't work, either. Pandoc's habit of quietly dropping
LaTeX stuff it doesn't quite understand can be very frustrating
there.

Anyone got a solution? Or should I open a pandoc bug/issue?

Regards,
Tobias


             reply	other threads:[~2015-01-25 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-25 19:51 Tobias Klausmann [this message]
     [not found] ` <20150125195130.GA130821-Brwozo4T/gDUAozeIJHHVY4/OD0De0NW@public.gmane.org>
2015-01-26 10:44   ` Pablo Rodríguez
     [not found]     ` <54C61AA7.5070004-S0/GAf8tV78@public.gmane.org>
2015-01-27  8:32       ` Jan Ulrich Hasecke
     [not found]         ` <54C74D18.2010704-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>
2015-01-27 13:07           ` Pablo Rodríguez
     [not found]             ` <54C78DA9.4010209-S0/GAf8tV78@public.gmane.org>
2015-01-27 13:11               ` Jan Ulrich Hasecke

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=20150125195130.GA130821@skade.schwarzvogel.de \
    --to=klausman-mzpq5hin5py4erogf3vzia@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).