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 # The short version
``` fish ``` fish
# apt install wget fish
$ fish install-context.fish $ fish install-context.fish
$ fish install-fonts.sh $ fish install-fonts.sh
$ fish compile.fish $ fish compile.fish

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

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

Loading…
Cancel
Save