Jerry Ling

Results 655 comments of Jerry Ling

>yes, even the old test!(L"...") uses MathTeXEngine as it does in base Makie wait, so is this pkg right now completely useless? what does it even do if it can't...

I'd be happy to help since I know a little bit around Makie code base by now

ok here's a super hacky idea: 1. make a function here, something like `textext!(fig, Lstring; fonts, color, size... )` 2. this function does a few things - implement the injection...

>figure out how to get fonts into LaTeX generally, given a font family and a path to its file, - we can assume user has this installed - if user...

```julia julia> function main() tex = CachedTeX(MakieTeX.texdoc(raw"$\sqrt{s} = 13 \text{TeV}$")); f,a,_ = plot(1:3, 1:3) marker = MakieTeX.recordsurf2img(tex, 4) #increase render density scatter!(a, 1.5, 1.5; marker, markersize=100) CairoMakie.save("/tmp/jl_onm7cZSLiJ.png", f) end ```...

ok, if we apply `rotl90` and also use `CachedTex.dims`, we can get desired result ```julia julia> function main() tex = CachedTeX(MakieTeX.texdoc(raw"$\sqrt{s} = 13 \text{TeV}$")); f,a,_ = plot(1:3, 1:3) marker =...

can we actually make this a PR? one issue I see is that `mapslices` doesn't play with `@view` nicely so at the moment if you actually use `dims` you would...

>In particular, I wonder whether or not something like map on a GPU array using a scalar f would be slow or fast. it would be fast if the scalar...

but this seems to be fine? ```julia julia> dt = DTable((a=A(3),)); julia> ```

~~I think it's reasonable for partition to allocate, closing as not actionable.~~ so DTable calls table operation, maybe it should not materialize like this?