-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Title page not parsing TeX #152
Comments
Poked a bit at this and the -M parameters are escaped by pandoc. It seems the easiest way is to just write some custom tex for the title page. |
To expand on what @GeeF said, here's a snippet from the manual:
This can be resolved by setting an option that's not escaped, like diff --git a/Makefile b/Makefile
index c2fb292..d20a2a9 100644
--- a/Makefile
+++ b/Makefile
@@ -19,9 +19,9 @@ pdf: main.tex tex_files
-M classoption="twoside" \
-M classoption="letterpaper" \
-M geometry="margin=1.25in" \
- -M title="\Huge{\textbf{${TITLE}}}" \
- -M author="\LARGE{${AUTHOR}}" \
- -M date="{\Large\textcopyright~\textbf{$(shell git log -1 --date=iso --format='%ai' | cut -c-10 )}}\\\\Compiled in PDF\LaTeX{}\endgraf\textit{${DEDICATION}}"
+ -V title="\Huge{\textbf{${TITLE}}}" \
+ -V author="\LARGE{${AUTHOR}}" \
+ -V date="{\Large\textcopyright~\textbf{$(shell git log -1 --date=iso --format='%ai' | cut -c-10 )}}\\\\Compiled in PDF\LaTeX{}\endgraf\textit{${DEDICATION}}"
tex_files: compiled_tex/ $(patsubst text/%.md,compiled_tex/%.tex,$(MD_FILES))
compiled_tex/: |
Title page is showing raw TeX instead of formatting.
The text was updated successfully, but these errors were encountered: