reduce to only pandoc pipeline + fix script according to downstream patches
This commit is contained in:
parent
5660ac2021
commit
028ae6b26f
19 changed files with 54 additions and 231 deletions
32
body.sed
Normal file
32
body.sed
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
/\$\$/ {
|
||||
N;
|
||||
/\\begin\{align\}/ {
|
||||
s/\$\$//;
|
||||
p;
|
||||
d;
|
||||
}
|
||||
/\\newcommand/ {
|
||||
N;
|
||||
d;
|
||||
}
|
||||
}
|
||||
|
||||
/\\end\{align\}/ {
|
||||
N;
|
||||
/\$\$/ {
|
||||
s/\$\$//;
|
||||
p;
|
||||
d;
|
||||
}
|
||||
}
|
||||
s/lightgreen/Lime/g;
|
||||
s/\{green/\{Green/g;
|
||||
s/\{yellow/\{Goldenrod/g;
|
||||
s/\{darkorange/\{DarkOrange/g;
|
||||
s/:::/::: /g;
|
||||
s/\\circ \- \\bullet/\\;\\laplace\\;/g;
|
||||
s/\{align/\{align\*/g;
|
||||
s/\\color/\\textcolor/g;
|
||||
s/\*\*<center>/\\begin{center}\\textbf{/g;
|
||||
s/<\/Center>\*\*/}\\end{center}/g;
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue