Git Product home page Git Product logo

monashthesis's Introduction

Monash PhD Thesis Rmarkdown Template

This repository is now deprecated. Please use the monash R package instead which contains this template and several others.

monashthesis's People

Contributors

earowang avatar imgbotapp avatar robjhyndman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

monashthesis's Issues

Error when compiling PDF

/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS thesis.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output thesis.tex --table-of-contents --toc-depth 2 --template monashthesis.tex --number-sections --highlight-style tango --latex-engine pdflatex --biblatex --top-level-division=chapter --variable tables=yes --standalone 
output file: thesis.knit.md

tlmgr search --file --global '/authoryear-comp.dbx'
Unknown directive ...containerchecksum 400c4de374d02934965b5488f37c1b052ade07c2acfae957c9846390b2b78315c6aed2b533a2271bbacabd77c40536b63973bd42e2686f4c6d25d1f4c5b4709e... , please fix it! at /usr/local/texlive/2015/tlpkg/TeXLive/TLPOBJ.pm line 210, <$retfh> line 6202.
tlmgr search --file --global '/biblatex-dm.cfg'
Unknown directive ...containerchecksum 400c4de374d02934965b5488f37c1b052ade07c2acfae957c9846390b2b78315c6aed2b533a2271bbacabd77c40536b63973bd42e2686f4c6d25d1f4c5b4709e... , please fix it! at /usr/local/texlive/2015/tlpkg/TeXLive/TLPOBJ.pm line 210, <$retfh> line 6202.
! Package keyval Error: giveninits undefined.

Error: Failed to compile thesis.tex. See thesis.log for more info.
In addition: Warning messages:
1: running command ''tlmgr' search --file --global '/authoryear-comp.dbx'' had status 25 
2: running command ''tlmgr' search --file --global '/biblatex-dm.cfg'' had status 25 
Please delete thesis.Rmd after you finish debugging the error.
Execution halted

What's going on?

reduce space of codechunk

code_chunk

This is a my code chunk after compiling my work to a PDF, which is quite wide. Do you know I can reduce space in the chunk? Here is what my chunk actually looks like:

Family: gaussian 
Link function: identity 
Formula:
pm7_28 ~ s(X, Y, by = DEM) + s(DEM)
Parametric coefficients:
           Estimate   Std. Error   t value   Pr(>|t|)
(Intercept)     0          0          NA         NA
Approximate significance of smooth terms:
               edf    Ref.df      F       P-value    
s(X,Y):DEM  15.819   20.078   314.7    <0.0000002 ***
s(DEM)       1.001    1.001   601.5    <0.0000002 ***
--
Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Rank: 39/40
R-sq.(adj) =  0.672   Deviance explained =   76%
-REML = 187.95  Scale est. = 16.214    n = 60

Table of content Position

Hello!
Thank you for providing such a handy way to create a reproducible thesis template.
I was trying to produce my thesis using this thesis temple, and facing some difficulty placing the table of content in the right place. I want to place it after the abstract. I looked into your detailed .cls file and tried to figure it out. However, was not able to find my path. Can you guide me here?

Not working with latest latexmk and biber

The final pdf fails to compile when upgrading latexmk (12 Dec. 2017, version: 4.54c) and biber (2.9) to the latest version. And the pandoc argument also seems out-of-date.

/Applications/RStudio.app/Contents/MacOS/pandoc/pandoc +RTS -K512m -RTS thesis.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output thesis.tex --table-of-contents --toc-depth 2 --template monashthesis.tex --number-sections --highlight-style tango --latex-engine pdflatex --biblatex --chapters --variable tables=yes --standalone 
output file: thesis.knit.md

[pandoc warning] --chapters is deprecated. Use --top-level-division=chapter instead.
Latexmk: applying rule 'biber thesis'...
Latexmk: This is Latexmk, John Collins, 12 Dec. 2017, version: 4.54c.
Rule 'biber thesis': File changes, etc:
   Non-existent destination files:
      'thesis.bbl'
------------
Run number 1 of rule 'biber thesis'
------------
------------
Running 'biber  "thesis"'
------------
INFO - This is Biber 2.9
INFO - Logfile is 'thesis.blg'
INFO - Reading 'thesis.bcf'
INFO - Found 9 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'thesisrefs.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'thesisrefs.bib'
INFO - Overriding locale 'en-US' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Overriding locale 'en-US' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Sorting list 'nyt/global//global/global' of type 'entry' with template 'nyt' and locale 'en-US'
INFO - No sort tailoring available for locale 'en-US'
INFO - Writing 'thesis.bbl' with encoding 'UTF-8'
INFO - Output to thesis.bbl
Latexmk: applying rule 'pdflatex'...
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
Latexmk: Found biber source file(s) [thesis.bcf thesisrefs.bib]
Rule 'pdflatex': File changes, etc:
   Changed files, or newly in use since previous run(s):
      'thesis.aux'
      'thesis.bbl'
   Non-existent destination files:
      'thesis.pdf'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -halt-on-error -interaction=batchmode -recorder  "thesis.tex"'
------------
=== TeX engine is 'pdfTeX'
Latexmk: Errors, so I did not complete making targets
Latexmk: Found input bbl file 'thesis.bbl'
Latexmk: References changed.
Latexmk: Found biber source file(s) [thesis.bcf thesisrefs.bib]
Collected error summary (may duplicate other messages):
  pdflatex: Command for 'pdflatex' gave return code 1
      Refer to 'thesis.log' for details
Latexmk: Use the -f option to force complete processing,
 unless error was exceeding maximum runs of latex/pdflatex.
Latexmk: This is Latexmk, John Collins, 12 Dec. 2017, version: 4.54c.

Output created: _book/thesis.pdf
Error in tools::file_path_as_absolute(output_file) : 
  file '_book/thesis.pdf' does not exist
Calls: <Anonymous> ... render_book -> render_cur_session -> <Anonymous> -> <Anonymous>
In addition: Warning message:
In file.rename(output, output2) :
  cannot rename file 'thesis.pdf' to '_book/thesis.pdf', reason 'No such file or directory'
Please delete thesis.Rmd after you finish debugging the error.
Execution halted

Exited with status 1.

How to reduce line space with the title?

I have a long title for my thesis. I rendered to a pdf but got too much vertical spaces. As an example, here is how it looks on my PDF:

The hydraulics of open channel flow: 


an introduction: basic principles, sediment motion, 


hydraulic modelling, design of


hydraulic structures

However, I want something like:

The hydraulics of open channel flow: an introduction: basic principles, 
sediment motion, hydraulic modelling, design of hydraulic structures

Is there any way I can reduce the vertical lines?

Build Book error: `giveninits' undefined in families `blx@opt@pre'.

Thanks for making this pkg available, Rob!

I get an error when I "build book" in RStudio - this is probably something to do with my machine, but perhaps you have an idea of what I could change to fix this?

Error message is:

output file: thesis.knit.md

! Package xkeyval Error: `giveninits' undefined in families `blx@opt@pre'.

Error: Failed to compile thesis.tex. See thesis.log for more info.
Execution halted

Exited with status 1.

Let me know if you need more info!

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.