updated README; scripts

main
Riviera Taylor 1 year ago
parent 7f10c0da26
commit f1b0941d06

@ -5,6 +5,7 @@ ConTeXt typesetting system due to its precision.
# The short version
``` fish
# apt install wget fish
$ fish install-context.fish
$ fish install-fonts.sh
$ fish compile.fish

@ -1,4 +1,4 @@
#!/usr/bin/sh
#!/usr/bin/fish
mkdir -p $HOME/Applications/context
cd $HOME/Applications/context

@ -1,27 +1,27 @@
#!/usr/bin/sh
# make the required directories
mkdir -p ~/$HOME/Applications/context/tex/texmf-fonts/fonts/bitter
mkdir -p ~/$HOME/Applications/context/tex/texmf-fonts/fonts/compagnon
mkdir -p ~/$HOME/Applications/context/tex/texmf-fonts/tex/context/user/
mkdir -p $HOME/Applications/context/tex/texmf-fonts/fonts/bitter
mkdir -p $HOME/Applications/context/tex/texmf-fonts/fonts/compagnon
mkdir -p $HOME/Applications/context/tex/texmf-fonts/tex/context/user/
# tell ConTeXt about the typescripts
cp ./fonts/type-imp-bitter.mkxl ~/$HOME/Applications/context/tex/texmf-fonts/tex/context/user/
cp ./fonts/type-imp-compagnon.mkxl ~/$HOME/Applications/context/tex/texmf-fonts/tex/context/user/
cp ./fonts/type-imp-bitter.mkxl $HOME/Applications/context/tex/texmf-fonts/tex/context/user/
cp ./fonts/type-imp-compagnon.mkxl $HOME/Applications/context/tex/texmf-fonts/tex/context/user/
# install Bitter
cd ~/$HOME/Applications/context/tex/texmf-fonts/fonts/bitter
cd $HOME/Applications/context/tex/texmf-fonts/fonts/bitter
wget https://github.com/solmatas/BitterPro/files/4696179/ttf.zip
unzip ttf.zip
mv ttf/* . && rm -r ttf __MACOSX ttf.zip
fc-cache -f -v ~/$HOME/Applications/context/tex/texmf-fonts/fonts/bitter/
fc-cache -f -v $HOME/Applications/context/tex/texmf-fonts/fonts/bitter/
# install Compagnon Light
cd ~/$HOME/Applications/context/tex/texmf-fonts/compagnon
cd $HOME/Applications/context/tex/texmf-fonts/compagnon
git clone https://gitlab.com/velvetyne/compagnon.git
mv compagnon/fonts/* .
rm -rf compagnon Icon\r webfonts
fc-cache -f -v ~/$HOME/Applications/context/tex/texmf-fonts/fonts/compagnon/
fc-cache -f -v $HOME/Applications/context/tex/texmf-fonts/fonts/compagnon/
# Enable use of the fonts in ConTeXt
mtxrun --generate

Loading…
Cancel
Save