1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Description: Fixes pandoc options to fix warnings
Index: python-pweave/pweave/formatters/publish.py
===================================================================
--- python-pweave.orig/pweave/formatters/publish.py 2023-01-31 13:02:12.658424192 +0100
+++ python-pweave/pweave/formatters/publish.py 2023-01-31 13:08:08.253763869 +0100
@@ -252,7 +252,7 @@
if 'number' in chunk and chunk['number'] == 1:
chunk = self.parsetitle(chunk)
try:
- pandoc = Popen(["pandoc", "-R", "-t", "latex", "-f", "markdown"], stdin=PIPE, stdout=PIPE)
+ pandoc = Popen(["pandoc", "-t", "latex+raw_tex", "-f", "markdown"], stdin=PIPE, stdout=PIPE)
except:
sys.stderr.write("ERROR: Can't find pandoc")
raise
|