Skip to content

Conversation

@lkoehl
Copy link

@lkoehl lkoehl commented Mar 14, 2023

When using the package with XeLaTeX, the package warns you about the random selection of exercises. The last sentence is missing a 'not'. I also improved the sentence for better readability.

@muzimuzhi
Copy link

XeTeX has learnt random primitives since texlive 2019, see texlive release history, 2019

9.1.16 2019
XeTeX: New primitives ..., \normaldeviate, \uniformdeviate, \randomseed; ... .

and the XeTeX reference guide (Feb 19, 2023), sec. 8.3 Randomness .

One can double check by compiling below using xelatex

% !TeX TS-program = xelatex
\documentclass{article}
\usepackage{pgffor}

\begin{document}
\foreach \i in {1, ..., 10}
  { \fpeval{randint(10)}, }
\end{document}

Therefore the relevant warnings can be safely removed from xsim.

@muzimuzhi
Copy link

Therefore the relevant warnings can be safely removed from xsim.

Or change it to "Please be aware that random selection of exercises is not available in XeLaTeX older than 2020 (exclusive)."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants