From f275f4b83ec32be816d515aa3207854caf6838a8 Mon Sep 17 00:00:00 2001 From: Ming Su Date: Mon, 13 Nov 2023 11:07:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8Dupdated=20publish2dw?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +- MS/MS.html.md | 101 +++++++++++++++++++++++++++ MS/MS.qmd | 2 + RP/20231231_XX项目报告/index.html.md | 72 +++++++++++++++++++ _extensions/inst/css/style.css | 10 +++ _quarto.yml | 16 ++--- 6 files changed, 196 insertions(+), 9 deletions(-) create mode 100644 MS/MS.html.md create mode 100644 RP/20231231_XX项目报告/index.html.md diff --git a/.gitignore b/.gitignore index a1678d6..69968ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /.quarto/ site_libs/ -*.html.md +BB/Ref/bib +_variables.yml +www/ diff --git a/MS/MS.html.md b/MS/MS.html.md new file mode 100644 index 0000000..3bbcaec --- /dev/null +++ b/MS/MS.html.md @@ -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} + diff --git a/MS/MS.qmd b/MS/MS.qmd index e8e9271..cfecc4f 100644 --- a/MS/MS.qmd +++ b/MS/MS.qmd @@ -80,6 +80,8 @@ require(uniteR) require(langeR) require(patchwork) require(lubridate) +biburl <- "http://drwater.rcees.ac.cn/cloud/s/ref_ming/download/Ref.bib" +if (!isRendering) { download.file(biburl, destfile = "Ref.bib") } ``` diff --git a/RP/20231231_XX项目报告/index.html.md b/RP/20231231_XX项目报告/index.html.md new file mode 100644 index 0000000..25201a7 --- /dev/null +++ b/RP/20231231_XX项目报告/index.html.md @@ -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 + +# 结论与下一步计划 + + +# 参考文献{-} diff --git a/_extensions/inst/css/style.css b/_extensions/inst/css/style.css index 7151bc7..8190685 100644 --- a/_extensions/inst/css/style.css +++ b/_extensions/inst/css/style.css @@ -57,3 +57,13 @@ ins { text-decoration-style: initial; text-decoration-thickness: 2px; } + +.clab { + background-color: rgb(255, 245, 240); +} + +.rem { + background-color: darkorange; + color: lightyellow; + text-decoration-thickness: 2.0px; +} diff --git a/_quarto.yml b/_quarto.yml index 069d31b..83c3805 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -1,6 +1,6 @@ title: "MANUSCRIPT TITLE" -submitjournal: "Water Research" -submitid: WR73679 +submitjournal: "JOURNAL" +submitid: lang: en date: today bibliography: [BB/Ref.bib, BB/localRef.bib] @@ -43,7 +43,7 @@ crossref: project: type: website - output-dir: ../www/manuscript/protected/su2023temp/@main + output-dir: www/ # render: # - index.qmd # - MS/SM.qmd @@ -53,10 +53,10 @@ project: # - MS/RN.qmd # - MS/AC.qmd website: - title: "Version: main" + title: "Version: {{< var branch >}}" reader-mode: true - site-url: https://drwater.rcees.ac.cn/manuscript/protected/su2023temp/@main - repo-url: https://drwater.rcees.ac.cn/git/manuscript/su2023temp/src/branch/main + site-url: https://drwater.rcees.ac.cn/{{< var projtype >}}/{{< var reponame >}}/@{{< var branch >}} + repo-url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}/src/branch/{{< var branch >}} repo-actions: [edit, source, issue] page-navigation: true page-footer: "Copyright 2023, [Ming Su](https://drwater.rcees.ac.cn)" @@ -92,9 +92,9 @@ website: - icon: git menu: - 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 - url: https://drwater.rcees.ac.cn/git/manuscript/su2023temp/issues + url: https://drwater.rcees.ac.cn/git/{{< var projtype >}}/{{< var reponame >}}/issues comments: hypothesis: theme: clean