Doku: Titel pdf2md.py, Pfade auf Repo-Ordner pdf2md, git clone in der Installation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
906feb589d
commit
b8ad0310d0
2 changed files with 7 additions and 6 deletions
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue