diff --git a/BEDIENUNGSANLEITUNG.md b/BEDIENUNGSANLEITUNG.md index 298927b..c7496a6 100644 --- a/BEDIENUNGSANLEITUNG.md +++ b/BEDIENUNGSANLEITUNG.md @@ -21,7 +21,8 @@ Einmalig unter Ubuntu 24.04: ```bash sudo apt install tesseract-ocr tesseract-ocr-deu pandoc -cd ~/Downloads/ljutsch +git clone https://kitux.de/forgejo/dschlueter/pdf2md.git +cd pdf2md # Ordner des Repos pip install -r requirements.txt ``` @@ -41,7 +42,7 @@ python3 pdf2md.py --help # zeigt alle Optionen ## 2. Weg A – PDF → EPUB in einem Schritt ```bash -cd ~/Downloads/ljutsch +cd pdf2md # Ordner des Repos python3 pdf2md.py --epub Operation_Ljutsch_Band_1_-_Reinhard_Otto_Kranz.pdf Output/band1.md ``` @@ -86,7 +87,7 @@ Wie bei Weg A, also **mit** `--epub`. So entstehen gleich das Cover (`cover.jpg` EPUB zum Vergleichen: ```bash -cd ~/Downloads/ljutsch +cd pdf2md # Ordner des Repos python3 pdf2md.py --epub Operation_Ljutsch_Band_1_-_Reinhard_Otto_Kranz.pdf Output/band1.md ``` @@ -155,7 +156,7 @@ Am nächsten Morgen ... ### Schritt 3: EPUB aus dem bearbeiteten Markdown erzeugen ```bash -cd ~/Downloads/ljutsch +cd pdf2md # Ordner des Repos python3 pdf2md.py --from-md Output/band1.md ``` @@ -172,7 +173,7 @@ Dateinamen. ## 4. Weg C – Teile oder Kapitel als Einzeldateien ```bash -cd ~/Downloads/ljutsch +cd pdf2md # Ordner des Repos python3 pdf2md.py --epub --split kapitel Operation_Ljutsch_Band_1_-_Reinhard_Otto_Kranz.pdf Output/band1.md ``` diff --git a/README.md b/README.md index a47f034..2fef8f2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ljutsch – PDF → Markdown → EPUB +# pdf2md.py – PDF → Markdown → EPUB Werkzeug, um PDF-Bücher in sauberes Markdown und anschließend in ein EPUB für den PocketBook-Reader umzuwandeln – mit Überschriften, Bildern und echten Absätzen. Funktioniert