Skip to content

Commit 71de817

Browse files
authored
Update latex.py
1 parent 004547f commit 71de817

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

  • sutta_publisher/src/sutta_publisher/edition_parsers

sutta_publisher/src/sutta_publisher/edition_parsers/latex.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,11 @@ def _append_footnote(self) -> str:
189189
_endnote = BeautifulSoup(self.endnotes.pop(0), "lxml")
190190
_contents = _endnote.p.contents if _endnote.p else _endnote.body.contents
191191
_data: str = self._process_contents(contents=_contents)
192-
if self.config.edition.publication_type == "hardcover":
193-
return ""
194-
else:
195-
return cast(str, Command("footnote", _data).dumps())
192+
return cast(str, Command("footnote", _data).dumps())
193+
# if self.config.edition.publication_type == "hardcover":
194+
# return ""
195+
# else:
196+
# return cast(str, Command("footnote", _data).dumps())
196197
else:
197198
return ""
198199

0 commit comments

Comments
 (0)