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