From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/latex/contrib/inline-images/inline-images.sty | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 macros/latex/contrib/inline-images/inline-images.sty

(limited to 'macros/latex/contrib/inline-images/inline-images.sty')

diff --git a/macros/latex/contrib/inline-images/inline-images.sty b/macros/latex/contrib/inline-images/inline-images.sty
new file mode 100644
index 0000000000..8268df98b4
--- /dev/null
+++ b/macros/latex/contrib/inline-images/inline-images.sty
@@ -0,0 +1,15 @@
+% Author:  Marc Wäckerlin
+% License: LGPL
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesClass{inline-images}[2018/08/15 version 1.0 ready for ctan]
+
+\RequirePackage{graphicx}
+
+\newcommand{\inlineimg}[2]{
+	\newwrite\tempfile
+	\immediate\openout\tempfile=#1.base64
+	\immediate\write\tempfile{#2}
+	\immediate\closeout\tempfile
+	\immediate\write18{base64 -d #1.base64 > #1}
+	\includegraphics{#1}
+}
-- 
cgit v1.2.3

