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 <jgm@berkeley.edu>:
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@gmail.com>:

  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@googlegroups.com.
    To post to this group, send email to
    [3]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
    To view this discussion on the web visit
    [4]https://groups.google.com/d/msgid/pandoc-discuss/7190bd4e-660a-43
    1f-a69c-481744e86303%40googlegroups.com.
    For more options, visit [5]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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
  To post to this group, send email to
  [7]pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
  To view this discussion on the web visit
  [8]https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRhnWLO669cga
  grX0um2YK9QVfA8W1LmjYVU%3DQyc-OKvA%40mail.gmail.com.
  For more options, visit [9]https://groups.google.com/d/optout.

References

  1. mailto:dylanlee.evans95-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
  2. javascript:_e({},'cvml','pandoc-discuss+unsubscribe@googlegroups.com');
  3. javascript:_e({},'cvml','pandoc-discuss@googlegroups.com');
  4. https://groups.google.com/d/msgid/pandoc-discuss/7190bd4e-660a-431f-a69c-481744e86303-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org?utm_medium=email&utm_source=footer
  5. https://groups.google.com/d/optout
  6. mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
  7. mailto:pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
  8. https://groups.google.com/d/msgid/pandoc-discuss/CAFC_yuRhnWLO669cgagrX0um2YK9QVfA8W1LmjYVU=Qyc-OKvA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org?utm_medium=email&utm_source=footer
  9. 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/20160403233556.GB55527%40protagoras.berkeley.edu.
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CADAJKhB-_OWL5kqHSh%2B9Ry6%3Dm1NqzpfZsm0RzBx7Cu01t_09YA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.