enable a development branch of the library in the $texmf tree.
parent
bcb7f484d8
commit
0264c722a2
|
@ -0,0 +1,18 @@
|
|||
#! /bin/sh
|
||||
|
||||
echo "specify path for installation!"
|
||||
echo "( e.g. /usr/local/texlive/2019/texmf-dist/tex/latex ):"
|
||||
read INSTALLPATH
|
||||
|
||||
DIR=$(pwd -P)
|
||||
|
||||
DEVDIR="tikz-trackschematic-dev"
|
||||
|
||||
mkdir $INSTALLPATH/$DEVDIR
|
||||
|
||||
ln -s $DIR/src/tikzlibrarytrackschematic.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.code.tex
|
||||
ln -s $DIR/src/tikzlibrarytrackschematic.constructions.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.constructions.code.tex
|
||||
ln -s $DIR/src/tikzlibrarytrackschematic.messures.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.messures.code.tex
|
||||
ln -s $DIR/src/tikzlibrarytrackschematic.topology.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.topology.code.tex
|
||||
ln -s $DIR/src/tikzlibrarytrackschematic.trafficcontrol.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.trafficcontrol.code.tex
|
||||
ln -s $DIR/src/tikzlibrarytrackschematic.vehicles.code.tex $INSTALLPATH/$DEVDIR/tikzlibrarytrackschematic-dev.vehicles.code.tex
|
|
@ -81,7 +81,15 @@
|
|||
\RequirePackage{longtable,tikz,siunitx,adjustbox,rotating}
|
||||
\sisetup{math-rm=\mathsf}
|
||||
|
||||
\usetikzlibrary{trackschematic}
|
||||
\IfFileExists{tikzlibrarytrackschematic-dev.code.tex}{%
|
||||
\usetikzlibrary{trackschematic-dev.topology}%
|
||||
\usetikzlibrary{trackschematic-dev.trafficcontrol}%
|
||||
\usetikzlibrary{trackschematic-dev.vehicles}%
|
||||
\usetikzlibrary{trackschematic-dev.constructions}%
|
||||
\usetikzlibrary{trackschematic-dev.messures}%
|
||||
}{%
|
||||
\usetikzlibrary{trackschematic}%
|
||||
}%
|
||||
|
||||
\def\rootTrackschematic{.}
|
||||
|
||||
|
|
|
@ -8,7 +8,11 @@
|
|||
\usepackage{siunitx}
|
||||
\usepackage[prefix=]{xcolor-solarized}
|
||||
|
||||
\usetikzlibrary{trackschematic}
|
||||
\usetikzlibrary{trackschematic-dev.topology}%
|
||||
\usetikzlibrary{trackschematic-dev.trafficcontrol}%
|
||||
\usetikzlibrary{trackschematic-dev.vehicles}%
|
||||
\usetikzlibrary{trackschematic-dev.constructions}%
|
||||
\usetikzlibrary{trackschematic-dev.messures}%
|
||||
|
||||
\begin{document}
|
||||
\begin{tikzpicture}[font=\sffamily]
|
||||
|
|
Loading…
Reference in New Issue