Skip to content

v2.2

Compare
Choose a tag to compare
@gpoore gpoore released this 08 Jun 14:44
· 73 commits to main since this release
  • All uses of \ShellEscape (\write18) no longer wrap file names and paths
    with double quotes. This allows a cache directory to be specified relative
    to a user's home directory, for example, ~/minted_cache. cachedir and
    outputdir paths containing spaces will now require explicit quoting of
    the parts of the paths that contain spaces, since minted no longer
    supplies quoting. See the updated documentation for examples (#89).
  • Added breakbefore, breakbeforegroup, breakbeforesymbolpre, and
    breakbeforesymbolpost. These parallel breakafter*. It is possible to
    use breakbefore and breakafter for the same character, so long as
    breakbeforegroup and breakaftergroup have the same setting (#117).
  • Added package options finalizecache and frozencache. These allow the
    cache to be prepared for (finalizecache) and then used (frozencache) in
    an environment in which -shell-escape, Python, and/or Pygments are not
    available. Note that this only works if minted content does not need to
    be modified, and if no settings that depend on Pygments or Python need to
    be changed (#113).
  • Style names containing hyphens and underscores (paraiso-light,
    paraiso-dark, algol_nu) now work (#111).
  • The shellesc package is now loaded, when available, for compatibility
    with luatex 0.87+ (TeX Live 2016+, etc.). \ShellEscape is now used
    everywhere instead of \immediate\write18. If shellesc is not available,
    then a \ShellEscape macro is created. When shellesc is loaded, there
    is a check for versions before v0.01c to patch a bug in v0.01b (present in
    TeX Live 2015) (#112).
  • The bgcolor option now uses the snugshade* environment from the framed
    package, so bgcolor is now compatible with page breaks. When bgcolor
    is in use, immediately preceding text will no longer push the minted
    environment into the margin, and there is now adequate spacing from
    surrounding text (#121).
  • Added missing support for fancyvrb's labelposition (#102).
  • Improved fix for TikZ externalization, thanks to Patrick Vogt (#73).
  • Fixed breakautoindent; it was disabled in version 2.1 due to a bug in
    breakanywhere.
  • Properly fixed handling of \MintedPygmentize (#62).
  • Added note on incompatibility of breaklines and obeytabs options.
    Trying to use these together will now result in a package error (#99).
    Added note on issues with obeytabs and multiline comments (#88). Due to
    the various obeytabs issues, the docs now discourage using obeytabs.
  • Added note to FAQ on fancybox and fancyvrb conflict (#87).
  • Added note to docs on the need for \VerbatimEnvironment in environment
    definitions based on minted environments.