Skip to content

added local .papis.config file and removed initialisation code for the library

Paul Pfeiffer requested to merge simplify_papis_config into master

Aim

  • avoid error when no papis config file exists

Solution

  • papis allows a local config file, so that when running papis in the directory, this config file is used

Byproducts

  • as the local papis config file has all information, there is no need to parse a global config file to find the literature path, it is already known, this means that sconstruct can be simplified as done here
  • however, in this way, the project library can only be used from the project folder. I cannot judge whether this can be problematic, however if this is a problem, one could a shell script that allows to just copy the local file into the global one...

Merge request reports