diff --git a/code/xsim.random.code.tex b/code/xsim.random.code.tex index 5855aa4..4f2c33b 100644 --- a/code/xsim.random.code.tex +++ b/code/xsim.random.code.tex @@ -1,11 +1,12 @@ \XSIMmodule{random}{randomly select exercises from collections} \msg_new:nnn {xsim} {random-numbers-unavailable} - { - You~ are~ compiling~ your~ document~ using ~XeLaTeX.~ Please~ be~ aware~ - that~ random~ selection~ of~ exercises~ is~ unavailable~ in~ XeLaTeX.~ If~ - you~ use~ this~ feature~ you~ can~ safely~ ignore~ this~ message. - } +{ + You~ are~ compiling~ your~ document~ using~ XeLaTeX.~ Please~ be~ aware~ + that~ random~ selection~ of~ exercises~ is~ not~ available~ in~ XeLaTeX.~ + If~ you~ are~ not~ using~ this~ feature,~ you~ can~ safely~ ignore~ this~ + message. +} \sys_if_engine_xetex:T { \msg_warning:nn {xsim} {random-numbers-unavailable} } diff --git a/code/xsim.sty b/code/xsim.sty index bfbddc9..376198d 100644 --- a/code/xsim.sty +++ b/code/xsim.sty @@ -4225,9 +4225,10 @@ \msg_new:nnn {xsim} {random-numbers-unavailable} { - You~ are~ compiling~ your~ document~ using ~XeLaTeX.~ Please~ be~ aware~ - that~ random~ selection~ of~ exercises~ is~ unavailable~ in~ XeLaTeX.~ If~ - you~ use~ this~ feature~ you~ can~ safely~ ignore~ this~ message. + You~ are~ compiling~ your~ document~ using~ XeLaTeX.~ Please~ be~ aware~ + that~ random~ selection~ of~ exercises~ is~ not~ available~ in~ XeLaTeX.~ + If~ you~ are~ not~ using~ this~ feature,~ you~ can~ safely~ ignore~ this~ + message. } \sys_if_engine_xetex:T