\inputpygments
now checks inputted files for modification, so that
typeset code will correctly update when the source is changed (#162).
Julia now uses project flag "--project=@.
" (#157, #158).
Fixed bug in processing Pygments options (pygopt
) when a key is used
without a value (#181).
Some error handling for Windows was incompatible with other operating
systems: replaced checks for WindowsError
with checks for OSError
(#177).
Rust support is now compatible with document and working directory paths
that contain spaces (#167).
Pygments syntax highlighting for the Python console (pycon
lexer) now
uses the python3
option, and the default Python lexer is now
python3
(#156).
Added support for JavaScript (#147; thanks to Nathan Carter).
Updated Julia support for Julia versions 0.6 (#107), and 0.7 and 1.0 (#126,
#130).
There are now meaningful error messages for the Julia console when Weave.jl
is not installed or raises errors (#131).
pythontexcustomcode
and \pythontexcustomc
now set
pytex.context
(#65).
Added support for R. The R
family of commands and environments
(\R
, \Rc
, Rcode
, ...) executes code as a script.
There is currently no utilities class or equivalent. The Rcon
family
(Rconsole
) executes code to emulate an interactive R session (#121).
fancyvrb
settings from \setpythontexfv
and console
environments now work with Julia and R consoles.
pythontexcustomcode
now works with juliacon
. There are now proper
juliaconcode
and Rconcode
environments that execute code but
typeset nothing, to parallel pyconcode
(#134).
Added support for Perl with the perl
and pl
families of commands
and environments. There is currently no utilities class or equivalent.
Added support for Perl 6 with the perlsix
and psix
families of
commands and environments (#104). There is currently no utilities class or
equivalent.
Updated Rust support by using dyn
with traits in utilities object.
Under Windows, capitalization of script paths in stderr
is now
preserved.
Fixed a bug that prevented the sub
environment from working with
depythontex
(#155).
Fixed a bug in checking mtime of dependencies to see if they have been
modified while pythontex
is running. The check failed for dependencies
that do not exist or were deleted before pythontex
can read them
(#136).
Added preliminary console support for Julia (#98).
Fixed Python console compatibility with Python 3.6 by setting the code
module's new exitmsg
argument to suppress the exit message (#100).
Improved Rust support, including tracking of created files and
dependencies (#91).
fvextra
package is now required. This provides line breaking withsub
commands and environments (\pys
, pysub
, ...). These!{...}
are replaced by the result of evaluating and thenrust
and rs
families of commands and environments. Theserstex.formatter()
, rstex.before()
, and rstex.after()
willsage
family of commands and environments, which providebash
family of commands and environments. This provides basicconsole
compatibility under Linux with Python 3 (#70).\includeonly
.\py
can now output verbatim content under LuaTeX.code
command orcode
command or environment of the same familyautoprint=true
.etoolbox
's \newrobustcmd
. Among other things, this allows\py
to work in standard captions that have not beensyncpdb
to v0.2, which provides better list formatting.\setpythontexworkingdir{<outputdir>}
".version
to __version__
.--interactive
command-line option. This runs a single--debug
command-line option. This runs a single sessionsyncpdb
, which wraps pdb
andpdb
commands that take a line number or filename:lineno as an%
) as a prefix. For example,list %50
lists code that came from around line 50 in the--debug
option will support other languages and--jobs
, which allows the maximum numberoctave
family of commandsopen()
method that openspythontex2.py
and pythontex3.py
are run directly, thepy -2
or py -3
under Windows, using the Python 3.3+ wrapper;python2
or python3
under other systems).pythontex*.py
and depythontex*.py
.\setpythontexcontext
may!!str
, !!int
, !!float
). For{myint=!!int 123}
.fancyvrb
options firstline
and lastline
now work withpygments
environment and \inputpygments
command. This requiredfancyvrb
.pytx@Verbatim
and pytx@SaveVerbatim
environments are nowfancyvrb
environments. This prevents conflicts when literalVerbatim
and SaveVerbatim
environments need to be typeset.latexmk
compatibility (#40). Added discussion oflatexmk
usage to documentation.~
may now be used in outputdir
and workingdir
tofvextfile
option from working when\setpythontexcontext
context
attributept_to_in()
, pt_to_cm()
, andpt_to_mm()
methods for converting units of TeX points into inches,pt_to_bp()
for converting TeX pointsmicrotype
issues on some systemsid
, which is a string thatinput_*
haveinput_
" removed. Among other things, thiscontext
attribute (pytex.context
pytex.input_context
).depythontex
now has -o
and --output
command-line options forstdout
. This allowsdepythontex
output to be piped to another program.*2.py
now have shebangs with env python2
, and all*3.py
now have shebangs with env python3
. This allowsenv python
shebang) to be used with the--interpreter
option is what determines the Python versionpythontex.py
merely determines the version that manages code--interpreter
support for console content is coming.)CodeEngine
class.in()
function, replacingcontains()
. This requires Julia v0.2.0+.\directlua
is not \let
to\relax
if it does not exist. This was causing incompatibility withbabel
under pdfTeX and XeTeX (#33).depythontex*.py
. Handling of utilspath
pythontex_utils.py
can be installeddepythontex
no longer leaves a blank line where\usepackage{pythontex}
was removed.fancyvrb
no longer end with ankpsewhich
was not found (#21).