|
0 |
Description: Adjust the Python interpreter for all examples
|
|
1 |
To ease the live of users, the interpreter line of all python scripts has ben
|
|
2 |
adapted to match the Debian interpreter name (Python3).
|
|
3 |
Author: Sebastian Humenda <shumenda@gmx.de>
|
|
4 |
Last-Update: 2021-11-23
|
|
5 |
|
|
6 |
Index: pandocfilters/examples/abc.py
|
|
7 |
===================================================================
|
|
8 |
--- pandocfilters.orig/examples/abc.py
|
|
9 |
+++ pandocfilters/examples/abc.py
|
|
10 |
@@ -1,4 +1,4 @@
|
|
11 |
-#!/usr/bin/env python
|
|
12 |
+#!/usr/bin/env python3
|
|
13 |
|
|
14 |
"""
|
|
15 |
Pandoc filter to process code blocks with class "abc" containing
|
|
16 |
Index: pandocfilters/examples/blockdiag.py
|
|
17 |
===================================================================
|
|
18 |
--- pandocfilters.orig/examples/blockdiag.py
|
|
19 |
+++ pandocfilters/examples/blockdiag.py
|
|
20 |
@@ -1,4 +1,4 @@
|
|
21 |
-#!/usr/bin/env python
|
|
22 |
+#!/usr/bin/env python3
|
|
23 |
|
|
24 |
"""
|
|
25 |
Filter to process code blocks with class "blockdiag" into
|
|
26 |
Index: pandocfilters/examples/caps.py
|
|
27 |
===================================================================
|
|
28 |
--- pandocfilters.orig/examples/caps.py
|
|
29 |
+++ pandocfilters/examples/caps.py
|
|
30 |
@@ -1,4 +1,4 @@
|
|
31 |
-#!/usr/bin/env python
|
|
32 |
+#!/usr/bin/env python3
|
|
33 |
|
|
34 |
"""
|
|
35 |
Pandoc filter to convert all regular text to uppercase.
|
|
36 |
Index: pandocfilters/examples/comments.py
|
|
37 |
===================================================================
|
|
38 |
--- pandocfilters.orig/examples/comments.py
|
|
39 |
+++ pandocfilters/examples/comments.py
|
|
40 |
@@ -1,4 +1,4 @@
|
|
41 |
-#!/usr/bin/env python
|
|
42 |
+#!/usr/bin/env python3
|
|
43 |
from pandocfilters import toJSONFilter
|
|
44 |
import re
|
|
45 |
|
|
46 |
Index: pandocfilters/examples/deemph.py
|
|
47 |
===================================================================
|
|
48 |
--- pandocfilters.orig/examples/deemph.py
|
|
49 |
+++ pandocfilters/examples/deemph.py
|
|
50 |
@@ -1,4 +1,4 @@
|
|
51 |
-#!/usr/bin/env python
|
|
52 |
+#!/usr/bin/env python3
|
|
53 |
from pandocfilters import walk, toJSONFilter
|
|
54 |
from caps import caps
|
|
55 |
|
|
56 |
Index: pandocfilters/examples/deflists.py
|
|
57 |
===================================================================
|
|
58 |
--- pandocfilters.orig/examples/deflists.py
|
|
59 |
+++ pandocfilters/examples/deflists.py
|
|
60 |
@@ -1,4 +1,4 @@
|
|
61 |
-#!/usr/bin/env python
|
|
62 |
+#!/usr/bin/env python3
|
|
63 |
|
|
64 |
"""
|
|
65 |
Pandoc filter to convert definition lists to bullet
|
|
66 |
Index: pandocfilters/examples/ditaa.py
|
|
67 |
===================================================================
|
|
68 |
--- pandocfilters.orig/examples/ditaa.py
|
|
69 |
+++ pandocfilters/examples/ditaa.py
|
|
70 |
@@ -1,4 +1,4 @@
|
|
71 |
-#!/usr/bin/env python
|
|
72 |
+#!/usr/bin/env python3
|
|
73 |
|
|
74 |
"""
|
|
75 |
Pandoc filter to process code blocks with class "ditaa" into images.
|
|
76 |
Index: pandocfilters/examples/graphviz.py
|
|
77 |
===================================================================
|
|
78 |
--- pandocfilters.orig/examples/graphviz.py
|
|
79 |
+++ pandocfilters/examples/graphviz.py
|
|
80 |
@@ -1,4 +1,4 @@
|
|
81 |
-#!/usr/bin/env python
|
|
82 |
+#!/usr/bin/env python3
|
|
83 |
|
|
84 |
"""
|
|
85 |
Pandoc filter to process code blocks with class "graphviz" into
|
|
86 |
Index: pandocfilters/examples/includes.py
|
|
87 |
===================================================================
|
|
88 |
--- pandocfilters.orig/examples/includes.py
|
|
89 |
+++ pandocfilters/examples/includes.py
|
|
90 |
@@ -1,4 +1,4 @@
|
|
91 |
-#!/usr/bin/env python
|
|
92 |
+#!/usr/bin/env python3
|
|
93 |
|
|
94 |
"""
|
|
95 |
Pandoc filter to process code blocks with class "include" and
|
|
96 |
Index: pandocfilters/examples/inlinenotes.py
|
|
97 |
===================================================================
|
|
98 |
--- pandocfilters.orig/examples/inlinenotes.py
|
|
99 |
+++ pandocfilters/examples/inlinenotes.py
|
|
100 |
@@ -1,4 +1,4 @@
|
|
101 |
-#!/usr/bin/env python
|
|
102 |
+#!/usr/bin/env python3
|
|
103 |
|
|
104 |
from pandocfilters import toJSONFilter, RawInline, Space, Str, walk
|
|
105 |
|
|
106 |
Index: pandocfilters/examples/latexdivs.py
|
|
107 |
===================================================================
|
|
108 |
--- pandocfilters.orig/examples/latexdivs.py
|
|
109 |
+++ pandocfilters/examples/latexdivs.py
|
|
110 |
@@ -1,4 +1,4 @@
|
|
111 |
-#!/usr/bin/env python
|
|
112 |
+#!/usr/bin/env python3
|
|
113 |
|
|
114 |
"""
|
|
115 |
Pandoc filter to convert divs with latex="true" to LaTeX
|
|
116 |
Index: pandocfilters/examples/metavars.py
|
|
117 |
===================================================================
|
|
118 |
--- pandocfilters.orig/examples/metavars.py
|
|
119 |
+++ pandocfilters/examples/metavars.py
|
|
120 |
@@ -1,4 +1,4 @@
|
|
121 |
-#!/usr/bin/env python
|
|
122 |
+#!/usr/bin/env python3
|
|
123 |
|
|
124 |
"""
|
|
125 |
Pandoc filter to allow interpolation of metadata fields
|
|
126 |
Index: pandocfilters/examples/myemph.py
|
|
127 |
===================================================================
|
|
128 |
--- pandocfilters.orig/examples/myemph.py
|
|
129 |
+++ pandocfilters/examples/myemph.py
|
|
130 |
@@ -1,4 +1,4 @@
|
|
131 |
-#!/usr/bin/env python
|
|
132 |
+#!/usr/bin/env python3
|
|
133 |
from pandocfilters import toJSONFilter, RawInline
|
|
134 |
|
|
135 |
"""
|
|
136 |
Index: pandocfilters/examples/plantuml.py
|
|
137 |
===================================================================
|
|
138 |
--- pandocfilters.orig/examples/plantuml.py
|
|
139 |
+++ pandocfilters/examples/plantuml.py
|
|
140 |
@@ -1,4 +1,4 @@
|
|
141 |
-#!/usr/bin/env python
|
|
142 |
+#!/usr/bin/env python3
|
|
143 |
|
|
144 |
"""
|
|
145 |
Pandoc filter to process code blocks with class "plantuml" into
|
|
146 |
Index: pandocfilters/examples/theorem.py
|
|
147 |
===================================================================
|
|
148 |
--- pandocfilters.orig/examples/theorem.py
|
|
149 |
+++ pandocfilters/examples/theorem.py
|
|
150 |
@@ -1,4 +1,4 @@
|
|
151 |
-#!/usr/bin/env python
|
|
152 |
+#!/usr/bin/env python3
|
|
153 |
|
|
154 |
"""
|
|
155 |
Pandoc filter to convert divs with class="theorem" to LaTeX
|
|
156 |
Index: pandocfilters/examples/tikz.py
|
|
157 |
===================================================================
|
|
158 |
--- pandocfilters.orig/examples/tikz.py
|
|
159 |
+++ pandocfilters/examples/tikz.py
|
|
160 |
@@ -1,4 +1,4 @@
|
|
161 |
-#!/usr/bin/env python
|
|
162 |
+#!/usr/bin/env python3
|
|
163 |
|
|
164 |
"""
|
|
165 |
Pandoc filter to process raw latex tikz environments into images.
|