Jump to content

reece43

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by reece43

  1. I would like to split a LaTeX document into several pandoc markdown documents. The split should happen at each \section{section_name} and the section name should be used as output name for the corresponding markdown file. So a latex file like

    \section{name1}
    some text
    \section{name2}
    more text
    
    

    should be split into two markdown documents with names name1.md and name2.md. Is this possible with a pandoc custom writer in Lua at all? I couldn't find any useful example in the documentation https://pandoc.org/custom-writers.html#new-stylesite on how to approach this or if it is even possible with custom writers to generate multiple output files from a single input file.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.