This commit is contained in:
2025-12-14 16:46:17 +08:00
parent e3780cb4d6
commit c48f783a14
17 changed files with 194 additions and 296 deletions
-44
View File
@@ -1,44 +0,0 @@
---
author: "中国科学院生态环境研究中心"
metadata-files:
- ../_metadata.yml
---
::: {.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}
:::
```{r}
#| label: setup
#| include: false
#| cache: false
lang <- "cn"
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf
isRendering <- !isTRUE(getOption('knitr.in.progress'))
require(lubridate)
require(tidyverse)
require(patchwork)
require(drwateR)
rmdify::rmd_init()
```
# 摘要
# 项目背景与国内外现状介绍
# 主要进展1
# 主要进展2
# 结论与下一步计划
# 参考文献{-}
+33
View File
@@ -0,0 +1,33 @@
---
subtitle: "Research Progress Report"
author: ""
format:
dwhm-html: default
dwms-docx: default
dwev-pdf: default
---
```{r}
#| include: false
lang <- "cn"
RM <- "F" # global rendermode, L: load pdata; F: fast load pdf
isRendering <- !isTRUE(getOption('knitr.in.progress'))
require(lubridate)
require(tidyverse)
require(patchwork)
require(drwateR)
rmdify::rmd_init()
```
# 摘要
# 研究背景与国内外现状介绍
# 主要进展1
# 主要进展2
# 结论与下一步计划
# 参考文献{-}
+2 -5
View File
@@ -50,11 +50,8 @@ CJKsansfont: "Noto Sans CJK SC"
CJKmonofont: "Noto Sans Mono CJK SC"
CJKoptions: |
AutoFakeBold=true
# include-in-header: header.tex
# watermark: "drwater"
# watermark-color: "gray!3"
format:
dwhm-html: default
dwms-docx: default
# epub: default
dwev-pdf: default
+7 -7
View File
@@ -1,8 +1,10 @@
---
subtitle: "Report"
subtitle: "Reports"
author: ""
execute:
freeze: false
---
```{r}
#| output: asis
data.frame(fd = dir(".", pattern = "\\d{4}[-_]")) |>
@@ -26,11 +28,9 @@ data.frame(fd = dir(".", pattern = "\\d{4}[-_]")) |>
!grepl("qmd$", .x),
"",
paste0(
"<iframe title='",
gsub("^.*[_-]([^\\/]*)\\/.*$", "\\1", .x),
"' width=800 height=600 src = '",
gsub("qmd$", "html", .x),
"'></iframe>\n\n"
"{{< pdf ",
gsub("qmd$", "pdf", .x),
" width=400 height=510 button=\"Download\" >}}\n\n"
)
)
)