Dokumentation

This commit is contained in:
Peter 2017-03-08 11:30:40 +01:00
parent 903d73e23b
commit 9e4815fb38
Signed by: pludi
GPG Key ID: CFBA360E696EDC99
2 changed files with 22 additions and 2 deletions

20
README.md Normal file
View File

@ -0,0 +1,20 @@
README
======
Dieses Repo enthält verschiedene Gesetzestexte im Markdown-Format (mit [Extras](http://pandoc.org/MANUAL.html#extension-fancy_lists)), plus Makefiles zur Erstellung von Formaten wie [EPUB](https://de.wikipedia.org/wiki/EPUB) und [MOBI](https://de.wikipedia.org/wiki/Mobipocket).
Vorhandene Texte
----------------
- dsgvo: [EU-Datenschutz-Grundverordnung](http://eur-lex.europa.eu/legal-content/DE/TXT/?uri=CELEX:32016R0679)
Geplante Texte
--------------
- dsg2000: [Datenschutzgesetz 2000](https://www.ris.bka.gv.at/GeltendeFassung.wxe?Abfrage=bundesnormen&Gesetzesnummer=10001597)
Benötigte Software
------------------
- [Pandoc](http://pandoc.org/)
- [Kindlegen](https://www.amazon.com/gp/feature.html?docId=1000765211) für MOBI

View File

@ -15,11 +15,11 @@ INPUT += ch11/ch11.md $(sort $(wildcard ch11/ch11-art??.md))
all: $(OUTPUT)
$(OUTPUT): $(INPUT) $(META)
pandoc -f markdown+footnotes+fancy_lists -t epub3 -o $(OUTPUT) --smart --toc \
pandoc -f markdown+fancy_lists -t epub3 -o $(OUTPUT) --smart --toc \
--toc-depth=2 --epub-chapter-level=2 $(META) $(INPUT)
mobi: $(OUTPUT)
/home/lup/Downloads/kindlegen/kindlegen $(OUTPUT) -c2 -o $(OUTPUT:.epub=.mobi)
kindlegen $(OUTPUT) -c2 -o $(OUTPUT:.epub=.mobi)
clean: