Skip to content

Commit

Permalink
Try to fix LatexStrings not getting their preambles
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Jun 14, 2024
1 parent 2fed095 commit 8aafb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layoutable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ end

LTeX(x, tex; kwargs...) = LTeX(x; tex = tex, kwargs...)

_to_cachedtex(x) = CachedTEX(x)
_to_cachedtex(x) = CachedTEX(TEXDocument(x))
_to_cachedtex(x::AbstractDocument) = Cached(x)

function Makie.initialize_block!(l::LTeX)
Expand Down

0 comments on commit 8aafb7f

Please sign in to comment.