From 37f0df1b411d2b42cfd5f2ff8d8c06b3b9d622ec Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 18 Aug 2018 17:48:08 +0200 Subject: [PATCH] Add a new helper function for latexmk. --- zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh b/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh index f07025f..1297dcd 100644 --- a/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh +++ b/zsh/custom/plugins/my_helpers/my_helpers.plugin.zsh @@ -18,6 +18,10 @@ function convert_asy_to_png { rsvg-convert "$filename.svg" -o $(echo "$filename.svg" | sed -e 's/svg$/png/') } +function latexmk { + latexmk -lualatex "$1" + latexmk -c "$1" +} #