texlive[57254] Master/texmf-dist: puyotikz (29dec20)

commits+karl at tug.org commits+karl at tug.org
Tue Dec 29 22:59:35 CET 2020


Revision: 57254
          http://tug.org/svn/texlive?view=revision&revision=57254
Author:   karl
Date:     2020-12-29 22:59:35 +0100 (Tue, 29 Dec 2020)
Log Message:
-----------
puyotikz (29dec20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/puyotikz/README.md
    trunk/Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdf
    trunk/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex
    trunk/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty

Modified: trunk/Master/texmf-dist/doc/latex/puyotikz/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/puyotikz/README.md	2020-12-29 21:59:20 UTC (rev 57253)
+++ trunk/Master/texmf-dist/doc/latex/puyotikz/README.md	2020-12-29 21:59:35 UTC (rev 57254)
@@ -12,6 +12,8 @@
 
 ```tex
 % Example usage.
+\usepackage{puyotikz}
+
 \begin{puyotikz}[\puyosmallscale]
     \puyoboard{rg/rgr/br/g}{rr/rb/gg}
     \puyomarker{e1rA/e2rA/f1bB/f2rB}

Modified: trunk/Master/texmf-dist/doc/latex/puyotikz/puyotikz.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex	2020-12-29 21:59:20 UTC (rev 57253)
+++ trunk/Master/texmf-dist/doc/latex/puyotikz/puyotikz.tex	2020-12-29 21:59:35 UTC (rev 57254)
@@ -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.

Modified: trunk/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty	2020-12-29 21:59:20 UTC (rev 57253)
+++ trunk/Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty	2020-12-29 21:59:35 UTC (rev 57254)
@@ -3,14 +3,22 @@
 % 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}
 



More information about the tex-live-commits mailing list.