Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| info:asciidoc:homepage [2020/03/14 12:11] – [Generate EPUB Ebooks from Markdown Files with Bash PubKit] radeff | info:asciidoc:homepage [2024/08/28 09:18] (Version actuelle) – radeff | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Asciidoc ====== | ====== Asciidoc ====== | ||
| - | {{tag> | + | {{tag> |
| Asciidoc est un langage de balisage léger. C'est aussi le nom de la suite logicielle qui permet de transformer les fichiers "texte source" | Asciidoc est un langage de balisage léger. C'est aussi le nom de la suite logicielle qui permet de transformer les fichiers "texte source" | ||
| Ligne 10: | Ligne 10: | ||
| source: https:// | source: https:// | ||
| - | + | official website: | |
| - | + | ||
| - | official website: | + | |
| <note tip> | <note tip> | ||
| Ligne 22: | Ligne 20: | ||
| * le " | * le " | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| </ | </ | ||
| - | http://www.methods.co.nz/ | + | https://asciidoc-py.github.io/ |
| < | < | ||
| < | < | ||
| </ | </ | ||
| - | ====== Documentation et outils asciidoc | + | ====== Documentation et outils asciidoc |
| {{namespace>: | {{namespace>: | ||
| + | * https:// | ||
| + | * [[https:// | ||
| + | ====== Astuces ====== | ||
| + | paragraphe: 2 sauts de ligne | ||
| + | simple saut de ligne: un espace au début de la ligne | ||
| ==== Avec pandoc ==== | ==== Avec pandoc ==== | ||
| [[: | [[: | ||
| Ligne 40: | Ligne 44: | ||
| https:// | https:// | ||
| + | [[Césures]] | ||
| - | ===== Exemple de script fait par mapomme ===== | ||
| - | <code bash> | ||
| - | #! / | ||
| - | |||
| - | ########################################################################### | ||
| - | # | ||
| - | # # | ||
| - | # | ||
| - | # # | ||
| - | # Copyright (C) 2018 Fred Radeff < | ||
| - | # # | ||
| - | # | ||
| - | # This program is free software; you can redistribute it and/or modify | ||
| - | # it under the terms of the GNU General Public License as published by # | ||
| - | # the Free Software Foundation; either version 2 of the License, or # | ||
| - | # (at your option) any later version. | ||
| - | # # | ||
| - | # This program is distributed in the hope that it will be useful, | ||
| - | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | ||
| - | # | ||
| - | # GNU General Public License for more details. | ||
| - | # # | ||
| - | # You should have received a copy of the GNU General Public License | ||
| - | # along with this program. If not, see < | ||
| - | # # | ||
| - | ########################################################################### | ||
| - | |||
| - | chemin=/ | ||
| - | livre=book | ||
| - | |||
| - | echo " | ||
| - | rm $livre.html | ||
| - | rm $livre.epub | ||
| - | rm $livre.odt | ||
| - | rm $livre.pdf | ||
| - | echo " | ||
| - | # | ||
| - | #no toc | ||
| - | asciidoctor --attribute stylesheet=asciidoctor.css $livre.adoc | ||
| - | #exit | ||
| - | echo " | ||
| - | |||
| - | pandoc -s $livre.html -t epub3 -o $livre.epub | ||
| - | echo " | ||
| - | pandoc -c print.css $livre.html --variable=fontfamily: | ||
| - | |||
| - | echo " | ||
| - | pandoc | ||
| - | </ | ||