Issue #182: Rename template to `eisvogel.latex` after release

This commit is contained in:
Wandmalfarbe 2021-01-31 21:32:05 +01:00
parent 27fb7e4555
commit 3a1c96e507
2 changed files with 8 additions and 4 deletions

View File

@ -17,7 +17,7 @@ A clean **pandoc LaTeX template** to convert your markdown files to PDF or LaTeX
1. Install pandoc from <http://pandoc.org/>. You also need to install [LaTeX](https://en.wikibooks.org/wiki/LaTeX/Installation#Distributions).
2. Download the latest version of the Eisvogel template from [the release page](https://github.com/Wandmalfarbe/pandoc-latex-template/releases/latest).
3. Extract the downloaded ZIP archive and open the folder.
4. Move the template `eisvogel.tex` to your pandoc templates folder and rename the file to `eisvogel.latex`. The location of the templates folder depends on your operating system:
4. Move the template `eisvogel.latex` to your pandoc templates folder. The location of the templates folder depends on your operating system:
- Unix, Linux, macOS: `/Users/USERNAME/.local/share/pandoc/templates/` or `/Users/USERNAME/.pandoc/templates/`
- Windows Vista or later: `C:\Users\USERNAME\AppData\Roaming\pandoc\templates\`

View File

@ -3,10 +3,14 @@
rm -rf "dist"
mkdir "dist"
cp "eisvogel.tex" "eisvogel.latex"
# create .zip files
zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.tex" "icon.png" "LICENSE" "README.md" "CHANGELOG.md"
zip -r -X --exclude="*.DS_Store*" "dist/Eisvogel-${1}.zip" "examples" "eisvogel.latex" "icon.png" "LICENSE" "README.md" "CHANGELOG.md"
cp "dist/Eisvogel-${1}.zip" "dist/Eisvogel.zip"
# create .tar.gz files
tar --exclude="*.DS_Store*" --include="examples" --include="eisvogel.tex" --include="icon.png" --include="LICENSE" --include="README.md" --include="CHANGELOG.md" -zcvf "dist/Eisvogel-${1}.tar.gz" *
cp "dist/Eisvogel-${1}.tar.gz" "dist/Eisvogel.tar.gz"
tar --exclude="*.DS_Store*" --include="examples" --include="eisvogel.latex" --include="icon.png" --include="LICENSE" --include="README.md" --include="CHANGELOG.md" -zcvf "dist/Eisvogel-${1}.tar.gz" *
cp "dist/Eisvogel-${1}.tar.gz" "dist/Eisvogel.tar.gz"
rm "eisvogel.latex"