summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jupynotex/jupynotex.sty
blob: b79f622af606901359cdd5fec3190c758ee36883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\ProvidesPackage{jupynotex}[1.0]

\usepackage{tcolorbox}
\usepackage{pgfopts}

\newcommand*\jupynotex@outputtextlimit@value{}


\pgfkeys{
  /jupynotex/.cd ,
    output-text-limit/.store in=\jupynotex@outputtextlimit@value
}

\ProcessPgfPackageOptions{/jupynotex}

\newcommand{\jupynotex}[2][-]{
    \input|"python3 jupynotex.py '#2' '#1' '\jupynotex@outputtextlimit@value'"
}

\endinput