Releases: sasozivanovic/forest
Releases · sasozivanovic/forest
Forest v2.1.5
Changes:
-
Minor improvements:
-
Smarter
baseline
default for the linguistics library. -
Yield warning when the
baseline
is set to a node that is not drawn (e.g. aphantom
node).
-
Forest v2.1.4
Changes:
- Performance:
- Reimplement some internals of the packing algorithm to avoid
consuming the string pool in documents with many trees. (We're about
10% slower now, but (depending on the document) the memory usage
can drop up to five times!)
- Reimplement some internals of the packing algorithm to avoid
- Bugfixes:
- Fix aggregate function
count
. - Provide a workaround for a PGF bug: for coordinate-shaped nodes,
\positionnodelater
provides dimensions withpt
in a wrong
catcode, somax y
and friends did not work for such nodes.
- Fix aggregate function
Forest v2.1.3
Changes:
- Bugfix:
- Update
nice empty nodes
from linguistics library to usefor current and siblings
.
- Update
Forest v2.1.2
Changes:
- Bugfixes:
- A level of hash doubling was unnecessarily introduced for the
argument of all loops, and the argument of
process keylist
andprocess delayed
. (Use compat key
2.1.1-loops
to revert to the old behaviour.)
- A level of hash doubling was unnecessarily introduced for the
- Minor improvements:
- Implemented key
also
.
- Implemented key
Forest v2.1.1
Changes:
- Minor improvements
- Implemented argument processor instruction \index{processor>p}.
- Bugfixes
- Argument processor instruction
u
introduced an extra layer of braces
around each result item. - Argument processor instructions
l
andL
did not always load the
desided number of arguments. - Argument processor instructions
and
andor
were taking the
arguments from the start of the left side instead of its end.
- Argument processor instruction
Forest v2.1
Changes:
- Performance:
- Substantially enhance the argument processor.
<forestmath>
expressions: accept an argument processor expression whereever a<pgfmath>
expression is allowed, simply by prefixing it with>
.- Internally, avoid using pgfmath whereever possible.
- Implement a fast set of macros to determine if a
<pgfmath>
expression is just a count or dimen expression. - Optimize keys
split option
andsplit register
.
- Minor improvements:
- Allow s in handler
.option
. - Make aggregate functions nestable and implement their
pgfmath
versions. - Implement
if option/register</>
for dimen and count options and registers. - Implement
if current nodewalk empty
. - Implement nodewalk steps
leaves,
-leveland
-level'`. - Implement nodewalk operation
unique
. - Implement nodewalk key
on invalid
valueserror if real
andlast valid
; remove valuestep
(nocompat
key, as it was broken and useless). - Implement growth direction based anchors with the
-
prefix:-parent
,-parent first
etc. - Implement key
save and restore register
. - Implement handler
.nodewalk style
. - Implement
pgfmath
functionforestloopcount
. - Allow multiple occurrences of package option
compat
.
- Allow s in handler
- Bugfixes:
- Fix a bug in externalization:
\forest@file@copy
set\endlinechar
to-1
, which caused problems for several packages, e.g.biblatex
. - Fix a bug in
delay n
: the number of cycles was reevaluated at each cycle (withcompat=2.0-delayn
key). - Fix a bug in
fixed edge angles
. - Fix
compat=silent
,compat=1.0-forstep
andcompat=1.0-stages
. - Fix invocations of spatial propagators
for nodewalk
,for Nodewalk
andNodewalk
. - Fix invocations of nodewalk steps
for group
,for next on tier
andfor previous on tier
. - Fix behaviour of
for next on tier
,for previous on tier
andfor to tier
on arrival to the invalid node. - Fix problems with interaction between
folder
andforked edges
.
- Fix a bug in externalization:
Forest v2.0.3
Changes:
- Bugfixes
- Keys
delay n
and.wrap n pgfmath args
don't introduce two layers of hash doubling anymore (with compat keys for the old, confusing behaviour). - Execute
tikz
code for all (including phantom) nodes. (The feature of ignoring phantom nodes was introduced in v2.0.2, but turns out it was a bad idea: for example, having a phantom root with some tikz code is not uncommon.) - Keys
label
andpin
now append to option tikz, as makes sense. - Fix nodewalk steps
filter
andbranch
so that they can be embedded under nodewalk operations. - Execute
before packing node
even when the node has no children. level<={0}{...}
now works as expected.- Re-setting the node name to the same value doesn't yield an error anymore.
- Don't add the separator when adding the first element to a keylist option or register.
- Copy externalization files in TeX (don't rely on
\write18
). - Consistently store dimen options and registers with pts of catcode other.
- Properly initialize readonly count options (
n
,n'
n children
andlevel
).
- Keys
- New features
- Rework
draw tree edge
so that by default, an edge is drawn only it both its node and its node's parent are drawn. And yes, implementif node drawn
. - Implement circularity detection in dynamic node operations.
- Implement debug categories and debugging of dynamic node operations.
- Declare some further
tempdim...
registers. - Make option
id
accessible via\forestoption
.
- Rework
Forest v2.0.2
Changes:
- Bugfixes
- Respect
phantom
when drawing extratikz
material. - Silently rename the standard node when redefining it.
- Restore original pgfpath after packing.
- Initialize registers (to
{}
/0pt
/0
). - Dynamic key
replace by
now successfully replaces the root node.
- Respect
- New features
- Generalize (parenthesized) argument of
forest
environment /
\Forest
macro from temporary redefinition ofstages
into a
general, key-value based configuration argument of the current
environment / macro. - It is now possible to pass package options to libraries.
- Implement
draw tree node'
,draw tree edge'
anddraw tree tikz'
. - Implement handler
.nodewalk style
. - Implement step
last dynamic node
and named nodewalkdynamic nodes
.
- Generalize (parenthesized) argument of
- Documentation
- Improve documentation of
draw tree
and friends. - Fix some typos.
- Improve documentation of
Forest v2.0.1
v2.0.1
Changes:
- Bugfixes
- Change the copyright year to 2016!
- In
calign=edge midpoint
: s-align the midpoint between the children's
child anchors as advertised in the documentation: to parent's parent
anchor, not node anchor. - Correctly mangle option/register names to pgfmath names.
- Accept key
history
inNodewalk
config.
- New features
- Add * argument to
\useforestlibrary
. - Implement
current and siblings (reversed)
.
- Add * argument to
- Documentation
- Add examples of embedded nodewalks.
- Fix the documentation of option
anchor
. - Fix documentation of
calign
. - Add a note on typos in temporal propagators.
... and some minor stuff.
Forest v2.0.0
This is the first release of Forest v2 posted on CTAN.
Major changes since v1:
- Much improved nodewalks.
- Added temporal propagators before packing node and after packing node.
- Implemented looping mechanisms and more conditionals.
- Implemented library support.
- Introduced registers.
For the full list of changes, see the changelog in the manual (section 6).