Skip to content

Commit

Permalink
Bring up to date, work around some new markdown issues
Browse files Browse the repository at this point in the history
algmyr committed Nov 30, 2020
1 parent d6ecde1 commit 4773fdc
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion e-maxx-eng
6 changes: 6 additions & 0 deletions misc/fixes.pl
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@
# <- base->
# <- label -><------- url ------->
s#!\[([^]]*)\]\(([^/)]*/)*([^)]+)\)#![\1](\&imgroot\&/\3)#g;
# Gif doesn't play well with latex
s#!\[Visual\]\(&imgroot&/minkowski.gif\)#[minkowski.gif](https://raw.githubusercontent.com/e-maxx-eng/e-maxx-eng/master/img/minkowski.gif)#;
# Expand image root
s#&imgroot&#e-maxx-eng/img#g;
@@ -60,6 +63,9 @@
# math fix
s/\$\\\*\$/\$\*\$/g;
# amsmath fix
s/\\over\b/\\youreallyshouldnotuseover/g;
push(@lines, $_);
}
2 changes: 2 additions & 0 deletions misc/template.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
\documentclass[11pt,a4paper,oneside]{book}

\let\youreallyshouldnotuseover\over

% Basic packages
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

0 comments on commit 4773fdc

Please sign in to comment.