Skip to content

Commit

Permalink
fixing #170
Browse files Browse the repository at this point in the history
  • Loading branch information
entorb committed Jul 13, 2024
1 parent dee9d3f commit c622d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions scripts/ebook/hpmor-ebook.tex
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
\renewcommand{\headline}[1]{\begin{center}\textcolor{headline}{#1}\end{center}}
\renewcommand{\inlineheadline}[1]{\textcolor{headline}{#1}}
\renewcommand{\newspaperHeader}[1]{#1}
\renewcommand{\hplettrineextrapara}[0]{}

\include{chapters/hpmor-chapter-000}
\part{Harry James Potter-Evans-Verres and the Methods of Rationality}
Expand Down
5 changes: 1 addition & 4 deletions scripts/ebook/step_3.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,7 @@
)

# some cleanup
# TODO: removed when switching to Ubuntu >= 23.04,
# since it let to a problem
# in line 31 of tmp/hpmor-epub-3-flatten-mod.tex
# cont = cont.replace("\\hplettrineextrapara", "")
cont = cont.replace("\\hplettrineextrapara\n", "")

# additional linebreaks in verses of chapter 64
cont = cont.replace("\\\\\n\n", "\n\n")
Expand Down

0 comments on commit c622d73

Please sign in to comment.