Skip to content

Commit

Permalink
v2.0-alpha3 - autogobble, outputdir, cachedir
Browse files Browse the repository at this point in the history
  • Loading branch information
gpoore committed Dec 21, 2013
1 parent 65af970 commit 852daa3
Show file tree
Hide file tree
Showing 5 changed files with 572 additions and 173 deletions.
60 changes: 60 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
v2.0-alpha3 (2013/12/21)

* Added `autogobble` option. This sends code through Python's
`textwrap.dedent()` to remove common leading whitespace.
* Added package option `cachedir`. This allows the directory in which
cached content is saved to be specified.
* Added package option `outputdir`. This allows an output directory for
temporary files to be specified, so that the package can work with
LaTeX's `-output-directory` command-line option.
* The `kvoptions` package is now required. It is needed to process
key-value package options, such as the new `cachedir` option.
* Many small improvements, including better handling of paths under
Windows and improved key system.


v2.0-alpha2 (2013/08/21)

* `\DeleteFile` now only deletes files if they do indeed exist. This
eliminates warning messages due to missing files.
* Fixed a bug in the definition of `\DeleteFile` for non-Windows systems.
* Added support for Pygments option `stripnl`.
* Settings macros that were previously defined globally are now defined
locally, so that `\setminted` may be confined by `\begingroup...\endgroup`
as expected.
* Macro definitions for a given style are now loaded only once per document,
rather than once per command/environment. This works even without caching.
* A custom script/executable may now be substituted for `pygmentize` by
redefining `\MintedPygmentize`.


v2.0alpha (2013/07/30):

* Added the package option `cache`. This significantly increases
compilation speed by caching old output. For example, compiling the
documentation is around 5x faster.

* New inline command `\mintinline`. Custom versions can be created via
`\newmintinline`. The command works inside other commands (for example,
footnotes) in most situations, so long as the percent and hash
characters are avoided.

* The new `\setminted` command allows options to be specified at the
document and language levels.

* All extended characters (Unicode, etc.) supported by `inputenc` now
work under the pdfTeX engine. This involved using `\detokenize` on
everything prior to saving.

* New package option `langlinenos` allows line numbering to pick up
where it left off for a given language when `firstnumber=last`.

* New options, including `style`, `encoding`, `outencoding`,
`codetagify`, `keywordcase`, `texcomments` (same as `texcl`),
`python3` (for the `PythonConsoleLexer`), and `numbers`.

* `\usemintedstyle` now takes an optional argument to specify the style for a
particular language, and works anywhere in the document.

* `xcolor` is only loaded if `color` isn’t, preventing potential
package clashes.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ by Konrad Rudolph. Geoffrey Poore agreed to take over `minted` maintenance
in March of 2013, since his [PythonTeX](https://github.com/gpoore/pythontex)
package also provides an interface to Pygments.

`minted` is currently in development for v2.0. The majority of planned
features are already present in the current alpha release. During this time
of transition, users who need maximum stability are encouraged to use
`minted` 1.7 or PythonTeX. The release on CTAN will only be updated once
v2.0 stabilizes.

`minted` is currently migrating all downloads to the new GitHub [Releases](https://github.com/blog/1547-release-your-software).
`minted` is currently in final development for v2.0. If no bugs are found in
the current alpha release, it will become v2.0 with only very minor changes.
All planned features are present in the current alpha release. The alpha
release should be quite stable, but users who need maximum stability are
encouraged to use `minted` 1.7 or PythonTeX. The release on CTAN will only
be updated once v2.0 is finalized.


## Overview
Expand Down
Loading

0 comments on commit 852daa3

Please sign in to comment.