DODschools
Rmarkdown Templates For Academic Documents at Department of Defense Schools
Rmarkdown Templates For Academic Documents at Department of Defense Schools
License: Other
The font seems lighter than it should be. The fonts on the title page even change color for different shades of black.
When I create a table using knitr::kable
I can easily reference the table elsewhere in the document by using \@ref(tab:chunk)
where chunk
is the label of the code chunk in which the table was created.
However, when I create a table using the xtable
package the reference in the document shows ??.
How can I get these labels to appear?
Author's middle initial is not populating throughout the rendered thesis.
advisor:
name: 'Raymond R. Hill'
department: 'ENS' # Use three-letter designator
rank: 'Civilian'
service: 'usaf' # Use abbreviation - leave blank if NA
currentDegree: 'PhD'
phone: '937-255-3636 x7469'
email: "[email protected]"
The report on the last page of the thesis does not populate the author's name.
When using numbered citations, the numbers go in reference to the bibliography order rather than the other way around. For example, if there are three citations; Allen, Barry, and Smith. If I reference Smith first, Smith should be given the number 1, and the bibliography should change accordingly. For now, Smith would be referenced as 3.
macOS 10.13.2
RStudio 1.0.153
pandoc 2.0.5
MacTeX-2017
Whenever I try to knit the template, I get the following:
--latex-engine has been removed. Use --pdf-engine instead.
Try pandoc --help for more information.
Error: pandoc document conversion failed with error 2
In addition: Warning message:
In as.POSIXlt.POSIXct(Sys.time()) :
Unknown timezone ‘zone/tz/2017c.1.0/zoneinfo/America/New-York’
Execution halted
This seems to have been addressed by installing the most recent dev version of rmarkdown.
devtools::install_github("rstudio/rmarkdown")
However, new different issues have cropped up in the wake. I'm receiving these messages as knitting fails:
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex': File changes, etc:
Non-existent destination files:
'Untitled.pdf'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex -halt-on-error -interaction=batchmode -recorder "Untitled.tex"'
------------
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)
restricted \write18 enabled.
entering extended mode
=== TeX engine is 'pdfTeX'
Latexmk: Errors, so I did not complete making targets
===========Latexmk: Missing input file: 'insdljs.sty' from line
'! LaTeX Error: File `insdljs.sty' not found.'
Latexmk: Missing input file: 'insdljs.sty' from line
'! LaTeX Error: File `insdljs.sty' not found.'
Collected error summary (may duplicate other messages):
pdflatex: Command for 'pdflatex' gave return code 1
Refer to 'Untitled.log' for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs of latex/pdflatex.
! LaTeX Error: File `insdljs.sty' not found.
! Emergency stop.
<read *>
Error: Failed to compile Untitled.tex. See Untitled.log for more info.
In addition: Warning message:
In as.POSIXlt.POSIXct(Sys.time()) :
unknown timezone 'zone/tz/2017c.1.0/zoneinfo/America/New_York'
Execution halted
Fonts that are not bold are too light throughout the document. Need to change a setting to make it darker.
For some reason, I cannot get the third committee member to go away. I've tried both commenting and removing the references from the yaml header, but they still show. Commenting works on my advisor's rank, but not the actual reader, for some reason. I have also commented out the corresponding sections of the metadata.yml
file.
Output:
Code:
advisor:
name: "`r DODschools::noTouch('metadata.yml')$advisor$name`"
department: "`r DODschools::noTouch('metadata.yml')$advisor$department`"
# rank: "`r DODschools::noTouch('metadata.yml')$advisor$rank`"
service: "`r DODschools::noTouch('metadata.yml')$advisor$service`"
prevdegree: "`r DODschools::noTouch('metadata.yml')$advisor$currentDegree`"
phone: "`r DODschools::noTouch('metadata.yml')$advisor$phone`"
email: "`r DODschools::noTouch('metadata.yml')$advisor$email`"
reader1:
name: "`r DODschools::noTouch('metadata.yml')$reader1$name`"
department: "`r DODschools::noTouch('metadata.yml')$reader1$dept`"
rank: "`r DODschools::noTouch('metadata.yml')$reader1$rank`"
service: "`r DODschools::noTouch('metadata.yml')$reader1$service`"
prevdegree: "`r DODschools::noTouch('metadata.yml')$reader1$currentDegree`"
# reader2:
# name: "`r DODschools::noTouch('metadata.yml')$reader2$name`"
# department: "`r DODschools::noTouch('metadata.yml')$reader2$dept`"
# rank: "`r DODschools::noTouch('metadata.yml')$reader2$rank`"
# service: "`r DODschools::noTouch('metadata.yml')$reader2$service`"
# prevdegree: "`r DODschools::noTouch('metadata.yml')$reader2$currentDegree`"
# reader3:
# name: "`r DODschools::noTouch('metadata.yml')$reader3$name`"
# department: "`r DODschools::noTouch('metadata.yml')$reader3$dept`"
# rank: "`r DODschools::noTouch('metadata.yml')$reader3$rank`"
# service: "`r DODschools::noTouch('metadata.yml')$reader3$service`"
# prevdegree: "`r DODschools::noTouch('metadata.yml')$reader3$currentDegree`"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.