projekter / yquant

Typesetting quantum circuits in a human-readable language
LaTeX Project Public License v1.3c
56 stars 5 forks source link

Add 0.7 to compat version list #20

Closed tigerjack closed 2 years ago

tigerjack commented 2 years ago

Using [compat=0.7] in tex code resulted in the version to fall back to 0.3. The compat string for version 0.7 was missing.

projekter commented 2 years ago

No, this is on purpose. Not every version gets its own compatibility string, only those that actually introduce new, breaking changes. You can set compat=newest, if you want to take the compatibility version corresponding to the most recent installed version, and in the log you can see with what you should replace newest in order to retain this exact compatibility layer in the case of updates. Note that this is exactly as documented in the manual: "Compatibility versions will include the major and minor, but not the patch level version number (though not every major or minor version will necessarily introduce new compatibility versions). [...] For example, this manual corresponds to \usepackage[compat=0.6]{yquant}. Allowed values for compat are newest (discouraged), which equals 0.6, 0.4, and 0.3 (default)."