Closed shadowwalker2718 closed 7 years ago
Sorry to hear that. In your error message there is a line:
Refer to 'thesis_classic.log' for details
Could you please post 'thesis_classic.log', 'thesis_classic.tex' and 'thesis_classic.Rmd'?
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live 2017) (preloaded format=pdflatex 2017.6.29) 29 JUN 2017 12:07
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**thesis_classic.tex
(./thesis_classic.tex
LaTeX2e <2017-04-15>
Babel <3.11> and hyphenation patterns for 84 language(s) loaded.
(/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/scrreprt.cls
Document Class: scrreprt 2017/04/13 v3.23 KOMA-Script document class (report)
(/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/scrkbase.sty
Package: scrkbase 2017/04/13 v3.23 KOMA-Script package (KOMA-Script-dependent b
asics and keyval usage)
(/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/scrbase.sty
Package: scrbase 2017/04/13 v3.23 KOMA-Script package (KOMA-Script-independent
basics and keyval usage)
(/usr/local/texlive/2017/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2014/10/28 v1.15 key=value parser (DPC)
\KV@toks@=\toks14
) (/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/scrlfile.sty
Package: scrlfile 2017/04/13 v3.23 KOMA-Script package (loading files)
Package scrlfile, 2017/04/13 v3.23 KOMA-Script package (loading files)
Copyright (C) Markus Kohm
))) (/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/tocbasic.sty
Package: tocbasic 2017/04/13 v3.23 KOMA-Script package (handling toc-files)
\scr@dte@tocline@numberwidth=\skip41
\scr@dte@tocline@numbox=\box26
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 133.
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lof' on input line 135.
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lot' on input line 136.
Package tocbasic Info: defining new hook before heading of `' on input line 161
2.
Class scrreprt Info: You've used standard option `openright'.
(scrreprt) This is correct!
(scrreprt) Internally I'm using `open=right'.
(scrreprt) If you'd like to set the option with \KOMAoptions,
(scrreprt) you'd have to use `open=right' there
(scrreprt) instead of `openright', too.
Class scrreprt Info: File `scrsize11pt.clo' used to setup font sizes on input l
ine 2272.
(/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/scrsize11pt.clo
File: scrsize11pt.clo 2017/04/13 v3.23 KOMA-Script font size class option (11pt
)
) (/usr/local/texlive/2017/texmf-dist/tex/latex/koma-script/typearea.sty
Package: typearea 2017/04/13 v3.23 KOMA-Script package (type area)
\ta@bcor=\skip42
\ta@div=\count79
\ta@hblk=\skip43
\ta@vblk=\skip44
\ta@temp=\skip45
\footheight=\skip46
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 10
(typearea) BCOR = 14.22636pt
(typearea) \paperwidth = 500.76855pt
(typearea) \textwidth = 340.57957pt
(typearea) DIV departure = 5%
(typearea) \evensidemargin = 25.03842pt
(typearea) \oddsidemargin = -9.38942pt
(typearea) \paperheight = 711.31897pt
(typearea) \textheight = 419.00018pt
(typearea) \topmargin = -1.13809pt
(typearea) \headheight = 17.0pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.6pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 1647.
)
\c@part=\count80
\c@chapter=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\scr@dte@part@maxnumwidth=\skip47
\scr@dte@chapter@maxnumwidth=\skip48
\scr@dte@section@maxnumwidth=\skip49
\scr@dte@subsection@maxnumwidth=\skip50
\scr@dte@subsubsection@maxnumwidth=\skip51
\scr@dte@paragraph@maxnumwidth=\skip52
\scr@dte@subparagraph@maxnumwidth=\skip53
LaTeX Info: Redefining \textsubscript on input line 4841.
\abovecaptionskip=\skip54
\belowcaptionskip=\skip55
\c@pti@nb@sid@b@x=\box27
\c@figure=\count87
\c@table=\count88
Class scrreprt Info: Redefining `\numberline' on input line 5988.
\bibindent=\dimen102
)
\c@dummy=\count89
(/usr/local/texlive/2017/texmf-dist/tex/latex/lipsum/lipsum.sty
Package: lipsum 2014/07/27 v1.3 150 paragraphs of Lorem Ipsum dummy text
\c@lips@count=\count90
) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/inputenc.sty
Package: inputenc 2015/03/17 v1.2c Input encoding file
\inpenc@prehook=\toks15
\inpenc@posthook=\toks16
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/latin9.def
File: latin9.def 2015/03/17 v1.2c Input encoding file
)) (/usr/local/texlive/2017/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2017/06/26 3.11 The Babel package
(/usr/local/texlive/2017/texmf-dist/tex/generic/babel/switch.def
File: switch.def 2017/06/26 3.11 Babel switching mechanism
) (/usr/local/texlive/2017/texmf-dist/tex/generic/babel-german/ngerman.ldf
Language: ngerman 2016/11/02 v2.9 German support for babel (new orthography)
(/usr/local/texlive/2017/texmf-dist/tex/generic/babel-german/ngermanb.ldf
Language: ngermanb 2016/11/02 v2.9 German support for babel (new orthography)
(/usr/local/texlive/2017/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2017/06/26 3.11 Babel common definitions
(/usr/local/texlive/2017/texmf-dist/tex/generic/babel/switch.def
File: switch.def 2017/06/26 3.11 Babel switching mechanism
)
\babel@savecnt=\count91
\U@D=\dimen103
)
Package babel Info: Making " an active character on input line 125.
)) (/usr/local/texlive/2017/texmf-dist/tex/generic/babel-english/american.ldf
Language: american 2017/06/06 v3.3r English support from the babel system
(/usr/local/texlive/2017/texmf-dist/tex/generic/babel-english/english.ldf
Language: english 2017/06/06 v3.3r English support from the babel system
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
))) (/usr/local/texlive/2017/texmf-dist/tex/latex/natbib/natbib.sty
Package: natbib 2010/09/13 8.31b (PWD, AO)
\bibhang=\skip56
\bibsep=\skip57
LaTeX Info: Redefining \cite on input line 694.
\c@NAT@ctr=\count92
) (/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2016/11/05 v2.16a AMS math features
\@mathmargin=\skip58
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01 AMS text
(/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0 generic functions
\@emptytoks=\toks17
\ex@=\dimen104
)) (/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d Bold Symbols
\pmbraise@=\dimen105
) (/usr/local/texlive/2017/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 2016/03/08 v2.02 operator names
)
\inf@bad=\count93
LaTeX Info: Redefining \frac on input line 213.
\uproot@=\count94
\leftroot@=\count95
LaTeX Info: Redefining \overline on input line 375.
\classnum@=\count96
\DOTSCASE@=\count97
LaTeX Info: Redefining \ldots on input line 472.
LaTeX Info: Redefining \dots on input line 475.
LaTeX Info: Redefining \cdots on input line 596.
\Mathstrutbox@=\box28
\strutbox@=\box29
\big@size=\dimen106
LaTeX Font Info: Redeclaring font encoding OML on input line 712.
LaTeX Font Info: Redeclaring font encoding OMS on input line 713.
\macc@depth=\count98
\c@MaxMatrixCols=\count99
\dotsspace@=\muskip10
\c@parentequation=\count100
\dspbrk@lvl=\count101
\tag@help=\toks18
\row@=\count102
\column@=\count103
\maxfields@=\count104
\andhelp@=\toks19
\eqnshift@=\dimen107
\alignsep@=\dimen108
\tagshift@=\dimen109
\tagwidth@=\dimen110
\totwidth@=\dimen111
\lineht@=\dimen112
\@envbody=\toks20
\multlinegap=\skip59
\multlinetaggap=\skip60
\mathdisplay@stack=\toks21
LaTeX Info: Redefining \[ on input line 2817.
LaTeX Info: Redefining \] on input line 2818.
) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package
(/usr/local/texlive/2017/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2017/04/05 v2.0i Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 48.
)) (/usr/local/texlive/2017/texmf-dist/tex/latex/tools/xspace.sty
Package: xspace 2014/10/28 v1.13 Space after command names (DPC,MH)
) (/usr/local/texlive/2017/texmf-dist/tex/latex/mparhack/mparhack.sty
Package: mparhack 2005/04/17 v1.4 (T. Sgouros and S. Ulrich)
) (/usr/local/texlive/2017/texmf-dist/tex/latex/base/fixltx2e.sty
Package: fixltx2e 2016/12/29 v2.1a fixes to LaTeX (obsolete)
Applying: [2015/01/01] Old fixltx2e package on input line 46.
Package fixltx2e Warning: fixltx2e is not required with releases after 2015
(fixltx2e) All fixes are now in the LaTeX kernel.
(fixltx2e) See the latexrelease package for details.
Already applied: [0000/00/00] Old fixltx2e package on input line 53.
) (/usr/local/texlive/2017/texmf-dist/tex/latex/acronym/acronym.sty
Package: acronym 2015/03/21 v1.41 Support for acronyms (Tobias Oetiker)
(/usr/local/texlive/2017/texmf-dist/tex/latex/bigfoot/suffix.sty
Package: suffix 2006/07/15 1.5a Variant command support
) (/usr/local/texlive/2017/texmf-dist/tex/generic/xstring/xstring.sty (/usr/loc
al/texlive/2017/texmf-dist/tex/generic/xstring/xstring.tex
\@xs@message=\write3
\integerpart=\count105
\decimalpart=\count106
)
Package: xstring 2013/10/13 v1.7c String manipulations (C Tellechea)
) (/usr/local/texlive/2017/texmf-dist/tex/latex/relsize/relsize.sty
Package: relsize 2013/03/29 ver 4.1
)
\AC@clearlist=\toks22
)
! LaTeX Error: \bflabel undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.134 \renewcommand{\bflabel}
[1]{{#1}\hfill} % Fix the list of acronyms
Here is how much of TeX's memory you used:
4735 strings out of 492990
74534 string characters out of 6132621
339891 words of memory out of 5000000
8266 multiletter control sequences out of 15000+600000
4709 words of font info for 16 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
42i,1n,66p,8825b,137s stack positions out of 5000i,500n,10000p,200000b,80000s
! ==> Fatal error occurred, no output PDF file produced!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Classicthesis Typographic Thesis
% LaTeX Template
% Version 1.0 (23/4/12)
%
% This template has been downloaded from:
% http://www.LaTeXTemplates.com
%
% Original author:
% Andr?Miede (http://www.miede.de)
%
% License:
% CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/)
%
% General Tips:
% 1) Make sure to edit the classicthesis-config.file
% 2) New enumeration (A., B., C., etc in small caps): \begin{aenumerate} \end{aenumerate}
% 3) For margin notes: \marginpar or \graffito{}
% 4) Do not use bold fonts in this style, it is designed around them
% 5) Use tables as in the examples
% 6) See classicthesis-preamble.sty for useful commands
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------
\documentclass[
twoside,openright,titlepage,numbers=noenddot,headinclude,%1headlines,
footinclude=true,cleardoublepage=empty,
BCOR=5mm,paper=b5,fontsize=11pt, % Binding correction, paper type and font size
ngerman,american, % Languages
]{scrreprt}
%\usepackage{CJK}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Thesis Configuration File
%
% The main lines to change in this file are in the DOCUMENT VARIABLES
% section, the rest of the file is for advanced configuration.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%----------------------------------------------------------------------------------------
% DOCUMENT VARIABLES
% Fill in the lines below to enter your information into the thesis template
% Each of the commands can be cited anywhere in the thesis
%----------------------------------------------------------------------------------------
% Remove drafting to get rid of the '[ Date - classicthesis version 4.0 ]' text at the bottom of every page
\PassOptionsToPackage{eulerchapternumbers, listings,drafting, pdfspacing, subfig,beramono,eulermath,parts}{style/classicthesis}
% Available options: drafting parts nochapters linedheaders eulerchapternumbers beramono eulermath pdfspacing minionprospacing tocaligned dottedtoc manychapters listings floatperchapter subfig
% Adding 'dottedtoc' will make page numbers in the table of contents flushed right with dots leading to them
\newcommand{\myTitle}{A Classic Thesis Style\xspace}
\newcommand{\mySubtitle}{An Homage to The Elements of Typographic Style\xspace}
\newcommand{\myDegree}{Doktor-Ingenieur (Dr.-Ing.)\xspace}
\newcommand{\myName}{Andr\'e Miede\xspace}
\newcommand{\myProf}{Put name here\xspace}
\newcommand{\myOtherProf}{Put name here\xspace}
\newcommand{\mySupervisor}{Put name here\xspace}
\newcommand{\myFaculty}{Put data here\xspace}
\newcommand{\myDepartment}{Put data here\xspace}
\newcommand{\myUni}{Put data here\xspace}
\newcommand{\myLocation}{Darmstadt\xspace}
\newcommand{\myTime}{December 2011\xspace}
\newcommand{\myVersion}{version 4.0\xspace}
%----------------------------------------------------------------------------------------
% USEFUL COMMANDS
%----------------------------------------------------------------------------------------
\newcommand{\ie}{i.\,e.}
\newcommand{\Ie}{I.\,e.}
\newcommand{\eg}{e.\,g.}
\newcommand{\Eg}{E.\,g.}
\newcounter{dummy} % Necessary for correct hyperlinks (to index, bib, etc.)
\providecommand{\mLyX}{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
%----------------------------------------------------------------------------------------
% PACKAGES
%----------------------------------------------------------------------------------------
\usepackage{lipsum} % Used for inserting dummy 'Lorem ipsum' text into the template
%------------------------------------------------
\PassOptionsToPackage{latin9}{inputenc} % latin9 (ISO-8859-9) = latin1+"Euro sign"
\usepackage{inputenc}
%------------------------------------------------
%\PassOptionsToPackage{ngerman,american}{babel} % Change this to your language(s)
% Spanish languages need extra options in order to work with this template
%\PassOptionsToPackage{spanish,es-lcroman}{babel}
\usepackage{babel}
%------------------------------------------------
\PassOptionsToPackage{square,numbers}{natbib}
\usepackage{natbib}
%------------------------------------------------
\PassOptionsToPackage{fleqn}{amsmath} % Math environments and more by the AMS
\usepackage{amsmath}
%------------------------------------------------
\PassOptionsToPackage{T1}{fontenc} % T2A for cyrillics
\usepackage{fontenc}
%------------------------------------------------
\usepackage{xspace} % To get the spacing after macros right
%------------------------------------------------
\usepackage{mparhack} % To get marginpar right
%------------------------------------------------
\usepackage{fixltx2e} % Fixes some LaTeX stuff
%------------------------------------------------
\PassOptionsToPackage{smaller}{acronym} % Include printonlyused in the first bracket to only show acronyms used in the text
\usepackage{acronym} % nice macros for handling all acronyms in the thesis
%------------------------------------------------
%\renewcommand*{\acsfont}[1]{\textssc{#1}} % For MinionPro
\renewcommand{\bflabel}[1]{{#1}\hfill} % Fix the list of acronyms
%------------------------------------------------
\PassOptionsToPackage{pdftex}{graphicx}
\usepackage{graphicx}
%----------------------------------------------------------------------------------------
% FLOATS: TABLES, FIGURES AND CAPTIONS SETUP
%----------------------------------------------------------------------------------------
\usepackage{tabularx} % Better tables
\setlength{\extrarowheight}{3pt} % Increase table row height
\newcommand{\tableheadline}[1]{\multicolumn{1}{c}{\spacedlowsmallcaps{#1}}}
\newcommand{\myfloatalign}{\centering} % To be used with each float for alignment
\usepackage{caption}
\captionsetup{format=hang,font=small}
\usepackage{subfig}
\usepackage{longtable,booktabs}
%----------------------------------------------------------------------------------------
% CODE LISTINGS SETUP
%----------------------------------------------------------------------------------------
\usepackage{listings}
%\lstset{emph={trueIndex,root},emphstyle=\color{BlueViolet}}%\underbar} % for special keywords
\lstset{language=[LaTeX]Tex, % Specify the language for listings here
keywordstyle=\color{RoyalBlue}, % Add \bfseries for bold
basicstyle=\small\ttfamily, % Makes listings a smaller font size and a different font
%identifierstyle=\color{NavyBlue}, % Color of text inside brackets
commentstyle=\color{Green}\ttfamily, % Color of comments
stringstyle=\rmfamily, % Font type to use for strings
numbers=left, % Change left to none to remove line numbers
numberstyle=\scriptsize, % Font size of the line numbers
stepnumber=5, % Increment of line numbers
numbersep=8pt, % Distance of line numbers from code listing
showstringspaces=false, % Sets whether spaces in strings should appear underlined
breaklines=true, % Force the code to stay in the confines of the listing box
%frameround=ftff, % Uncomment for rounded frame
frame=single, % Frame border - none/leftline/topline/bottomline/lines/single/shadowbox/L
belowcaptionskip=.75\baselineskip % Space after the "Listing #: Desciption" text and the listing box
}
%----------------------------------------------------------------------------------------
% HYPERREFERENCES
%----------------------------------------------------------------------------------------
\PassOptionsToPackage{pdftex,hyperfootnotes=false,pdfpagelabels}{hyperref}
\usepackage{hyperref} % backref linktocpage pagebackref
\pdfcompresslevel=9
\pdfadjustspacing=1
\hypersetup{
% Uncomment the line below to remove all links (to references, figures, tables, etc)
%draft,
colorlinks=true, linktocpage=true, pdfstartpage=3, pdfstartview=FitV,
% Uncomment the line below if you want to have black links (e.g. for printing black and white)
%colorlinks=false, linktocpage=false, pdfborder={0 0 0}, pdfstartpage=3, pdfstartview=FitV,
breaklinks=true, pdfpagemode=UseNone, pageanchor=true, pdfpagemode=UseOutlines,
plainpages=false, bookmarksnumbered, bookmarksopen=true, bookmarksopenlevel=1,
hypertexnames=true, pdfhighlight=/O, urlcolor=webbrown, linkcolor=RoyalBlue, citecolor=webgreen,
%------------------------------------------------
% PDF file meta-information
pdftitle={\myTitle},
pdfauthor={\textcopyright\ \myName, \myUni, \myFaculty},
pdfsubject={},
pdfkeywords={},
pdfcreator={pdfLaTeX},
pdfproducer={LaTeX with hyperref and classicthesis}
%------------------------------------------------
}
%----------------------------------------------------------------------------------------
% BACKREFERENCES
%----------------------------------------------------------------------------------------
\usepackage{ifthen} % Allows the user of the \ifthenelse command
\newboolean{enable-backrefs} % Variable to enable backrefs in the bibliography
\setboolean{enable-backrefs}{false} % Variable value: true or false
\newcommand{\backrefnotcitedstring}{\relax} % (Not cited.)
\newcommand{\backrefcitedsinglestring}[1]{(Cited on page~#1.)}
\newcommand{\backrefcitedmultistring}[1]{(Cited on pages~#1.)}
\ifthenelse{\boolean{enable-backrefs}} % If backrefs were enabled
{
\PassOptionsToPackage{hyperpageref}{backref}
\usepackage{backref} % to be loaded after hyperref package
\renewcommand{\backreftwosep}{ and~} % separate 2 pages
\renewcommand{\backreflastsep}{, and~} % separate last of longer list
\renewcommand*{\backref}[1]{} % disable standard
\renewcommand*{\backrefalt}[4]{% detailed backref
\ifcase #1
\backrefnotcitedstring
\or
\backrefcitedsinglestring{#2}
\else
\backrefcitedmultistring{#2}
\fi}
}{\relax}
%----------------------------------------------------------------------------------------
% AUTOREFERENCES SETUP
% Redefines how references in text are prefaced for different
% languages (e.g. "Section 1.2" or "section 1.2")
%----------------------------------------------------------------------------------------
\makeatletter
\@ifpackageloaded{babel}
{
\addto\extrasamerican{
\renewcommand*{\figureautorefname}{Figure}
\renewcommand*{\tableautorefname}{Table}
\renewcommand*{\partautorefname}{Part}
\renewcommand*{\chapterautorefname}{Chapter}
\renewcommand*{\sectionautorefname}{Section}
\renewcommand*{\subsectionautorefname}{Section}
\renewcommand*{\subsubsectionautorefname}{Section}
}
\addto\extrasngerman{
\renewcommand*{\paragraphautorefname}{Absatz}
\renewcommand*{\subparagraphautorefname}{Unterabsatz}
\renewcommand*{\footnoteautorefname}{Fu\"snote}
\renewcommand*{\FancyVerbLineautorefname}{Zeile}
\renewcommand*{\theoremautorefname}{Theorem}
\renewcommand*{\appendixautorefname}{Anhang}
\renewcommand*{\equationautorefname}{Gleichung}
\renewcommand*{\itemautorefname}{Punkt}
}
\providecommand{\subfigureautorefname}{\figureautorefname} % Fix to getting autorefs for subfigures right
}{\relax}
\makeatother
%----------------------------------------------------------------------------------------
\usepackage{style/classicthesis}
%----------------------------------------------------------------------------------------
% CHANGING TEXT AREA
%----------------------------------------------------------------------------------------
%\linespread{1.05} % a bit more for Palatino
%\areaset[current]{312pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip
%\setlength{\marginparwidth}{7em}%
%\setlength{\marginparsep}{2em}%
%----------------------------------------------------------------------------------------
% USING DIFFERENT FONTS
%----------------------------------------------------------------------------------------
%\usepackage[oldstylenums]{kpfonts} % oldstyle notextcomp
%\usepackage[osf]{libertine}
%\usepackage{hfoldsty} % Computer Modern with osf
%\usepackage[light,condensed,math]{iwona}
%\renewcommand{\sfdefault}{iwona}
%\usepackage{lmodern} % <-- no osf support :-(
%\usepackage[urw-garamond]{mathdesign} <-- no osf support :-(
\usepackage{color}
\usepackage{fancyvrb}
\newcommand{\VerbBar}{|}
\newcommand{\VERB}{\Verb[commandchars=\\\{\}]}
\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}}
% Add ',fontsize=\small' for more characters per line
\usepackage{framed}
\definecolor{shadecolor}{RGB}{248,248,248}
\newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}}
\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{{#1}}}}
\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{{#1}}}
\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{{#1}}}
\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{{#1}}}
\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{{#1}}}
\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{{#1}}}
\newcommand{\CharTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{{#1}}}
\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{{#1}}}
\newcommand{\StringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{{#1}}}
\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{{#1}}}
\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{{#1}}}
\newcommand{\ImportTok}[1]{{#1}}
\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{{#1}}}}
\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{{#1}}}}}
\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{{#1}}}}}
\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{{#1}}}}}
\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{{#1}}}
\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{{#1}}}
\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{{#1}}}
\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{{#1}}}}
\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.81,0.36,0.00}{\textbf{{#1}}}}
\newcommand{\BuiltInTok}[1]{{#1}}
\newcommand{\ExtensionTok}[1]{{#1}}
\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{{#1}}}}
\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.77,0.63,0.00}{{#1}}}
\newcommand{\RegionMarkerTok}[1]{{#1}}
\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{{#1}}}}}
\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{{#1}}}}}
\newcommand{\AlertTok}[1]{\textcolor[rgb]{0.94,0.16,0.16}{{#1}}}
\newcommand{\ErrorTok}[1]{\textcolor[rgb]{0.64,0.00,0.00}{\textbf{{#1}}}}
\newcommand{\NormalTok}[1]{{#1}}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{lemma}{Lemma}[chapter]
\theoremstyle{definition}
\newtheorem{definition}{Definition}[chapter]
\newtheorem{corollary}{Corollary}[chapter]
\newtheorem{proposition}{Proposition}[chapter]
\theoremstyle{definition}
\newtheorem{example}{Example}[chapter]
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
\begin{document}
%\begin{CJK*}{GBK}{song}
\frenchspacing % Reduces space after periods to make text more compact
\raggedbottom % Makes all pages the height of the text on that page
\selectlanguage{american} % Select your default language - e.g. american or ngerman
%\renewcommand*{\bibname}{new name} % Uncomment to change the name of the bibliography
%\setbibpreamble{} % Uncomment to include a preamble to the bibliography - some text before the reference list starts
\pagenumbering{roman} % Roman page numbering prior to the start of the thesis content (i, ii, iii, etc)
\pagestyle{plain} % Suppress headers for the pre-content pages
%----------------------------------------------------------------------------------------
% PRE-CONTENT THESIS PAGES
%----------------------------------------------------------------------------------------
%\include{FrontBackmatter/Titlepage} % Main title page
% Title Page
\begin{titlepage}
\begin{addmargin}[-1cm]{-3cm}
\begin{center}
\large
\hfill
\vfill
\begingroup
\color{Maroon}\spacedallcaps{R bookdownplus} \\\\ \bigskip % Thesis title
\endgroup
\spacedlowsmallcaps{Peng Zhao} % Your name
\vfill
\includegraphics[width=6cm]{images/bookdownplus-logo.pdf} \\ \medskip % Picture
%\mySubtitle \\ \medskip % Thesis subtitle
%\myDegree \\
%\myDepartment \\
%\myFaculty \\
%\myUni \\ \bigskip
%\myTime\ -- \myVersion % Time and version
\vfill
\end{center}
\end{addmargin}
\end{titlepage}
% \include{FrontBackmatter/Titleback} % Back of the title page
%\cleardoublepage\include{FrontBackmatter/Dedication} % Dedication page
%\cleardoublepage\include{FrontBackmatter/Foreword} % Uncomment and create a Foreword.tex to include a foreword
%\cleardoublepage\include{FrontBackmatter/Abstract} % Abstract page
%\cleardoublepage\include{FrontBackmatter/Publication} % Publications from the thesis page
%\cleardoublepage\include{FrontBackmatter/Acknowledgments} % Acknowledgements page
\pagestyle{scrheadings} % Show chapter titles as headings
%\cleardoublepage\include{FrontBackmatter/Contents} % Contents, list of figures/tables/listings and acronyms
% Table of Contents - List of Tables/Figures/Listings and Acronyms
\refstepcounter{dummy}
\pdfbookmark[1]{\contentsname}{tableofcontents} % Bookmark name visible in a PDF viewer
\setcounter{tocdepth}{2} % Depth of sections to include in the table of contents - currently up to subsections
\setcounter{secnumdepth}{3} % Depth of sections to number in the text itself - currently up to subsubsections
\manualmark
\markboth{\spacedlowsmallcaps{\contentsname}}{\spacedlowsmallcaps{\contentsname}}
\tableofcontents
\automark[section]{chapter}
\renewcommand{\chaptermark}[1]{\markboth{\spacedlowsmallcaps{#1}}{\spacedlowsmallcaps{#1}}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\enspace\spacedlowsmallcaps{#1}}}
\clearpage
\begingroup
\let\clearpage\relax
\let\cleardoublepage\relax
\let\cleardoublepage\relax
%----------------------------------------------------------------------------------------
% List of Figures
%----------------------------------------------------------------------------------------
\refstepcounter{dummy}
%\addcontentsline{toc}{chapter}{\listfigurename} % Uncomment if you would like the list of figures to appear in the table of contents
\pdfbookmark[1]{\listfigurename}{lof} % Bookmark name visible in a PDF viewer
\listoffigures
\vspace*{8ex}
\newpage
%----------------------------------------------------------------------------------------
% List of Tables
%----------------------------------------------------------------------------------------
\refstepcounter{dummy}
%\addcontentsline{toc}{chapter}{\listtablename} % Uncomment if you would like the list of tables to appear in the table of contents
\pdfbookmark[1]{\listtablename}{lot} % Bookmark name visible in a PDF viewer
\listoftables
\vspace*{8ex}
\newpage
%----------------------------------------------------------------------------------------
% List of Listings
%----------------------------------------------------------------------------------------
\refstepcounter{dummy}
%\addcontentsline{toc}{chapter}{\lstlistlistingname} % Uncomment if you would like the list of listings to appear in the table of contents
\pdfbookmark[1]{\lstlistlistingname}{lol} % Bookmark name visible in a PDF viewer
\lstlistoflistings
\vspace*{8ex}
\newpage
%----------------------------------------------------------------------------------------
% Acronyms
%----------------------------------------------------------------------------------------
\refstepcounter{dummy}
%\addcontentsline{toc}{chapter}{Acronyms} % Uncomment if you would like the acronyms to appear in the table of contents
\pdfbookmark[1]{Acronyms}{acronyms} % Bookmark name visible in a PDF viewer
\markboth{\spacedlowsmallcaps{Acronyms}}{\spacedlowsmallcaps{Acronyms}}
\chapter*{Acronyms}
\begin{acronym}[UML]
\acro{DRY}{Don't Repeat Yourself}
\acro{API}{Application Programming Interface}
\acro{UML}{Unified Modeling Language}
\end{acronym}
\endgroup
\cleardoublepage
\pagenumbering{arabic} % Arabic page numbering for thesis content (1, 2, 3, etc)
%\setcounter{page}{90} % Uncomment to manually start the page counter at an arbitrary value (for example if you wish to count the pre-content pages in the page count)
\cleardoublepage % Avoids problems with pdfbookmark
%----------------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------
% \ctparttext{You can put some informational part preamble text here. Illo principalmente su nos. Non message \emph{occidental} angloromanic da. Debitas effortio simplificate sia se, auxiliar summarios da que, se avantiate publicationes via. Pan in terra summarios, capital interlingua se que. Al via multo esser specimen, campo responder que da. Le usate medical addresses pro, europa origine sanctificate nos se.} % Text on the Part 1 page describing the content in Part 1
\chapter{Introduction}\label{introduction}
\texttt{bookdown+}? Hmm\ldots{}sounds like something related to the
R\citep{R-base} package \texttt{bookdown} \citep{R-bookdown}?
\graffito{You can put some additional information here}
Yes, you \textbf{\emph{R}} right. Everyone knows that \texttt{bookdown}
is an excellent package for authoring books on programming languages.
But it is only one side of the coin. It can do more than expected.
\texttt{bookdown} smells like a tasty cake. I have been expecting
someone to cut it. Now I am helping myself. Therefore I am developing
\texttt{bookdown+}.
\texttt{bookdown+} is an extension of \texttt{bookdown}. It is a
collection of multiple templates, which I collected years ago on the
basis of \LaTeX, and have been tailoring them so that I can work happily
under the umbrella of \texttt{bookdown}. \texttt{bookdown+} shows you
the other side of the coin, which helps you write academic journal
articles, guitar books, chemical equations, mails, calendars, and
diaries.
I believe some official bookdown templates will be available in the near
future, but I cannot wait. Can you?
With \texttt{bookdown+} you can
\begin{itemize}
\item
record guitar chords,
\item
write a mail in an elegant layout,
\item
write a laboratory journal, or a personal diary,
\item
draw a monthly or weekly or conference calendar,
\item
and, of course, write academic articles in your favourite way,
\item
with chemical molecular formulae and equations,
\item
even in Chinese,
\item
and more wonders will come soon.
\end{itemize}
\texttt{bookdown+} is developed on the basis of the following
outstanding work:
\begin{itemize}
\item
R bookdown package \citep{R-bookdown}
\item
Two minimal book examples using bookdown by Yihui Xie \footnote{\url{https://github.com/yihui/bookdown-minimal}}
\footnote{\url{https://github.com/rstudio/bookdown-demo}}
\item
gchords, a LaTeX package for typesetting guitar chord diagrams by
Kasper Peeters \footnote{\url{http://kasper.phi-sci.com/gchords/}}
\item
Copernicus Publications LaTeX Package \footnote{\url{http://publications.copernicus.org/for_authors/latex_instructions.html}}
\end{itemize}
If I miss something that I should cite, please let me know.
\chapter{Quick start}\label{quick-start}
\section{Step 0. Preparation}\label{step-0.-preparation}
Before starting, you have to install R, RStudio, bookdown package, and
other software and packages (i.e. \texttt{Pandoc}, \LaTeX,
\texttt{rmarkdown}, \texttt{rticle}, \texttt{knitr}, etc.) which
bookdown depends on. See the official manual of bookdown \footnote{\url{https://bookdown.org/yihui/bookdown/}}
for details.
If you are ready,
\href{https://github.com/dapengde/bookdown-plus/archive/master.zip}{download
\texttt{bookdown+}} package as a zip file from Github. Unzip it to a
folder in your PC. You will find a file named \texttt{\_start.Rproj}.
Double click it, and it will be opened by RStudio.
OK, now you can see a \texttt{\_runme.R} file as well. Open it and run
the script, or follow my explanation as follows,
\section{Step 1. Title and author}\label{step-1.-title-and-author}
Specify the title and the author of your book, article, guitar book, or
whatever.
\section{Step 2: Template}\label{step-2-template}
Choose a template out of the available templates. Here I choose the 8th.
Run \texttt{fun/build.R}.
\section{Step 3: Write and Build}\label{step-3-write-and-build}
Now you can press \texttt{ctrl+shift+b} to build a demo book, which you
can find in \texttt{book/}.
Write your own text in \texttt{body.Rmd}, and build your own lovely
book.
Have fun!
\section{Models}\label{models}
Eq. \eqref{eq:mc2} is an equation.
\begin{equation}
E = mc^2
\label{eq:mc2}
\end{equation}
It can be written as \(E = mc^2\).
\chapter{Results}\label{results}
Fig. \ref{fig:fig1} psum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\begin{figure}
{\centering \includegraphics[width=0.8\linewidth]{thesis_classic_files/figure-latex/fig1-1}
}
\caption{caption}\label{fig:fig1}
\end{figure}
Tab. \ref{tab:tab1} psum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
\begin{table}
\caption{\label{tab:tab1}Here is a nice table!}
\centering
\begin{tabular}[t]{rrrrl}
\toprule
Sepal.Length & Sepal.Width & Petal.Length & Petal.Width & Species\\
\midrule
5.1 & 3.5 & 1.4 & 0.2 & setosa\\
4.9 & 3.0 & 1.4 & 0.2 & setosa\\
4.7 & 3.2 & 1.3 & 0.2 & setosa\\
4.6 & 3.1 & 1.5 & 0.2 & setosa\\
5.0 & 3.6 & 1.4 & 0.2 & setosa\\
\addlinespace
5.4 & 3.9 & 1.7 & 0.4 & setosa\\
4.6 & 3.4 & 1.4 & 0.3 & setosa\\
5.0 & 3.4 & 1.5 & 0.2 & setosa\\
4.4 & 2.9 & 1.4 & 0.2 & setosa\\
4.9 & 3.1 & 1.5 & 0.1 & setosa\\
\addlinespace
5.4 & 3.7 & 1.5 & 0.2 & setosa\\
4.8 & 3.4 & 1.6 & 0.2 & setosa\\
4.8 & 3.0 & 1.4 & 0.1 & setosa\\
4.3 & 3.0 & 1.1 & 0.1 & setosa\\
5.8 & 4.0 & 1.2 & 0.2 & setosa\\
\addlinespace
5.7 & 4.4 & 1.5 & 0.4 & setosa\\
5.4 & 3.9 & 1.3 & 0.4 & setosa\\
5.1 & 3.5 & 1.4 & 0.3 & setosa\\
5.7 & 3.8 & 1.7 & 0.3 & setosa\\
5.1 & 3.8 & 1.5 & 0.3 & setosa\\
\bottomrule
\end{tabular}
\end{table}
\chapter{Conclusions}\label{conclusions}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim
veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea
commodo consequat. Duis aute irure dolor in reprehenderit in voluptate
velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint
occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum
% Bibliography
\label{app:bibliography} % Reference the bibliography elsewhere with \autoref{app:bibliography}
\manualmark
\markboth{\spacedlowsmallcaps{\bibname}}{\spacedlowsmallcaps{\bibname}}
\refstepcounter{dummy}
\addtocontents{toc}{\protect\vspace{\beforebibskip}} % Place the bibliography slightly below the rest of the document content in the table of contents
\bibliographystyle{plainnat}
%\bibliography{bib/bib}
\bibliography{bib/bib.bib}
%\end{CJK*}
\end{document}
---
title: "R bookdownplus"
author: "Peng Zhao"
date: ""
output:
bookdown::pdf_book:
template: tex/template_thesis_classic.tex
keep_tex: yes
citation_package: natbib
# latex_engine: xelatex
toc_depth: 3
toc_unnumbered: no
toc_appendix: yes
pandoc_args: --chapters
quote_footer: ["\\begin{flushright}", "\\end{flushright}"]
bibliography: [bib/bib.bib]
biblio-style: apalike
link-citations: yes
colorlinks: no
toc: no
lot: no
lof: no
site: bookdown::bookdown_site
---
<!--chapter:end:index.Rmd-->
# Introduction
`bookdown+`? Hmm...sounds like something related to the R[@R-base] package `bookdown` [@R-bookdown]?
\graffito{You can put some additional information here}
Yes, you **_R_** right. Everyone knows that `bookdown` is an excellent package for authoring books on programming languages. But it is only one side of the coin. It can do more than expected. `bookdown` smells like a tasty cake. I have been expecting someone to cut it. Now I am helping myself. Therefore I am developing `bookdown+`.
`bookdown+` is an extension of `bookdown`. It is a collection of multiple templates, which I collected years ago on the basis of \LaTeX, and have been tailoring them so that I can work happily under the umbrella of `bookdown`. `bookdown+` shows you the other side of the coin, which helps you write academic journal articles, guitar books, chemical equations, mails, calendars, and diaries.
I believe some official bookdown templates will be available in the near future, but I cannot wait. Can you?
With `bookdown+` you can
- record guitar chords,
- write a mail in an elegant layout,
- write a laboratory journal, or a personal diary,
- draw a monthly or weekly or conference calendar,
- and, of course, write academic articles in your favourite way,
- with chemical molecular formulae and equations,
- even in Chinese,
- and more wonders will come soon.
`bookdown+` is developed on the basis of the following outstanding work:
- R bookdown package [@R-bookdown]
- Two minimal book examples using bookdown by Yihui Xie ^[https://github.com/yihui/bookdown-minimal] ^[https://github.com/rstudio/bookdown-demo]
- gchords, a LaTeX package for typesetting guitar chord diagrams by Kasper Peeters ^[http://kasper.phi-sci.com/gchords/]
- Copernicus Publications LaTeX Package ^[http://publications.copernicus.org/for_authors/latex_instructions.html]
If I miss something that I should cite, please let me know.
# Quick start
## Step 0. Preparation
Before starting, you have to install R, RStudio, bookdown package, and other software and packages (i.e. `Pandoc`, \LaTeX, `rmarkdown`, `rticle`, `knitr`, etc.) which bookdown depends on. See the official manual of bookdown ^[https://bookdown.org/yihui/bookdown/] for details.
If you are ready, [download `bookdown+`](https://github.com/dapengde/bookdown-plus/archive/master.zip) package as a zip file from Github. Unzip it to a folder in your PC. You will find a file named `_start.Rproj`. Double click it, and it will be opened by RStudio.
OK, now you can see a `_runme.R` file as well. Open it and run the script, or follow my explanation as follows,
## Step 1. Title and author
Specify the title and the author of your book, article, guitar book, or whatever.
## Step 2: Template
Choose a template out of the available templates. Here I choose the 8th.
Run `fun/build.R`.
## Step 3: Write and Build
Now you can press `ctrl+shift+b` to build a demo book, which you can find in `book/`.
Write your own text in `body.Rmd`, and build your own lovely book.
Have fun!
## Models
Eq. \@ref(eq:mc2) is an equation.
\begin{equation}
E = mc^2
(\#eq:mc2)
\end{equation}
It can be written as $E = mc^2$.
# Results
Fig. \@ref(fig:fig1) psum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```{r fig1, fig.cap='caption', out.width='80%', fig.align='center', echo=FALSE}
plot(cars)
Tab. \@ref(tab:tab1) psum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
knitr::kable(
head(iris, 20), caption = 'Here is a nice table!',
booktabs = TRUE
)
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
The cause is you have a different version of acronym.sty. See stackexchange:
\bflabel is not being used in the newest implementation of acronym.sty, they introduced \aclabelfont and a few others to deal with formatting. No backward compatibility.
I have fixed the problem in the newest version of bookdownplus. Please update your bookdownplus:
devtools::install_github("pzhaonet/bookdownplus")
Thanks. I works now for English text. But after I input some Chinese in body.Rmd
, I got the following errors:
output file: thesis_classic.knit.md
Latexmk: applying rule 'pdflatex'...
Latexmk: This is Latexmk, John Collins, 19 Jan. 2017, version: 4.52c.
Rule 'pdflatex': File changes, etc:
Non-existent destination files:
'thesis_classic.pdf'
------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex -halt-on-error -interaction=batchmode -recorder "thesis_classic.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
Collected error summary (may duplicate other messages):
pdflatex: Command for 'pdflatex' gave return code 1
Refer to 'thesis_classic.log' for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs of latex/pdflatex.
! LaTeX Error: Command \textyen unavailable in encoding T1.
Error: Failed to compile thesis_classic.tex. See thesis_classic.log for more info.
In addition: Warning messages:
1: In grep("^\\s*$", x) : input string 913 is invalid in this locale
2: In grep("^\\s*$", x) : input string 914 is invalid in this locale
3: In grep("^! ", x) : input string 913 is invalid in this locale
4: In grep("^! ", x) : input string 914 is invalid in this locale
Please delete thesis_classic.Rmd after you finish debugging the error.
Execution halted
Exited with status 1.
The support for Chinese needs additional consideration, which is not carried out in thesis_classic. See bookdownplus textbook: https://bookdown.org/baydap/bookdownplus/advanced.html#chinese
I updated R, latex and Latexmk to the latest version and also loaded bookdownplus. But the issue is still there:
My session info: