Created
June 20, 2022 18:26
-
-
Save fmitha/94b80a51a4a1654a0e86db98ace91ae6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[12pt]{scrartcl} | |
\usepackage{pgfkeys} | |
\begin{document} | |
\newcommand\pdfconfig | |
\pgfkeys | |
{ | |
/includepdffiles/.is family, /includepdffiles, | |
% Calling the keys so that the macros are defined. | |
default/.style = | |
{ | |
pdfconfigfilename, | |
}, | |
pdfconfigfilename/.default = {}, | |
pdfconfigfilename/.estore in = \pdfconfigfilename, | |
} | |
\NewDocumentCommand{\IncludePDFFiles}{O{}} | |
{ | |
\pgfkeys{/includepdffiles, default, #1}% | |
\typeout{\pdfconfigfilename} | |
} | |
\IncludePDFFiles[pdfconfigfilename=FOO] | |
\end{document} | |
%%% Local Variables: | |
%%% mode: latex | |
%%% TeX-master: t | |
%%% End: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment