适配updated publish2dw

This commit is contained in:
2023-11-13 11:07:45 +08:00
parent c96d77fb40
commit f275f4b83e
6 changed files with 196 additions and 9 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
/.quarto/ /.quarto/
site_libs/ site_libs/
*.html.md BB/Ref/bib
_variables.yml
www/
+101
View File
@@ -0,0 +1,101 @@
---
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}
+2
View File
@@ -80,6 +80,8 @@ require(uniteR)
require(langeR) require(langeR)
require(patchwork) require(patchwork)
require(lubridate) require(lubridate)
biburl <- "http://drwater.rcees.ac.cn/cloud/s/ref_ming/download/Ref.bib"
if (!isRendering) { download.file(biburl, destfile = "Ref.bib") }
``` ```
+72
View File
@@ -0,0 +1,72 @@
---
author: "中国科学院生态环境研究中心"
lang: zh
date: today
csl: _extensions/inst/tex/china-national-standard-gb-t-7714-2015-numeric.csl
format:
html:
theme: cosmo
keep-md: true
css: _extensions/inst/css/style.css
code-link: true
epub: default
pdf:
pdf-engine: xelatex
keep-tex: false
toc-title: 目录
classoption:
- 12pt
- lang=cn
- chinesefont=founder # founder|ctexfont|nofont
- scheme=chinese
- color=blue # blue|green|
- titlestyle=hang
# - twoside
header-includes:
- \usepackage{ctex}
- \linespread{1.5}
docx:
toc: false
highlight-style: github
reference-doc: _extensions/inst/word/repcn.docx
---
::: {.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}
:::
# 摘要
# 项目背景与国内外现状介绍
# 主要进展1
# 主要进展2
# 结论与下一步计划
# 参考文献{-}
+10
View File
@@ -57,3 +57,13 @@ ins {
text-decoration-style: initial; text-decoration-style: initial;
text-decoration-thickness: 2px; text-decoration-thickness: 2px;
} }
.clab {
background-color: rgb(255, 245, 240);
}
.rem {
background-color: darkorange;
color: lightyellow;
text-decoration-thickness: 2.0px;
}
+8 -8
View File
@@ -1,6 +1,6 @@
title: "MANUSCRIPT TITLE" title: "MANUSCRIPT TITLE"
submitjournal: "Water Research" submitjournal: "JOURNAL"
submitid: WR73679 submitid:
lang: en lang: en
date: today date: today
bibliography: [BB/Ref.bib, BB/localRef.bib] bibliography: [BB/Ref.bib, BB/localRef.bib]
@@ -43,7 +43,7 @@ crossref:
project: project:
type: website type: website
output-dir: ../www/manuscript/protected/su2023temp/@main output-dir: www/
# render: # render:
# - index.qmd # - index.qmd
# - MS/SM.qmd # - MS/SM.qmd
@@ -53,10 +53,10 @@ project:
# - MS/RN.qmd # - MS/RN.qmd
# - MS/AC.qmd # - MS/AC.qmd
website: website:
title: "Version: main" title: "Version: {{< var branch >}}"
reader-mode: true reader-mode: true
site-url: https://drwater.rcees.ac.cn/manuscript/protected/su2023temp/@main site-url: https://drwater.rcees.ac.cn/{{< var projtype >}}/{{< var reponame >}}/@{{< var branch >}}
repo-url: https://drwater.rcees.ac.cn/git/manuscript/su2023temp/src/branch/main repo-url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}/src/branch/{{< var branch >}}
repo-actions: [edit, source, issue] repo-actions: [edit, source, issue]
page-navigation: true page-navigation: true
page-footer: "Copyright 2023, [Ming Su](https://drwater.rcees.ac.cn)" page-footer: "Copyright 2023, [Ming Su](https://drwater.rcees.ac.cn)"
@@ -92,9 +92,9 @@ website:
- icon: git - icon: git
menu: menu:
- text: Edit - text: Edit
url: https://drwater.rcees.ac.cn/git/manuscript/su2023temp/_edit/ url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}/_edit/
- text: Issue - text: Issue
url: https://drwater.rcees.ac.cn/git/manuscript/su2023temp/issues url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}/issues
comments: comments:
hypothesis: hypothesis:
theme: clean theme: clean