info:asciidoc:homepage

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

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] radeffinfo:asciidoc:homepage [2024/08/28 09:18] (Version actuelle) radeff
Ligne 1: Ligne 1:
 ====== Asciidoc ====== ====== Asciidoc ======
-{{tag>markdown epub}}+{{tag>markdown epub asciidoc}}
  
 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" en documents publiables. 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" en documents publiables.
Ligne 10: Ligne 10:
 source: https://fr.wikipedia.org/wiki/Asciidoc source: https://fr.wikipedia.org/wiki/Asciidoc
  
- +official website: https://asciidoc-py.github.io/index.html
- +
-official website: http://www.methods.co.nz/asciidoc/+
  
 <note tip> <note tip>
Ligne 22: Ligne 20:
   * le "couteau suisse", [[info:pandoc|pandoc]]   * le "couteau suisse", [[info:pandoc|pandoc]]
   * [[https://www.youtube.com/watch?v=1rKgVF5CEEY|Hubert Sablonnière, Documentation as code (expliqué à mon père)]] (vidéo)   * [[https://www.youtube.com/watch?v=1rKgVF5CEEY|Hubert Sablonnière, Documentation as code (expliqué à mon père)]] (vidéo)
 +  * [[https://blog.oxiane.com/2018/06/13/asciidoc-documentation-as-code/|AsciiDoc : documentation as code]] (en français malgré le titre)
   * [[https://itsfoss.com/asciidoc-guide/|Complete Guide for Using AsciiDoc in Linux, by Sylvain Leroux]]   * [[https://itsfoss.com/asciidoc-guide/|Complete Guide for Using AsciiDoc in Linux, by Sylvain Leroux]]
 </note>  </note> 
  
-http://www.methods.co.nz/asciidoc/userguide.html+https://asciidoc-py.github.io/userguide.html
  
 <html> <html>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/1rKgVF5CEEY" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>  <iframe width="560" height="315" src="https://www.youtube.com/embed/1rKgVF5CEEY" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>
 </html> </html>
-====== Documentation et outils asciidoc sur ce wiki ======+====== Documentation et outils asciidoc  ======
 {{namespace>:info:asciidoc:&linkonly&title}} {{namespace>:info:asciidoc:&linkonly&title}}
  
 +  * https://asciidoc-py.github.io/
 +  * [[https://powerman.name/doc/asciidoc|cheatsheet]]
 +====== Astuces ======
 +paragraphe: 2 sauts de ligne
  
 +simple saut de ligne: un espace au début de la ligne
 ==== Avec pandoc ==== ==== Avec pandoc ====
 [[:info:pandoc#utiliser_pandoc_pour_generer_du_pdf_depuis_asciidoc]] [[:info:pandoc#utiliser_pandoc_pour_generer_du_pdf_depuis_asciidoc]]
Ligne 40: Ligne 44:
 https://github.com/asciidoctor/asciidoctor/issues https://github.com/asciidoctor/asciidoctor/issues
  
 +[[Césures]]
  
  
-===== Exemple de script fait par mapomme ===== 
-<code bash> 
-#! /usr/bin/bash 
- 
-########################################################################### 
-#   Script to generate html, pdf and odt from an asciidoc                 # 
-#                                                                         # 
-#   Copyright information                                                 # 
-#                                                                         # 
-# Copyright (C) 2018 Fred Radeff <fradeff@akademia.ch>              # 
-#                                                                         # 
-#   License                                                               # 
-#   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        # 
-#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the          # 
-#   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 <http://www.gnu.org/licenses/> # 
-#                                                                         # 
-########################################################################### 
- 
-chemin=/home/radeff/ebooks/polars/Radeff_Fred_polars/Funkei/ 
-livre=book 
- 
-echo "destroy old versions" 
-rm $livre.html 
-rm $livre.epub 
-rm $livre.odt 
-rm $livre.pdf 
-echo "create html5 " $livre.html 
-#asciidoctor -a toc --attribute stylesheet=asciidoctor.css $livre.adoc 
-#no toc 
-asciidoctor --attribute stylesheet=asciidoctor.css $livre.adoc 
-#exit 
-echo "create epub " $livre.epub 
- 
-pandoc -s $livre.html -t epub3 -o $livre.epub 
-echo "create pdf " $livre.pdf 
-pandoc -c print.css $livre.html --variable=fontfamily:arev --latex-engine=xelatex -o $livre.pdf 
- 
-echo "create odt " $livre.odt 
-pandoc  --base-header-level=3 -V date:"" -V title:"" -f html $livre.html -o $livre.odt 
-</code> 
  • info/asciidoc/homepage.1584184315.txt.gz
  • Dernière modification : 2020/03/14 12:11
  • de radeff