render compile

This commit is contained in:
2024-10-08 16:50:47 +08:00
parent 54decfc8ad
commit e2e1afe2d6
102 changed files with 1351 additions and 10391 deletions
+15 -15
View File
@@ -2,13 +2,12 @@
\providecommand\zref@newlabel[2]{}
\providecommand\hyper@newdestlabel[2]{}
\providecommand*\HyPL@Entry[1]{}
\providecommand\babel@aux[2]{}
\providecommand \babel@aux [2]{\global \let \babel@toc \@gobbletwo }
\@nameuse{bbl@beforestart}
\bibstyle{elsarticle-harv}
\emailauthor{mingsu@rcees.ac.cn}{Ming Su}
\emailauthor{yangmin@rcees.ac.cn}{Min Yang\corref {cor1}}
\Newlabel{cor1}{1}
\bibdata{../BB/Ref.bib,../BB/localRef.bib}
\HyPL@Entry{0<</S/D>>}
\babel@aux{english}{}
\Newlabel{1}{a}
@@ -18,16 +17,17 @@
\newlabel{r:r1q0101}{{Bla blaBla blaBla blaBla blaBla bla Bla bla.}{}}
\newlabel{r1q0101}{{1}{1}{Introduction}{section.1}{}}
\newlabel{r1q0101end}{{1}{1}{Introduction}{section.1}{}}
\newlabel{line:r1q0101}{{6}{1}{}{}{}}
\newlabel{line:r1q0101end}{{6}{1}{}{}{}}
\@writefile{toc}{\contentsline {section}{\numberline {2}Materials and methods}{1}{section.2}\protected@file@percent }
\newlabel{materials-and-methods}{{2}{1}{Materials and methods}{section.2}{}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Results}{1}{section.3}\protected@file@percent }
\newlabel{results}{{3}{1}{Results}{section.3}{}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Discussion}{1}{section.4}\protected@file@percent }
\newlabel{discussion}{{4}{1}{Discussion}{section.4}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5}Conclusions}{1}{section.5}\protected@file@percent }
\newlabel{conclusions}{{5}{1}{Conclusions}{section.5}{}}
\newlabel{acknowledgements}{{5}{1}{Acknowledgements}{section*.1}{}}
\@writefile{toc}{\contentsline {section}{Acknowledgements}{1}{section*.1}\protected@file@percent }
\gdef \@abspage@last{1}
\newlabel{line:r1q0101}{{10}{1}{}{}{}}
\newlabel{line:r1q0101end}{{10}{1}{}{}{}}
\bibdata{../BB/Ref.bib,../BB/localRef.bib}
\@writefile{toc}{\contentsline {section}{\numberline {2}Materials and methods}{2}{section.2}\protected@file@percent }
\newlabel{materials-and-methods}{{2}{2}{Materials and methods}{section.2}{}}
\@writefile{toc}{\contentsline {section}{\numberline {3}Results}{2}{section.3}\protected@file@percent }
\newlabel{results}{{3}{2}{Results}{section.3}{}}
\@writefile{toc}{\contentsline {section}{\numberline {4}Discussion}{2}{section.4}\protected@file@percent }
\newlabel{discussion}{{4}{2}{Discussion}{section.4}{}}
\@writefile{toc}{\contentsline {section}{\numberline {5}Conclusions}{2}{section.5}\protected@file@percent }
\newlabel{conclusions}{{5}{2}{Conclusions}{section.5}{}}
\newlabel{acknowledgements}{{5}{2}{Acknowledgements}{section*.1}{}}
\@writefile{toc}{\contentsline {section}{Acknowledgements}{2}{section*.1}\protected@file@percent }
\gdef \@abspage@last{2}
+35 -32
View File
@@ -14,41 +14,38 @@ format:
elsevier-html:
css: _extensions/inst/css/style.css
keep-md: true
dplyr::filters:
- author-info-blocks
epub: default
docx:
reference-doc: _extensions/inst/word/MS.docx
dplyr::filters:
- author-info-blocks
# elsevier-pdf:
# keep-tex: false
# keep-md: false
# include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
# latex-clean: false
# header-includes:
# # - \usepackage{threeparttable}
# # - \usepackage{fontspec}
# # - \usepackage{endfloat}
# - \setmainfont{Calibri}
# - \usepackage[UTF8, scheme=plain]{ctex}
# - \usepackage{float}
# - \usepackage[normalem]{ulem}
# - \usepackage[doublespacing]{setspace}
# - \usepackage{lineno}
# - \linenumbers
# journal:
# formatting: preprint # preprint | review | doublebind
# model: 1p
# cite-style: authoryear
# # graphical-abstract: "![](../figures/GA3.pdf)"
# # highlights:
# # - A comprehensive model was contructed to evaluate the risk of odor occurrences
# # - Turbidity distribution determine underwater light and MIB-producing *Planktothrix*
# # - Increasing flowrate increases turbidity that can control *Planktothrix* and MIB
# # - Odor control based on flow regulation in source water is "green" and fundamental
# filters:
# - latex-environment
elsevier-pdf:
keep-tex: false
keep-md: false
include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
latex-clean: false
header-includes:
# - \usepackage{threeparttable}
# - \usepackage{fontspec}
# - \usepackage{endfloat}
- \setmainfont{Calibri}
- \usepackage[UTF8, scheme=plain]{ctex}
- \usepackage{float}
- \usepackage[normalem]{ulem}
- \usepackage[doublespacing]{setspace}
- \usepackage{lineno}
- \linenumbers
journal:
formatting: preprint # preprint | review | doublebind
model: 1p
cite-style: authoryear
# graphical-abstract: "![](../figures/GA3.pdf)"
# highlights:
# - A comprehensive model was contructed to evaluate the risk of odor occurrences
# - Turbidity distribution determine underwater light and MIB-producing *Planktothrix*
# - Increasing flowrate increases turbidity that can control *Planktothrix* and MIB
# - Odor control based on flow regulation in source water is "green" and fundamental
filters:
- latex-environment
- authors-block
commands: [clab]
---
@@ -61,6 +58,8 @@ commands: [clab]
::: {.content-visible when-format="html"}
# Color tip {.unnumbered}
@@ -87,6 +86,10 @@ commands: [clab]
# Introduction
-101
View File
@@ -1,101 +0,0 @@
---
msname: MS
smname: SM
abstract: ABSTRACT
keywords:
- KEYWORD1
- KEYWORD2
- KEYWORD3
# date: last-modified
bibliography: [../BB/Ref.bib, ../BB/localRef.bib]
# csl: https://www.zotero.org/styles/elsevier-harvard
csl: _extensions/inst/tex/elsevier-harvard.csl
format:
elsevier-html:
css: _extensions/inst/css/style.css
keep-md: true
filters:
- author-info-blocks
epub: default
docx:
reference-doc: _extensions/inst/word/MS.docx
filters:
- author-info-blocks
elsevier-pdf:
keep-tex: true
keep-md: true
include-in-header: "./_extensions/quarto-journals/elsevier/partials/revision.tex"
latex-clean: false
header-includes:
# - \usepackage{threeparttable}
# - \usepackage{fontspec}
# - \usepackage{endfloat}
- \setmainfont{Calibri}
# - \usepackage[UTF8, scheme=plain]{ctex}
# - \usepackage{float}
- \usepackage[normalem]{ulem}
- \usepackage[doublespacing]{setspace}
- \usepackage{lineno}
- \linenumbers
journal:
formatting: preprint # preprint | review | doublebind
model: 1p
cite-style: authoryear
# graphical-abstract: "![](./figures/GA3.pdf)"
# highlights:
# - A comprehensive model was contructed to evaluate the risk of odor occurrences
# - Turbidity distribution determine underwater light and MIB-producing *Planktothrix*
# - Increasing flowrate increases turbidity that can control *Planktothrix* and MIB
# - Odor control based on flow regulation in source water is "green" and fundamental
filters:
- latex-environment
commands: [clab]
---
::: {.content-visible when-format="html"}
# Color tip {.unnumbered}
- [Something should be deleted]{.del}
- [Something bad]{.bad}
- [Something good]{.good}
- [Something todo]{.todo}
- [Something should be added]{.add}
- [I am a comment]{.com}
:::
# Introduction
Blabla. [Bla blaBla blaBla blaBla blaBla bla Bla bla.]{.clab options=r1q0101}
# Materials and methods
# Results
# Discussion
# Conclusions
# Acknowledgements {.unnumbered}
This work was financially supported by the National Natural Science Foundation of China (52030002, 51878649), and Youth Innovation Promotion Association CAS.
# References {.unnumbered}
+1
View File
@@ -46,6 +46,7 @@ format:
filters:
- latex-environment
- authors-block
ightbox: auto
commands: [clab]
---
-284
View File
@@ -1,284 +0,0 @@
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
%
\documentclass[
authoryear,
preprint,
1p]{elsarticle}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
% xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\setcounter{secnumdepth}{5}
% Make \paragraph and \subparagraph free-standing
\ifx\paragraph\undefined\else
\let\oldparagraph\paragraph
\renewcommand{\paragraph}[1]{\oldparagraph{#1}\mbox{}}
\fi
\ifx\subparagraph\undefined\else
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\usepackage{graphicx}
\makeatletter
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Set default figure placement to htbp
\makeatletter
\def\fps@figure{htbp}
\makeatother
\usepackage{enumitem}
\usepackage{fontspec}
\usepackage{float}
\usepackage[normalem]{ulem}
\usepackage{hyperref}
\usepackage{nameref} %needed by zref-xr
\usepackage{zref-xr,zref-hyperref,zref-user}
\usepackage{xr-hyper}
\usepackage{adjustbox}
% \usepackage{xcolor}
\usepackage{mdframed}
\newmdenv[topline=false,
leftline=true,
bottomline=false,
rightline=false,
linewidth=3pt,
%backgroundcolor=lightgray,
linecolor=gray!30,
backgroundcolor=gray!5,
skipabove=\topsep,
skipbelow=\topsep,
leftmargin=0pt,
rightmargin=0pt,
innertopmargin=0pt,
innerbottommargin=0pt
]{refquote}
\newmdenv[topline=false,
leftline=true,
bottomline=false,
rightline=false,
linewidth=3pt,
%backgroundcolor=lightgray,
backgroundcolor=red!3!white,
linecolor=red!30!white,
skipabove=\topsep,
skipbelow=\topsep,
leftmargin=0pt,
rightmargin=0pt,
innertopmargin=10pt,
innerbottommargin=10pt
]{question}
% setup hyperlink for page and line number
\def\msname{MS}
\def\smname{SM}
\setenumerate{labelsep=*, leftmargin=1.0pc}
%\zexternaldocument*{ManuscriptNew\veraa}
\zexternaldocument*{\msname}
\zexternaldocument*{\smname}
\newcommand{\hlabel}[1]{\label{#1}\hypertarget{#1}{
\linelabel{line:#1}}}
%\externaldocument[si-]{\smname\veraa}[\smname\veraa.pdf]
\makeatletter
\newcommand{\clab}[2][]{
\protected@write\@auxout{\let\clab\@secondoftwo}{
\string\newlabel{r:#1}{{#2}{}}}%
\hlabel{#1}#2\hlabel{#1end}}
\makeatother
\newcommand{\zhypera}[1]{\href[pdfnewwindow]{\msname.pdf\##1}{\\[1ex]\textbf{Page \zpageref{#1}, Line
\zref{line:#1}--\zref{line:#1end}:}\\}}
\newcommand{\cref}[1]{\begin{refquote}\zhypera{#1}{\zref{r:#1}}\\[-0.5ex]\end{refquote}}
% \newenvironment{ra}[1][\unskip]{\par \noindent \\[-1ex] \textbf{Response/Action:}\par\bf}{\ \\}
\renewenvironment{quote}{\begin{question}}{\end{question}}
% \renewenvironment{verbatim}{\begin{ra}}{\end{ra}}
\setmainfont{Calibri}
\usepackage[normalem]{ulem}
\usepackage[doublespacing]{setspace}
\usepackage{lineno}
\linenumbers
\makeatletter
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\AtBeginDocument{%
\ifdefined\contentsname
\renewcommand*\contentsname{Table of contents}
\else
\newcommand\contentsname{Table of contents}
\fi
\ifdefined\listfigurename
\renewcommand*\listfigurename{List of Figures}
\else
\newcommand\listfigurename{List of Figures}
\fi
\ifdefined\listtablename
\renewcommand*\listtablename{List of Tables}
\else
\newcommand\listtablename{List of Tables}
\fi
\ifdefined\figurename
\renewcommand*\figurename{Fig.}
\else
\newcommand\figurename{Fig.}
\fi
\ifdefined\tablename
\renewcommand*\tablename{Table}
\else
\newcommand\tablename{Table}
\fi
}
\@ifpackageloaded{float}{}{\usepackage{float}}
\floatstyle{ruled}
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
\floatname{codelisting}{Listing}
\newcommand*\listoflistings{\listof{codelisting}{List of Listings}}
\makeatother
\makeatletter
\makeatother
\makeatletter
\@ifpackageloaded{caption}{}{\usepackage{caption}}
\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}}
\makeatother
\ifLuaTeX
\usepackage[bidi=basic]{babel}
\else
\usepackage[bidi=default]{babel}
\fi
\babelprovide[main,import]{english}
% get rid of language-specific shorthands (see #6817):
\let\LanguageShortHands\languageshorthands
\def\languageshorthands#1{}
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi
\usepackage[]{natbib}
\bibliographystyle{elsarticle-harv}
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same} % disable monospaced font for URLs
\hypersetup{
pdftitle={MANUSCRIPT TITLE},
pdfauthor={Ming Su; Min Yang},
pdflang={en},
pdfkeywords={KEYWORD1, KEYWORD2, KEYWORD3},
colorlinks=true,
linkcolor={blue},
filecolor={Maroon},
citecolor={Blue},
urlcolor={Blue},
pdfcreator={LaTeX via pandoc}}
\setlength{\parindent}{6pt}
\begin{document}
\begin{frontmatter}
\title{MANUSCRIPT TITLE }
\author[1,2]{Ming Su%
%
}
\ead{mingsu@rcees.ac.cn}
\author[1,2]{Min Yang%
\corref{cor1}%
}
\ead{yangmin@rcees.ac.cn}
\affiliation[1]{organization={State Key Laboratory of Environmental
Aquatic Chemistry, Research Center for Eco-Environmental Sciences,
Chinese Academy of Sciences},addressline={P.O. Box
2871},city={Beijing},postcode={100085}}
\affiliation[2]{organization={University of Chinese Academy of
Sciences},city={Beijing},postcode={100049}}
\cortext[cor1]{Corresponding author}
\begin{abstract}
ABSTRACT
\end{abstract}
\begin{keyword}
KEYWORD1 \sep KEYWORD2 \sep
KEYWORD3
\end{keyword}
\end{frontmatter}
\section{Introduction}\label{introduction}
Blabla. \clab[r1q0101]{Bla blaBla blaBla blaBla blaBla bla Bla bla.}
\section{Materials and methods}\label{materials-and-methods}
\section{Results}\label{results}
\section{Discussion}\label{discussion}
\section{Conclusions}\label{conclusions}
\section*{Acknowledgements}\label{acknowledgements}
\addcontentsline{toc}{section}{Acknowledgements}
This work was financially supported by the National Natural Science
Foundation of China (52030002, 51878649), and Youth Innovation Promotion
Association CAS.
\renewcommand\refname{References}
\bibliography{../BB/Ref.bib,../BB/localRef.bib}
\end{document}
+1 -1
View File
@@ -2,7 +2,7 @@
\providecommand\zref@newlabel[2]{}
\providecommand\hyper@newdestlabel[2]{}
\providecommand*\HyPL@Entry[1]{}
\providecommand\babel@aux[2]{}
\providecommand \babel@aux [2]{\global \let \babel@toc \@gobbletwo }
\@nameuse{bbl@beforestart}
\bibstyle{elsarticle-num}
\emailauthor{mingsu@rcees.ac.cn}{Ming Su}
+1
View File
@@ -32,6 +32,7 @@ format:
filters:
- latex-environment
- authors-block
- lightbox
commands: [clab]
---
+10 -1
View File
@@ -294,7 +294,7 @@
\urlstyle{same} % disable monospaced font for URLs
\hypersetup{
pdftitle={MANUSCRIPT TITLE},
pdfauthor={Ming Su; Min Yang},
pdfauthor={, and },
pdflang={en},
colorlinks=true,
linkcolor={blue},
@@ -337,6 +337,15 @@ Sciences},city={Beijing},postcode={100049}}
\end{frontmatter}
\textsuperscript{1} State Key Laboratory of Environmental Aquatic
Chemistry, Research Center for Eco-Environmental Sciences, Chinese
Academy of Sciences\\
\textsuperscript{2} University of Chinese Academy of Sciences
\textsuperscript{*} Correspondence:
\href{mailto:yangmin@rcees.ac.cn}{Min Yang
\textless{}yangmin@rcees.ac.cn\textgreater{}}
\section*{Supplementary Material}\label{supplementary-material}
\addcontentsline{toc}{section}{Supplementary Material}