Skip to content

Commit

Permalink
Renamed demo + Added v to SimVer in files (Potentially unstable rel…
Browse files Browse the repository at this point in the history
…ease) (#39)

* Small change to version numbering

To keep it consistent with GitHub tags,
this version uses vX.X.X instead of X.X.X
  • Loading branch information
kai-tub authored May 30, 2020
1 parent 4c086fe commit 0711196
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
latexmk -pdf -file-line-error -interaction=nonstopmode *example*.tex
- name: Build demo document
run: |
latexmk -pdf -file-line-error -interaction=nonstopmode demo.tex
latexmk -pdf -file-line-error -interaction=nonstopmode beamertheme-pure-minimalistic-demo.tex
- name: PDFs to PNGs
uses: docker://frapsoft/fish:latest
with:
Expand All @@ -56,7 +56,7 @@ jobs:
uses: kai-tub/external-repo-sync-action@v1
with:
source-directory: "./"
include-patterns: "demo.pdf *.png"
include-patterns: "beamertheme-pure-minimalistic-demo.pdf *.png"
exclude-patterns: "*.tmp.png logos"
commit-message: "Updating LaTeX documentation files"
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/convert_pdf_to_png.fish
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ function convert_compare_examples
end

function convert_demo
convert -density 300 demo.pdf demo-%02d.tmp.png
montage demo-*.png -geometry +10+10 -tile 4x -background gray demo.png
convert -density 300 beamertheme-pure-minimalistic-demo.pdf beamertheme-pure-minimalistic-demo-%02d.tmp.png
montage beamertheme-pure-minimalistic-demo-*.png -geometry +10+10 -tile 4x -background gray beamertheme-pure-minimalistic-demo.png
end

apk add --no-cache imagemagick
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/upload_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,36 +14,36 @@ jobs:
steps:
- name: Set up Git
uses: actions/checkout@v2
- name: Get demo.pdf
run: wget https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.pdf -O demo.pdf
- name: Get beamertheme-pure-minimalistic-demo.pdf
run: wget https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.pdf -O beamertheme-pure-minimalistic-demo.pdf
- name: Get release
id: release
uses: bruceadams/[email protected]
- name: Create archives
run: |
mkdir -p pure-minimalistic-beamertheme
cp -r {*.sty,demo.tex,demo.pdf,README.md,LICENSE,demo_bib.bib,logos} pure-minimalistic-beamertheme
zip -r pure-minimalistic-beamertheme.zip pure-minimalistic-beamertheme
tar cfvz pure-minimalistic-beamertheme.tar.gz pure-minimalistic-beamertheme
mkdir -p beamertheme-pure-minimalistic
cp -r {*.sty,beamertheme-pure-minimalistic-demo.tex,beamertheme-pure-minimalistic-demo.pdf,README.md,LICENSE,demo_bib.bib,logos} beamertheme-pure-minimalistic
zip -r beamertheme-pure-minimalistic.zip beamertheme-pure-minimalistic
tar cfvz beamertheme-pure-minimalistic.tar.gz beamertheme-pure-minimalistic
- name: Upload zip asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./pure-minimalistic-beamertheme.zip
asset_name: pure-minimalistic-beamertheme.zip
asset_path: ./beamertheme-pure-minimalistic.zip
asset_name: beamertheme-pure-minimalistic.zip
asset_content_type: application/zip
- name: Upload tar.gz asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./pure-minimalistic-beamertheme.tar.gz
asset_name: pure-minimalistic-beamertheme.tar.gz
asset_path: ./beamertheme-pure-minimalistic.tar.gz
asset_name: beamertheme-pure-minimalistic.tar.gz
asset_content_type: application/tar.gz
- name: Upload demo.pdf
- name: Upload beamertheme-pure-minimalistic-demo.pdf
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_path: ./demo.pdf
asset_path: ./beamertheme-pure-minimalistic-demo.pdf
asset_name: demo.pdf
asset_content_type: application/pdf

2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ TSWLatexianTemp*
# Uncomment the next line to have this generated file ignored.
#*Notes.bib
.vscode/
/demo.pdf
/beamertheme-pure-minimalistic-demo.pdf
/demo-screenshots/*
/deploy.sh
/dev
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If you find a typo in the documentation, do not hesitate to submit a GitHub pull
## PR guide
If you implemented a new feature, you should add a new minimal example
in the [minimal_examples](./minimal_examples/) folder.
Then the [demo.tex](demo.tex) file should be modified to explain
Then the [beamertheme-pure-minimalistic-demo.tex](beamertheme-pure-minimalistic-demo.tex) file should be modified to explain
how the option should be used and what the effect is.

In every PR, all minimal examples will be compiled automatically.
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ not on the slides.
Requires the packages [fira](https://ctan.org/pkg/fira) and
[silence](https://ctan.org/pkg/silence)
to be installed on your system.
To build the [demo.tex](demo.tex) file,
To build the [beamertheme-pure-minimalistic-demo.tex](beamertheme-pure-minimalistic-demo.tex) file,
[PGF/TikZ](https://ctan.org/pkg/pgf),
[appendixnumberbeamer](https://ctan.org/pkg/appendixnumberbeamer),
[fontaxes](https://ctan.org/pkg/fontaxes), and
Expand Down Expand Up @@ -52,23 +52,23 @@ To build the [demo.tex](demo.tex) file,

# Demo
A sample document can be seen in the
[demo.pdf](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.pdf),
produced from [demo.tex](demo.tex).
[beamertheme-pure-minimalistic-demo.pdf](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.pdf),
produced from [beamertheme-pure-minimalistic-demo.tex](beamertheme-pure-minimalistic-beamertheme-pure-minimalistic-demo.tex).
The document shows all of the
design decisions, as well as some packages and commands that
work well for presentations. For example, starting the
frame counter after the *Table of Contents* section does not
include backup slides to the total frame counter.
Please use [demo.tex](demo.tex)
Please use [beamertheme-pure-minimalistic-demo.tex](beamertheme-pure-minimalistic-demo.tex)
as a starting point, as exhaustive comments
were added for a smooth start.

[Here](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.png)
a short *inline teaser* version of the [demo.pdf](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.pdf) can be seen.
[Here](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.png)
a short *inline teaser* version of the [beamertheme-pure-minimalistic-demo.pdf](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.pdf) can be seen.

![demo.png](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.png)
![beamertheme-pure-minimalistic-demo.png](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.png)

Please look at the [PDF](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.pdf) version for high-resolution images. :)
Please look at the [PDF](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.pdf) version for high-resolution images. :)

I highly recommend [pympress](https://github.com/Cimbali/pympress) to add videos to the presentation.
This presentation tool works perfectly with
Expand Down Expand Up @@ -107,7 +107,7 @@ LaTeX source file. Then include the theme by writing:
# Customize

All options and commands are also described in detail in the
[demo.pdf](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/demo.pdf).
[beamertheme-pure-minimalistic-demo.pdf](https://github.com/kai-tub/latex-beamer-pure-minimalistic/wiki/beamertheme-pure-minimalistic-demo.pdf).

## Customize Logos
By default, the theme expects the logos to be present in a
Expand Down
3 changes: 2 additions & 1 deletion auto_scripts/update_package_versioning.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ fi

# bump version
newVersion=$( bash "${scriptFolder}/semvertool.sh" bump "$bumpType" "$currentVersion" )
newVersionWithV="v$newVersion"

sed -r -i "s/(\\ProvidesPackage\{\w+\})\[.*\]/\1\[${newVersion}\]/g" -- *.sty
sed -r -i "s/(\\ProvidesPackage\{\w+\})\[.*\]/\1\[${newVersionWithV}\]/g" -- *.sty
# Files will be commited via `auto` tool
git add .
File renamed without changes.

0 comments on commit 0711196

Please sign in to comment.