Add LaTeX templates: novel, kdp-trade, poetry, textbook, childrens

This commit is contained in:
Solaria
2026-03-14 17:10:11 +00:00
parent b809713a52
commit 35d7b1ff08
6 changed files with 582 additions and 3 deletions
+8 -3
View File
@@ -45,9 +45,14 @@ class LaTeXExporter:
"""Export manuscript to LaTeX and compile to PDF."""
TEMPLATES = {
"memoir": "memoir.tex",
"academic": "academic.tex",
"base": "base.tex",
"novel": "novel.tex", # General fiction
"memoir": "memoir.tex", # Memoir/personal narrative
"kdp-trade": "kdp-trade.tex", # KDP 5.5x8.5
"academic": "academic.tex", # Academic/technical
"textbook": "textbook.tex", # Textbook with exercises
"poetry": "poetry.tex", # Poetry collections
"childrens": "childrens.tex", # Picture books
"base": "base.tex", # Basic template
}
def __init__(self, template_dir: Optional[str] = None):