Created
December 2, 2009 17:15
-
-
Save xwmx/247355 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment