File: pythonimmediate.cwl

package info (click to toggle)
texstudio 4.8.9%2Bds-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 109,164 kB
  • sloc: cpp: 109,508; xml: 18,668; ansic: 8,977; python: 357; javascript: 177; sh: 147; makefile: 52
file content (31 lines) | stat: -rw-r--r-- 638 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# pythonimmediate package
# Matthew Bertucci 2024/01/18 for v0.5.0

#include:saveenv
#include:currfile
#include:currfile-abspath
#include:precattl

#keyvals:\usepackage/pythonimmediate#c
args=%<Python args%>
python-executable=%<path%>
python-flags=%<flags%>
child-process#true,false
#endkeyvals

\py{python expr%definition}
\pyc{python code%definition}
\pycq{python code%definition}
\pyfile{file}

\begin{pycode}#V
\end{pycode}
\begin{pycodeq}#V
\end{pycodeq}

\pythonimmediatecontinue{code}#*

# not documented
\pythonimmediatecontinuenoarg#S
\pyv{python expr%definition}#S
\pycv{python code%definition}#S