Closed bsaul closed 7 years ago
Another option is just to continue develop based on the other template provided by Noorie.
FWIW, the Byron template and the Noorie template took different approaches for the same problem. The Byron template took the modify individual .tex documents approach to get the desired style. The Noorie template took the create a single .tex file and a single LaTeX package that contains all the styles.
I may need to pull this down locally in order to get a sense of the issues going on.
If you took Option 3, would the other template still be available/usable?
Why don’t I show you tomorrow. I just rolled Byron’s work into a single template file and it works pretty well.
I think we pick one template or the other so we’re not developing down two tracks.
On Jul 24, 2017, at 4:20 PM, Brian G. Barkley notifications@github.com wrote:
I may need to pull this down locally in order to get a sense of the issues going on.
If you took Option 3, would the other template still be available/usable?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TarHeelBiostatistics/DoctoralThesisTexTemplate/issues/14#issuecomment-317542329, or mute the thread https://github.com/notifications/unsubscribe-auth/AEqCLnAoVND-ckhcdlaUdDJgoth6nMJSks5sRPxxgaJpZM4OhpB5.
I think the new template using Byron's files as the basis is kinda slick. You can put almost everything except the main text in the YAML header:
---
title: "Example Dissertation"
author:
first: First
last: Last
middle: M.
date: "June 22, 2017"
fontsize: 12pt
documentclass: report
output:
pdf_document:
citation_package: natbib
keep_tex: true
fig_caption: true
latex_engine: pdflatex
template: template/template2.tex
includes:
in_header: example_header_include.tex
bibliography: example.bib
bibliography-style: asa
toc: true
lot: true
lof: true
committee:
advisors:
- Dr. Friendly Advisor
- Dr. Awesome Advisor
members:
- Dr. Who
- Mr. Mick Jagger
- Dr. Strangelove
- Dr. Doolittle
dedication: I hope we passed the audition.
abstract: Here's a little thing I wrote. You might want to read it word for word.
acknowledgements: Thanks grandma!
abbreviations:
- short: LM
long: "Linear Model"
- short: GLM
long: "Generalized Linear Model"
---
Then rmarkdown magic does the rest. All of these YAML variables could be easily documented. Plus, if you leave out things like the optional dedication, then the template automatically hides that page.
This is beautiful. Can't wait for a PR!
BTW, we've updated some gitignore stuff, so you may want to rebase or merge or whatever
Shall we close this now that #6 is merged?
Yes. This is merge fixes #14.
On Jul 25, 2017, at 5:05 PM, Brian G. Barkley notifications@github.com wrote:
Shall we close this now that #6 https://github.com/TarHeelBiostatistics/DoctoralThesisTexTemplate/pull/6 is merged?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/TarHeelBiostatistics/DoctoralThesisTexTemplate/issues/14#issuecomment-317872081, or mute the thread https://github.com/notifications/unsubscribe-auth/AEqCLvS02Zg5_5A5vtyouqiepzVHAg5Cks5sRliOgaJpZM4OhpB5.
I found an issue in using Byron's template. His template has multiple "input" frontmatter files (e.g. titlepage.tex). I can't find a way to pass pandoc variables to input .tex files. So we have a few options:
\input{}
.I vote for 3.