It seems to me that the best compromise would be to make the redefinitions dependent on a variable. /bpj Den 5 apr 2016 07:42 skrev "John MacFarlane" : > I'm actually tempted to remove the special code in the latex > template that puts \paragraph and \subparagraph titles on > separate lines. > > I think I included it because I got a series of complaints > about headers jammed up against the paragraph, and it seemed > reasonable to have uniform output in every target format. > > But now, I'm getting complaints about not treating > \paragraph in the usual way in LaTeX (e.g. #2807). > > +++ BPJ [Apr 04 16 11:49 ]: > >> Or do them *with* titlesec which also would work though honestly I >> wonder if that wouldn't be more complicated. >> måndag 4 april 2016 skrev John MACFARLANE <[1]jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org>: >> >> Maybe we should do these redefinitions conditionally, >> checking first to see if titlesec is loaded? >> +++ Benct Philip Jonsson [Apr 01 16 21:05 ]: >> >> Yes, sorry I didn't notice that. I have also had problems using >> titlesec with pandoc. Part of it is that pandoc redefines >> `\paragraph` >> and `\subparagraph` which interferes with how titlesec does its >> thing. >> Try changing your template/cloning the default template removing >> pandoc's redefinitions. Depending on what you are doing with >> titlesec >> it may work then. >> fredag 1 april 2016 skrev Dylan Evans >> <[1]dylanlee.evans95-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>: >> I get the same error when trying to use titlesec in a dedicated >> .tex >> file. It appears that the issue is with titlesec. >> -- >> 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 [2]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to >> [3]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> >> [4][2]https://groups.google.com/d/msgid/pandoc-discuss/7190bd4e-660a >> -43 >> 1f-a69c-481744e86303%[3]40googlegroups.com. >> For more options, visit >> [5][4]https://groups.google.com/d/optout. >> -- >> /BP >> -- >> 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 [6]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to >> [7]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> >> [8][5]https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRhnWLO >> 669cga >> grX0um2YK9QVfA8W1LmjYVU%3DQyc-OKvA%[6]40mail.gmail.com. >> For more options, visit [9][7]https://groups.google.com/d/optout. >> References >> 1. mailto:dylanlee.evans95-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >> 2. >> javascript:_e({},'cvml','pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> '); >> 3. javascript:_e({},'cvml','pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org'); >> 4. >> [8]https://groups.google.com/d/msgid/pandoc-discuss/7190bd4e-660a-43 >> 1f-a69c-481744e86303-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=fo >> oter >> 5. [9]https://groups.google.com/d/optout >> 6. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 7. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 8. >> [10]https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRhnWLO66 >> 9cgagrX0um2YK9QVfA8W1LmjYVU=Qyc-OKvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=email >> &utm_source=footer >> 9. [11]https://groups.google.com/d/optout >> >> -- >> 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 >> [12]https://groups.google.com/d/msgid/pandoc-discuss/20160403233556. >> GB55527%40protagoras.berkeley.edu. >> For more options, visit [13]https://groups.google.com/d/optout. >> >> -- >> 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 [14]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To post to this group, send email to >> [15]pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To view this discussion on the web visit >> [16]https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhB-_OWL5kqHS >> h%2B9Ry6%3Dm1NqzpfZsm0RzBx7Cu01t_09YA%40mail.gmail.com. >> For more options, visit [17]https://groups.google.com/d/optout. >> >> References >> >> 1. mailto:jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org >> 2. https://groups.google.com/d/msgid/pandoc-discuss/7190bd4e-660a-43 >> 3. http://40googlegroups.com/ >> 4. https://groups.google.com/d/optout >> 5. https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRhnWLO669cga >> 6. http://40mail.gmail.com/ >> 7. https://groups.google.com/d/optout >> 8. >> https://groups.google.com/d/msgid/pandoc-discuss/7190bd4e-660a-431f-a69c-481744e86303-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer >> 9. https://groups.google.com/d/optout >> 10. >> https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRhnWLO669cgagrX0um2YK9QVfA8W1LmjYVU=Qyc-OKvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=email&utm_source=footer >> 11. https://groups.google.com/d/optout >> 12. >> https://groups.google.com/d/msgid/pandoc-discuss/20160403233556.GB55527@protagoras.berkeley.edu >> 13. https://groups.google.com/d/optout >> 14. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 15. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org >> 16. >> https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhB-_OWL5kqHSh+9Ry6=m1NqzpfZsm0RzBx7Cu01t_09YA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=email&utm_source=footer >> 17. https://groups.google.com/d/optout >> > > -- > 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/20160405054217.GA57274%40MacBook-Air-2.local > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAFC_yuRUh3YfK_7eODw0Mfu_rbbkNYSKbuw62msmZ_zkvXe0wQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.