Skip to content

Commit

Permalink
Rename thesis_masters.pdf to thesis.pdf
Browse files Browse the repository at this point in the history
This template does not just produce Masters Theses, it is also used for
PhDs.
  • Loading branch information
agude committed May 26, 2020
1 parent f588cd8 commit 40fbf5f
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
- uses: actions/upload-artifact@master
with:
name: Compiled Thesis
path: ./thesis_masters.pdf
path: ./thesis.pdf
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Generated files
thesis_masters.pdf
thesis.pdf
*.fls

#Binary and Image
*.exe
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,21 @@ texlive-pictures \
texlive-science \
```

You can then build the thesis with `make`:

```bash
make
```

This will produce a `thesis.pdf` in the root directory of your repository,
along with all the intermediate build files. You can instead run:

```bash
make tidy
```

To just produce the PDF.

### Build On Github

The easiest way to build the PDF is to use [Github Actions][actions]. This
Expand Down
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
LATEXMK=./latexmk/latexmk

# Various dependencies
MAIN=thesis_masters
MAIN=thesis
MAIN_PDF=$(MAIN).pdf
MAIN_TEX=$(MAIN).tex
HELPER_FILES= makefile mnthesis.cls
Expand All @@ -23,7 +23,7 @@ $(MAIN_PDF): ALWAYS_COMPILE $(MAIN_TEX) $(HELPER_FILES) $(PRELIMS) $(CHAPTERS) $
$(LATEXMK) -pdf $(MAIN_TEX)

# Clean up all the regeneratable files except for the final document (the .pdf)
tidy:
tidy: $(MAIN_PDF)
$(LATEXMK) -c $(MAIN_TEX)

# Clean up all the regeneratable files, including the final document
Expand Down
File renamed without changes.

0 comments on commit 40fbf5f

Please sign in to comment.