Now that I've worked through the details of setting up PreTeXt using the CLI on Windows, I should probably write it all down, as a contribution to the Guide.
Some questions:
- Should this be a separate appendix, next to the current instructions from Dave Rosoff?
- If not, would instructions for using the CLI be a replacement, or an edit? (We need to at least change the part of the current instructions stating that they are the best known way to set up PreTeXt. A few other parts need updating as well.)
- Based on the (not entirely unfair) assumption that a Windows user might be less technically oriented, should the instructions explain how to link your computer to GitHub via SSH? (This is needed to use the "pretext deploy" command. Windows users can push/pull to/from GitHub using the GitHub Desktop program if they don't want to learn Git.)
The basic steps are:
1. Install VSCode
2. Install Git for Windows (and during setup, select VSCode as the default editor, or you get stuck trying to figure out Emacs).
3. Install Python, and check the box to add it to the path
4. From Git Bash, pip install pretextbook
5a. install GitHub Desktop, or
5b. set up SSH using Git Bash
6. install the pretext tools package in VSCode
7a. if not already installed, install either MikTeX or TeXLive
7b. install pdf2svg (the one time you need to edit system environment variables)
7c. if your book has Sage plots, install Sage
7d. install ImageMagick (maybe only if you need to convert pdf to png?)
7e. mumble mumble pageres
(As far as I can tell, pageres won't work using the CLI on Windows, even if you succeed in successfully installing it.)