From e599d65b0a7e5506a8968d6cf55cd19957baa701 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 29 Dec 2020 21:59:35 +0000 Subject: puyotikz (29dec20) git-svn-id: svn://tug.org/texlive/trunk@57254 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/puyotikz/puyotikz.sty | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Master/texmf-dist/tex/latex/puyotikz') 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} -- cgit v1.2.3