File: upstream-fix-python3-typo.patch

package info (click to toggle)
texmacs 1%3A2.1.4%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 145,080 kB
  • sloc: cpp: 227,393; lisp: 197,386; ansic: 5,395; python: 1,939; makefile: 1,065; sh: 781; perl: 339; xml: 100; awk: 36
file content (19 lines) | stat: -rw-r--r-- 601 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
Description: fix: typo: python script: xypic
 This patch fixes an escape typo in the python
 plugin dedicated to XYpic.
Origin: debian
Forwarded: https://github.com/texmacs/texmacs/pull/81
Author: Jerome Benoit <calculus@rezozer.net>
Last-Update: 2024-08-08

--- a/plugins/tmpy/graph/xypic.py
+++ b/plugins/tmpy/graph/xypic.py
@@ -29,7 +29,7 @@
 \\usepackage{amssymb}
 \\begin{document}
 """
-        self.post_code = "\end{document}"
+        self.post_code = "\\end{document}"
         self.message = "TeXmacs interface to XYpic (high level 2-dimensional graphics)"
 
     def evaluate(self, code):