From c0105d5eddabe05905105c597e6c714d9fadc76c Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Sun, 13 Mar 2022 19:14:14 +0100 Subject: [PATCH] Translate file trees --- slides/chapter-04.en.md | 14 +- slides/chapter-15.en.md | 2 +- svg/chapter-04/absolute-path-english-crop.svg | 148 ++++++++++++++ svg/chapter-04/absolute-path-english-orig.svg | 148 ++++++++++++++ svg/chapter-04/absolute-path-english.tex | 33 ++++ svg/chapter-04/relative-path-english-crop.svg | 164 ++++++++++++++++ svg/chapter-04/relative-path-english-orig.svg | 164 ++++++++++++++++ svg/chapter-04/relative-path-english.tex | 36 ++++ .../relative-path-subdir-english-crop.svg | 176 +++++++++++++++++ .../relative-path-subdir-english-orig.svg | 176 +++++++++++++++++ .../relative-path-subdir-english.tex | 37 ++++ .../relative-path-superdir-english-crop.svg | 184 ++++++++++++++++++ .../relative-path-superdir-english-orig.svg | 184 ++++++++++++++++++ .../relative-path-superdir-english.tex | 40 ++++ svg/chapter-04/tree-english-crop.svg | 148 ++++++++++++++ svg/chapter-04/tree-english-orig.svg | 148 ++++++++++++++ svg/chapter-04/tree-english.tex | 33 ++++ 17 files changed, 1827 insertions(+), 8 deletions(-) create mode 100644 svg/chapter-04/absolute-path-english-crop.svg create mode 100644 svg/chapter-04/absolute-path-english-orig.svg create mode 100644 svg/chapter-04/absolute-path-english.tex create mode 100644 svg/chapter-04/relative-path-english-crop.svg create mode 100644 svg/chapter-04/relative-path-english-orig.svg create mode 100644 svg/chapter-04/relative-path-english.tex create mode 100644 svg/chapter-04/relative-path-subdir-english-crop.svg create mode 100644 svg/chapter-04/relative-path-subdir-english-orig.svg create mode 100644 svg/chapter-04/relative-path-subdir-english.tex create mode 100644 svg/chapter-04/relative-path-superdir-english-crop.svg create mode 100644 svg/chapter-04/relative-path-superdir-english-orig.svg create mode 100644 svg/chapter-04/relative-path-superdir-english.tex create mode 100644 svg/chapter-04/tree-english-crop.svg create mode 100644 svg/chapter-04/tree-english-orig.svg create mode 100644 svg/chapter-04/tree-english.tex diff --git a/slides/chapter-04.en.md b/slides/chapter-04.en.md index ec32e95..1154434 100644 --- a/slides/chapter-04.en.md +++ b/slides/chapter-04.en.md @@ -115,7 +115,7 @@ Specifying file paths 👣 * file and folder structure = tree structure 🌳 @preview -![](svg/chapter-04/tree-crop.svg) +![](svg/chapter-04/tree-english-crop.svg) @slide(layout=content-and-preview-with-category) @@ -130,8 +130,8 @@ Excursion ### Absolute paths * path from the root directory to a file * the direcories are separated by special characters: - * in UNIX: `/` - * in Windows: `\` + * under UNIX: `/` + * under Windows: `\`

absolute path for `main.tex`

@@ -143,7 +143,7 @@ Excursion
@preview -![](svg/chapter-04/absolute-path-crop.svg) +![](svg/chapter-04/absolute-path-english-crop.svg) @slide(layout=content-and-preview-with-category) @@ -170,7 +170,7 @@ A **single dot ‘`.`’** in a relative path represents the current folder (in @preview -![](svg/chapter-04/relative-path-crop.svg) +![](svg/chapter-04/relative-path-english-crop.svg) @slide(layout=content-and-preview-with-category) @@ -188,7 +188,7 @@ Specifying paths 👣 `./sections/part1.tex` @preview -![](svg/chapter-04/relative-path-subdir-crop.svg) +![](svg/chapter-04/relative-path-subdir-english-crop.svg) @slide(layout=content-and-preview-with-category) @@ -208,7 +208,7 @@ Specifying paths 👣 **Two dots ‘`..`’** represent the parent folder of the current folder (in this case: `latex`, parent of `main`). @preview -![](svg/chapter-04/relative-path-superdir-crop.svg) +![](svg/chapter-04/relative-path-superdir-english-crop.svg) @slide(layout=content-only) diff --git a/slides/chapter-15.en.md b/slides/chapter-15.en.md index 52931b0..7e24423 100644 --- a/slides/chapter-15.en.md +++ b/slides/chapter-15.en.md @@ -84,7 +84,7 @@ two children at edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] -\node {/ oder C:} +\node {/ or C:} child { node {home} child { node {knut} child { node {pictures}} diff --git a/svg/chapter-04/absolute-path-english-crop.svg b/svg/chapter-04/absolute-path-english-crop.svg new file mode 100644 index 0000000..bb70b59 --- /dev/null +++ b/svg/chapter-04/absolute-path-english-crop.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/absolute-path-english-orig.svg b/svg/chapter-04/absolute-path-english-orig.svg new file mode 100644 index 0000000..a63c32e --- /dev/null +++ b/svg/chapter-04/absolute-path-english-orig.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/absolute-path-english.tex b/svg/chapter-04/absolute-path-english.tex new file mode 100644 index 0000000..09aa158 --- /dev/null +++ b/svg/chapter-04/absolute-path-english.tex @@ -0,0 +1,33 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node [foot] {/ or C:} + child { node [foot] {home} + child { node [foot] {knut} + child { node {pictures}} + child { node [foot] {docs} + child { node [foot] {latex} + child { node [selected] { main.tex}}} + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/svg/chapter-04/relative-path-english-crop.svg b/svg/chapter-04/relative-path-english-crop.svg new file mode 100644 index 0000000..dd32aa8 --- /dev/null +++ b/svg/chapter-04/relative-path-english-crop.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/relative-path-english-orig.svg b/svg/chapter-04/relative-path-english-orig.svg new file mode 100644 index 0000000..d84f4b6 --- /dev/null +++ b/svg/chapter-04/relative-path-english-orig.svg @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/relative-path-english.tex b/svg/chapter-04/relative-path-english.tex new file mode 100644 index 0000000..20cdcc1 --- /dev/null +++ b/svg/chapter-04/relative-path-english.tex @@ -0,0 +1,36 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ or C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [foot] {latex} + child { node [rel] { main.tex}} + child { node [selected] { part1.tex}} + } + } + } + }; + \end{tikzpicture} + +\end{document} \ No newline at end of file diff --git a/svg/chapter-04/relative-path-subdir-english-crop.svg b/svg/chapter-04/relative-path-subdir-english-crop.svg new file mode 100644 index 0000000..db227c3 --- /dev/null +++ b/svg/chapter-04/relative-path-subdir-english-crop.svg @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/relative-path-subdir-english-orig.svg b/svg/chapter-04/relative-path-subdir-english-orig.svg new file mode 100644 index 0000000..65f1615 --- /dev/null +++ b/svg/chapter-04/relative-path-subdir-english-orig.svg @@ -0,0 +1,176 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/relative-path-subdir-english.tex b/svg/chapter-04/relative-path-subdir-english.tex new file mode 100644 index 0000000..b87136a --- /dev/null +++ b/svg/chapter-04/relative-path-subdir-english.tex @@ -0,0 +1,37 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ or C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [foot] {latex} + child { node [rel] { main.tex}} + child {node [foot] {sections} + child { node [selected] {part1.tex}} + } + } + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/svg/chapter-04/relative-path-superdir-english-crop.svg b/svg/chapter-04/relative-path-superdir-english-crop.svg new file mode 100644 index 0000000..9ff2c04 --- /dev/null +++ b/svg/chapter-04/relative-path-superdir-english-crop.svg @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/relative-path-superdir-english-orig.svg b/svg/chapter-04/relative-path-superdir-english-orig.svg new file mode 100644 index 0000000..205596d --- /dev/null +++ b/svg/chapter-04/relative-path-superdir-english-orig.svg @@ -0,0 +1,184 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/relative-path-superdir-english.tex b/svg/chapter-04/relative-path-superdir-english.tex new file mode 100644 index 0000000..701a179 --- /dev/null +++ b/svg/chapter-04/relative-path-superdir-english.tex @@ -0,0 +1,40 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ or C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [foot] {latex} + child { node [foot] {main} + child { node [rel] { main.tex}} + } + child [missing] {} + child {node [foot] {sections} + child { node [selected] {part1.tex}} + } + } + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file diff --git a/svg/chapter-04/tree-english-crop.svg b/svg/chapter-04/tree-english-crop.svg new file mode 100644 index 0000000..b3dbb7e --- /dev/null +++ b/svg/chapter-04/tree-english-crop.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/tree-english-orig.svg b/svg/chapter-04/tree-english-orig.svg new file mode 100644 index 0000000..181b3c6 --- /dev/null +++ b/svg/chapter-04/tree-english-orig.svg @@ -0,0 +1,148 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/svg/chapter-04/tree-english.tex b/svg/chapter-04/tree-english.tex new file mode 100644 index 0000000..c020f71 --- /dev/null +++ b/svg/chapter-04/tree-english.tex @@ -0,0 +1,33 @@ +\documentclass{article} +\usepackage[ngerman]{babel} +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{tikz} +\usetikzlibrary{trees} +\usepackage{verbatimbox} +\usepackage[active,tightpage]{preview} +\PreviewEnvironment{tikzpicture} +\setlength\PreviewBorder{5pt} +\begin{document} + \tikzstyle{every node}=[draw=black,thick,anchor=west] + \tikzstyle{selected}=[draw=red,fill=red!30] + \tikzstyle{foot}=[fill=gray!50] + \tikzstyle{rel}=[fill=blue!70] + \tikzstyle{partition}=[draw=white] + + \begin{tikzpicture}[% + grow via three points={one child at (0.5,-0.7) and + two children at (0.5,-0.7) and (0.5,-1.4)}, + edge from parent path={(\tikzparentnode.south) |- (\tikzchildnode.west)}] + \node {/ or C:} + child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node { latex} + child { node { main.tex}}} + } + } + }; + \end{tikzpicture} +\end{document} \ No newline at end of file