arrange files for CTAN

master v0.5
martin 2020-01-16 21:49:53 +01:00
parent b2267bec44
commit 7c0d362be7
7 changed files with 34 additions and 3 deletions

5
.gitignore vendored
View File

@ -271,4 +271,7 @@ Icon
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
.apdisk
# Archives for upload
*.zip

View File

@ -1,3 +1,5 @@
# TikZ-trackschematic
------------
# Installation

26
ctan-package.sh Executable file
View File

@ -0,0 +1,26 @@
#! /bin/sh
echo "specify version ( e.g. v0.5 ):"
read VERSION
mkdir tikz-trackschematic-$VERSION
cp README.md tikz-trackschematic-$VERSION/README.md
cp doc/tikz-trackschematic-documentation.sty tikz-trackschematic-$VERSION/tikz-trackschematic-documentation.sty
cp doc/manual.pdf tikz-trackschematic-$VERSION/tikz-trackschematic.pdf
cp doc/manual.tex tikz-trackschematic-$VERSION/tikz-trackschematic.tex
cp doc/snippets.pdf tikz-trackschematic-$VERSION/tikz-trackschematic-snippets.pdf
cp doc/snippets.tex tikz-trackschematic-$VERSION/tikz-trackschematic-snippets.tex
mkdir tikz-trackschematic-$VERSION/tikz-trackschematic-examples
mkdir tikz-trackschematic-$VERSION/tikz-trackschematic-snippets
cp -R doc/examples/* tikz-trackschematic-$VERSION/tikz-trackschematic-examples
cp -R doc/snippets/* tikz-trackschematic-$VERSION/tikz-trackschematic-snippets
cp src/tikzlibrarytrackschematic.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.code.tex
cp src/tikzlibrarytrackschematic.constructions.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.constructions.code.tex
cp src/tikzlibrarytrackschematic.messures.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.messures.code.tex
cp src/tikzlibrarytrackschematic.topology.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.topology.code.tex
cp src/tikzlibrarytrackschematic.trafficcontrol.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.trafficcontrol.code.tex
cp src/tikzlibrarytrackschematic.vehicles.code.tex tikz-trackschematic-$VERSION/tikzlibrarytrackschematic.vehicles.code.tex
zip -r tikz-trackschematic-$VERSION.zip tikz-trackschematic-$VERSION/*
rm -rf tikz-trackschematic-$VERSION/*
rmdir tikz-trackschematic-$VERSION

View File

@ -14,7 +14,7 @@
DIV=15,
]{scrartcl}
\usepackage{doc}
\usepackage{tikz-trackschematic-documentation}
%%%%%% AUTHORS list %%%%%%%%%%

View File

@ -8,7 +8,7 @@
\usepackage[margin=0pt]{geometry}
\pagestyle{empty}
\usepackage{doc}
\usepackage{tikz-trackschematic-documentation}
\lstset{%
language = TeX,%