File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ tar -xf pandoc-crossref-Linux.tar.xz -C ~/.local/bin
29
29
wget -O ~ /.local/share/pandoc/filters/include-files.lua https://github.com/pandoc-ext/include-files/raw/refs/heads/main/include-files.lua
30
30
31
31
wget -qO- " https://yihui.org/tinytex/install-bin-unix.sh" | sh
32
- tlmgr install ctex setspace subfig caption textpos tocloft
32
+ tlmgr install ctex setspace subfig caption textpos tocloft titlesec
33
33
# tlmgr install svg transparent ifplatform catchfile
34
34
35
35
# Get Source Han Sans Fonts
Original file line number Diff line number Diff line change 232
232
$ else$
233
233
\setcounter {secnumdepth}{-\maxdimen } % remove section numbering
234
234
$ endif$
235
+
236
+ $ if(break-after-section)$
237
+ \usepackage {titlesec}
238
+ \newcommand {\sectionbreak }{\clearpage }
239
+ $ endif$
240
+
235
241
$ if(subfigure)$
236
242
\usepackage {subcaption}
237
243
$ endif$
You can’t perform that action at this time.
0 commit comments