14 Commits

Author SHA1 Message Date
Dongdong Tian
1fa12ccd68 Merge branch 'main' into fix-pdf-build-v2 2022-05-30 21:37:36 +08:00
Dongdong Tian
149bca7253 Fix a typo
Closes #43.
2022-05-22 12:09:04 +08:00
Dongdong Tian
c6c714264b Need a trailing whitespace in code 2022-05-18 20:08:29 +08:00
mofelee
c61a2b2ed4 Fix typo (#42) 2022-05-18 20:04:59 +08:00
mofelee
2210c35da6 Fix typo (#40) 2022-05-18 18:31:07 +08:00
mofelee
49ae612e96 Fix a typo in rules.rst (#39) 2022-05-18 12:55:13 +08:00
Dongdong Tian
4be6cebaac fix 2022-04-27 22:05:40 +08:00
Dongdong Tian
ec56f8171b ustc 2022-04-27 21:55:47 +08:00
Dongdong Tian
762828c77b fxig 2022-04-27 21:27:54 +08:00
Dongdong Tian
01df7d7899 fix 2022-04-27 21:21:58 +08:00
Dongdong Tian
5d797bb179 fix 2022-04-27 21:16:55 +08:00
Dongdong Tian
f3fd2f252a fix 2022-04-27 21:14:45 +08:00
Dongdong Tian
b89887882a fix 2022-04-27 21:06:39 +08:00
Dongdong Tian
bd18e38054 Enable PDF build 2022-04-27 21:03:26 +08:00
5 changed files with 18 additions and 6 deletions

View File

@@ -34,9 +34,17 @@ jobs:
- name: Build HTML documentaiton
run: make html
- name: Install TeXLive
- name: Install TinyTeX
uses: r-lib/actions/setup-tinytex@v2
- name: Install LaTeX packages
run: |
sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-xetex latexmk
tlmgr update --self
tlmgr install --repository http://mirrors.ustc.edu.cn/CTAN/systems/texlive/tlnet/ \
tabulary latexmk ulem environ trimspaces titlesec \
varwidth framed threeparttable wrapfig upquote capt-of \
multirow eqparbox needspace fncychap letltxmacro parskip \
fancyhdr hypcap
- name: Build PDF documentaiton
run: |

View File

@@ -112,7 +112,11 @@ strip
$(strip a b c )
把字串 ``a b c ``开头和结尾的空格,结果是 ``a b c``
把字串 |abc|开头和结尾的空格,结果是 ``a b c``
.. |abc| raw:: html
<code class="docutils literal notranslate"><span class="pre">a b c&nbsp;</span></code>
findstring
~~~~~~~~~~

View File

@@ -335,7 +335,7 @@ make就会规则下的命令所以在模式规则中目标可能会是
重复的依赖目标,只保留一份。
- ``$+`` : 这个变量很像 ``$^`` ,也是所有依赖目标的集合。只是它不去除重复的依赖目标。
- ``$*`` : 这个变量表示目标模式中 ``%`` 及其之前的部分。如果目标是 ``dir/a.foo.b`` ,并且
目标的模式是 ``a.%.b`` ,那么, ``$*`` 的值就是 ``dir/a.foo`` 。这个变量对于构造有关联的
目标的模式是 ``a.%.b`` ,那么, ``$*`` 的值就是 ``dir/foo`` 。这个变量对于构造有关联的
文件名是比较有效。如果目标中没有模式的定义,那么 ``$*`` 也就不能被推导出,但是,如果目标文件的
后缀是make所识别的那么 ``$*`` 就是除了后缀的那一部分。例如:如果目标是 ``foo.c`` ,因为
``.c`` 是make所能识别的后缀名所以 ``$*`` 的值就是 ``foo`` 。这个特性是GNU make的

View File

@@ -167,7 +167,7 @@ Makefile文件中的特殊变量 ``VPATH`` 就是完成这个功能的,如果
``vpath``
清除所有已被设置好了的文件搜索目录。
vapth使用方法中的<pattern>需要包含 ``%`` 字符。 ``%`` 的意思是匹配零或若干字符,(需引用
vpath使用方法中的<pattern>需要包含 ``%`` 字符。 ``%`` 的意思是匹配零或若干字符,(需引用
``%`` ,使用 ``\`` )例如, ``%.h`` 表示所有以 ``.h`` 结尾的文件。<pattern>指定了要搜索
的文件集,而<directories>则指定了< pattern>的文件集的搜索的目录。例如: