Skip to content
Snippets Groups Projects
Unverified Commit 858c85c5 authored by w2ak's avatar w2ak
Browse files

releasing v2.1.0

parents b1900013 cd8bf396
No related branches found
No related tags found
No related merge requests found
Showing
with 48 additions and 13 deletions
# 2
## 2.1
### 2.1.0
* Added font support for XeLaTeX and LuaLaTeX. This means you need to install
the fonts (refer to the install section of the wiki) in order to keep it working
with these compilers.
* Install script for unix systems.
## 2.0
### 2.0.2-beta
......
.PHONY: all clean cleandist
.PHONY: all clean cleandist linux-install mac-install release
all:
make -C source/ all
......@@ -8,3 +8,12 @@ clean:
cleandist:
make -C source/ cleandist
linux-install:
sudo ./install/unix.sh
mac-install:
sudo ./install/unix.sh
release:
./makerelease ./release/
# polytechnique-beamer
Ce dossier contient la source du package pour les diaporamas à l'École polytechnique.
# Install
To install the package, you can run the corresponding script in `install/` or do a manual package install and put the files from `source/` and `fonts/` in the correct folders.
```sh
sudo ./install/linux.sh
```
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
File added
minimal.tex
exemple.tex
maketestfiles
light.jpg
dark.jpg
Makefile
welcome-short.jpg
On linux:
TEXMFLOCAL="$(kpsewhich -var-value TEXMFLOCAL)"
PACKAGE="$TEXMFLOCAL/tex/latex/polytechnique-beamer/"
FONTS="$TEXMFLOCAL/fonts/truetype/GoogleFonts/"
mkdir -p "$PACKAGE" "$FONTS"
cat .packages | xargs -d'\n' -n1 cp -v -t "$PACKAGE"
cat .fonts | xargs -d'\n' -n1 cp -v -t "$FONTS"
texhash || mktexlsr
#!/bin/sh
TEXMFLOCAL="$(kpsewhich -var-value TEXMFLOCAL)"
PACKAGE="$TEXMFLOCAL/tex/latex/beamerx/"
FONTS="$TEXMFLOCAL/fonts/truetype/"
PERMS="Dg+s,ug+w,o-w,+X"
mkdir -p "$PACKAGE" "$FONTS"
rsync --recursive --exclude-from=install/.exclude --delete-excluded --chmod=$PERMS source/ $PACKAGE/
rsync --recursive --update --chmod=$PERMS fonts/ $FONTS/
texhash || mktexlsr
......@@ -31,12 +31,12 @@ make &&
-or -name '*.jpg'\
-or -name '*.md'\
-or -name 'LICENSE*'
find ./install/
find ./fonts/
} | tee >(xargs -d'\n' tar czf "$folder/$tgz") >(xargs -d'\n' zip -q "$folder/$zip") | cat - && {
cd $folder &&
gpg2 --armor --output "$zip.sig" --detach-sign "$zip" &&
gpg2 --armor --output "$tgz.sig" --detach-sign "$tgz" &&
md5sum "$tgz" > "$tgz.md5" &&
md5sum "$zip" > "$zip.md5" &&
sha256sum "$tgz" > "$tgz.sha256" &&
sha256sum "$zip" > "$zip.sha256";
md5sum "$tgz" "$zip" > "$arch.md5" &&
sha256sum "$tgz" "$zip" > "$arch.sha256";
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment