coolophon + README

This commit is contained in:
Julie Blanc 2026-05-27 22:30:01 +02:00
parent f980965c3f
commit 9aa815124f
8 changed files with 41 additions and 49 deletions

View file

@ -1,7 +1,20 @@
# Book
## PAndoc command line
## How to use
In VS Codium, install this extentions:
- Live Sass Compiler
- Live Server
Restart the VS Codium app.
In the bottom of the app, clic on "Whatch Sass" and "Go live".
## Pandoc command line
```
pandoc src/input.docx \
@ -10,4 +23,6 @@ pandoc src/input.docx \
--metadata-file=src/meta.yaml \
--template=template.html \
--output=index.html
```
```
Only to re-generate the PDF.

View file

@ -54,11 +54,9 @@ p, li{
#section__content blockquote{
// font-family: var(--font-quote);
// margin-left: var(--unit);
margin-left: calc(var(--unit)*0.5);
font-weight: 200;
// color: red;
// font-weight: 200;
}

View file

@ -107,7 +107,7 @@
.toc-element-level-2 a.toc-page-after::after,
.toc-element-level-3 a.toc-page-after::after,
.toc-element-level-4 a.toc-page-after::after{
font-size: var(--font-size);
font-size: var(--fs-small);
font-weight: normal;
}
.toc-element-level-5{
@ -139,45 +139,6 @@
}
// // color: red;
// ul{
// list-style-type: none;
// color: black;
// }
// .toc-element-level-1{
// margin-top: calc(var(--baseline)*1);
// margin-bottom: calc(var(--baseline)*0.5);
// font-size: 1.2rem;
// line-height: 1.2;
// }
// .toc-element-level-2{
// font-weight: bold;
// margin-top: calc(var(--baseline)*0.5);
// margin-bottom: calc(var(--baseline)*0.5);
// }
// .toc-element-level-3{
// text-indent: 5mm;
// }
// .toc-element-level-4{
// text-indent: 10mm;
// }
// .toc-element-level-5{
// text-indent: 15mm;
// }
// .toc-element-level-6{
// text-indent: 20mm;
// }

View file

@ -348,7 +348,6 @@ p, li {
#section__content blockquote {
margin-left: calc(var(--unit) * 0.5);
font-weight: 200;
}
.thesis {
@ -849,7 +848,7 @@ ol[type="1"] {
#section__toc .toc-element-level-2 a.toc-page-after::after,
#section__toc .toc-element-level-3 a.toc-page-after::after,
#section__toc .toc-element-level-4 a.toc-page-after::after {
font-size: var(--font-size);
font-size: var(--fs-small);
font-weight: normal;
}
#section__toc .toc-element-level-5 {

File diff suppressed because one or more lines are too long

View file

@ -41295,6 +41295,8 @@ abrufbar.</dd>
</section>
<section id="section__colophon">
</section>
</body>

View file

@ -10,6 +10,15 @@
{'label': 'Editor', 'text': 'Walter Boente'},
{'label': 'Text', 'text': 'Die Deutsche Nationalbibliothek verzeichnet diese Publikation in der Deutschen Nationalbibliographie; detaillierte bibliographische Daten sind im Internet über http://dnb.dnb.de abrufbar.'},
{'label': 'Licence', 'text': 'Creative Commons Namensnennung 4.0 International'}
],
'colophon': [
{'label': 'Graphic Design', 'text': 'Julie Blanc, with Studio Mini'},
{'label': 'Fonts', 'text': 'Moulin, by Sandrine Nugue'},
{'label': '', 'text': 'Made in HTML and CSS with Pandoc and Paged.js'},
{'label': 'Printer', 'text': 'xxxxx'},
{'label': 'Paper', 'text': 'xxxx'}
]

View file

@ -54,6 +54,14 @@
</section>
<section id="section__colophon">
$for(colophon-list)$
<dl>
<dt>$it.label$</dt>
<dd>$it.text$</dd>
</dl>
$endfor$
</section>
</body>