Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # converts sections to chapters, subsections to sections and subsubsections to subsections after processing with pandoc.
- $ pandoc -t latex -C TeXHeader -s Chapter1 Chapter2 | sed -e 's/\
- \section{/\\chapter{/g' \
- -e 's/subsection{/section{/g' > book.tex
- $ pdflatex book.tex
Add Comment
Please, Sign In to add comment