Compare commits

...

2 Commits

Author SHA1 Message Date
b4ee0760e3 typst added 2025-03-06 17:00:41 +01:00
9b4e271fdf one chapter only 2025-03-06 16:53:15 +01:00
3 changed files with 47 additions and 49 deletions

View File

@ -1,16 +1,12 @@
title: Julia-color title: Julia-color
author: Meik Hellmund author: Meik Hellmund
version: 1.0.0 version: 1.0.0
quarto-required: ">=99.9.0" quarto-required: ">=1.6.0"
contributes: contributes:
formats: formats:
common:
filters:
- "ansi2htmltex.lua"
html: html:
monofont: "JuliaMono" monofont: "JuliaMono"
css: css:
- "resources/css/ansicolor.css"
- "resources/css/juliamono.css" - "resources/css/juliamono.css"
pdf: pdf:
include-in-header: include-in-header:

View File

@ -16,29 +16,28 @@
\DeclareRobustCommand{\lseries}{\fontseries{l}\selectfont} \DeclareRobustCommand{\lseries}{\fontseries{l}\selectfont}
\DeclareTextFontCommand{\textlight}{\lseries} \DeclareTextFontCommand{\textlight}{\lseries}
%\DefineVerbatimEnvironment{OutputCell}{Verbatim}%
\DefineVerbatimEnvironment{OutputCell}{Verbatim}% % {xleftmargin=1.5em}
{xleftmargin=1.5em} %\DefineVerbatimEnvironment{AnsiOutputCell}{Verbatim}%
\DefineVerbatimEnvironment{AnsiOutputCell}{Verbatim}% % {commandchars=\\\{\}, xleftmargin=1.5em}
{commandchars=\\\{\}, xleftmargin=1.5em} %\DefineVerbatimEnvironment{StderrOutputCell}{Verbatim}%
\DefineVerbatimEnvironment{StderrOutputCell}{Verbatim}% % {commandchars=\\\{\}, xleftmargin=1.5em,frame=single,rulecolor=\color{red}}
{commandchars=\\\{\}, xleftmargin=1.5em,frame=single,rulecolor=\color{red}} %
%\definecolor{ansi-black}{HTML}{3E424D}
\definecolor{ansi-black}{HTML}{3E424D} %\definecolor{ansi-black-intense}{HTML}{282C36}
\definecolor{ansi-black-intense}{HTML}{282C36} %\definecolor{ansi-red}{HTML}{E75C58}
\definecolor{ansi-red}{HTML}{E75C58} %\definecolor{ansi-red-intense}{HTML}{B22B31}
\definecolor{ansi-red-intense}{HTML}{B22B31} %\definecolor{ansi-green}{HTML}{00A250}
\definecolor{ansi-green}{HTML}{00A250} %\definecolor{ansi-green-intense}{HTML}{007427}
\definecolor{ansi-green-intense}{HTML}{007427} %\definecolor{ansi-yellow}{HTML}{DDB62B}
\definecolor{ansi-yellow}{HTML}{DDB62B} %\definecolor{ansi-yellow-intense}{HTML}{B27D12}
\definecolor{ansi-yellow-intense}{HTML}{B27D12} %\definecolor{ansi-blue}{HTML}{208FFB}
\definecolor{ansi-blue}{HTML}{208FFB} %\definecolor{ansi-blue-intense}{HTML}{0065CA}
\definecolor{ansi-blue-intense}{HTML}{0065CA} %\definecolor{ansi-magenta}{HTML}{D160C4}
\definecolor{ansi-magenta}{HTML}{D160C4} %\definecolor{ansi-magenta-intense}{HTML}{A03196}
\definecolor{ansi-magenta-intense}{HTML}{A03196} %\definecolor{ansi-cyan}{HTML}{60C6C8}
\definecolor{ansi-cyan}{HTML}{60C6C8} %\definecolor{ansi-cyan-intense}{HTML}{258F8F}
\definecolor{ansi-cyan-intense}{HTML}{258F8F} %\definecolor{ansi-white}{HTML}{C5C1B4}
\definecolor{ansi-white}{HTML}{C5C1B4} %\definecolor{ansi-white-intense}{HTML}{A1A6B2}
\definecolor{ansi-white-intense}{HTML}{A1A6B2} %\definecolor{ansi-default-inverse-fg}{HTML}{FFFFFF}
\definecolor{ansi-default-inverse-fg}{HTML}{FFFFFF} %\definecolor{ansi-default-inverse-bg}{HTML}{000000}
\definecolor{ansi-default-inverse-bg}{HTML}{000000}

View File

@ -40,22 +40,22 @@ book:
chapters: chapters:
- index.qmd - index.qmd
- chapters/entwicklungsumgebungen.qmd #- chapters/entwicklungsumgebungen.qmd
- chapters/first_contact.qmd #- chapters/first_contact.qmd
- chapters/Erste_Bsp.qmd #- chapters/Erste_Bsp.qmd
- chapters/syntax.qmd #- chapters/syntax.qmd
- chapters/5_TricksHelp.qmd #- chapters/5_TricksHelp.qmd
- chapters/numerictypes.qmd - chapters/numerictypes.qmd
- chapters/Pi2.qmd #- chapters/Pi2.qmd
- chapters/types.qmd #- chapters/types.qmd
- chapters/pcomplex.qmd #- chapters/pcomplex.qmd
- chapters/9_functs.qmd #- chapters/9_functs.qmd
- chapters/6_ArraysEtcP1.qmd #- chapters/6_ArraysEtcP1.qmd
- chapters/7_ArraysP2.qmd #- chapters/7_ArraysP2.qmd
- chapters/11_LinAlg.qmd #- chapters/11_LinAlg.qmd
- chapters/10_Strings.qmd #- chapters/10_Strings.qmd
- chapters/13_IO.qmd #- chapters/13_IO.qmd
- chapters/14_Plot.qmd #- chapters/14_Plot.qmd
# - chapters/makie.qmd # - chapters/makie.qmd
@ -105,7 +105,10 @@ format:
code-overflow: wrap code-overflow: wrap
include-in-header: include-in-header:
- file: macros.tex - file: macros.tex
typst:
toc: true
latex-auto-install: false latex-auto-install: false
execute: execute:
@ -117,13 +120,13 @@ execute:
eval: true eval: true
freeze: auto freeze: auto
daemon: 3600 daemon: 3600
preserve-ansi: true #preserve-ansi: true
keep-ipynb: true keep-ipynb: true
keep-tex: true keep-tex: true
keep-md: true keep-md: true
jupyter: julia-1.10 #jupyter: julia-1.10
filters: filters:
- code-visibility - code-visibility