Releases: daqana/tikzDevice
Releases · daqana/tikzDevice
v0.12.6
v0.12.5
v0.12.4
Bug fixes
-
replace sprintf with snprintf to remove WARNING on CRAN (#219 fixing #218)
-
current working directory is added to TEXINPUTS (#203 fixing #197 and #198)
-
make sure that tikzInfo->outColorFileName is always initialized (Dean Scarff
in #200 fixing #199) -
Finally merged #206 from Paul Murrell to make
tikzDevicecompatible with the
graphics engine in R >= 4.1
v0.12.3
Bug fixes
-
tikzDevice correctly translates the
lmitre = nparameter of theplot()
function now (#178) -
tikz()now accepts bothfileandfilenameas named arguments to fix
ggsave issue that occurred with ggplot2 v3.0.0 (#181) -
Use temporary workdir due to problems with longer user names on Windows (#192)
Documentation
Internal
- Switch to
revdepcheckfor checking revdeps - Update maitainer email address
- Use three digit version numbering
v0.12
tikzDevice 0.11
Bug fixes
- Fix potential protection issues (#161).
- Zero-length strings are not treated as multibyte character strings anymore.
- Registering native methods to fix
R CMD checkwarnings. - Updating the filehash package no longer causes the tikzDevice package to fail (#168).
- Remove probably harmless extra space from text being measured.
- Don't overwrite string's encoding in
anyMultibyteUTF8Characters()(#158, @jszhao). - Enforce the encoding of temporary TeX file to UTF-8 (#159, @jszhao).
- Don't call
library(grid)from package code anymore. - Code from manual now contains simple apostrophes to allow copy-paste (#139).
Features
- The new
tikzTest()function (viagetLatexStrWidth(diagnose = TRUE)) now writes a complete LaTeX document, which allows e.g. MikTeX to install missing LaTeX packages (#142, #149). - If measurement fails, the
.texand.logfiles are not printed anymore,
instead the location of these files is shown. - Support LuaLaTeX > 0.85 by loading the luatex85 package if it exists and avoiding loading xunicode (#150).
- Temporary .tex and .log files are created in a separate directory for each run.
Internal
- Consistent code style with the help of the styler package.
load_all()works now.
v0.10-1
v0.10
Features
- Use
png::writePNG()to output raster images to avoid reentrancy issues with capturing and playback and to reduce size of raster images. ThetikzRasterResolutionoption is now obsolete (#132).
Bug Fixes
- The setting
sanitize = TRUEworks even if thetikzDevicepackage is not attached to the search path (#129).
Internal
- Update
ggplot2results to account for minor differences due to the package's update (#131). - Add test for combined rotation and reflection of raster images.
- Add tracing code to the beginning of almost every C function.
v0.9
Features
- PNG images now use
png(type = "cairo")on all platforms (#121) - New argument
verbosetotikz()function (#117, #124)
Bug Fixes
- Fix segfault when no file extension is provided (#101)
- Fix quoting issue with spaces in the tempdir name (#99, #105, #106)
- Fix the error from getMetricsFromLatex() when options(OutDec) is set to "," (#57)
- Allow loading package even if LaTeX is not available, with a warning instead of a fatal error (#112, 125)
- Bump dependency for
filehash(#109)
Internal
v0.8
Compatibility
This release doesn't work on OS X and Solaris. This will be resolved soon.
Contributors
- Thanks to Greg Jefferis, Bill Venables, Sam Mason, Gvozden Neskovic,
Martin Bergner and Casper Ti. Vector for contributing to this release.
Features
- Add parameter
timestamptotikzto make the output of the timestamp optional (#28,
#73, thanks Martin Bergner). - Add parameter
lwdUnittotikzto specify the physical width of a line
(in points) that is 1 unit wide in R. By default, the value of option
tikzLwdUnitis used; this option has a value of 0.4 at startup (#68,
thanks Casper Ti. Vector). - Optionally use symbolic colors defined in a single external file instead of
hard-coded colors defined in-place. New parameterssymbolicColors,
colorFileNameandmaxSymbolicColors; new optionstikzSymbolicColors
andtikzMaxSymbolicColors. The external file is only created if requested;
in this case, symbolic color names are used instead offillColorand
drawColor(#70, thanks Martin Bergner).
Bug Fixes
- Ignore fill color for lines to remove thin line (1 pixel wide) that was shown
with dashed or dotted lines on some viewers (#63, thanks Martin Bergner). - More robust handling of metrics dictionary. Changes to the
tikzMetricsDictionaryoption are recognized even if a metrics dictionary
already has been initialized, a message is printed the first time a dictionary
is used (in addition to the message that is printed when the dictionary is
created). A missing dictionary file is recreated (#21). - Performance improvements with zero-width strings (#66, thanks Gvozden Neskovic)
- Add parameter
checkstateto allow adding annotations to a new plot (#52,
thanks Sam Mason) - Allow raster images to be output without resampling by setting
options(tikzRasterResolution = NA)(#54, thanks Sam Mason) - In console mode, print a
\relaxstatement after the comment to allow using
tikzDevicein a Sweave code chunk withresults=tex, as advertised in the
vignette. (The default isstrip.white=TRUEwhich makes the following
\begin{tikzpicture}appear on the same line as the encoding comment in the
resulting.texfile.) (#47, thanks Bill Venables)
Vignette
- Use
knitras vignette builder (#37). - Fixed typos (#45, thanks Greg Jefferis).
- Vignette now also compiles if the
zi4TeX package is installed instead of
inconsolata. This should fix the CRAN notes and warnings on Windows. - Loading
babelTeX package to avoid printing tilde in references (#49).
Internal
- Tests perform strict image comparison (#18).
- Testing now also works in RStudio.