Commit c70f56db authored by Harry Fuchs's avatar Harry Fuchs
Browse files

hack tex output for denser paragraphs

parent df1803b3
Pipeline #2514 passed with stage
in 9 minutes and 5 seconds
cp edit-this-file.tex tmp.tex
pandoc -f org -t latex tmp.tex -s -o for-compile.tex --metadata-file meta.yaml --template="latex.template"
# clear && clear
echo "start pdflatex"
This diff is collapsed.
......@@ -380,6 +380,7 @@ $endif$
#TODO Algorithmic efficiency
import re
filename = "for-compile.tex"
with open(filename, 'r') as file:
data =
copy = data
while True:
data = copy
#print(data, copy)
if data == copy:
data = re.sub(r'\n\s*\\begin{eqnarray\*}', r' \\begin{eqnarray*}', data)
with open(filename, 'w') as file:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment