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
author: Meik Hellmund
version: 1.0.0
quarto-required: ">=99.9.0"
quarto-required: ">=1.6.0"
contributes:
formats:
common:
filters:
- "ansi2htmltex.lua"
html:
monofont: "JuliaMono"
css:
- "resources/css/ansicolor.css"
- "resources/css/juliamono.css"
pdf:
include-in-header:

View File

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

View File

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