Spaces:
Running
Running
added true master thesis pdf
Browse files- .gitignore +1 -3
- Data/10_Law/0_Lic_Main.qmd +0 -8
- Data/10_Law/0_Mentioning.qmd +38 -0
- Data/10_Law/{license_Hippocratic.qmd → 1_License_Hippocratic.qmd} +0 -0
- Data/10_Law/2_Used_Licenses.qmd +22 -0
- Data/10_Law/used_Licenses.qmd +0 -9
- Data/11_True_Master/Master_Thesis_Javed_Butt.pdf +3 -0
- Data/1_Writing/0_Deco/2_Thanks.qmd +55 -4
- Data/1_Writing/2_Task/6_Modeling.qmd +2 -1
- Data/1_Writing/3_Task/5_Pred.qmd +2 -2
- Data/7_Animation/bismillah.json +0 -0
- Data/7_Animation/bismillah.lottie +0 -0
- Data/7_Animation/mosque.lottie +0 -0
- Data/8_Add_2_Master/0_Add_2_Mast.qmd +40 -8
- Data/8_Add_2_Master/1_Master_Orig.qmd +1 -1
- Data/8_Add_2_Master/2_About_Author.qmd +8 -0
- Web_Code/CSS/cosmo_Dark.scss +9 -0
- Web_Code/CSS/css_0.css +2 -0
- Web_Code/CSS/light.scss +10 -0
- _extensions/shafayetShafee/collapse-callout/_extension.yml +8 -0
- _extensions/shafayetShafee/collapse-callout/collapse-callout.lua +56 -0
- _extensions/toc_lof/_extension.yml +0 -8
- _extensions/toc_lof/toc_lof.lua +0 -6
- _quarto.yml +26 -4
- toc_lof/.gitignore +0 -4
- toc_lof/README.md +0 -23
- toc_lof/example.qmd +0 -11
- trials.qmd +12 -0
.gitignore
CHANGED
@@ -1,9 +1,7 @@
|
|
1 |
_book/
|
|
|
2 |
.quarto/
|
3 |
.vscode/
|
4 |
-
# _extensions/
|
5 |
-
/.quarto/
|
6 |
-
_.site/
|
7 |
|
8 |
/.luarc.json
|
9 |
index_files
|
|
|
1 |
_book/
|
2 |
+
_.site/
|
3 |
.quarto/
|
4 |
.vscode/
|
|
|
|
|
|
|
5 |
|
6 |
/.luarc.json
|
7 |
index_files
|
Data/10_Law/0_Lic_Main.qmd
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
# License
|
2 |
-
I would like to start by expressing my gratitude to the developer and investor of quarto. It is the main tool that was used to create this webpage of my master thesis.
|
3 |
-
As you can see, it looks quite fancy, offers some nice to have features , e.g., the interactive 3D embiedding of the tornado plotly htm plot. We can play with it
|
4 |
-
|
5 |
-
TBD
|
6 |
-
|
7 |
-
They did an amazing job with the developement of quarto.
|
8 |
-
Quarto is the tool that was used to providing quarto for free
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data/10_Law/0_Mentioning.qmd
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# License
|
2 |
+
I would like to start by expressing my gratitude to the developer and investor of quarto. It is the main tool that was used to create this webpage of my master thesis.
|
3 |
+
As you can see, it looks quite fancy, offers some nice to have features , e.g., the interactive 3D embiedding of the tornado plotly htm plot. We can play with it
|
4 |
+
|
5 |
+
|
6 |
+
moving pencil
|
7 |
+
https://lottiefiles.com/140429-pencil-drawing?lang=de
|
8 |
+
https://lottiefiles.com/animoox
|
9 |
+
|
10 |
+
They did an amazing job with the developement of quarto.
|
11 |
+
Quarto is the tool that was used to providing quarto for free
|
12 |
+
|
13 |
+
|
14 |
+
<!-- the bismillah file is obtained through:https://lottiefiles.com/4098-bismillah-in-the-name-of-allah?lang=de
|
15 |
+
and https://lottiefiles.com/xylam -->
|
16 |
+
|
17 |
+
|
18 |
+
<!-- # ------------------------------ Pakistan Riksha ----------------------------- # -->
|
19 |
+
Riksha with pakistan flag on it, is obtained through:
|
20 |
+
https://lottiefiles.com/103030-rickshaw-from-pakistan
|
21 |
+
My thank goes to: https://lottiefiles.com/ranaadeelfarrukh, for this beautiful animation and also the lottifiles initative - thank you for providing this content for free
|
22 |
+
The license of the riksha can be found at: https://lottiefiles.com/page/license
|
23 |
+
|
24 |
+
|
25 |
+
the mosque file is obtained through:https://lottiefiles.com/102940-faisal-mosque?lang=de and https://lottiefiles.com/ranaadeelfarrukh
|
26 |
+
|
27 |
+
https://web.hypothes.is/
|
28 |
+
https://github.com/shafayetShafee/collapse-callout (MIT)
|
29 |
+
|
30 |
+
VScode
|
31 |
+
Plotly
|
32 |
+
Quarto
|
33 |
+
Python, Numpy, Scikitlearn
|
34 |
+
lottifiles
|
35 |
+
bootstrap
|
36 |
+
pandoc
|
37 |
+
latex
|
38 |
+
inkscape
|
Data/10_Law/{license_Hippocratic.qmd → 1_License_Hippocratic.qmd}
RENAMED
File without changes
|
Data/10_Law/2_Used_Licenses.qmd
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Licenses
|
2 |
+
|
3 |
+
refer it to @callout_A
|
4 |
+
|
5 |
+
:::{.callout-tip collapse='true'}
|
6 |
+
### MIT
|
7 |
+
|
8 |
+
Here comes the MIT CODE
|
9 |
+
:::
|
10 |
+
|
11 |
+
|
12 |
+
:::{.callout-tip collapse='true'}
|
13 |
+
### MIT
|
14 |
+
|
15 |
+
Here comes the MIT CODE
|
16 |
+
:::
|
17 |
+
|
18 |
+
:::{.callout-tip collapse='true'}
|
19 |
+
### MIT
|
20 |
+
|
21 |
+
Here comes the MIT CODE
|
22 |
+
:::
|
Data/10_Law/used_Licenses.qmd
DELETED
@@ -1,9 +0,0 @@
|
|
1 |
-
# ------------------------------ Pakistan Riksha ----------------------------- #
|
2 |
-
Riksha with pakistan flag on it, is obtained through:
|
3 |
-
https://lottiefiles.com/103030-rickshaw-from-pakistan
|
4 |
-
My thank goes to: https://lottiefiles.com/ranaadeelfarrukh, for this beautiful animation and also the lottifiles initative - thank you for providing this content for free
|
5 |
-
|
6 |
-
The license of the riksha can be found at: https://lottiefiles.com/page/license
|
7 |
-
|
8 |
-
Note: I modfied the original content a bit
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data/11_True_Master/Master_Thesis_Javed_Butt.pdf
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4c18c9c4d4dd5eb31ba4b17e6586797092da99cf5ca9352ba2f3485c39411e2d
|
3 |
+
size 20415820
|
Data/1_Writing/0_Deco/2_Thanks.qmd
CHANGED
@@ -1,10 +1,61 @@
|
|
1 |
|
2 |
# Acknowledgments {.unnumbered}
|
3 |
|
4 |
-
All praise and thanks to the **ONE**, Who does neither need my praise nor my thanks.
|
5 |
-
To the **ONE**, Who is independent of everything and everyone, but on Whom everything and everyone depends.
|
6 |
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
Thank you, Dr. Semaan - you provided me with the possibility to work on such a compelling and challenging topic. Even though the difficult tasks were not always pleasant, I very much appreciate the opportunity to have worked on these captivating tasks.
|
9 |
Thank you for the time and effort you invested in this work.
|
10 |
-
Also, thank you for the weekly English exercises and for explaining to me how to pronounce methodology correctly
|
|
|
|
1 |
|
2 |
# Acknowledgments {.unnumbered}
|
3 |
|
|
|
|
|
4 |
|
5 |
+
<script src="https://unpkg.com/@dotlottie/[email protected]/dist/dotlottie-player.js"></script>
|
6 |
+
|
7 |
+
|
8 |
+
All praise and thanks to the
|
9 |
+
|
10 |
+
<div class="grid m-5">
|
11 |
+
<div class="g-col-6 align-self-center">
|
12 |
+
<!-- see usage of bootstrap for font: https://getbootstrap.com/docs/5.0/utilities/text/ -->
|
13 |
+
<p class="fs-1 text-center lh-lg" >**ONE**</p></div>
|
14 |
+
<div class="g-col-6" id="bismillah_Anim">
|
15 |
+
<!-- the bismillah file is obtained through:https://lottiefiles.com/4098-bismillah-in-the-name-of-allah?lang=de
|
16 |
+
and https://lottiefiles.com/xylam -->
|
17 |
+
<dotlottie-player
|
18 |
+
id="bismillah"
|
19 |
+
class="bismillah_Anim"
|
20 |
+
autoplay
|
21 |
+
loop
|
22 |
+
mode="bounce"
|
23 |
+
src="../../7_Animation/bismillah.lottie"
|
24 |
+
style="width: 100%"></dotlottie-player>
|
25 |
+
</div>
|
26 |
+
</div>
|
27 |
+
|
28 |
+
|
29 |
+
, Who does neither need my praise nor my thanks.
|
30 |
+
To the
|
31 |
+
|
32 |
+
|
33 |
+
<div class="grid m-5">
|
34 |
+
<div class="g-col-6" id="mosque_Anim">
|
35 |
+
<!-- the mosque file is obtained through:https://lottiefiles.com/102940-faisal-mosque?lang=de and https://lottiefiles.com/ranaadeelfarrukh -->
|
36 |
+
<dotlottie-player
|
37 |
+
id="bismillah"
|
38 |
+
class="mosque_Anim"
|
39 |
+
autoplay
|
40 |
+
speed=2
|
41 |
+
loop
|
42 |
+
mode="bounce"
|
43 |
+
src="../../7_Animation/mosque.lottie"
|
44 |
+
style="width: 100%"></dotlottie-player>
|
45 |
+
</div>
|
46 |
+
<div class="g-col-6 align-self-center">
|
47 |
+
<!-- see usage of bootstrap for font: https://getbootstrap.com/docs/5.0/utilities/text/ -->
|
48 |
+
<p class="fs-1 text-center lh-lg" >**ONE**</p></div>
|
49 |
+
</div>
|
50 |
+
|
51 |
+
, Who is independent of everything and everyone, but on Whom everything and everyone depends.
|
52 |
+
|
53 |
+
<p class="m-5"></p>
|
54 |
+
---
|
55 |
+
<p class="m-5"></p>
|
56 |
+
|
57 |
+
### Thanks to the supervisor
|
58 |
Thank you, Dr. Semaan - you provided me with the possibility to work on such a compelling and challenging topic. Even though the difficult tasks were not always pleasant, I very much appreciate the opportunity to have worked on these captivating tasks.
|
59 |
Thank you for the time and effort you invested in this work.
|
60 |
+
Also, thank you for the weekly English exercises and for explaining to me how to pronounce methodology correctly.
|
61 |
+
|
Data/1_Writing/2_Task/6_Modeling.qmd
CHANGED
@@ -13,7 +13,8 @@ The results of both modeling steps can be found in section
|
|
13 |
|
14 |
{#fig-fig_42}
|
15 |
|
16 |
-
###
|
|
|
17 |
In this subsection, the modeling of the \gls{cpevol} is described.
|
18 |
The objective is to find a surrogate model, which returns all $K$ centroid positions for an unseen $\beta_{unseen}$.
|
19 |
The training data for this are the tracked centroids from the previous step, which is described in section [-@sec-sec_2_3_Tracking].
|
|
|
13 |
|
14 |
{#fig-fig_42}
|
15 |
|
16 |
+
### Mo<img src="https://raw.githubusercontent.com/jav-ed/Test_1/master/outp.svg">
|
17 |
+
{#fig-fig_42} deling the centroid position evolution {#sec-subsec_2_4_1_CPE}
|
18 |
In this subsection, the modeling of the \gls{cpevol} is described.
|
19 |
The objective is to find a surrogate model, which returns all $K$ centroid positions for an unseen $\beta_{unseen}$.
|
20 |
The training data for this are the tracked centroids from the previous step, which is described in section [-@sec-sec_2_3_Tracking].
|
Data/1_Writing/3_Task/5_Pred.qmd
CHANGED
@@ -25,5 +25,5 @@ The motion of the Lorenz system @eq-eq_6_Lorenz is not as complex as of the, e.g
|
|
25 |
Nevertheless, the Lorenz system already contains quasi-random elements, i.e., the switching from one ear to the other cannot be captured exactly with a surrogate mode. However, the characteristic of the Lorenz system and other chaotic dynamical systems as well can be replicated.
|
26 |
In order to prove the latter, more than one method to measure the prediction quality is required.
|
27 |
|
28 |
-
{{
|
29 |
-
{{
|
|
|
25 |
Nevertheless, the Lorenz system already contains quasi-random elements, i.e., the switching from one ear to the other cannot be captured exactly with a surrogate mode. However, the characteristic of the Lorenz system and other chaotic dynamical systems as well can be replicated.
|
26 |
In order to prove the latter, more than one method to measure the prediction quality is required.
|
27 |
|
28 |
+
{{< include 6_SLS.qmd >}}
|
29 |
+
{{< include 7_Models.qmd >}}
|
Data/7_Animation/bismillah.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
Data/7_Animation/bismillah.lottie
ADDED
Binary file (8.87 kB). View file
|
|
Data/7_Animation/mosque.lottie
ADDED
Binary file (203 kB). View file
|
|
Data/8_Add_2_Master/0_Add_2_Mast.qmd
CHANGED
@@ -1,10 +1,42 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
Modifcations that have been made to the original master thesis as in pdf
|
4 |
-
1) The images for the pdf were embeeded as pdf files --> for this web view the images were all converted from pdf to svg using inkscape. Note at the begining of the thesis all figures were generated as .svg, pngs and pdfs via an automated process. However, too much images were saved, thus only svgs and pngs were kept at some point. It would be possible to generate all the images and embeed them as svgs without any loss of quality as with a conversion from pdf to svg might be encountered. Considering the high number of used figures, the converion from pdf to svg is much faster. Latter also because, not only the figures would have to be expoerted, but rather all the differential equations must have been solved again. So in a nutshell, svgs are used instead of pdfs, though a converzing process, which might envolve some quality losses
|
5 |
|
6 |
-
2) the order, references and appendix
|
7 |
-
3) the two appendix in the web view have their own seperate pages
|
8 |
-
4) The first 3 set of equations and figures in section [-@sec-sec_3_2_MOD_CPE] are displayed in full width instead of equation and correspodning being next to each other in a two column representation
|
9 |
-
5) The original master thesis pdf was written in Latex
|
10 |
-
6) The section you are reading right now, is not found in the pdf file, due to obvious reasons
|
|
|
1 |
+
# Modification to the original thesis
|
2 |
+
|
3 |
+
The author's goal was to leave the content of the master thesis as it was when it was submitted to the TU-Braunschweig.
|
4 |
+
It is known by the author of this thesis that some mistakes in the figures text and other smaller mistakes as well do exist.
|
5 |
+
However, the main aim of this website view is to show what was achieved for the master thesis.
|
6 |
+
Not to improve the master thesis by correcting mistakes and adding new knowledge to it.
|
7 |
+
It is not desired to fix the mentioned errors to make sure that the skills that the author had at the time of writing his master thesis are presented as true as possible.
|
8 |
+
|
9 |
+
Also, it is more than fine including these mistakes, since it shows the nature of the human being behind the work, which is appreciated by the author.
|
10 |
+
Besides the content of written thesis, making use of HTML, CSS and JavaScript offers some capabilities to make the reading experience interesting and maybe almost entertaining.
|
11 |
+
Having said so, the main difference between the written master thesis PDF and this online website edition is that, the website is interactive.
|
12 |
+
|
13 |
+
1. It contains animations,
|
14 |
+
2. beautiful dark mode,
|
15 |
+
3. light mode,
|
16 |
+
4. the tornado is shown in the cover page as a 3d interactive plot
|
17 |
+
5. the citations are shown in full without having to look at the reference page, hovering over a reference is enough
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
+
## Modifications that have been made to the original master thesis
|
23 |
+
Initially, the author wanted to give a detailed listing of the changes which were made for the website.
|
24 |
+
It is believed to be not necessary, however, the following list could be obtained until the change of mind:
|
25 |
+
|
26 |
+
1) The images for the PDF were embedded as PDF files. For this web view, the images were all converted from PDF to SVG using Inkscape.
|
27 |
+
Note that at the beginning of writing the master thesis all figures were generated as .svg, PNGs and PDFs via an automated process.
|
28 |
+
However, too many images were stored, thus only SVGs and PNGs were kept at some point.
|
29 |
+
The conversion from PDF to SVG might include quality loss.
|
30 |
+
Instead of the conversion, it would be possible to generate all the images directly as SVG again.
|
31 |
+
Considering the high number of used figures, the conversion from PDF to SVG is much faster.
|
32 |
+
For the latter, all the differential equations must have been solved again.
|
33 |
+
So in a nutshell, SVGs are used instead of PDFs, though a conversation process, which might involve some quality losses.
|
34 |
+
|
35 |
+
2) the order of references and appendix
|
36 |
+
3) the two appendices in the web view have their own separate pages
|
37 |
+
4) The first 3 set of equations and figures in section [-@sec-sec_3_2_MOD_CPE] are displayed in full width instead of equation and corresponding being next to each other in a two column representation
|
38 |
+
5) The original master thesis PDF was written in Latex
|
39 |
+
6) The section you are reading right now, is not found in the PDF file, due to obvious reasons
|
40 |
+
|
41 |
|
|
|
|
|
42 |
|
|
|
|
|
|
|
|
|
|
Data/8_Add_2_Master/1_Master_Orig.qmd
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
# Original
|
2 |
TBD
|
|
|
1 |
+
# Original Latex master thesis
|
2 |
TBD
|
Data/8_Add_2_Master/2_About_Author.qmd
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Jav
|
2 |
+
|
3 |
+
1. Item 1
|
4 |
+
2. Item 2
|
5 |
+
3. Item 3
|
6 |
+
+ Item 3a
|
7 |
+
+ Item 3b
|
8 |
+
|
Web_Code/CSS/cosmo_Dark.scss
CHANGED
@@ -89,3 +89,12 @@ h1, h2, h3, .header-section-number {
|
|
89 |
color: var(--shiny_White)
|
90 |
}
|
91 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
color: var(--shiny_White)
|
90 |
}
|
91 |
|
92 |
+
|
93 |
+
// animation in the acknowledgements.qmd
|
94 |
+
#bismillah_Anim{
|
95 |
+
background-color: transparent;
|
96 |
+
}
|
97 |
+
|
98 |
+
#mosque_Anim{
|
99 |
+
background-color: transparent;
|
100 |
+
}
|
Web_Code/CSS/css_0.css
CHANGED
@@ -29,3 +29,5 @@
|
|
29 |
.modebar-btn--logo{
|
30 |
visibility: hidden;
|
31 |
}
|
|
|
|
|
|
29 |
.modebar-btn--logo{
|
30 |
visibility: hidden;
|
31 |
}
|
32 |
+
|
33 |
+
|
Web_Code/CSS/light.scss
CHANGED
@@ -78,4 +78,14 @@ h1, h2, h3, .header-section-number {
|
|
78 |
|
79 |
.gls{
|
80 |
color: black;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
}
|
|
|
78 |
|
79 |
.gls{
|
80 |
color: black;
|
81 |
+
}
|
82 |
+
|
83 |
+
|
84 |
+
// animation in the acknowledgements.qmd
|
85 |
+
#bismillah_Anim{
|
86 |
+
background-color: rgb(20, 218, 96);
|
87 |
+
}
|
88 |
+
|
89 |
+
#mosque_Anim{
|
90 |
+
background-color: transparent;
|
91 |
}
|
_extensions/shafayetShafee/collapse-callout/_extension.yml
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
title: Make the callout blocks collapsible on `html` output format
|
2 |
+
author: Shafayet Khan Shafee
|
3 |
+
version: 1.0.0
|
4 |
+
quarto-required: ">=1.2.0"
|
5 |
+
contributes:
|
6 |
+
filters:
|
7 |
+
- collapse-callout.lua
|
8 |
+
|
_extensions/shafayetShafee/collapse-callout/collapse-callout.lua
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
-- defining all possible callout types
|
2 |
+
local callouts_all = {
|
3 |
+
caution = 'callout-caution',
|
4 |
+
important = 'callout-important',
|
5 |
+
tip = 'callout-tip',
|
6 |
+
note = 'callout-note',
|
7 |
+
warning = 'callout-warning'
|
8 |
+
}
|
9 |
+
|
10 |
+
-- function for adding collapse attributes to callout divs
|
11 |
+
function collapse_callout(callouts, bool)
|
12 |
+
local callout_filter = {
|
13 |
+
Div = function(el)
|
14 |
+
for key, val in pairs(callouts) do
|
15 |
+
if el.classes:includes(val) then
|
16 |
+
if el.attributes["collapse"] == nil then
|
17 |
+
el.attributes["collapse"] = bool
|
18 |
+
return el
|
19 |
+
end
|
20 |
+
end
|
21 |
+
end
|
22 |
+
end
|
23 |
+
}
|
24 |
+
return callout_filter
|
25 |
+
end
|
26 |
+
|
27 |
+
-- make changes to input file if the format is html
|
28 |
+
if quarto.doc.isFormat("html:js") then
|
29 |
+
function Pandoc (doc)
|
30 |
+
local collapse = doc.meta['collapse-callout']
|
31 |
+
if not collapse then
|
32 |
+
return nil
|
33 |
+
end
|
34 |
+
|
35 |
+
if collapse.all == false then
|
36 |
+
return doc:walk(collapse_callout(callouts_all,'false'))
|
37 |
+
elseif collapse.all == true then
|
38 |
+
return doc:walk(collapse_callout(callouts_all, 'true'))
|
39 |
+
else
|
40 |
+
filtered_doc = doc
|
41 |
+
for k, v in pairs{"caution", "important", "tip", "note", "warning"} do
|
42 |
+
if collapse[v] == true then
|
43 |
+
filtered_doc = filtered_doc:walk(
|
44 |
+
collapse_callout({callouts_all[v]}, 'true')
|
45 |
+
)
|
46 |
+
elseif collapse[v] == false then
|
47 |
+
filtered_doc = filtered_doc:walk(
|
48 |
+
collapse_callout({callouts_all[v]}, 'false')
|
49 |
+
)
|
50 |
+
end
|
51 |
+
end
|
52 |
+
return filtered_doc
|
53 |
+
end
|
54 |
+
return nil
|
55 |
+
end
|
56 |
+
end
|
_extensions/toc_lof/_extension.yml
DELETED
@@ -1,8 +0,0 @@
|
|
1 |
-
title: Toc_lof
|
2 |
-
author: Javed
|
3 |
-
version: 1.0.0
|
4 |
-
quarto-required: ">=1.3.0"
|
5 |
-
contributes:
|
6 |
-
filters:
|
7 |
-
- toc_lof.lua
|
8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_extensions/toc_lof/toc_lof.lua
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
|
2 |
-
-- Reformat all heading text
|
3 |
-
function Header(el)
|
4 |
-
el.content = pandoc.Emph(el.content)
|
5 |
-
return el
|
6 |
-
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_quarto.yml
CHANGED
@@ -22,17 +22,23 @@ filters:
|
|
22 |
# https://github.com/schochastics/quarto-social-share :MIT
|
23 |
# - social-share
|
24 |
|
|
|
|
|
|
|
|
|
25 |
- Code/Gls/gls_Main.lua
|
26 |
# - Code/Lof/lof.lua
|
27 |
# - Lof
|
28 |
# - toc_lof
|
29 |
|
|
|
30 |
# see: https://github.com/quarto-ext/lightbox
|
31 |
lightbox:
|
32 |
match: auto
|
33 |
effect: zoom
|
34 |
desc-position: right
|
35 |
|
|
|
36 |
# https://github.com/sellorm/quarto-social-embeds :MIT
|
37 |
# share:
|
38 |
# permalink: "https://mr.schochastics.net/"
|
@@ -44,13 +50,18 @@ lightbox:
|
|
44 |
# tumblr: true
|
45 |
# linkedin: true
|
46 |
|
|
|
|
|
|
|
|
|
|
|
47 |
# see: https://quarto.org/docs/reference/formats/html.html#table-of-contents
|
48 |
-
toc-depth:
|
49 |
toc-location: right
|
50 |
|
51 |
|
52 |
# number-sections: false
|
53 |
-
number-depth:
|
54 |
|
55 |
crossref:
|
56 |
# see: https://quarto.org/docs/authoring/cross-references.html#options
|
@@ -120,7 +131,6 @@ cluster-based network modeling"
|
|
120 |
|
121 |
# testing purposes
|
122 |
# - trials.qmd
|
123 |
-
|
124 |
- Data/1_Writing/0_Deco/2_Thanks.qmd
|
125 |
- Data/1_Writing/0_Deco/1_Erkl.qmd
|
126 |
|
@@ -190,7 +200,13 @@ cluster-based network modeling"
|
|
190 |
chapters:
|
191 |
# -------------------------------- license ------------------------------- #
|
192 |
- Data/8_Add_2_Master/0_Add_2_Mast.qmd
|
193 |
-
- Data/
|
|
|
|
|
|
|
|
|
|
|
|
|
194 |
|
195 |
|
196 |
appendices:
|
@@ -226,6 +242,12 @@ format:
|
|
226 |
|
227 |
highlight-style: dracula
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
|
230 |
pdf:
|
231 |
documentclass: scrreprt
|
|
|
22 |
# https://github.com/schochastics/quarto-social-share :MIT
|
23 |
# - social-share
|
24 |
|
25 |
+
- collapse-callout
|
26 |
+
|
27 |
+
|
28 |
+
# own filter
|
29 |
- Code/Gls/gls_Main.lua
|
30 |
# - Code/Lof/lof.lua
|
31 |
# - Lof
|
32 |
# - toc_lof
|
33 |
|
34 |
+
|
35 |
# see: https://github.com/quarto-ext/lightbox
|
36 |
lightbox:
|
37 |
match: auto
|
38 |
effect: zoom
|
39 |
desc-position: right
|
40 |
|
41 |
+
|
42 |
# https://github.com/sellorm/quarto-social-embeds :MIT
|
43 |
# share:
|
44 |
# permalink: "https://mr.schochastics.net/"
|
|
|
50 |
# tumblr: true
|
51 |
# linkedin: true
|
52 |
|
53 |
+
collapse-callout:
|
54 |
+
all: true
|
55 |
+
callout-appearance: simple
|
56 |
+
callout-icon: true
|
57 |
+
|
58 |
# see: https://quarto.org/docs/reference/formats/html.html#table-of-contents
|
59 |
+
toc-depth: 3
|
60 |
toc-location: right
|
61 |
|
62 |
|
63 |
# number-sections: false
|
64 |
+
number-depth: 3
|
65 |
|
66 |
crossref:
|
67 |
# see: https://quarto.org/docs/authoring/cross-references.html#options
|
|
|
131 |
|
132 |
# testing purposes
|
133 |
# - trials.qmd
|
|
|
134 |
- Data/1_Writing/0_Deco/2_Thanks.qmd
|
135 |
- Data/1_Writing/0_Deco/1_Erkl.qmd
|
136 |
|
|
|
200 |
chapters:
|
201 |
# -------------------------------- license ------------------------------- #
|
202 |
- Data/8_Add_2_Master/0_Add_2_Mast.qmd
|
203 |
+
- Data/8_Add_2_Master/1_Master_Orig.qmd
|
204 |
+
- Data/8_Add_2_Master/2_About_Author.qmd
|
205 |
+
|
206 |
+
# ------------------------------------------------------------------------ #
|
207 |
+
- Data/10_Law/0_Mentioning.qmd
|
208 |
+
- Data/10_Law/1_License_Hippocratic.qmd
|
209 |
+
- Data/10_Law/2_Used_Licenses.qmd
|
210 |
|
211 |
|
212 |
appendices:
|
|
|
242 |
|
243 |
highlight-style: dracula
|
244 |
|
245 |
+
comments:
|
246 |
+
hypothesis: true
|
247 |
+
# giscus:
|
248 |
+
# repo: quarto-dev/quarto-docs
|
249 |
+
|
250 |
+
|
251 |
|
252 |
pdf:
|
253 |
documentclass: scrreprt
|
toc_lof/.gitignore
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
*.html
|
2 |
-
*.pdf
|
3 |
-
*_files/
|
4 |
-
/.luarc.json
|
|
|
|
|
|
|
|
|
|
toc_lof/README.md
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
# Toc_lof Extension For Quarto
|
2 |
-
|
3 |
-
_TODO_: Add a short description of your extension.
|
4 |
-
|
5 |
-
## Installing
|
6 |
-
|
7 |
-
_TODO_: Replace the `<github-organization>` with your GitHub organization.
|
8 |
-
|
9 |
-
```bash
|
10 |
-
quarto add <github-organization>/toc_lof
|
11 |
-
```
|
12 |
-
|
13 |
-
This will install the extension under the `_extensions` subdirectory.
|
14 |
-
If you're using version control, you will want to check in this directory.
|
15 |
-
|
16 |
-
## Using
|
17 |
-
|
18 |
-
_TODO_: Describe how to use your extension.
|
19 |
-
|
20 |
-
## Example
|
21 |
-
|
22 |
-
Here is the source code for a minimal example: [example.qmd](example.qmd).
|
23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
toc_lof/example.qmd
DELETED
@@ -1,11 +0,0 @@
|
|
1 |
-
---
|
2 |
-
title: "Toc_lof Example"
|
3 |
-
filters:
|
4 |
-
- toc_lof
|
5 |
-
---
|
6 |
-
|
7 |
-
## Heading
|
8 |
-
|
9 |
-
This filter adds formatting to heading text.
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trials.qmd
CHANGED
@@ -21,8 +21,20 @@ Intro reference: [-@sec-chap_1_Intro]\newline
|
|
21 |
chapter [-@sec-chap_1_Abc]\newline
|
22 |
|
23 |
|
|
|
|
|
|
|
|
|
24 |
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
# Chap Test {#sec-chap_2_Test}
|
27 |
Here is some more text
|
28 |
|
|
|
21 |
chapter [-@sec-chap_1_Abc]\newline
|
22 |
|
23 |
|
24 |
+
<!-- including images from github -->
|
25 |
+
<img src="https://raw.githubusercontent.com/jav-ed/Test_1/master/outp.svg">
|
26 |
+
<img src="https://huggingface.co/spaces/JavedA/master_Thesis/blob/main/Data/3_Figs_Pyth/outp.svg">
|
27 |
+
{#fig-fig_42}
|
28 |
|
29 |
|
30 |
+
<!-- hugging face -->
|
31 |
+
|
32 |
+
<img src="https://huggingface.co/spaces/JavedA/master_Thesis/blob/main/Data/3_Figs_Pyth/outp.svg">
|
33 |
+
|
34 |
+
<!-- the raw link works -->
|
35 |
+
<img src="https://huggingface.co/spaces/JavedA/master_Thesis/raw/main/Data/3_Figs_Pyth/outp.svg">
|
36 |
+
{#fig-fig_42}
|
37 |
+
|
38 |
# Chap Test {#sec-chap_2_Test}
|
39 |
Here is some more text
|
40 |
|