From 094ef7a2de22c7698938877eaf22b4d958722805 Mon Sep 17 00:00:00 2001 From: Nero <41307858+nero@users.noreply.github.com> Date: Thu, 7 Apr 2022 16:34:57 +0000 Subject: [PATCH] md2tex: place images (figures) nearby --- md2tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/md2tex b/md2tex index b1a72c1..0789e3b 100755 --- a/md2tex +++ b/md2tex @@ -118,7 +118,7 @@ function inline(text) { gsub(/(^!\[|\].*$)/, "", txt) gsub(/(^!.*\(|\)$)/, "", filenam) gsub(/\.(jpg|png|gif|jpeg)$/, "", filenam) - push("figure") + push("figure", "[htp]") tag("includegraphics[width=\\textwidth]{" filenam "}") tag("caption{" inline(txt) "}") next