Skip to content

vdimir/fb2tex_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fb2tex_template

This project provides a LaTeX template for converting FB2 (FictionBook 2) files to a well-formatted PDF.

How to Run

  1. Convert FB2 to LaTeX

    pandoc --from=fb2 --to=latex --output=karamazov.tex karamazov.fb2
  2. Modify the LaTeX File

    sed -i -e 's/subsection/section/g' karamazov.tex
    sed -i -e 's/--/—/g' karamazov.tex
  3. Build the Docker Image

    docker build -t latex-env docker
  4. Compile the LaTeX File

    docker run --rm -v $(pwd)/tex:/work -w /work latex-env xelatex main.tex

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published