some cleanup

This commit is contained in:
Meik Hellmund 2022-09-27 09:08:04 +02:00
parent afeb392e4b
commit 400502cd5e

View File

@ -1,59 +0,0 @@
pandoc -t json --ipynb-output=best 2_NumTypes.ipynb |jq
pandoc -t html --ipynb-output=all --lua-filter=ansi2html.lua -s --katex 2_NumTypes.ipynb > aaa.html
quarto commit:
https://github.com/quarto-dev/quarto-cli/commit/2bd7b8719ecf8916f5754c0f3ac63ba5d7597c31
https://github.com/quarto-dev/quarto-cli/issues/929
my quarto discussion:
https://github.com/quarto-dev/quarto-cli/discussions/2488
my pandoc discussion:
https://groups.google.com/g/pandoc-discuss/c/kFqvcZ1M8dw
nbconvert filter:
https://github.com/jupyter/nbconvert/blob/main/nbconvert/filters/ansi.py
ansi2html lib:
https://github.com/pycontribs/ansi2html/blob/main/ansi2html/converter.py
https://pandoc.org/lua-filters.html
pandoc commit ipynb-output-option
https://github.com/jgm/pandoc/commit/77faccb505992c944cd1b92f50e4e00d2927682b
pandoc commit remove ansi escapes
https://github.com/jgm/pandoc/commit/5454aad32474472a8f977c941e6f7d70e925bcc5
https://github.com/jgm/pandoc/issues/5633
A filter example:
https://github.com/jgm/pandoc/issues/6643
pandoc -t native --ipynb-output=all --lua-filter=ansi2html.lua 2_NumTypes.ipynb -o kkk
http://lua-users.org/wiki/AnsiTerminalColors
ANSI codes
https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
check (esp. Latex) documenter.jl,
https://juliadocs.github.io/Documenter.jl/stable/man/syntax/#@example-block
@example blocks support colored text output by mapping ANSI escape codes to HTML.
-- nothing for latex
jupyter nbconvert,
html: prima
latex mit juliamono: sind noch undef. escapesequencen drinne
\begin{tcolorbox}[breakable, size=fbox, boxrule=1pt, pad at break*=1mm, colback=cellbackground, colframe=cellborder]
\begin{Verbatim}[commandchars=\\{}]
sieht so aus, als wären da newlines reingekommen (vor der ascii-auswertung)
eliminate newline for esc??
newest quarto