-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathpython.ts
More file actions
102 lines (70 loc) · 2.25 KB
/
python.ts
File metadata and controls
102 lines (70 loc) · 2.25 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<TeXmacs|2.1.2>
<style|source>
<\body>
<active*|<\src-title>
<src-package|python|1.0>
<\src-purpose>
Markup for Python sessions.
</src-purpose>
<\src-copyright|2021>
Joris van der Hoeven
\ \ \ \ 2024 by Darcy Shen
</src-copyright>
<\src-license>
This software falls under the <hlink|GNU general public license,
version 3 or later|$TEXMACS_PATH/LICENSE>. It comes WITHOUT ANY
WARRANTY WHATSOEVER. You should have received a copy of the license
which the software. If not, see <hlink|http://www.gnu.org/licenses/gpl-3.0.html|http://www.gnu.org/licenses/gpl-3.0.html>.
</src-license>
</src-title>>
<use-module|(data python)>
<use-module|(code python-edit)>
<assign|python|<macro|body|<with|mode|prog|prog-language|python|font-family|rm|<arg|body>>>>
<assign|python-code|<\macro|body>
<\pseudo-code>
<python|<arg|body>>
</pseudo-code>
</macro>>
<\active*>
<\src-comment>
Use verbatim output
</src-comment>
</active*>
<assign|python-output|<\macro|body>
<\with|mode|text|language|verbatim|font-family|tt>
<\generic-output>
<arg|body>
</generic-output>
</with>
</macro>>
<assign|python-errput|<\macro|body>
<\with|mode|text|language|verbatim|font-family|tt>
<\generic-errput>
<arg|body>
</generic-errput>
</with>
</macro>>
<assign|syntax-python-none|red>
<assign|syntax-python-comment|brown>
<assign|syntax-python-error|dark red>
<assign|syntax-python-constant|#4040c0>
<assign|syntax-python-constant-number|#4040c0>
<assign|syntax-python-constant-string|dark grey>
<assign|syntax-python-constant-char|#333333>
<assign|syntax-python-declare-function|#0000c0>
<assign|syntax-python-declare-type|#0000c0>
<assign|syntax-python-declare-module|#0000c0>
<assign|syntax-python-operator|#8b008b>
<assign|syntax-python-operator-openclose|#B02020>
<assign|syntax-python-operator-field|#888888>
<assign|syntax-python-operator-special|orange>
<assign|syntax-python-keyword|#309090>
<assign|syntax-python-keyword-conditional|#309090>
<assign|syntax-python-keyword-control|#309090>
\;
</body>
<\initial>
<\collection>
<associate|preamble|true>
</collection>
</initial>