I am creating a babel
.ini
file for my language, and I want to create an accompanying document that lists all strings defined in the said file. For captions
, I can do this by calling \[key]name
(e.g., \prefacename
).
\NewDocumentCommand{\keyitem}{m}{%
\item[#1] \expandafter\csname#1name\endcsname\relax%
}
\begin{description}
\keyitem{preface}
% More strings
\end{description}
Is there a way I can do this for date.gregorian
? I would like to be able to print the wide
, abbreviated
, and narrow
strings. I have tried \monthiname
, etc. but I get an "Undefined control sequence" error message.