summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-29 21:43:15 +0000
committerKarl Berry <karl@freefriends.org>2020-11-29 21:43:15 +0000
commit7ba43cd7687f0c63850391b88945e432d8958a84 (patch)
tree1ecab589a0e96d1702115d8b4c5b8272a5909a7a /Master/texmf-dist/doc
parent374930a15c704ed02fc00a4bc439c2af3dce9af8 (diff)
datax (29nov20)
git-svn-id: svn://tug.org/texlive/trunk@57033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/datax/README.md24
-rw-r--r--Master/texmf-dist/doc/latex/datax/datax-logo.tikz27
-rw-r--r--Master/texmf-dist/doc/latex/datax/datax.pdfbin178392 -> 188210 bytes
3 files changed, 48 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/datax/README.md b/Master/texmf-dist/doc/latex/datax/README.md
index 369088c3e58..1471c9a39d7 100644
--- a/Master/texmf-dist/doc/latex/datax/README.md
+++ b/Master/texmf-dist/doc/latex/datax/README.md
@@ -4,18 +4,35 @@ A LaTeX package to insert data from a script in a document. Interacting plugins
## Example usage
Julia script:
```julia
-using Datax
-# ... later ...
+using LaTeXDatax, Unitful
+a = 25u"m"
+b = 13
+c = "Literal string"
@datax a b c
```
LaTeX document
```tex
+\documentclass{article}
\usepackage{datax}
-% ... later ...
+\usepackage{siunitx}
+\begin{document}
The calculated length was \(a=\datax{a}\).
+\end{document}
```
+## Supported languages
+
+Language | Repo | Maintainer
+----- | ----- | -----
+Julia | [LaTeXDatax.jl](https://github.com/Datax-package/LaTeXDatax.jl) | David Gustavsson
+MATLAB | [LaTeXDatax.m](https://github.com/Datax-package/Datax.m) | David Gustavsson
+Python | [LaTeXDatax.py](https://github.com/Datax-package/LaTeXDatax.py) | David Gustavsson
+
+If your language isn't listed above, check [the super-repo](https://github.com/Datax-package).
+Extending it to your language of choice should be fairly simple, just make it so your script can write `\pgfkeyssetvalue{/datax/<tag>}{<value>}` to a file.
+If you end up writing a plugin for a language, or if you want to request one, please make a feature request or send me an e-mail.
+
## Copyright and license
Copyright 2020 David Gustavsson (david.e.gustavsson@gmail.com)
@@ -28,3 +45,4 @@ http://www.latex-project.org/lppl.txt
and version 1.3 or later is part of all distributions of
LaTeX version 2005/12/01 or later.
+
diff --git a/Master/texmf-dist/doc/latex/datax/datax-logo.tikz b/Master/texmf-dist/doc/latex/datax/datax-logo.tikz
new file mode 100644
index 00000000000..5a439091051
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/datax/datax-logo.tikz
@@ -0,0 +1,27 @@
+\begin{tikzpicture}
+ \definecolor{variablecolor}{named}{cyan}
+ \draw (-2,-2) rectangle (2,2);
+
+ % Script {{{
+ \begin{scope}[shift={(-0.5,1.25)}]
+ \node[draw=black,rounded corners=5] (code) at (0,0) {\texttt{> {\color{variablecolor}x} = 0.025;}};
+ \end{scope}
+ % }}}
+
+ % Document {{{
+ \begin{scope}[shift={(1,-0.75)}, scale=1.25]
+ \draw (0.2,0.705) -| (-0.5,-0.705) -| (0.5,0.405) -- cycle;
+ \draw[line width=2] (-0.4,0.5) -- (0.2,0.5);
+ \draw[thick] %
+ (-0.4,0.3) -- (0.4,0.3) %
+ (-0.4,0.1) -- (0.4,0.1) %
+ (-0.4,-0.1) -- (0.4,-0.1) %
+ (-0.4,-0.3) -- node[inner sep=1.5,circle,midway,variablecolor,draw=black,fill=white](variable) {\(x\)} (0.4,-0.3) %
+ (-0.4,-0.5) -- (0.4,-0.5) %
+ ;
+ \end{scope}
+ % }}}
+
+ \draw[thick,-stealth, shorten >=10, variablecolor] (code.-160) |- (variable);
+
+\end{tikzpicture}
diff --git a/Master/texmf-dist/doc/latex/datax/datax.pdf b/Master/texmf-dist/doc/latex/datax/datax.pdf
index 3af039653ca..d0db4830ed1 100644
--- a/Master/texmf-dist/doc/latex/datax/datax.pdf
+++ b/Master/texmf-dist/doc/latex/datax/datax.pdf
Binary files differ