Created
June 21, 2022 19:19
-
-
Save fmitha/44240865dcf99bec6592d0ca4bf06c2e to your computer and use it in GitHub Desktop.
This file contains hidden or 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{\pdfconfigfilename}{FOO} | |
%\newcommand{\Pdfconfigfilename}{FOO} | |
\pgfkeys | |
{ | |
/includepdffiles/.is family, /includepdffiles, | |
% Calling the keys so that the macros are defined. | |
default/.style = | |
{ | |
pdfconfigfilename, | |
}, | |
pdfconfigfilename/.default = {XXX}, | |
pdfconfigfilename/.estore in = \pdfconfigfilename, | |
} | |
\NewDocumentCommand{\IncludePDFFiles}{O{}} | |
{ | |
\pgfkeys{/includepdffiles, default, #1}% | |
\typeout{PDFCONFIGFILENAME in IncludePDFFiles MACRO IS \pdfconfigfilename} | |
\typeout{\pdfconfigfilename} | |
} | |
\IncludePDFFiles[pdfconfigfilename=\pdfconfigfilename] | |
%\IncludePDFFiles[pdfconfigfilename=\Pdfconfigfilename] | |
\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