mirror of https://github.com/mpastell/Weave.jl
rm unused stuff
parent
af45cc01ab
commit
f71a491847
|
@ -13,7 +13,6 @@ function format(doc)
|
|||
get!(formatdict, :fig_pos, nothing)
|
||||
get!(formatdict, :fig_env, nothing)
|
||||
|
||||
formatdict[:cwd] = doc.cwd # pass wd to figure formatters
|
||||
formatdict[:theme] = doc.highlight_theme
|
||||
|
||||
restore_header!(doc)
|
||||
|
|
|
@ -39,7 +39,6 @@ function WeaveDoc(source, informat = nothing)
|
|||
"",
|
||||
"",
|
||||
Highlights.Themes.DefaultTheme,
|
||||
"",
|
||||
chunk_defaults,
|
||||
)
|
||||
end
|
||||
|
|
|
@ -58,7 +58,6 @@ function run_doc(
|
|||
# This is needed for latex and should work on all output formats
|
||||
@static Sys.iswindows() && (fig_path = replace(fig_path, "\\" => "/"))
|
||||
|
||||
doc.fig_path = fig_path
|
||||
set_rc_params(doc, fig_path, fig_ext)
|
||||
|
||||
# New sandbox for each document with args exposed
|
||||
|
|
|
@ -15,7 +15,6 @@ mutable struct WeaveDoc
|
|||
template::Union{AbstractString,Mustache.MustacheTokens}
|
||||
css::AbstractString
|
||||
highlight_theme::Type{<:Highlights.AbstractTheme}
|
||||
fig_path::AbstractString
|
||||
chunk_defaults::Dict{Symbol,Any}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue