Hello everybody,
I greatly appreciated the possibility to build epub introduced in recent versions of PreTeXt-CLI (or, to be more precise, the fact that now the conversion to epub is easier).
I think that I have found a bug (maybe Windows only, I have no other systems at hand to test with). More precisely, if you use somewhere the <q> tag, then you get a message like this
While running pretext, the following errors occured:
critical: 'charmap' codec can't decode byte 0x9d in position 2492: character maps to <undefined>
Steps to reproduce.
1. Create a new project with the command 'pretext new'
2. Add an epub target to the project.ptx file
3. Try to build epub: it should work
4. Open a source file (e.g. sec_first-example.ptx) and enclose a word in <q> </q>
5. Try to build epub again: it should fail
If you use <sq> tag instead, no problem occurs.
I could more tests, if needed.
Cheers,
Valerio