From 904335818c50eecd9c5daa93a43089c78154d187 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 11 Apr 2020 22:52:28 +0000 Subject: xsim (4apr20) git-svn-id: svn://tug.org/texlive/trunk@54681 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/xsim/README | 2 +- .../doc/latex/xsim/examples/xsim.texsx-350028.pdf | Bin 95065 -> 130569 bytes .../doc/latex/xsim/examples/xsim.texsx-350028.tex | 3 +-- .../doc/latex/xsim/examples/xsim.texwelt-23968.pdf | Bin 46008 -> 46008 bytes .../doc/latex/xsim/examples/xsim.texwelt-23968.tex | 6 ++++- Master/texmf-dist/doc/latex/xsim/xsim.history | 4 ++- Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf | Bin 1233842 -> 1269638 bytes Master/texmf-dist/doc/latex/xsim/xsim_manual.tex | 28 ++++++++++++++++----- 8 files changed, 32 insertions(+), 11 deletions(-) (limited to 'Master/texmf-dist/doc/latex/xsim') diff --git a/Master/texmf-dist/doc/latex/xsim/README b/Master/texmf-dist/doc/latex/xsim/README index 3d290774389..5923c8045b4 100644 --- a/Master/texmf-dist/doc/latex/xsim/README +++ b/Master/texmf-dist/doc/latex/xsim/README @@ -1,5 +1,5 @@ -------------------------------------------------------------------------- -XSIM 2020/03/19 v0.19a +XSIM 2020/04/04 v0.19b XSIMVERB 2019/12/29 v0.1a eXercise Sheets IMproved diff --git a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.pdf b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.pdf index ef781218a8e..36645464fc0 100644 Binary files a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.pdf and b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.pdf differ diff --git a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.tex b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.tex index ebe090413c9..8f49a92f600 100644 --- a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.tex +++ b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texsx-350028.tex @@ -1,7 +1,6 @@ % http://tex.stackexchange.com/q/350028/ \documentclass{book} - -\usepackage{xsimverb} +\usepackage[T1]{fontenc} \usepackage{xsim} \usepackage[most]{tcolorbox} \tcbuselibrary{skins,breakable} diff --git a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.pdf b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.pdf index 726cbcddb43..e9816a97930 100644 Binary files a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.pdf and b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.pdf differ diff --git a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.tex b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.tex index e967f7f8263..bf205bb7fb5 100644 --- a/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.tex +++ b/Master/texmf-dist/doc/latex/xsim/examples/xsim.texwelt-23968.tex @@ -7,7 +7,11 @@ % new environment: \NewDocumentEnvironment{shortsolution}{+b} - {\SetExerciseProperty{shortsolution}{#1}} + {% + \edef\ExerciseType{\csname g_xsim_exercise_type_tl\endcsname}% + \edef\ExerciseID{\csname g_xsim_exercise_id_tl\endcsname}% + \SetExerciseProperty{shortsolution}{#1}% + } {} % we'll use a description list for the list of short solutions: diff --git a/Master/texmf-dist/doc/latex/xsim/xsim.history b/Master/texmf-dist/doc/latex/xsim/xsim.history index b72b43baa5d..f1b0f860f7d 100644 --- a/Master/texmf-dist/doc/latex/xsim/xsim.history +++ b/Master/texmf-dist/doc/latex/xsim/xsim.history @@ -153,4 +153,6 @@ HISTORY: correct values when exercises (of different types) are nested - new load-time option `debug' - only for development - v0.19a 2020/03/18 - fix missing-variant-bug introduced with the last update + v0.19a 2020/03/19 - fix missing-variant-bug introduced with the last update + v0.19b 2020/04/04 - fix bug in new attribute mechanism which was a problem + when `no-files` has been used diff --git a/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf b/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf index 9f8ec3ae694..dad403c26a2 100644 Binary files a/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf and b/Master/texmf-dist/doc/latex/xsim/xsim_manual.pdf differ diff --git a/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex b/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex index d3adf284d9b..7b1df9ed5dd 100644 --- a/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex +++ b/Master/texmf-dist/doc/latex/xsim/xsim_manual.tex @@ -73,7 +73,17 @@ using an up to date \TeX\ distribution, anyway. still change. However, I will try my best to keep the interface stable. \end{bewareofthedog} -\section{Motivation and Background} +I'm currently thinking to make the option \option{no-files} the default +behavior of \xsim. There is a poll and discussion regarding this question on +\xsim's github page if you like to give your opinion on this. + +\begin{bewareofthedog} + The whole collection mechanism is likely to change completely in the + not-so-far future (let's say sometime in the six months from April~2020 or + so). +\end{bewareofthedog} + +\section{Motivation, Background} It has been quite a while since I first published \pkg{exsheets}~\cite{pkg:exsheets} in June 2012. Since then it has gained a @@ -916,11 +926,11 @@ If you know type and \property{id} of an exercise you can (re-)insert every existing exercise, \ie, every exercise whose external file exists. \begin{commands} \command{printexercise}[\marg{type}\marg{csv of ids}] - \changedversion{0.17a}Inserts the exercise or exercises of type + \changedversion{0.17}Inserts the exercise or exercises of type \meta{type} with the \property{id}s or \property{ID}s given in \meta{csv of ids}. \command{xprintexercise}[\marg{type}\marg{csv of ids}] - \sincechanged{0.16}{0.17a}The same as \cs{printexercise} but expands + \sincechanged{0.16}{0.17}The same as \cs{printexercise} but expands \meta{type} and the items of \meta{csv of ids} before it uses them. \end{commands} \begin{example} @@ -929,6 +939,12 @@ existing exercise, \ie, every exercise whose external file exists. \section{Collecting Exercises}\label{sec:collecting-exercises} +\begin{bewareofthedog} + The whole collection mechanism is likely to change completely in the + not-so-far future (let's say sometime in the six months from April~2020 or + so). +\end{bewareofthedog} + \subsection{Background} \xsim\ knows the concept of \enquote{exercise collections}. A collection of exercises can be useful when you want to print a certain group of exercises @@ -1555,11 +1571,11 @@ yourself in order to achieve certain layouts\footnote{I plan to incorporate \item \code{\#6}: the \property{bonus-points} property of the exercise \end{itemize} \command{XSIMprint}[\Marg{exercise|solution}\marg{type}\marg{id}] - \sincechanged{0.16}{0.17a}Inserts the either the exercise or the solution + \sincechanged{0.16}{0.17}Inserts the either the exercise or the solution of type \meta{type} with the \property{id} or \property{ID} \meta{id}. \command{XSIMxprint}[\Marg{exercise|solution}\marg{type}\marg{id}] - \sincechanged{0.16}{0.17a}The same as \cs{XSIMprint} but expands - \meta{type} and \meta{id} before it uses them. + The same as \cs{XSIMprint} but expands \meta{type} and \meta{id} before it + uses them.\sincechanged{0.16}{0.17} \expandable\command{XSIMtranslate}[\marg{keyword}] Delivers the translation of \meta{keyword} according to the current document language (in the meaning of a \pkg{babel}~\cite{pkg:babel} or -- cgit v1.2.3