Coder Social home page Coder Social logo

dodschools's Introduction

DODschools

Rmarkdown Templates For Academic Documents at Department of Defense Schools

Build Status AppVeyor Build Status Coverage Status CRAN_Status_Badge

dodschools's People

Contributors

auburngrads avatar

Watchers

 avatar  avatar  avatar

dodschools's Issues

Font

The font seems lighter than it should be. The fonts on the title page even change color for different shades of black.

Can't cross-reference tables created using the xtable package

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?

Middle Initial

Author's middle initial is not populating throughout the rendered thesis.

Advisor's degree not generating

screen shot 2018-01-30 at 12 43 43 pm

In `metadata.yml`, I have my advisor's degree listed (PhD), but when I knit the document, nothing shows up after his name. However, the other committee members' information shows up just fine.
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]"

Numbered citations

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.

Unable to knit thesis template: missing `insdljs.sty`

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

Font is too light

Fonts that are not bold are too light throughout the document. Need to change a setting to make it darker.

Extra Committee Member

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:

screen shot 2018-02-09 at 1 53 36 pm

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`"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.