Rik Huijzer

Results 128 comments of Rik Huijzer

I also walked into this. I'm getting the longtables in from Pandoc, so somehow need to support the full `longtable` syntax while wrapping it inside a `margintable`.

Apparently, David Carlisle solved this a long time ago: ``` \makeatletter \def\LT@makecaption#1#2#3{% \noalign{\smash{\hbox{\kern\textwidth\rlap{\kern\marginparsep \parbox[t]{\marginparwidth}{% \@tufte@caption@font \@tufte@caption@justification \noindent #1{#2: }\ignorespaces #3}}}}}} \makeatother ``` source: https://tex.stackexchange.com/a/183344/92217.

@paulomach, oh man, this tip is amazing!! Instead of ``` error: terminal input forbidden ``` I now get ``` error: terminal input forbidden Error producing PDF. ! LaTeX Error: File...

I am not sure. It worked for me on Linux, but I don't know what the risks are. If enabled on Linux, then also Mac by default?

Related: https://github.com/timholy/Revise.jl/pull/622.

These are indeed terminal colors. According to https://github.com/rikhuijzer/PlutoStaticHTML.jl/pull/88/files, the `with_terminal` patch is applied if `` is found in the body of the HTML. Maybe that goes wrong. I don't know...

I’m don’t currently have a computer at hand, but have you seen https://github.com/rikhuijzer/PlutoStaticHTML.jl/issues/73? That might be related.

Yeah I get that. Can you suggest how you would like the API to be?

Yes agreed on not so elegant, but I also cannot come up with something better. Can you make a PR? I’m okay with this API and would be happy to...

You could call functions inside the `readline` matches cases and test those on their own: ```rust use std::io::Write; use rustyline::error::ReadlineError; use rustyline::Editor; fn handle_line(mut dest: W, line: String) where W:...