Releases: edemaine/svgtiler
Releases · edemaine/svgtiler
v1.14.0
v1.13.0
- Improved LaTeX support (#54) [BREAKING from v1.12]:
- Switch from
.tex
to.svg_tex
extension for LaTeX component. This fixes use of figures in arXiv.org submissions, which preventsfile.pdf
andfile.tex
from simultaneously existing. It also parallels the.pdf
/.pdf_tex
output of Inkscape. But it's different, as the separation is done while generating the SVG instead of while generating the PDF, so we don't use.pdf_tex
. - Correct relative scaling: SVG units are 1px = 0.75bp, not 0.75pt. This slightly (<0.4%) affects the default (and \svgscale'd) sizing of figures, but now matches the default from
\includegraphics
applied to the PDF. - Support
currfile.sty
as a way to find auxiliary graphics file in LaTeX output. - Improve documentation, both in
.svg_tex
file and in README.
- Switch from
- Revamp README into sections
- Output svgtiler version in help, to help with debugging
- Update compiled examples to new
id
style ($v
instead of-v
from v1.11)
v1.12.2
v1.12.1
- Workaround relative paths not working in MacOS distribution of Inkscape, which should fix
.pdf
and.png
generation (command-line options-p
and-P
) on MacOS
v1.12.0
v1.11.0
v1.10.0
- Reset symbol numbering before each SVG output, which makes for more consistent outputs (#53)
- Warn about duplicate symbol labels (#45)
- Initial support for use as a module: Export all classes, namespaces,
unrecognizedSymbol
,main
function - Initial support for in-browser use:
- Wrap in function to prevent polluting namespace (except
svgtiler
which is the exported module) - Mock Node's
path
module to the extent needed (extension detection) - Fix use of
DOMParser
because of CoffeeScript scoping, anddomImplementation
- Force SVG namespace before parsing, so we get the correct namespaceURI in created nodes, without outputting additional
xmlns
attributes - Extend
Input.parseFile
API to allow passing in file data directly
- Wrap in function to prevent polluting namespace (except
- Rename
svg2
->convertSVG
in API - Bug fixes in bounding box detection, which improved
tilt
example - Bug fix in
polyomino
example (wrongviewBox
specified) - Optimization: avoid creating
Context
forStaticSymbol
s which don't use it, via newusesContext
hint - Upgrade CoffeeScript, preact, Babel, csv-parse, xlsx, xmldom, image-size, async-limiter dependencies
- CoffeeScript 2.5 now supports
xlink:href
tags (#41)
- CoffeeScript 2.5 now supports
v1.9.1
v1.9.0
- Support JSX and CoffeeScript's analog via Preact (#32). You can now beautifully mix JavaScript/CoffeeScript and bare SVG content with minimal notation in between (just
{}
s to return to *Script). - See new polyomino example for how this cleans up code.
- Unfortunately, our new use of Babel broke the feature introduced in 1.6.2: Errors in .coffee files are no longer prefixed with correct filename and line numbers. I'll try to get this back, somehow...
- Fix
DynamicSymbol
caching: would re-use symbol when generating objects, even if contents differed. (Also necessary for current approach to JSX.)
v1.8.0
- Feature: Automatic width/height of tiles via
width="auto"
andheight="auto"
- Feature: Undefined symbols are now rendered like � so they're easier to locate (#18)
- Bug fix: Handling of relative filenames in mapping files
- Cleanup: Refactor
overflow: visible
check - Documentation improvements
- Testing/build improvements (#26)