added fall-back if dev environment is not present

master
Martin Scheidt 2021-12-09 11:51:06 +01:00
parent 9f33480227
commit 76829f4ecf
1 changed files with 9 additions and 1 deletions

View File

@ -29,7 +29,15 @@
\usetikzlibrary{trackschematic-dev.symbology}% \usetikzlibrary{trackschematic-dev.symbology}%
\usetikzlibrary{trackschematic-dev}% \usetikzlibrary{trackschematic-dev}%
}{% }{%
\PackageError{tikz-trackschematic}{development mode not available}{execute the dev-install.sh script provided by the package repository}% \PackageWarning{tikz-trackschematic}{development mode not available}{execute the dev-install.sh script provided by the package repository}%
\PackageWarning{tikz-trackschematic}{development mode not available}{continuing in normal mode}%
\usetikzlibrary{trackschematic.topology}%
\usetikzlibrary{trackschematic.trafficcontrol}%
\usetikzlibrary{trackschematic.vehicles}%
\usetikzlibrary{trackschematic.constructions}%
\usetikzlibrary{trackschematic.electrics}%
\usetikzlibrary{trackschematic.measures}%
\usetikzlibrary{trackschematic.symbology}%
}% }%
}{% }{%
\usetikzlibrary{trackschematic.topology}% \usetikzlibrary{trackschematic.topology}%