* \part in LaTeX input @ 2015-01-25 19:51 Tobias Klausmann [not found] ` <20150125195130.GA130821-Brwozo4T/gDUAozeIJHHVY4/OD0De0NW@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Tobias Klausmann @ 2015-01-25 19:51 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20150125195130.GA130821-Brwozo4T/gDUAozeIJHHVY4/OD0De0NW@public.gmane.org>]
* Re: \part in LaTeX input [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> 0 siblings, 1 reply; 5+ messages in thread From: Pablo Rodríguez @ 2015-01-26 10:44 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Hi Tobias, having the part title vertically centered would be in CSS something similar to: .part { fontsize: xx-large; margin-top: 40%; } Using part in markdown as source format could be achieved with: # Title {.part} If pandoc ignores \part in LaTeX, I guess you should report it in an issue (I haven’t checked it, but I wonder whether this hasn’t been already reported). Just in case it helps, Pablo On 01/25/2015 08:51 PM, Tobias Klausmann wrote: > 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 > -- http://www.ousia.tk -- 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/54C61AA7.5070004%40web.de. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <54C61AA7.5070004-S0/GAf8tV78@public.gmane.org>]
* Re: \part in LaTeX input [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> 0 siblings, 1 reply; 5+ messages in thread From: Jan Ulrich Hasecke @ 2015-01-27 8:32 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Demeter und die Allmende des Seins https://www.amazon.de/dp/B008G4Z2I2 Spekulativer Essay wider die Ahnenlosigkeit und die Anmaßung des Eigentums. Eine philosophische Polemik gegen das geistige Eigentum Am 26.01.2015 um 11:44 schrieb Pablo Rodríguez: > Using part in markdown as source format could be achieved with: > > # Title {.part} > > If pandoc ignores \part in LaTeX, I guess you should report it in an > issue (I haven’t checked it, but I wonder whether this hasn’t been > already reported). This doesn't work. I think Pandoc does not support \part in LaTeX. I would be happy if someone could implement this feature. juh -- Software-Dokumentation mit Sphinx http://www.amazon.de/dp/1497448689/ Paperback: 224 Seiten -- 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/54C74D18.2010704%40mailbox.org. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <54C74D18.2010704-cl+VPiYnx/1AfugRpC6u6w@public.gmane.org>]
* Re: \part in LaTeX input [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> 0 siblings, 1 reply; 5+ messages in thread From: Pablo Rodríguez @ 2015-01-27 13:07 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw On 01/27/2015 09:32 AM, Jan Ulrich Hasecke wrote: > Demeter und die Allmende des Seins > https://www.amazon.de/dp/B008G4Z2I2 > Spekulativer Essay wider die Ahnenlosigkeit und die Anmaßung des > Eigentums. Eine philosophische Polemik gegen das geistige Eigentum Hi Jan Ulrich, are you sure your previous paragraph belongs to the message? > Am 26.01.2015 um 11:44 schrieb Pablo Rodríguez: >> Using part in markdown as source format could be achieved with: >> >> # Title {.part} >> >> If pandoc ignores \part in LaTeX, I guess you should report it in an >> issue (I haven’t checked it, but I wonder whether this hasn’t been >> already reported). > > This doesn't work. I think Pandoc does not support \part in LaTeX. I > would be happy if someone could implement this feature. It seems that pandoc doesn’t support \part in LaTeX (I don’t use LaTeX myself). My suggestion intended to fake part titles in XHTML. But this needs stylying in CSS. Of course, this doesn’t change the unimplemented \part command in the LaTeX reader. Issue with LaTeX reader reported at https://github.com/jgm/pandoc/issues/1905. Please, feel free to comment there. Pablo -- http://www.ousia.tk -- 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/54C78DA9.4010209%40web.de. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <54C78DA9.4010209-S0/GAf8tV78@public.gmane.org>]
* Re: \part in LaTeX input [not found] ` <54C78DA9.4010209-S0/GAf8tV78@public.gmane.org> @ 2015-01-27 13:11 ` Jan Ulrich Hasecke 0 siblings, 0 replies; 5+ messages in thread From: Jan Ulrich Hasecke @ 2015-01-27 13:11 UTC (permalink / raw) To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw Am 27.01.2015 um 14:07 schrieb Pablo Rodríguez: > Hi Jan Ulrich, > > are you sure your previous paragraph belongs to the message? Oh, sorry my mail client has gone wild. I should really read a message twice before posting. juh -- 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/54C78E66.8060405%40mailbox.org. For more options, visit https://groups.google.com/d/optout. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-27 13:11 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-01-25 19:51 \part in LaTeX input Tobias Klausmann [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
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).