PreTeXtBook / pretext-cli

Command line interface for quickly creating, authoring, and building PreTeXt documents.
https://pretextbook.org
GNU General Public License v3.0
18 stars 20 forks source link

Build Heuristics #789

Closed siefkenj closed 4 months ago

siefkenj commented 4 months ago

When a build target is not found, the build format is checked as well. If one is matching, a warning is printed and that target is built.

This means a user can mistakenly do

pretext build pdf

when the actual build target is print, and it will still work.

Closes #788

StevenClontz commented 4 months ago

Can we add a test for this in our suite?

oscarlevin commented 4 months ago

Thanks!