From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/11830 Path: news.gmane.org!not-for-mail From: Tobias Klausmann Newsgroups: gmane.text.pandoc Subject: \part in LaTeX input Date: Sun, 25 Jan 2015 20:51:30 +0100 Message-ID: <20150125195130.GA130821@skade.schwarzvogel.de> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1422215494 15098 80.91.229.3 (25 Jan 2015 19:51:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2015 19:51:34 +0000 (UTC) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDDJHKFBS4FBBQ4SSWTAKGQE6XL5ROY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sun Jan 25 20:51:34 2015 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-we0-f190.google.com ([74.125.82.190]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFTDY-0005UB-V5 for gtp-pandoc-discuss@m.gmane.org; Sun, 25 Jan 2015 20:51:33 +0100 Original-Received: by mail-we0-f190.google.com with SMTP id k11sf262140wes.7 for ; Sun, 25 Jan 2015 11:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe; bh=ogNfugE44eMkP0A9109Sqxtt3GuoUKgnIYn83K0xdUM=; b=AKJr4EpmBZszI0uPjinoi7SnMz/dhNg1T6GJTNchGAQgWH6cG+I56j5U3CgfXwqJnN 70OqNMLYrhask41weO7YkWMnVAEKu84NAIw2ZLLC/YvNfE/IU9YWETG5sHze6Ixs1PEy XMdGaNNjOSeJzsxBphNt4MTU5MfEqb23Xeoz3dQHmQnZLTBVG8iDg4w+dKlt61kxj1tx kXnwDnUDQXwKYkAhIHpKGU0hWJdY0hWMHzQbl/B4nQaJPp3OAIB4UtMl9KfEGik1Kofo a5Tu7+uHNiZGFOe3jVZiMH/UH0SYp6tFzs7xf2EpXCEKrjzrKdYqI1xrWAaMeRdL0msP hg5A== X-Received: by 10.152.27.170 with SMTP id u10mr90833lag.7.1422215492619; Sun, 25 Jan 2015 11:51:32 -0800 (PST) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.152.42.205 with SMTP id q13ls428389lal.85.gmail; Sun, 25 Jan 2015 11:51:31 -0800 (PST) X-Received: by 10.112.161.201 with SMTP id xu9mr1430107lbb.11.1422215491572; Sun, 25 Jan 2015 11:51:31 -0800 (PST) Original-Received: from mail.schwarzvogel.de (mail.schwarzvogel.de. [2a01:4f8:191:1056::25]) by gmr-mx.google.com with ESMTPS id j6si538809wix.1.2015.01.25.11.51.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jan 2015 11:51:31 -0800 (PST) Received-SPF: none (google.com: klausman-MzPq5hiN5PY4ErOGf3VzIA@public.gmane.org does not designate permitted sender hosts) client-ip=2a01:4f8:191:1056::25; Original-Received: from klausman by mail.schwarzvogel.de with local (Exim 4.85) (envelope-from ) id 1YFTDW-0001sx-SR for pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; Sun, 25 Jan 2015 20:51:30 +0100 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-Original-Sender: klausman-MzPq5hiN5PY4ErOGf3VzIA@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; spf=none (google.com: klausman-MzPq5hiN5PY4ErOGf3VzIA@public.gmane.org does not designate permitted sender hosts) smtp.mail=klausman-MzPq5hiN5PY4ErOGf3VzIA@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.org gmane.text.pandoc:11830 Archived-At: 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