Install BFH CI Packages on GNU/Linux

Fresh installation

BFH CI

Warning

It 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 subdirectory of TEXMFHOME called dist. If it does not exist yet, create it.

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

    $ cd `(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
    

The BFH logo package

Warning

The BFH Logo package is available for BFH members only.

  • Download the latest ZIP archive of BFH Logos

  • Extract the ZIP archive.

    $ unzip bfh-logo_<VERSION>.zip -d bfh-logo_<VERSION>
    
  • Install the bfh logo package using the l3build procedure.

    $ cd bfh-logo_<VERSION>
    $ l3build install
    
  • Uninstall the bfh logo package.

    $ cd bfh-logo_<VERSION>
    $ l3build uninstall
    

Note

The README.md file distributed with the bfh-logo package provides a more detailed description of the installation procedure.

The BFH fonts package

Warning

BFH Fonts are 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. Depending on how many fonts you have installed on your system, it may take some time.

Warning

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

Note

The README.md file distributed with the bfh-logo package provides a more detailed description of the installation procedure.

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 {} \;
    
  • Download the new version of the 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.

  • BFH Logo Package follow the procedure of a new installation.

  • BFH Fonts Package follow the procedure of a new installation.

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) from the sub-directory dist.