From 3a1c96e507693581e8aa4176e8281099a0142c42 Mon Sep 17 00:00:00 2001 From: Wandmalfarbe Date: Sun, 31 Jan 2021 21:32:05 +0100 Subject: [PATCH] Issue #182: Rename template to `eisvogel.latex` after release --- README.md | 2 +- tools/release.sh | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f652964..2f6ce90 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A clean **pandoc LaTeX template** to convert your markdown files to PDF or LaTeX 1. Install pandoc from . 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\` diff --git a/tools/release.sh b/tools/release.sh index f5d737e..8e150d1 100644 --- a/tools/release.sh +++ b/tools/release.sh @@ -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" \ No newline at end of file +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" \ No newline at end of file