Skip to content

Instantly share code, notes, and snippets.

@leingang
Last active November 22, 2021 03:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leingang/1a761295b75cc69caf9005a75ce35699 to your computer and use it in GitHub Desktop.
Save leingang/1a761295b75cc69caf9005a75ce35699 to your computer and use it in GitHub Desktop.
Test of l3build doc with supporting images
build/
*.log
*.aux
foo.pdf
module = "foo"
supportdir = maindir
typesetsuppfiles = {"*.png"}
typesetfiles = {"*.tex"}
%<*foo>
\documentclass{article}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\lipsum[1]
\includegraphics[width=\textwidth]{duck}
\end{document}
%</foo>
\input docstrip.tex
\askforoverwritefalse
\generate{
\file{\jobname.tex}{\from{\jobname.dtx}{foo}}
}
\endbatchfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment