mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2024-12-18 14:06:23 +00:00
Issue #182: Rename template to eisvogel.latex
after release
This commit is contained in:
parent
27fb7e4555
commit
3a1c96e507
@ -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).
|
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).
|
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.
|
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/`
|
- 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\`
|
- Windows Vista or later: `C:\Users\USERNAME\AppData\Roaming\pandoc\templates\`
|
||||||
|
|
||||||
|
@ -3,10 +3,14 @@
|
|||||||
rm -rf "dist"
|
rm -rf "dist"
|
||||||
mkdir "dist"
|
mkdir "dist"
|
||||||
|
|
||||||
|
cp "eisvogel.tex" "eisvogel.latex"
|
||||||
|
|
||||||
# create .zip files
|
# 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"
|
cp "dist/Eisvogel-${1}.zip" "dist/Eisvogel.zip"
|
||||||
|
|
||||||
# create .tar.gz files
|
# 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" *
|
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"
|
cp "dist/Eisvogel-${1}.tar.gz" "dist/Eisvogel.tar.gz"
|
||||||
|
|
||||||
|
rm "eisvogel.latex"
|
Loading…
Reference in New Issue
Block a user