-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I had an example in Franklin demos using TikzCD which now fails. The same example works with 0.2.0 (which it's now pinned to). The stack trace is
ERROR: MethodError: no method matching TikzPictures.TikzPicture(::SubString{String}; environment="tikzcd", preamble="\\usepackage{tikz-cd}")
Closest candidates are:
TikzPictures.TikzPicture(::AbstractString; options, preamble, enableWrite18) at ~/.julia/packages/TikzPictures/1hS0x/src/TikzPictures.jl:66 got unsupported keyword argument "environment"
Stacktrace:
[1] kwerr(::NamedTuple{(:environment, :preamble), Tuple{String, SubString{String}}}, ::Type, ::SubString{String})
@ Base ./error.jl:163
[2] TikzCD(data::SubString{String}; preamble::String, kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ TikzCDs ~/.julia/packages/TikzCDs/8Sj6O/src/TikzCDs.jl:21
[3] TikzCD(data::SubString{String})
@ TikzCDs ~/.julia/packages/TikzCDs/8Sj6O/src/TikzCDs.jl:14
The code I was using is effectively
save(SVG(outpath), TikzCD(content))
for some appropriate outpath and content is something like
\begin{tikzcd}{tcd1}
A \arrow[r, "\phi"] \arrow[d, red]
& B \arrow[d, "\psi" red] \\
C \arrow[r, red, "\eta" blue]
& D
\end{tikzcd}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels