Commit ad321b03 authored by 陈天淼's avatar 陈天淼

5月20日稿件

parent 7d803487
# 澳大利亚虚拟电厂发展经验与市场机制研究
## 项目描述
本项目是一篇面向中文读者的公众号深度稿,主题为**澳大利亚虚拟电厂(VPP)的制度进阶:从试点入市到支撑分布式光伏**
文章围绕三条主线展开:
1. VPP 在澳大利亚的基本形态与起步背景
2. 2019 年至今的发展经验亮点与市场机制演进(试运行 → IRP 注册框架 → dispatch mode 批发市场计划)
3. VPP 如何成为高渗透率分布式光伏的系统支撑
文章约 4,500 字,以 LaTeX 撰写,所有关键论点均有官方原文溯源,参考文献来自 AEMO、AEMC、NER 等澳大利亚官方机构。
---
## 目录 (Table of Contents)
- [项目描述](#项目描述)
- [使用说明](#使用说明)
- [文件结构](#文件结构)
- [顶层文件](#顶层文件)
- [src/ — 素材与写作辅助](#src--素材与写作辅助)
- [src/ — 参考文献原始材料](#src--参考文献原始材料)
- [参考文献来源](#参考文献来源)
- [版本日志 (Changelog)](#版本日志-changelog)
---
## 使用说明
### 编译正文
本项目使用 **XeLaTeX + BibTeX** 编译链,推荐在 VS Code + LaTeX Workshop 插件下使用以下编译顺序:
```
xelatex → bibtex → xelatex → xelatex
## Latex语法规范
- 直接索引图片(png或jpg),不允许使用 `tikzpicture` 环境、`pdf`图片。因为不能被 `pandoc`转换为正确图片;
- 图格式:
```latex
\begin{figure}[htbp]
\centering
\includegraphics[width=0.8\textwidth]{pic/路径.png}
\caption{标题}
\label{fig:标题}
\end{figure}
```
或在终端手动执行:
```bash
xelatex thesis.tex
bibtex thesis
xelatex thesis.tex
xelatex thesis.tex
- 居中`gathered`对齐的公式:
```latex
\begin{equation}\label{OPF_model}
\begin{gathered}
\min _y m(y) \\
\text { s.t. } \\
h(y)=0 \\
g(y) \leq 0
\end{gathered}
\end{equation}
```
编译产物(PDF 等)输出至工作区根目录,辅助文件(`.aux``.bbl``.log` 等)也在根目录生成。
### 依赖环境
- TeX Live 2025 或以上
- XeTeX(用于中文支持)
- 宏包:`ctex``natbib``hyperref``geometry`
### 查阅引用溯源
正文每一处关键表述与原始官方材料的对应关系,记录在:
- 表(随文字自动调整):
```latex
\begin{table}[htbp]
\centering
\caption{模块参数汇总:Single Phase Asynchronous Machine (mask) (link)}
\label{tab:single-phase-machine-params}
\begin{tabularx}{\textwidth}{|X|X|}
\hline
\multicolumn{2}{|c|}{\textbf{Configuration}} \\
\hline
Mechanical input & Torque Tm \\
\hline
Units & SI \\
\hline
\end{tabularx}
\end{table}
```
src/引用溯源对照.md
- 在正文中应用代码:
```latex
\begin{lstlisting}[language=Python, caption={母线编号-机组编号映射关系}, label=code:example]
# 记录各bus上有哪些机组
gens_at_bus = {bus_idx: [] for bus_idx in range(len(ppc['bus']))}
for g_idx in range(len(ppc['gen'])):
bus_i = int(ppc['gen'][g_idx, GEN_BUS] - 1)
gens_at_bus[bus_i].append(g_idx)
print(gens_at_bus[0]) # 母线0上的机组编号是0(索引已经减一)
\end{lstlisting}
```
每条记录包含:正文句子 → 来源文件路径 → 原文行号 → 原文摘录。
---
## 文件结构
### 顶层文件
- 使用 vscode 运行具有 IO 的 py 文件时,保存建议使用绝对路径:
```python
import os
# 获取脚本所在目录的绝对路径
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
# 在脚本所在目录下的 output文件夹
OUTPUT_DIR = os.path.join(SCRIPT_DIR, "output")
```
auastralia_essay/
├── thesis.tex # 正文主文件(LaTeX,约 4,500 字)
├── README.md # 本文件
├── 初稿写作指引.md # 写作任务说明与要求
├── pic/ # 图片目录(备用)
├── ref/ # 备用参考文件目录(当前为空)
└── out/ # 编译输出目录(备用)
```
### src/ — 素材与写作辅助
## 胆敢在项目里拉屎的人将会被钉死在耻辱柱上!
拉屎的行为包括但不限于:
- 没有沟通就将分支融合在main中!
- 小修小改就上传到分支!
- 没有文件管理,文件名看球不懂!
- 待补充……
耻辱柱:
- 候选人1
- 候选人2
## 文本内容规范提示词
- 避免使用 `\item`分点罗列,而是使用规范编号。根据GB/T 7713系列标准,在“1.1”或“1.1.1”等标题之下,进行分点说明时,用以下格式。第一层列项:阿拉伯数字后加半角括号,示例 1);第二层列项(嵌套):括号中包含小写拉丁字母​,示例 (1) 。
```latex
\begin{enumerate}[label=\arabic*)]
\item
\item
\item
\end{enumerate}
```
## 最终导出为 word 流程
- 安装 pandoc 库;
- 在项目根目录下的`终端`执行命令,如果是`MACOS`系统:
```bash
# 使用 Word 模板文件
# 处理引用和参考文献
# 加载元数据文件
# 通过过滤器启用 LaTeX 样式编号
# 设置图片编号格式
# 设置表格编号格式
# 输出最终 Word 文档
pandoc -s thesis.tex \
--reference-doc=word/Report_template.docx \
--citeproc \
--metadata-file=word/meta.yaml \
-F pandoc-tex-numbering \
--metadata 'figure-src-format={prefix}{parent_num}-{this_num}' \
--metadata 'figure-ref-format={parent_num}-{this_num}' \
--metadata 'table-src-format={prefix}{parent_num}-{this_num}' \
--metadata 'table-ref-format={parent_num}-{this_num}' \
-o word/thesis_out.docx
```
src/
├── references.bib # BibTeX 参考文献库(9条条目)
├── 引用溯源对照.md # 正文逐句引用溯源记录(31条)
├── vpp_写作大纲_中间稿.md # 原始写作大纲(已确认版)
├── vpp_写作全记录.md # 大纲 + 全程写作决策与补充记录
├── 澳洲虚拟电厂支持光伏.md # AI 辅助整理的背景线索材料
├── thesis_ref.tex # LaTeX 辅助配置文件
├── Before.tex # LaTeX 辅助配置文件
└── Crop.tex # LaTeX 辅助配置文件
如果是`Windows`系统:
```bash
pandoc -s Report.tex `
--reference-doc=word/Report_template.docx `
--citeproc `
--metadata-file=word/meta.yaml `
-F pandoc-tex-numbering `
--metadata 'figure-src-format={prefix}{parent_num}-{this_num}' `
--metadata 'figure-ref-format={parent_num}-{this_num}' `
--metadata 'table-src-format={prefix}{parent_num}-{this_num}' `
--metadata 'table-ref-format={parent_num}-{this_num}' `
-o word/Report_final.docx
```
### src/ — 参考文献原始材料
每份 PDF 材料均以独立文件夹存放,文件夹内包含 `full.md`(PDF 转写)、`images/`(图片)及解析 JSON 文件。
| 文件夹名 | 来源机构 | 内容说明 |
|---------|---------|---------|
| `1-nem-vpp-demonstrations_final-design.pdf-cf08fcbd…` | AEMO | NEM VPP 试运行最终设计文件(2019) |
| `registration-fact-sheet-nem-battery-systems.pdf-cab4df53…` | AEMO | 电池系统在 NEM 注册说明(2024) |
| `registration-fact-sheet-nem-integrated-resource-provider.pdf-1a7d8f74…` | AEMO | IRP 注册说明文件(2024) |
| `application-guide-nem-customer-and-integrated-resource-provider.pdf-dcb91cc2…` | AEMO | MC 与 IRP 注册申请指南 |
| `Final determination-2.pdf-c1b228e5…` | AEMC | 将价格响应资源整合进 NEM 最终裁决(2024-12) |
| `NER - v243 - Full(国家电力规则)_96-155.pdf-a452a414…` | AEMC/NER | 国家电力规则第2章(第96-155页) |
| `NER - v243 - Full(国家电力规则)_155-300.pdf-c579a1ec…` | AEMC/NER | 国家电力规则第2-3章(第155-300页) |
| `NER - v243 - Full(国家电力规则)_300-424.pdf-3476af1e…` | AEMC/NER | 国家电力规则第3章(第300-424页) |
| `DER_Roadmap.pdf-2e0737cc…` | 西澳政府能源转型工作组 | 分布式能源路线图(2019) |
| `fact-sheet-operating-electricity-grids-with-rooftop-solar-installations.pdf-b9c2eacd…` | AEMO | 屋顶光伏电网运行说明 Fact Sheet |
| `fact-sheetminimum-system-load.pdf-369df254…` | AEMO | 最低系统负荷(MSL)说明 Fact Sheet |
| `【纵横】澳大利亚高普及屋顶光伏对电力市场影响分析.pdf-ef5ba1a9…` | 电联新媒 | 风格参考文章 |
| `环球 _ 澳大利亚虚拟电厂试点运行及经验.pdf-56f24fc8…` | 电联新媒 | 风格参考文章 + 试点经验综述 |
---
## 参考文献来源
正文引用的全部官方文献详见 `src/references.bib`,主要来源:
| 机构 | 文件 | 年份 |
|------|------|------|
| AEMO | NEM VPP Demonstrations Final Design | 2019 |
| AEMO | Registering a Battery in the NEM: Fact Sheet | 2024 |
| AEMO | Fact Sheet: Operating Electricity Grids with Rooftop Solar | 2024 |
| AEMO | Fact Sheet: Minimum System Load (MSL) | 2024 |
| AEMO | IPRR Program Update (April 2026 pause) | 2026 |
| AEMC | Final Determination: Integrating price-responsive resources into the NEM | 2024 |
| AEMC/NER | National Electricity Rules v243, Chapter 2 | 2024 |
| 西澳政府 | Distributed Energy Resources Roadmap | 2019 |
| 刘东胜 | 澳大利亚虚拟电厂试点运行及经验(《中国电力企业管理》) | 2022 |
---
## 版本日志 (Changelog)
### v0.4 — 2026-05-08
- 插入5张配图:各州光伏渗透率、VPP三种参与模式、5MW以下接入路径、鸭形曲线、MSL三级响应机制
- 在 preamble 加入 `graphicx` 宏包,图片统一存放于 `pic/` 目录
- 每张图在正文对应位置加引用说明,图文形成呼应
- 建立 `src/引用溯源对照.md` 插图溯源章节,记录每张图与原始官方材料的对应关系
- 修正三处规则/文件名称写法:NER、IESS、IPRR 均改为斜体全名首次出现、括号中文解释、标注缩写
- 补充三份新官方材料:AEMO 屋顶光伏 Fact Sheet、MSL Fact Sheet、西澳 DER Roadmap
- 用官方原文替换第三部分中依赖 AI 整理稿的两处表述(hosting capacity、40%-60%成本数据)
- 将编译链从 `biblatex + biber` 改为 `natbib + bibtex`,兼容 IDE 标准编译链
- 修正 `references.bib` 中 month 字段为数字格式
- 新增 `src/vpp_写作全记录.md`,记录全程写作决策与补充内容
### v0.3 — 2026-05-08
- 完成正文初稿(约 4,500 字),写入 `thesis.tex`
- 建立 `src/引用溯源对照.md`,覆盖正文全部关键表述(31条)
- 建立 `src/references.bib`(9条 BibTeX 条目)
- 补充 2026 年4月 AEMO 暂停 IPRR 实施路径的最新动态
- 修复 `thesis.tex` 缺少文档头导致的编译失败问题
### v0.2 — 2026-05-08
- 完成写作计划,保存至 `.claude/plans/md-twinkling-lecun.md`
- 完成资料分层与证据框架(阶段1)
- 完成文章大纲并经用户确认(阶段2),写入 `thesis.tex``src/vpp_写作大纲_中间稿.md`
- 确认写作偏好:市场机制与光伏支撑并列、结尾含中国启示、术语首次出现保留英文、文末列参考文献
### v0.1 — 2026-05-08
- 初始化项目结构和文件框架
- 检查终端输出的警告,以及`pandoc-tex-numbering.log`警告,例如是否存在交叉引用的缺失。如果没有错误,删除`pandoc-tex-numbering.log`文件,保持项目文件夹干净。
- 用`微软WORD`打开生成的`Report_final.docx`文件,检查格式是否正确,如果格式不正确,先删除`Report_template.docx`,再将`Report_final.docx`文件更名为`Report_template.docx`,在`微软WORD软件`样式窗格调整`Report_template.docx`对应样式,重新执行上述命令生成最终文档。
- 对于`MACOS`在`微软WORD-工具-宏`执行`SelectAllTables`宏,选择所有表格,居中并设置为三线表(三线表教程自行检索)或其他表格样式;对于`Windows`在`微软WORD-视图-宏-查看宏-选择宏-运行`执行`SelectAllTables_centering`宏。
- 如果没有`SelectAllTables`宏,打开`工具-Visual Basic编辑器`,`Windows`电脑需要`视图-宏-查看宏-创建`在左侧项目资源管理器中右键点击`Normal`,选择`插入-模块`,将以下代码复制粘贴到模块窗口中。宏的功能分别是选择所有表格以及选择所有表格后居中。
```vba
Sub SelectAllTables()
Dim T As Table
Application.ScreenUpdating = False
ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
For Each T In ActiveDocument.Tables
T.Range.Editors.Add wdEditorEveryone
Next
ActiveDocument.SelectAllEditableRanges wdEditorEveryone
ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
Application.ScreenUpdating = True
End Sub
Sub SelectAllTables_centering()
Dim T As Table
Application.ScreenUpdating = False
ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
' 遍历所有表格
For Each T In ActiveDocument.Tables
' 将表格相对于页面水平居中
T.Rows.Alignment = wdAlignRowCenter
T.Range.Editors.Add wdEditorEveryone
Next
ActiveDocument.SelectAllEditableRanges wdEditorEveryone
ActiveDocument.DeleteAllEditableRanges wdEditorEveryone
Application.ScreenUpdating = True
MsgBox "已将" & ActiveDocument.Tables.Count & "个表格水平居中并选中。", vbInformation
End Sub
```
- `ctrl + f`搜索`Section `(注意Section后的空格也要输入),替换为空值。
- 增加报告封面。封面页设置教程自行检索。
- 最后检查文档中的图片和表格是否正确显示,交叉引用是否正确,目录是否更新。
- 以上教程只是思路,如果有特殊的格式要求,可以参考宏的设计思路批量修改。
\ No newline at end of file
......@@ -12,6 +12,10 @@
\begin{center}
{\Large\bfseries 澳大利亚虚拟电厂的发展机制及对中国的启示}
\vspace{0.8em}
{\large 刘东胜\quad 卢嘉铭\quad 陈天淼\quad 曾镇扬}
\end{center}
\vspace{1em}
......
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" name-as-sort-order="all" sort-separator=" " demote-non-dropping-particle="never" initialize-with=" " initialize-with-hyphen="false" page-range-format="expanded" default-locale="zh-CN">
<info>
<title>China National Standard GB/T 7714-2015 (numeric, 中文)</title>
<id>http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric</id>
<link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric" rel="self"/>
<link href="https://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D8055ED3A7E05397BE0A0AB82A" rel="documentation"/>
<author>
<name>牛耕田</name>
<email>buffalo_d@163.com</email>
</author>
<contributor>
<name>Zeping Lee</name>
<email>zepinglee@gmail.com</email>
</contributor>
<category citation-format="numeric"/>
<category field="generic-base"/>
<summary>The Chinese GB/T 7714-2015 numeric style</summary>
<updated>2024-09-18T20:42:19+00:00</updated>
<rights license="http://creativecommons.org/licenses/by-sa/3.0/">This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License</rights>
</info>
<locale xml:lang="zh">
<date form="text">
<date-part name="year" suffix="年" range-delimiter="&#8212;"/>
<date-part name="month" form="numeric" suffix="月" range-delimiter="&#8212;"/>
<date-part name="day" suffix="日" range-delimiter="&#8212;"/>
</date>
<terms>
<term name="edition" form="short"></term>
<term name="open-quote"></term>
<term name="close-quote"></term>
<term name="open-inner-quote"></term>
<term name="close-inner-quote"></term>
</terms>
</locale>
<locale>
<date form="numeric">
<date-part name="year" range-delimiter="/"/>
<date-part name="month" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/>
<date-part name="day" form="numeric-leading-zeros" prefix="-" range-delimiter="/"/>
</date>
<terms>
<term name="page-range-delimiter">-</term>
</terms>
</locale>
<!-- 主要责任者 -->
<macro name="author">
<names variable="author">
<name>
<name-part name="family" text-case="uppercase"/>
</name>
<!-- <institution/> -->
<substitute>
<names variable="composer"/>
<names variable="illustrator"/>
<names variable="director"/>
<choose>
<if variable="container-title" match="none">
<names variable="editor"/>
</if>
</choose>
</substitute>
</names>
</macro>
<!-- 题名 -->
<macro name="title">
<group delimiter=", ">
<group delimiter=": ">
<text variable="title"/>
<group delimiter="&#8195;">
<choose>
<if variable="container-title" type="chapter entry-dictionary entry-encyclopedia paper-conference" match="none">
<text macro="volume"/>
<text variable="volume-title"/>
</if>
</choose>
<choose>
<if type="article article-journal" match="none">
<!-- 预印本和期刊文章的编号用于其他位置 -->
<text variable="number"/>
</if>
</choose>
<choose>
<if type="collection manuscript personal_communication" match="any">
<!-- 档案的卷宗号 -->
<text variable="archive_location"/>
</if>
</choose>
</group>
</group>
<choose>
<if variable="container-title" type="paper-conference" match="none">
<choose>
<if variable="event-date">
<text variable="event-place"/>
<date variable="event-date" form="text"/>
</if>
</choose>
</if>
</choose>
</group>
<group delimiter="/" prefix="[" suffix="]">
<text macro="type-id"/>
<text macro="medium-id"/>
</group>
</macro>
<!-- 书籍的卷号(“第 x 卷”或“第 x 册”) -->
<macro name="volume">
<choose>
<if type="article article-journal article-magazine article-newspaper periodical" match="none">
<choose>
<if is-numeric="volume">
<group delimiter=" ">
<label variable="volume" form="short" text-case="capitalize-first"/>
<text variable="volume"/>
</group>
</if>
<else>
<text variable="volume"/>
</else>
</choose>
</if>
</choose>
</macro>
<!-- 文献类型标识 -->
<macro name="type-id">
<choose>
<if type="article bill collection hearing legal_case legislation personal_communication regulation treaty" match="any">
<!-- 档案,A:分类保存以备查考的文件和材料,如人事档案、科技档案、法律法规、政府文件等。
article 为预印本,符合“科技档案”
-->
<text value="A"/>
</if>
<else-if type="article-journal article-magazine periodical" match="any">
<text value="J"/>
</else-if>
<else-if type="article-newspaper">
<text value="N"/>
</else-if>
<else-if type="book chapter classic entry-dictionary entry-encyclopedia" match="any">
<text value="M"/>
</else-if>
<else-if type="dataset">
<text value="DS"/>
</else-if>
<else-if type="map">
<text value="CM"/>
</else-if>
<else-if type="paper-conference">
<text value="C"/>
</else-if>
<else-if type="patent">
<text value="P"/>
</else-if>
<else-if type="post post-weblog webpage" match="any">
<text value="EB"/>
</else-if>
<else-if type="report">
<text value="R"/>
</else-if>
<else-if type="software">
<text value="CP"/>
</else-if>
<else-if type="standard">
<text value="S"/>
</else-if>
<else-if type="thesis">
<text value="D"/>
</else-if>
<else>
<text value="Z"/>
</else>
</choose>
</macro>
<!-- 文献载体标识 -->
<macro name="medium-id">
<choose>
<if variable="medium">
<text variable="medium"/>
</if>
<else-if variable="URL DOI" match="any">
<text value="OL"/>
</else-if>
</choose>
</macro>
<!-- 其他责任者 -->
<macro name="secondary-contributors">
<names variable="translator">
<name>
<name-part name="family" text-case="uppercase"/>
</name>
<!-- <institution/> -->
<label form="short" prefix=", "/>
</names>
</macro>
<!-- 专著主要责任者 -->
<macro name="container-contributors">
<names variable="editor">
<name>
<name-part name="family" text-case="uppercase"/>
</name>
<!-- <institution/> -->
<substitute>
<names variable="editorial-director"/>
<names variable="collection-editor"/>
<names variable="container-author"/>
</substitute>
</names>
</macro>
<!-- 专著题名 -->
<macro name="container-booklike">
<group delimiter=", ">
<choose>
<if variable="container-title">
<!-- 优先使用专著或会议论文集的题名 -->
<group delimiter=": ">
<text variable="container-title"/>
<text macro="volume"/>
</group>
</if>
<else-if type="paper-conference">
<!-- 有些会议没有论文集,使用会议名代替 -->
<text variable="event-title"/>
</else-if>
</choose>
<!-- 会议时间和会议地点 -->
<choose>
<if type="paper-conference" variable="event-date" match="all">
<date variable="event-date" form="text"/>
<text variable="event-place"/>
</if>
</choose>
</group>
</macro>
<!-- 连续出版物中的出处项 -->
<macro name="container-periodical">
<choose>
<if type="article-newspaper">
<!-- 报纸的出处项:“刊名, 出版日期(版次): 页码[引用日期]” -->
<group delimiter=", ">
<text variable="container-title"/>
<text macro="issued-date"/>
</group>
<text variable="page" prefix="(" suffix=")"/>
</if>
<else>
<!-- 期刊、杂志的出处项:“刊名, 年, 卷(期): 页码[引用日期]” -->
<group delimiter=": ">
<group>
<group delimiter=", ">
<text variable="container-title"/>
<text macro="issued-year"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
</group>
<text variable="page"/>
</group>
</else>
</choose>
<text macro="accessed-date"/>
</macro>
<!-- 版本项 -->
<macro name="edition">
<choose>
<if is-numeric="edition">
<group delimiter=" ">
<number variable="edition" form="ordinal"/>
<label variable="edition" form="short"/>
</group>
</if>
<else>
<text variable="edition"/>
</else>
</choose>
</macro>
<!-- 连续出版物的年卷期 -->
<macro name="year-volume-issue">
<group delimiter=", ">
<text macro="issued-year"/>
<text variable="volume"/>
</group>
<text variable="issue" prefix="(" suffix=")"/>
</macro>
<!-- 出版项 -->
<macro name="publisher">
<choose>
<if type="patent">
<!-- 专利的出版项格式“公告日期[引用日期]” -->
<text macro="issued-date"/>
<text macro="accessed-date"/>
</if>
<else-if type="book chapter paper-conference periodical thesis" variable="archive archive-place publisher publisher-place page" match="any">
<!-- 非纯电子资源的格式“出版地: 出版者, 出版年: 页码[引用日期]” -->
<group delimiter=": ">
<group delimiter=", ">
<group delimiter=": ">
<choose>
<if variable="publisher publisher-place" match="any">
<text variable="publisher-place"/>
<text variable="publisher"/>
</if>
<else>
<!-- 档案的馆藏地以及收藏机构或单位 -->
<text variable="archive-place"/>
<text variable="archive"/>
</else>
</choose>
</group>
<text macro="issued-year"/>
</group>
<text variable="page"/>
</group>
<text macro="accessed-date"/>
</else-if>
<else-if variable="URL DOI" match="any">
<!-- 纯电子资源联机网络文献的格式“(更新或修改日期)[引用日期]”。
原国标中,电子公告、无出版社的报告、法规等文献都可以作为“纯电子文献”。
-->
<text macro="issued-date" prefix="(" suffix=")"/>
<text macro="accessed-date"/>
</else-if>
<else>
<text macro="issued-year"/>
</else>
</choose>
</macro>
<!-- 出版年 -->
<macro name="issued-year">
<choose>
<if variable="issued">
<choose>
<if is-uncertain-date="issued">
<!-- 出版年无法确定时, 估计的出版年应置于方括号内。 -->
<date variable="issued" form="numeric" date-parts="year" prefix="[" suffix="]"/>
</if>
<else>
<date variable="issued" form="numeric" date-parts="year"/>
</else>
</choose>
</if>
<else-if type="article-journal" variable="available-date" match="all">
<!-- 网络首发(advance online publication)的期刊文章的日期使用 available-date -->
<date variable="available-date" form="numeric" date-parts="year"/>
</else-if>
<else>
<!-- 选取引用日期的年份作为估计的出版年 -->
<date variable="accessed" form="numeric" date-parts="year" prefix="[" suffix="]"/>
</else>
</choose>
</macro>
<!-- 出版日期,用于报纸文献、专利的“公告日期或公开日期”、电子资源的“更新或修改日期” -->
<macro name="issued-date">
<date variable="issued" form="numeric"/>
</macro>
<!-- 引用日期 -->
<macro name="accessed-date">
<choose>
<if variable="URL DOI" match="any">
<date variable="accessed" form="numeric" prefix="[" suffix="]"/>
</if>
</choose>
</macro>
<!-- 获取和访问路径、数字对象唯一标识符 -->
<macro name="access">
<group delimiter=". ">
<text variable="URL"/>
<text variable="DOI" prefix="DOI:"/>
</group>
</macro>
<!-- 参考文献表格式 -->
<macro name="entry-layout">
<group delimiter=". ">
<text macro="author"/>
<choose>
<if type="periodical">
<!-- 4.3 连续出版物 -->
<text macro="title"/>
<text macro="year-volume-issue"/>
<text macro="publisher"/>
</if>
<else-if type="article-journal article-magazine article-newspaper" match="any">
<!-- 4.4 连续出版物中的析出文献 -->
<text macro="title"/>
<text macro="container-periodical"/>
</else-if>
<else-if type="patent">
<!-- 4.5 专利文献 -->
<text macro="title"/>
<text macro="publisher"/>
</else-if>
<else-if type="dataset post post-weblog software webpage" match="any">
<!-- 4.6 电子资源 -->
<text macro="title"/>
<text macro="publisher"/>
</else-if>
<else-if type="chapter entry-dictionary entry-encyclopedia paper-conference" variable="container-title" match="any">
<!-- 4.2 专著中的析出文献 -->
<group delimiter="//">
<group delimiter=". ">
<text macro="title"/>
<text macro="secondary-contributors"/>
</group>
<group delimiter=". ">
<text macro="container-contributors"/>
<text macro="container-booklike"/>
</group>
</group>
<text macro="edition"/>
<text macro="publisher"/>
</else-if>
<else>
<!-- 4.1 专著 -->
<text macro="title"/>
<text macro="secondary-contributors"/>
<text macro="edition"/>
<text macro="publisher"/>
</else>
</choose>
<text macro="access"/>
</group>
</macro>
<citation collapse="citation-number" after-collapse-delimiter=",">
<sort>
<key variable="citation-number"/>
</sort>
<layout vertical-align="sup" delimiter="," prefix="[" suffix="]">
<text variable="citation-number"/>
</layout>
</citation>
<bibliography entry-spacing="0" et-al-min="4" et-al-use-first="3" second-field-align="flush">
<!-- 取消这部分注释可以开启 CSL-M 的多语言功能:按照文献的语言输出“et al.”等术语 -->
<!-- <layout suffix="." locale="en"><text variable="citation-number" prefix="[" suffix="]"/><text macro="entry-layout"/></layout>
-->
<layout suffix=".">
<text variable="citation-number" prefix="[" suffix="]"/>
<text macro="entry-layout"/>
</layout>
</bibliography>
</style>
bibliography: ../thesis-ref.bib
csl: word/GB7714.csl
link-citations: true
# 图片编号设置
number-figures: true
figure-center: true
figure-prefix: "图"
figure-src-format: "{prefix}{parent_num}-{this_num}" # 图 3-1
figure-ref-format: "{parent_num}-{this_num}" # 3-1
# 表格编号设置
number-tables: true
table-prefix: "表"
table-src-format: "{prefix}{parent_num}-{this_num}" # 表 3-1
table-ref-format: "{parent_num}-{this_num}" # 3-1
# 图片对齐设置
block-headings: true # 可能影响标题和图片的对齐方式
figure-align: center # 尝试设置图片对齐方式
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment