Hi everyone,
I've been using PreTeXt for 2 years, compiling with xsltproc on Windows (and using pretext-script for images and video previews). It worked and is still working fine.
For this semester, I wanted to simplify all the process by using PreTeXt-cli. I followed the instructions in the guide and it is not working. I watched Sean's video (
https://pretextbook.org/doc/guide/html/windows-cli.html) and I do not get the same messages (see below). I searched for a thread in the forum (also tried Google), and did not find anything.
Here's what I get when I enter the command pretext new book:
$ pretext new book
Generating new PreTeXt project in `book`.
That's all. :(
Not at all like Sean's video.
And in the new folder named «book», there is only one folder (source), and 3 files, including publisher.ptx.
In the new folder, when i use the command pretext build html, here's what I get (again, not like Sean's video):
$ pretext build html
PTX-CLI: XSL conversion of C:\Users\elise.desgreniers\mathbook\examples\kb1\ptx\book\source\main.ptx by c:\users\elise.desgreniers\appdata\local\programs\python\python38\lib\site- packages\pretext\static\xsl\pretext-html.xsl
PTX-CLI: Loading the transform
PTX-CLI: Transforming the source
Is it possible that my «old» installation (git, python, windows path...) is interfering with the pretextbook pip install? I am reluctant to uninstall it all with school starting in 1 week and my need to work on my notes...
Also, I did not install the pdf2svp like Sean did (I think I installed it 2 years ago for converting latex images to svg, but it is not in my pip list). Could this be the problem?
Thanks for your help,
Elise
***
If it can help, here are the steps I did and some informations on versions I have.
I installed pretextbook:
$ pip install pretextbook
Collecting pretextbook
Using cached pretextbook-0.2-py3-none-any.whl (667 kB)
[...]
Successfully installed pretextbook-0.2
I don't get why the version installed is 0.2 (in Sean's video, it's 0.6.3):
$ pretext --version
0.2
I tried pip install pretextbook --upgrade, and it's still 0.2.
Python is already installed (to generate video previews with the pretext script).
$ python --version
Python 3.8.4rc1
Git bash is also installed:
$ git --version
git version 2.26.2.windows.1