Skip to content

Commit cc2450b

Browse files
committed
removing chapter source files
1 parent de4b81e commit cc2450b

File tree

17 files changed

+7
-57060
lines changed

17 files changed

+7
-57060
lines changed

.gitattributes

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
images export-ignore
22
.github export-ignore
33
LICENSE-CC-BY-NC-SA export-ignore
4-
README.MD export-ignore
54
.gitignore export-ignore
65
.gitattributes export-ignore

.github/workflows/workflow.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,18 @@ jobs:
99
steps:
1010
- name: Set up Git repository
1111
uses: actions/checkout@v4
12-
# - name: Create tag
13-
# id: create_tag
14-
# run: |
15-
# tag_name="v1.0.${{ github.run_number }}"
16-
# git tag $tag_name
17-
# git push origin $tag_name
1812
- name: Compile LaTeX document
1913
uses: xu-cheng/latex-action@v3
2014
with:
21-
working_directory: src
22-
root_file: all.tex
15+
root_file: Epp.tex
2316
latexmk_shell_escape: true
2417
- name: Release
2518
uses: softprops/[email protected]
26-
# if: startsWith(github.ref, 'refs/tags/')
2719
with:
2820
tag_name: "v1.0.${{ github.run_number }}"
2921
make_latest: true
3022
generate_release_notes: true
3123
preserve_order: true
32-
files: src/all.pdf
24+
files: Epp.pdf
3325
env:
3426
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,5 +268,5 @@ TSWLatexianTemp*
268268
*.sta
269269

270270
# other stuff
271-
/src/*.pdf
272-
/src/__latexindent_temp_all.tex
271+
src/chapter*
272+

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]
44

5-
***You can find the PDF file on the Releases page on the right ===>>>***
5+
***You can find the PDF file on the Releases page on the right 👉👉👉👉👉***
66

77
## About
88

@@ -22,16 +22,8 @@ Contact me: `spamegg1` on Discord, or [on Slack](https://join.slack.com/t/spameg
2222

2323
## Contributing
2424

25-
Only edit the `.tex` source files, I will use Github actions to compile and release the PDF files. (work in progress)
26-
27-
To make a change to an exercise, you need to change 2 files:
28-
29-
- one of the chapter files, say `chapter5.tex` for example, and
30-
- make the same change in `all.tex` in the relevant section.
31-
32-
## TODO
33-
34-
- Add [Github actions](https://github.com/marketplace/actions/github-action-for-latex)
25+
Only edit the `Epp.tex` source file, I use Github Actions to compile and release the PDF file automatically.
26+
So, you do not have to include your compiled PDF in your pull requests.
3527

3628
[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
3729
[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg
File renamed without changes.

0 commit comments

Comments
 (0)