Thank you very much. The inlineexercise is what I needed.
For the publisher file, I read those but I am still unclear why it does not work for me. (Spent a couple hours trying to get it to work but had no success!) I tried creating a publisher file as instructed
<?xml version="1.0" encoding="UTF-8" ?>
<publication>
<knowl example="no"/>
</publication>
and then entered the following:
xsltproc -stringparam publisher <path to publisher file.xml>
But nothing happens.
Does that somehow need to be combined with the following? I tried many combination but nothing worked:
xsltproc -xinclude <path to the file pretext-html.xsl> <path to the file index.ptx>
I use Git Bash on Windows 10 if that matters.
Thank you,
Roohollah