summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/support
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/support')
-rw-r--r--Master/texmf-dist/doc/support/tikztosvg/CHANGELOG.md6
-rw-r--r--Master/texmf-dist/doc/support/tikztosvg/Makefile9
-rw-r--r--Master/texmf-dist/doc/support/tikztosvg/README.md12
-rw-r--r--Master/texmf-dist/doc/support/tikztosvg/install.sh18
-rw-r--r--Master/texmf-dist/doc/support/tikztosvg/man.adoc8
-rw-r--r--Master/texmf-dist/doc/support/tikztosvg/tikztosvg.pdfbin168699 -> 170837 bytes
6 files changed, 34 insertions, 19 deletions
diff --git a/Master/texmf-dist/doc/support/tikztosvg/CHANGELOG.md b/Master/texmf-dist/doc/support/tikztosvg/CHANGELOG.md
index 6355541f945..65dc1bae6e9 100644
--- a/Master/texmf-dist/doc/support/tikztosvg/CHANGELOG.md
+++ b/Master/texmf-dist/doc/support/tikztosvg/CHANGELOG.md
@@ -1,5 +1,11 @@
# CHANGELOG
+## Release 0.2.1
+
+* Fixed #1
+* Improved the installation scripts
+* Added aditional links in the documentation
+
## Release 0.2.0
* Removed code that added the `\huge` command to the beginning of the document
diff --git a/Master/texmf-dist/doc/support/tikztosvg/Makefile b/Master/texmf-dist/doc/support/tikztosvg/Makefile
index ce66f807b6f..1d5779d30ae 100644
--- a/Master/texmf-dist/doc/support/tikztosvg/Makefile
+++ b/Master/texmf-dist/doc/support/tikztosvg/Makefile
@@ -5,11 +5,10 @@ package: tikztosvg.tar.gz
install: man/tikztosvg.1 tikztosvg
# Install the executable
- cp tikztosvg ~/.local/bin/
- chmod +x ~/.local/bin/tikztosvg
+ install -g 0 -o 0 -m 755 tikztosvg /usr/bin/
# Install the manpage
- install -g 0 -o 0 -m 0644 man/tikztosvg.1 ~/.local/share/man/man1/
+ install -g 0 -o 0 -m 644 man/tikztosvg.1 /usr/share/man/man1/
man/tikztosvg.1: man/man.adoc
asciidoctor -b manpage -o $@ $^
@@ -17,14 +16,14 @@ man/tikztosvg.1: man/man.adoc
tikztosvg.pdf: README.md
pandoc -s -o $@ $^
-example/example.svg: example/example.tikz
+example/%.svg: example/%.tikz
sh ./tikztosvg -p xfrac -p relsize -o $@ $^
# Try to compress the image with svgo
svgo --pretty --enable=sortAttrs $@ || exit 0
# Packages the application for CTAN
-tikztosvg.tar.gz: man/tikztosvg.1 tikztosvg.pdf README.md example/example.svg CHANGELOG.md
+tikztosvg.tar.gz: tikztosvg man/tikztosvg.1 tikztosvg.pdf README.md example/example.tikz example/example.svg CHANGELOG.md LICENSE
tar -cvO --directory=.. --exclude='.*' --exclude='*.tar.gz' tikztosvg \
| gzip -c /dev/stdin > tikztosvg.tar.gz
diff --git a/Master/texmf-dist/doc/support/tikztosvg/README.md b/Master/texmf-dist/doc/support/tikztosvg/README.md
index 866e73b690d..b8710da39f5 100644
--- a/Master/texmf-dist/doc/support/tikztosvg/README.md
+++ b/Master/texmf-dist/doc/support/tikztosvg/README.md
@@ -72,8 +72,16 @@ $ cd tikztosvg
$ sudo make install
```
-The executable is installed in `$HOME/.local/bin/` and the man-page is
-installed in `$HOME/.local/share/man/man1/`.
+The executable is installed in `/usr/bin/` and the man-page is
+installed in `/usr/share/man/man1/`.
+
+## Resources
+
+**Git source repository on sourcehut:** <https://git.sr.ht/~pablo-pie/tikztosvg>
+
+**Bug tracker:** <https://todo.sr.ht/~pablo-pie/tikztosvg>
+
+**CTAN package:** <https://www.ctan.org/pkg/tikztosvg>
## Authors
diff --git a/Master/texmf-dist/doc/support/tikztosvg/install.sh b/Master/texmf-dist/doc/support/tikztosvg/install.sh
index 659199b883b..1d6a22957b6 100644
--- a/Master/texmf-dist/doc/support/tikztosvg/install.sh
+++ b/Master/texmf-dist/doc/support/tikztosvg/install.sh
@@ -46,21 +46,21 @@ then
rm "$HOME/.local/bin/tikztosvg"
fi
-wget https://git.sr.ht/~pablo-pie/tikztosvg/blob/master/tikztosvg -P "$HOME/.local/bin/"\
- && chmod +x "$HOME/.local/bin/tikztosvg"\
- || exit 1
-
tmp="$(mktemp -d)"
+wget https://git.sr.ht/~pablo-pie/tikztosvg/blob/master/tikztosvg -P "$tmp" \
+ && install -g 0 -o 0 -m 755 "$tmp/tikztosvg" /usr/bin/ \
+ || exit 1
+
message "Installing manual entry for tikztosvg(1)"
-wget https://git.sr.ht/~pablo-pie/tikztosvg/blob/master/man/tikztosvg.1 -P "$tmp"\
- && install -g 0 -o 0 -m 0644 "$tmp/tikztosvg.1" "$HOME/.local/share/man/man1/"\
+wget https://git.sr.ht/~pablo-pie/tikztosvg/blob/master/man/tikztosvg.1 -P "$tmp" \
+ && install -g 0 -o 0 -m 644 "$tmp/tikztosvg.1" /usr/share/man/man1/ \
|| exit 1
-if [ -f "$HOME/.local/share/man/man1/tikztosvg.1.gz" ]
+if [ -f "/usr/share/man/man1/tikztosvg.1.gz" ]
then
- rm "$HOME/.local/share/man/man1/tikztosvg.1.gz"
+ rm "/usr/share/man/man1/tikztosvg.1.gz"
fi
-gzip "$HOME/.local/share/man/man1/tikztosvg.1"
+gzip "/usr/share/man/man1/tikztosvg.1"
rm "$tmp" -r
diff --git a/Master/texmf-dist/doc/support/tikztosvg/man.adoc b/Master/texmf-dist/doc/support/tikztosvg/man.adoc
index 5f2e5554cf0..ad5d8cca2af 100644
--- a/Master/texmf-dist/doc/support/tikztosvg/man.adoc
+++ b/Master/texmf-dist/doc/support/tikztosvg/man.adoc
@@ -1,7 +1,7 @@
= tikztosvg(1)
:doctype: manpage
:man-manual: tikztosvg Manual
-:man-source: tikztosvg 0.2.0
+:man-source: tikztosvg 0.2.1
:page-layout: base
== NAME
@@ -28,7 +28,7 @@ If _INPUT_PATH_ is set to _-_ the input will be read from stdin.
*-p, --package*=+_PACKAGE_::
Include _\usepackage{PACKAGE}_ when rendering the diagram. The tikz, tikz-cd,
-pgfplots, amsmath and amssymb packages are always included by default.
+ pgfplots, amsmath and amssymb packages are always included by default.
*-l, --library*=+_LIBRARY::
Include _\usetikzlibrary{LIBRARY}_ when rendering the diagram.
@@ -67,7 +67,9 @@ Matthew Flaschen <matthew.flaschen@gatech.edu>.
== RESOURCES
-*Git source repository on sourcehut:* https://git.sr.ht/~pablo-pie/tikztosvg
+Git source repository on sourcehut:: https://git.sr.ht/~pablo-pie/tikztosvg
+Bug tracker:: https://todo.sr.ht/~pablo-pie/tikztosvg
+CTAN package:: https://www.ctan.org/pkg/tikztosvg
== COPYING
diff --git a/Master/texmf-dist/doc/support/tikztosvg/tikztosvg.pdf b/Master/texmf-dist/doc/support/tikztosvg/tikztosvg.pdf
index c7d54a4005b..3fb78c6fb4b 100644
--- a/Master/texmf-dist/doc/support/tikztosvg/tikztosvg.pdf
+++ b/Master/texmf-dist/doc/support/tikztosvg/tikztosvg.pdf
Binary files differ