up script conversion

This commit is contained in:
tykayn 2021-01-11 23:36:52 +01:00 committed by Baptiste Lemoine
parent 2587380ad3
commit 5ef7c27416
3 changed files with 17 additions and 13 deletions

View File

@ -35,18 +35,12 @@ pandoc --standalone build/toutes_les_pages.md -o build/toutes_les_pages.html
#firefox "$PWD/build/mon_ebook.html" #firefox "$PWD/build/mon_ebook.html"
### add ebook conversion ### add ebook conversion
# #
#ebook-convert build/mon_ebook_fr.html build/mon_ebook_fr.mobi ebook-convert build/toutes_les_pages.html build/mon_ebook.mobi
#ebook-convert build/mon_ebook_en.html build/mon_ebook_en.mobi ebook-convert build/toutes_les_pages.html build/mon_ebook.fb2
#ebook-convert build/mon_ebook_fr.html build/mon_ebook_fr.fb2 ebook-convert build/toutes_les_pages.html build/mon_ebook.epub
#ebook-convert build/mon_ebook_en.html build/mon_ebook_en.fb2
#ebook-convert build/mon_ebook_fr.html build/mon_ebook_fr.epub
#ebook-convert build/mon_ebook_en.html build/mon_ebook_en.epub
echo " " echo "===== générés: "
echo "===== ok pour la génération d'ebooks"
ls -lArth build ls -lArth build
echo " "
echo "===== ok pour la génération d'ebooks, vous pouvez les ouvrir dans Firefox ou votre lecteur d'ebook préféré"
# clean fichiers temporaires echo " "

View File

@ -1,3 +1,4 @@
Mon livre Mon livre
=== ===

View File

@ -1,3 +1,12 @@
---
title: mon titre d'ebook
author:
- tykayn
- second author
published: true
...
résumé du livre résumé du livre
--- ---