-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from jaxvanyang/feat/ci
Make the repository tidy
- Loading branch information
Showing
8 changed files
with
74 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish Release | ||
permissions: | ||
contents: write | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*.*.*" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install Build Dependencies | ||
run: | | ||
sudo apt-get update | ||
# from http://askubuntu.com/a/25614 | ||
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections | ||
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get install -y ttf-mscorefonts-installer biber make texlive-lang-chinese texlive-xetex | ||
- name: Build | ||
run: make release | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
files: release/*.pdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,45 @@ | ||
# A CSUST Bachelor Thesis Template | ||
|
||
使用本模板前请先阅读 `# 模板使用指南.pdf` | ||
编译生成的 PDF 文件可以到 [Releases](https://github.com/zb-zombie/A-CSUST-Bachelor-thesis-template-based-on-LaTeX-system/releases) 页面下载。 | ||
|
||
撰写论文请编译 `thesis.tex` | ||
使用本模板前请先阅读模板使用指南:[thesis.pdf v0.1.0](https://github.com/zb-zombie/A-CSUST-Bachelor-thesis-template-based-on-LaTeX-system/releases/download/v0.1.0/thesis.pdf)。 | ||
|
||
撰写开题报告请编译 `research_proposal.tex` | ||
撰写论文请编译 [thesis.tex](thesis.tex): | ||
|
||
撰写任务书请编译 `task_book.tex` | ||
```bash | ||
make thesis.pdf | ||
``` | ||
|
||
撰写外文译文及原文请编译 `translation.tex` | ||
撰写开题报告请编译 [research_proposal.tex](research_proposal.tex): | ||
|
||
```bash | ||
make research_proposal.pdf | ||
``` | ||
|
||
撰写任务书请编译 [task_book.tex](task_book.tex): | ||
|
||
```bash | ||
make task_book.pdf | ||
``` | ||
|
||
撰写外文译文及原文请编译 [translation.tex](translation.tex): | ||
|
||
```bash | ||
make translation.pdf | ||
``` | ||
|
||
撰写 PPT 请编译 [slides.tex](slides/slides.tex): | ||
|
||
```bash | ||
make slides/slides.pdf | ||
``` | ||
|
||
一次全部编译: | ||
|
||
```bash | ||
make all | ||
``` | ||
|
||
欢迎加入**长沙理工大学 LaTeX 交流群**。群号**169929184** 。 | ||
|
||
![](figure/群聊二维码.jpg) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.