@@ -41,79 +41,34 @@ Latest release
4141
4242(Full release history is available `here <https://github.com/gpoore/pythontex/blob/master/NEWS.rst >`_.)
4343
44- v0.13 (2014/07/14 )
44+ v0.14 (2014/07/17 )
4545------------------
4646
4747New features
4848~~~~~~~~~~~~
4949
50- * Added ``--interactive `` command-line option. This runs a single
51- session in interactive mode, allowing user input. Among other things,
52- this is useful when working with debuggers.
53-
54- * Added ``--debug `` command-line option. This runs a single session
55- with the default debugger in interactive mode. Currently, only
56- standard (non-console) Python sessions are supported. The default
57- Python debugger is the new ``syncpdb ``, which wraps ``pdb `` and
58- synchronizes code line numbers with document line numbers. All
59- ``pdb `` commands that take a line number or filename:lineno as an
60- argument will refer to document files and line numbers when the
61- argument has a percent symbol (``% ``) as a prefix. For example,
62- ``list %50 `` lists code that came from around line 50 in the
63- document. The ``--debug `` option will support other languages and
64- provide for customization in the future.
65-
66- * Added command-line option ``--jobs ``, which allows the maximum number
67- of concurrent processes to be specified (#35).
68-
69- * Added support for GNU Octave, via the ``octave `` family of commands
70- and environments (#36). Parsing of Octave stderr is not ideal, though
71- synchronization works in most cases; this will be addressed by a
72- future rewrite of the stderr parser.
73-
74- * Installer now automatically works with MiKTeX, not just TeX Live.
75-
76- * The PythonTeX utilities class has a new ``open() `` method that opens
77- files and automatically tracks dependencies/created files.
78-
79- * When ``pythontex2.py `` and ``pythontex3.py `` are run directly, the
80- Python interpreter is automatically set to a reasonable default
81- (``py -2 `` or ``py -3 `` under Windows, using the Python 3.3+ wrapper;
82- ``python2 `` or ``python3 `` under other systems).
83-
84- * The installer now creates symlinks for the numbered scripts
85- ``pythontex*.py `` and ``depythontex*.py ``.
86-
87- * Added Python version checking to all numbered scripts.
88-
89- * Under Python, the type of data passed via ``\setpythontexcontext `` may
90- now be set using YAML-style tags (``!!str ``, ``!!int ``, ``!!float ``). For
91- example, ``{myint=!!int 123} ``.
92-
93- * The ``fancyvrb `` options ``firstline `` and ``lastline `` now work with
94- the ``pygments `` environment and ``\inputpygments `` command. This required
95- some additional patching of ``fancyvrb ``.
96-
97- * The ``pytx@Verbatim `` and ``pytx@SaveVerbatim `` environments are now
98- used for typesetting verbatim code. These are copies of the
99- ``fancyvrb `` environments. This prevents conflicts when literal
100- ``Verbatim `` and ``SaveVerbatim `` environments need to be typeset.
101-
102- * Improved ``latexmk `` compatibility (#40). Added discussion of
103- ``latexmk `` usage to documentation.
104-
105- * Tildes ``~ `` may now be used in ``outputdir `` and ``workingdir `` to
106- refer to the user’s home directory, even under Windows.
107-
108- Bugfixes
109- ~~~~~~~~
110-
111- * Fixed a bug that prevented created files from being cleaned up when
112- the working directory was not the document root directory and the
113- full path to the files was not provided.
114-
115- * Fixed a bug that prevented the ``fvextfile `` option from working when
116- external files were highlighted.
50+ * All commands for working with code inline are now robust, via
51+ ``etoolbox ``'s ``\newrobustcmd ``. Among other things, this allows
52+ commands like ``\py `` to work in standard captions that have not been
53+ redefined to avoid protection issues.
54+ * Upgraded ``syncpdb `` to v0.2, which provides better list formatting.
55+
56+ Backward-incompatible changes
57+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
58+
59+ * The default working directory is now the main document directory instead
60+ of the output directory. Using the output directory was a common source
61+ of confusion for new users and was incompatible with plans for future
62+ development. Old documents in which the working directory was not
63+ specified will continue to use the output directory, but PythonTeX will
64+ print an upgrade message; new documents will use the new setting. The
65+ output directory may be selected as the working directory manually, or
66+ with the shorthand
67+ "``\setpythontexworkingdir{<outputdir>} ``".
68+
69+ * Standardized version numbering by removing the "v" prefix from the stored
70+ version numbers in Python variables and LaTeX macros. Standardized the
71+ PythonTeX scripts by renaming ``version `` to ``__version__ ``.
11772
11873
11974Objectives for future releases
0 commit comments