summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-12-29 21:59:35 +0000
committerKarl Berry <karl@freefriends.org>2020-12-29 21:59:35 +0000
commite599d65b0a7e5506a8968d6cf55cd19957baa701 (patch)
treedcbcddfc359e8598d4a60cd96e3750b09b8c6f41 /Master/texmf-dist
parentf6c14c2c377409e29ec866c5601bbdfa3cf07330 (diff)
puyotikz (29dec20)
git-svn-id: svn://tug.org/texlive/trunk@57254 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/puyotikz/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdfbin217870 -> 201230 bytes
-rw-r--r--Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex2
-rw-r--r--Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty12
4 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/puyotikz/README.md b/Master/texmf-dist/doc/latex/puyotikz/README.md
index 70097df5539..af2eb412881 100644
--- a/Master/texmf-dist/doc/latex/puyotikz/README.md
+++ b/Master/texmf-dist/doc/latex/puyotikz/README.md
@@ -12,6 +12,8 @@ MIT License.
```tex
% Example usage.
+\usepackage{puyotikz}
+
\begin{puyotikz}[\puyosmallscale]
\puyoboard{rg/rgr/br/g}{rr/rb/gg}
\puyomarker{e1rA/e2rA/f1bB/f2rB}
diff --git a/Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdf b/Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdf
index fa85e610079..d712cbf82b0 100644
--- a/Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdf
+++ b/Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex b/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex
index cb776a8c0b0..061740ce084 100644
--- a/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex
+++ b/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex
@@ -93,7 +93,7 @@
\section{Installation}
\subsection{Python3 and PythonTeX}
Installing this package should be straightforward through the user's \tex package manager. \python will additionally need to be installed; it is recommended to use a virtual environment management tool such as \anaconda. The Python environment will need packages \pypygments and \pynumpy installed.\par
-Compiling the document requires inserting a new command into the build sequence. \pythontex must run \code{pythontex.py} in between two separate runs of the \tex engine (see documentation for more detail).
+Compiling the document requires inserting a new command into the build sequence. \pythontex must run \code{pythontex.py} in between two separate runs of the \tex engine (see \pythontex documentation for more detail).
\section{Usage}
This package provides an environment and three macros for typesetting Puyo Puyo boards for inclusion in \latex documents.
diff --git a/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty b/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty
index 4a5c4dd2005..00d5749a978 100644
--- a/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty
+++ b/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty
@@ -3,13 +3,21 @@
% MIT License
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
-\ProvidesPackage{puyotikz}[2020/12/23 v1.0.0 PuyoTikZ]
+\ProvidesPackage{puyotikz}[2020/12/28 v1.0.1 PuyoTikZ]
\RequirePackage{pythontex}
\RequirePackage{tikz}
\RequirePackage{keyval}
-\pyc{import puyotikz as puyo}
+\begin{pycode}
+import sys, subprocess
+ptha = subprocess.check_output(['kpsewhich', '-var-value=TEXMFDIST'], universal_newlines=True)
+ptha = ptha.rstrip('\n')
+pthb = ptha + '/scripts/puyotikz'
+sys.path.append(pthb)
+
+import puyotikz as puyo
+\end{pycode}
\def\puyosmallscale{0.34}
\def\puyobigscale{0.65}