Guest User

Untitled

a guest
Apr 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. # converts sections to chapters, subsections to sections and subsubsections to subsections after processing with pandoc.
  2.  
  3. $ pandoc -t latex -C TeXHeader -s Chapter1 Chapter2 | sed -e 's/\
  4. \section{/\\chapter{/g' \
  5. -e 's/subsection{/section{/g' > book.tex
  6. $ pdflatex book.tex
Add Comment
Please, Sign In to add comment