Install BFH CI on GNU/Linux

Fresh installation

BFH CI

Warning

This is a legacy documentation, please use this one instead.

  • Download the latest ZIP archive of BFH CI

  • Find the default location for the TeX compiler

    $ kpsewhich -var-value=TEXMFHOME
    /home/user/texmf
    
  • Create the TEXMFHOME directory

    $ mkdir -p `(kpsewhich -var-value TEXMFHOME)`
    
  • Copy the ZIP archive into a sub directory of TEXMFHOME called dist. Create it if it does not exist yet.

    $ mkdir -p `(kpsewhich -var-value TEXMFHOME)`/dist
    
    $ cp bfh-<TYPE>_<VERSION>.zip `(kpsewhich -var-value TEXMFHOME)`/dist/
    
  • Change into the dist folder

    $ `(kpsewhich -var-value TEXMFHOME)`/dist
    
  • Extract the ZIP archive and copy its content while extracting it to the TEXMFHOME directory

    $ unzip -d `(kpsewhich -var-value TEXMFHOME)` bfh-<TYPE>_<VERSION>.zip
    

BFH Logos

Warning

BFH Logos available for BFH members only.

  • Download the latest ZIP archive of BFH Logos

  • Follow the extraction steps as described for BFH CI

  • You should now have a bfh-logo directory in TEXMFHOME.

  • You have access to the BFH Logo in multiple languages (automatically selected by the main document language)

BFH Fonts

Warning

BFH Fonts available for BFH members only.

  • Download the latest ZIP archive of BFH Fonts

  • Follow the extraction steps as described for BFH CI

  • The font names in this case are UnitRoundedPro and UnitSlabPro.

  • Register the files in the file name database

    $ mktexlsr
    
  • (optional) Update the font cache

    $ luaotfload-tool --update --force
    

    This step will automatically be done when you use the font for the first time. But depending on the number of fonts you have installed on your system this might take some time.

Note

As the BFH Font is a OTF Font, the LaTeX engine must be LuaTeX.

Update an old installation

Head to the TEXMFHOME directory and remove the target folder

  • BFH CI

    $ find `(kpsewhich -var-value TEXMFHOME)` -iname 'bfh-ci' -exec rm -rv {} \;
    
  • BFH Logos

    $ find `(kpsewhich -var-value TEXMFHOME)` -iname 'bfh-logo' -exec rm -rv {} \;
    
  • BFH Fonts

    $ find `(kpsewhich -var-value TEXMFHOME)` -iname 'Unit' -exec rm -rv {} \;
    
  • Download the new version of target ZIP archive BFH CI, BFH Logo or BFH Fonts

  • Copy the ZIP archive into TEXMFHOME/dist and unzip it. Follow the fresh installation guidelines for proper commands.

Remove installed packages

Head to the TEXMFHOME directory and remove the target folder

  • BFH CI

    $ find `(kpsewhich -var-value TEXMFHOME)` -iname 'bfh-ci' -exec rm -rv {} \;
    
  • BFH Logos

    $ find `(kpsewhich -var-value TEXMFHOME)` -iname 'bfh-logo' -exec rm -rv {} \;
    
  • BFH Fonts

    $ find `(kpsewhich -var-value TEXMFHOME)` -iname 'Unit' -exec rm -rv {} \;
    

For a complete deinstallation, remove the ZIP archive(s) in the sub-directory dist too.