Skip to content

danil-tolkachev/lingtrain_pandoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Usage

Install pandoc and panflute

sudo apt install pandoc
pip install --user panflute

For converting book use the command:

pandoc --filter lingtrain_filter.py --to plain --output my-book.txt my-book.fb2 # or my-book.epub

You can override some meta information by using this command:

pandoc --filter lingtrain_filter.py --to plain --output my-book.txt my-book.fb2 \
    --metadata=author:"Author Name" \
    --metadata=title:"Book Title" \
    --metadata=translator:"Translator Name"

Tested with Ubuntu 20.04, pandoc 2.13 and panflute 2.1.3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages