Compare commits
4 Commits
70b5ec4e57
...
25e66b6e79
Author | SHA1 | Date |
---|---|---|
Martin Scheidt | 25e66b6e79 | |
Martin Scheidt | 1e8de05d95 | |
Martin Scheidt | 7ae66cc182 | |
Martin Scheidt | f46d7a7770 |
|
@ -48,7 +48,7 @@ jobs:
|
||||||
- name: "setup TeX Live (via paolobrasolin)"
|
- name: "setup TeX Live (via paolobrasolin)"
|
||||||
uses: paolobrasolin/setup-texlive-action@v1
|
uses: paolobrasolin/setup-texlive-action@v1
|
||||||
with:
|
with:
|
||||||
profile-path: ${{ github.workspace }}/.github/tex/texlive.profile.txt
|
profile-path: ${{ github.workspace }}/.github/tex/profile.minimal.txt
|
||||||
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
packages-path: ${{ github.workspace }}/.github/tex/packages.test.txt
|
||||||
|
|
||||||
# - name: "install tikz-trackschematic"
|
# - name: "install tikz-trackschematic"
|
||||||
|
|
|
@ -5,6 +5,13 @@ email, or any other method with the owners of this repository before making a ch
|
||||||
|
|
||||||
Please note we have a code of conduct, please follow it in all your interactions with the project.
|
Please note we have a code of conduct, please follow it in all your interactions with the project.
|
||||||
|
|
||||||
|
# Enhancing and developing the tikz-trackschematic library
|
||||||
|
|
||||||
|
1. The tikz-trackschematic should be regularly installed via TeX Live to modify the library. The distributed package comes with a development switch.
|
||||||
|
2. Run the build script with `sudo ./build.sh --install-dev`. This will soft link the local files out of src folder into your TeX Live installation.
|
||||||
|
3. The TeX command `\usepackage[dev]{tikz-trackschematic}` will load the linked src folder instead of the distributed package from TeX Live.
|
||||||
|
4. After implementing your modification run `./build.sh --test` to check for any breaking changes.
|
||||||
|
|
||||||
# Pull Request Process
|
# Pull Request Process
|
||||||
|
|
||||||
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
|
1. Ensure any install or build dependencies are removed before the end of the layer when doing a
|
||||||
|
@ -19,4 +26,4 @@ Please note we have a code of conduct, please follow it in all your interactions
|
||||||
5. The following versioning steps will be taken care of by the maintainer:
|
5. The following versioning steps will be taken care of by the maintainer:
|
||||||
1. git repo with tag
|
1. git repo with tag
|
||||||
2. CITATION.cff including DOI for current version
|
2. CITATION.cff including DOI for current version
|
||||||
3. sync Overleaf project
|
3. sync Overleaf project
|
||||||
|
|
8
build.sh
8
build.sh
|
@ -562,7 +562,7 @@ create_release_notes() {
|
||||||
sedi "s/###/##/g" release-note-$VERSION_STR.md
|
sedi "s/###/##/g" release-note-$VERSION_STR.md
|
||||||
}
|
}
|
||||||
|
|
||||||
run_compile() {
|
run_compile_documentation() {
|
||||||
## compile order
|
## compile order
|
||||||
# 1. manual, symbology-table, snippets
|
# 1. manual, symbology-table, snippets
|
||||||
# 2. examples
|
# 2. examples
|
||||||
|
@ -661,7 +661,7 @@ run_compile() {
|
||||||
cd ..
|
cd ..
|
||||||
}
|
}
|
||||||
|
|
||||||
run_symbology() {
|
run_compile_symbology() {
|
||||||
cd doc/symbology/
|
cd doc/symbology/
|
||||||
mkdir -p .tex
|
mkdir -p .tex
|
||||||
|
|
||||||
|
@ -957,7 +957,7 @@ if [ $COMPILE = 1 ]; then
|
||||||
check_imagemagick_policy
|
check_imagemagick_policy
|
||||||
|
|
||||||
##
|
##
|
||||||
run_compile
|
run_compile_documentation
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $SYMBOLOGY = 1 ]; then
|
if [ $SYMBOLOGY = 1 ]; then
|
||||||
|
@ -969,7 +969,7 @@ if [ $SYMBOLOGY = 1 ]; then
|
||||||
check_pdf2svg
|
check_pdf2svg
|
||||||
|
|
||||||
##
|
##
|
||||||
run_symbology
|
run_compile_symbology
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $RELEASE = 1 ]; then
|
if [ $RELEASE = 1 ]; then
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.7 KiB |
|
@ -10,7 +10,7 @@
|
||||||
\maintrack (0,0) -- (6,0);
|
\maintrack (0,0) -- (6,0);
|
||||||
|
|
||||||
% place a train on the track
|
% place a train on the track
|
||||||
\train[forward] at (5,0) label (T1);
|
\train[forward] at (5,0) label ();
|
||||||
|
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\end{document}
|
\end{document}
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue