A LaTeX class and package is provided which allows LaTeX diagrams or other LaTeX code to be compiled standalone or as part of a main document. Special support for pictures with beamer overlays is also provided.
LaTeX Project Public License v1.3c
9
stars
2
forks
source link
Support for derived pictures using `conditionally` environment #11
I've asked on tex.stackexchange about Modular and re-usable (tikz) pictures. One interesting answer, courtesy of cfr, included the definition of a new conditionally enviornment:
However, note that includestandalonecond set mode=tex. Otherwise, if, for example, mode=buildnew, then standalone would include a wrong version of the cached picture.
Therefore, this is a feature request to
incooperate the enabled= feature of includestandalonecond into includestandalone, while additionally,
make includestandalone use the values of enabled= to create and selected the cached version of a picture
I think 2. just meas that on \includestandalone[enabled=detour,shortcut]{foo}, standalone should use foo-detour-shortcut.pdf as name for the cached pdf.
I am very much like the API and functionality that was created here and I hope you consider adding support for it to the standalone package. Then we just have to find a place where conditionally is defined (maybe a new ctan package?).
I've asked on tex.stackexchange about Modular and re-usable (tikz) pictures. One interesting answer, courtesy of cfr, included the definition of a new
conditionally
enviornment:and a new
includestandalonecond
commandAs an example on how those are used, consider the following modular tikz picture:
which can be included in the main tex file, for example, like this:
this is great and achieves exactly what I want.
However, note that
includestandalonecond
setmode=tex
. Otherwise, if, for example,mode=buildnew
, thenstandalone
would include a wrong version of the cached picture.Therefore, this is a feature request to
enabled=
feature ofincludestandalonecond
intoincludestandalone
, while additionally,includestandalone
use the values ofenabled=
to create and selected the cached version of a pictureI think 2. just meas that on
\includestandalone[enabled=detour,shortcut]{foo}
, standalone should usefoo-detour-shortcut.pdf
as name for the cached pdf.I am very much like the API and functionality that was created here and I hope you consider adding support for it to the
standalone
package. Then we just have to find a place whereconditionally
is defined (maybe a new ctan package?).