summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/inline-images
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-08-16 20:49:26 +0000
committerKarl Berry <karl@freefriends.org>2018-08-16 20:49:26 +0000
commit917d5c3b61156e675b299961a80f33233dcd4de5 (patch)
tree4cae640407c0c56467d43d095505a601a438d07b /Master/texmf-dist/tex/latex/inline-images
parent03e475af0478ac4e6cbe4fbe68e56f7461694064 (diff)
inline-images (16aug18)
git-svn-id: svn://tug.org/texlive/trunk@48415 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/inline-images')
-rw-r--r--Master/texmf-dist/tex/latex/inline-images/inline-images.sty15
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/inline-images/inline-images.sty b/Master/texmf-dist/tex/latex/inline-images/inline-images.sty
new file mode 100644
index 00000000000..8268df98b4e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/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}
+}