Mise en forme PDF

Numérotation des titres (niveaux 1 et 2)
L'avant propos n'est pas numéroté (et n'apparait pas dans la table des matières)
Le titre principal du document n'est pas un niveau de titre normal
Mise en forme de la première page
This commit is contained in:
Youen 2023-05-11 02:09:29 +02:00
parent 0d60536dd5
commit 995daaeff9
5 changed files with 94 additions and 32 deletions

View file

@ -1,52 +1,42 @@
# Plan général
## Côté droit
```{image} img/vues-generales/01.svg
:alt: Côté droit
:align: center
```
## Côté gauche
<p>&nbsp;</p>
```{image} img/vues-generales/02.svg
:alt: Côté gauche
:align: center
```
## Avant/Arrière
```{image} img/vues-generales/03.svg
:alt: Avant/arrière
:align: center
```
## Dessus/dessous
<p>&nbsp;</p>
```{image} img/vues-generales/04.svg
:alt: Dessus/dessous
:align: center
```
## Coupe longitudinale
```{image} img/vues-generales/05.svg
:alt: Coupe longitudinale
:align: center
```
## Coupes transversales
<p>&nbsp;</p>
```{image} img/vues-generales/06.svg
:alt: Coupes transversales
:align: center
```
## Coupe en altimétrie
```{image} img/vues-generales/07.svg
:alt: Coupe en altimetrie
:align: center
```

View file

@ -35,7 +35,43 @@
}
}
h2 {
div[role=navigation], .headerlink {
display: none;
}
.document-title {
width: 100%;
color: #fbbb15;
text-align: center;
font-size: 5em !important;
border-top: 2px solid black;
border-bottom: 2px solid black;
line-height: 1.2;
font-weight: bold;
}
.document-subtitle {
text-align: center;
font-size: 1.5em;
margin-top: 30px;
margin-bottom: 30px;
}
.title-page-footer {
text-align: center;
font-size: 1.2em !important;
margin-top: 30px;
}
/* displayed as a title, but doesn't count in numbering and doesn't appear in TOC */
.fake-title {
font-weight: 700;
font-size: 175% !important;
font-family: Roboto Slab,ff-tisa-web-pro,Georgia,Arial,sans-serif;
break-before: always;
}
h1 {
break-before: always;
}
@ -55,3 +91,22 @@ h2 {
.resized {
width: 550px;
}
/* Automatic title numbering */
body {
counter-reset: h1
}
h1 {
counter-reset: h2
}
h1:before {
counter-increment: h1;
content: counter(h1) ". "
}
h2:before {
counter-increment: h2;
content: counter(h1) "." counter(h2) ". "
}

View file

@ -1,20 +1,22 @@
Bienvenue dans la documentation Vhéliotech
===================================
Guide de montage Version 1.0.0 - Mai 2023
<div class="document-title">vhéliotech</div>
<div class="document-subtitle">Guide de montage Version 1.0.0 - Mai 2023</div>
```{image} img/vhelio.png
:alt: Vue vhélio perspective
:align: center
:width: 500px
```
```{image} img/vhelio_logo.png
:alt: Logo vhélio
:align: center
:width: 200px
:width: 450px
```
<h2>Avant propos <a class="headerlink" href="#avant-propos" title="Permalink to this heading"></a></h2>
<p class="title-page-footer">Association Vélo solaire pour tous<br/><a href="https://www.vhelio.org">www.vhelio.org</a></p>
<section class="tex2jax_ignore mathjax_ignore" id="avant-propos">
<p class="fake-title">Avant propos</p>
Le projet vhélio est collaboratif (amélioration continue grâce aux contributions de tous). Lobjet vhéliotech et le présent document constituent la première version définitive du vhéliotech, mais l'objet est voué à évoluer continuellement. Vous êtes invités à faire part de vos retours/expériences/propositions daméliorations sur le [forum](https://communaute.vhelio.org) ainsi que sur le [dépôt officiel de la documentation](https://git.vhelio.org/vhelio/vheliotech-guide-de-montage)
@ -38,7 +40,8 @@ En effet, depuis septembre 2020, la communauté sorganise et révèle daut
LADN du projet vhéliotech décrit en détails, [sur ce lien](https://vhelio.org/le-projet-et-ses-valeurs/), les enjeux et objectifs du projet.
Copyright Vélo Solaire Pour Tous, Mai 2023, sous [licence CERN-OHL-S version 2](https://ohwr.org/cern_ohl_s_v2.txt)
</section>
```{toctree}
010_documentation
020_moyens_necessaires