There was an error while loading. Please reload this page.
1 parent c083647 commit 87c1200Copy full SHA for 87c1200
manual/latex2md.sh
@@ -0,0 +1,12 @@
1
+#!/bin/sh
2
+
3
+cp -f tracy.tex _tmp.tex
4
+sed -i -e 's@\\menu[,]@@g' _tmp.tex
5
+sed -i -e 's@\\keys@@g' _tmp.tex
6
+sed -i -e 's@\\ctrl@Ctrl@g' _tmp.tex
7
+sed -i -e 's@\\shift@Shift@g' _tmp.tex
8
+sed -i -e 's@\\Alt@Alt@g' _tmp.tex
9
+sed -i -e 's@\\del@Delete@g' _tmp.tex
10
11
+pandoc --wrap=none --reference-location=block --number-sections -s _tmp.tex -o tracy.md
12
+rm -f _tmp.tex
0 commit comments