From 2eff1055c81201172b7160a447642d53c46286c7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Feb 2022 22:43:20 +0000 Subject: tikz-trackschematic (15feb22) git-svn-id: svn://tug.org/texlive/trunk@62046 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/tikz-trackschematic/tikz-trackschematic.sty | 15 +++++++++++---- .../tikzlibrarytrackschematic.code.tex | 14 +++++++++++++- .../tikzlibrarytrackschematic.constructions.code.tex | 2 +- .../tikzlibrarytrackschematic.electrics.code.tex | 2 +- .../tikzlibrarytrackschematic.measures.code.tex | 2 +- .../tikzlibrarytrackschematic.symbology.code.tex | 10 ++++++---- .../tikzlibrarytrackschematic.topology.code.tex | 2 +- .../tikzlibrarytrackschematic.trafficcontrol.code.tex | 2 +- .../tikzlibrarytrackschematic.vehicles.code.tex | 2 +- 9 files changed, 36 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikz-trackschematic.sty b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikz-trackschematic.sty index f9f2505d8f3..c0f38a1b90e 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikz-trackschematic.sty +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikz-trackschematic.sty @@ -1,12 +1,11 @@ %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % \NeedsTeXFormat{LaTeX2e}% -\ProvidesPackage{tikz-trackschematic}[2021/10/15 tikz-trackschematic]% -% +\ProvidesPackage{tikz-trackschematic}[2022-02-15 v0.6.3 tikz-trackschematic]% %%%%%%%%%%%%%%% % Package options %%%%%%%%%%%%%%% @@ -29,7 +28,15 @@ \usetikzlibrary{trackschematic-dev.symbology}% \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}% diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex index d6d64170623..d7b2a632182 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.code.tex @@ -1,6 +1,6 @@ %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % @@ -59,5 +59,17 @@ % }% % % %%%%%%%%%%%%%%% +% anchor are used in converting a symbol to .svg for further import in different tools +%%%%%%%%%%%%%%% +\newcommand\anchor{}% just for safety +\def\anchor#1(#2){% \anchor at (coord); + \pic at (#2) {anchor}% symbol +}% +% symbol definition +\tikzset{% + anchor/.pic={\fill[magenta] (0,0) circle (0.004);};% +}% +% +%%%%%%%%%%%%%%% \endinput% % \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.constructions.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.constructions.code.tex index 2d1b5d583f9..8f6cc0b5358 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.constructions.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.constructions.code.tex @@ -3,7 +3,7 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.electrics.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.electrics.code.tex index 6b8942bd4f5..8269bea35ef 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.electrics.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.electrics.code.tex @@ -3,7 +3,7 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.measures.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.measures.code.tex index 4b79f6a7a5a..c551ed0142e 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.measures.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.measures.code.tex @@ -3,7 +3,7 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.symbology.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.symbology.code.tex index 6d3dab1a408..fa250629b94 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.symbology.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.symbology.code.tex @@ -3,17 +3,20 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % \ProvidesFileRCS{tikzlibrarytrackschematic.symbology.code.tex}% +%%%%%%%%%%%%%%% +% global settings +%%%%%%%%%%%%%%% +\RequirePackage{booktabs,xltabular,multicol,adjustbox}% +\usetikzlibrary{calc}% % %%%%%%%%%%%%%%% % commands %%%%%%%%%%%%%%% -\RequirePackage{adjustbox}% -\usetikzlibrary{calc}% % \DeclareRobustCommand{\tsSymbol}[2][1]{% \adjustbox{valign=c}{% @@ -32,7 +35,6 @@ % \newglossaryentry{main_track}{name={main track},description={},symbol={\tsSymbol{main_track}}}% % }{}% %% -\RequirePackage{booktabs,xltabular,multicol}% %% command \DeclareRobustCommand\tsFullSymbology{% \begin{xltabular}{\textwidth}{cX}% diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.topology.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.topology.code.tex index 26972797f69..441964fb3b0 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.topology.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.topology.code.tex @@ -3,7 +3,7 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.trafficcontrol.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.trafficcontrol.code.tex index b46450add4c..97978f5b072 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.trafficcontrol.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.trafficcontrol.code.tex @@ -3,7 +3,7 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % diff --git a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.vehicles.code.tex b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.vehicles.code.tex index d8e0687fd7f..46999714fb7 100644 --- a/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.vehicles.code.tex +++ b/Master/texmf-dist/tex/latex/tikz-trackschematic/tikzlibrarytrackschematic.vehicles.code.tex @@ -3,7 +3,7 @@ % %% symbol library for TikZ track schematics % -% Copyright (c) 2018 - 2021, Martin Scheidt (ISC license) +% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) % % Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. % -- cgit v1.2.3