summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-01-11 21:32:41 +0000
committerKarl Berry <karl@freefriends.org>2024-01-11 21:32:41 +0000
commitf01a0c4819fc284f339572abc556cde7ebefd1f0 (patch)
tree04919ad060c82b6f150bb5d903a510f4ff115d83 /Master/texmf-dist/tex
parent2cc683e5280edd19c4548db332d46430568c1f0e (diff)
tikzquests (11jan24)
git-svn-id: svn://tug.org/texlive/trunk@69388 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/tikzquests/tikzquests.sty37
1 files changed, 14 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/tikzquests/tikzquests.sty b/Master/texmf-dist/tex/latex/tikzquests/tikzquests.sty
index d54507f4771..4ecad3156ba 100644
--- a/Master/texmf-dist/tex/latex/tikzquests/tikzquests.sty
+++ b/Master/texmf-dist/tex/latex/tikzquests/tikzquests.sty
@@ -12,7 +12,7 @@
%%
%% The Current Maintainer of this work is Alceu Frigeri
%%
-%% This is version {1.0} {2024/01/02}
+%% This is version {1.1} {2024/01/11}
%%
%% The list of files that compose this work can be found in the README.md file at
%% https://ctan.org/pkg/tikzquests
@@ -27,8 +27,8 @@
\ProvidesExplPackage
{tikzquests}
- {2024/01/02}
- {1.0}
+ {2024/01/11}
+ {1.1}
{A Simple Framework for (tikz/text) Parametric Questions}
\ExplSyntaxOn
@@ -42,24 +42,15 @@
{
name .code:n = {tikzquests} ,
prefix .code:n = {tikzquests} ,
- date .code:n = {2024/01/02},
- version .code:n = {1.0} ,
+ date .code:n = {2024/01/11},
+ version .code:n = {1.1} ,
description .code:n = {A Simple Framework for (tikz/text) Parametric Questions}
-
}
-\cs_if_exist:NF \__codedesc_pkg_info:nn
+\cs_if_exist:NF \PkgInfo
{
- \cs_new_protected:Npn \__codedesc_pkg_info:nn #1#2
- { \keys_set:nn {#1 / pkg info}{#2} }
- }
-\cs_if_exist:NF \PkgInfo
- { \NewDocumentCommand \PkgInfo {mm} { \keys_set:nn {#1 / pkg info}{#2} } }
-\cs_if_exist:NF \PkgDescription
- {
+ \NewDocumentCommand \PkgInfo {mm} { \keys_set:nn {#1 / pkg info}{#2} }
\NewDocumentCommand \PkgDescription {m}
- {
- \noindent Package~ \textbf{\PkgInfo{#1}{name}}~Version:~\PkgInfo{#1}{version}~ -~ \PkgInfo{#1}{date}\par \emph{\PkgInfo{#1}{description}}~\par
- }
+ { \noindent Package~ \textbf{\PkgInfo{#1}{name}}~Version:~\PkgInfo{#1}{version}~ -~ \PkgInfo{#1}{date}\par \emph{\PkgInfo{#1}{description}}~\par }
}
%%%%%%%
%%% End of cut-n-paste
@@ -266,11 +257,9 @@
\NewDocumentCommand{\ftikzQuestion}{D(){}O{\l__tikzquests_active_repository_tl}mO{}}
{
-% \begin{figure}[!htb]
\begin{center}
\tikzQuestion(#1)[#2]{#3}[#4]
\end{center}
-% \end{figure}
}
@@ -342,7 +331,7 @@
\__tikzquests_rawquestion:nnnnn {#1}{textrepo}{#2}{#3}{#4}
}
-\cs_new_protected:Npn \__tikzquests_sorted_list:nnn #1#2#3#4
+\cs_new_protected:Npn \__tikzquests_sorted_list:nnnn #1#2#3#4
{
\prop_if_empty:cF {l__tikzquests_ #1 _ #2 _prop}
{
@@ -392,9 +381,11 @@
{
\prop_if_exist:cTF {l__tikzquests_ ##1 _tikzrepo_prop}
{
- {\vspace{1ex}Repository~ Name:~ \large\textbf{##1}}\vspace{0.35ex}\hrule\relax\hrule\relax
- \__tikzquests_sorted_list:nnn {##1}{tikzrepo}{\raisebox{3em}}{\tikzQuestion(0.35)}
- \__tikzquests_sorted_list:nnn {##1}{textrepo}{}{\textQuestion}
+ {\vspace{1ex}Repository~ Name:~ \large\textbf{##1}}\vspace{0.35ex}\hrule\relax\hrule\relax
+ {\vspace{1ex}~\hfill\emph{non~ starred~ ones~ -~ TikZ~ graphics}}\vspace{0.35ex}\hrule\relax
+ \__tikzquests_sorted_list:nnnn {##1}{tikzrepo}{\raisebox{3em}}{\tikzQuestion(0.35)}
+ {~\hfill\emph{starred~ ones~ -~ text/\TeX}}\vspace{0.35ex}\hrule\relax
+ \__tikzquests_sorted_list:nnnn {##1}{textrepo}{}{\textQuestion}
}
{
\msg_error:nnne {tikzquests}{invalid repository}{Qlist~01}{##1}