mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
User manual: Fix mart quotes and dashes not rendered in PDF version
Move to lualatex instead of pdflatex as the latex engine. Hopefully it doesnt break something else.
This commit is contained in:
parent
726adf2a8c
commit
cab955630c
@ -239,11 +239,13 @@ latex_documents = [(master_doc, 'calibre.tex', title, 'Kovid Goyal', 'manual', F
|
|||||||
# If false, no module index is generated.
|
# If false, no module index is generated.
|
||||||
# latex_use_modindex = True
|
# latex_use_modindex = True
|
||||||
|
|
||||||
|
# we use lualatex as it is actively maintained and pdflatex and xelatex fail
|
||||||
|
# to render smart quotes and dashes
|
||||||
|
latex_engine = 'lualatex'
|
||||||
latex_logo = 'resources/logo.png'
|
latex_logo = 'resources/logo.png'
|
||||||
latex_show_pagerefs = True
|
latex_show_pagerefs = True
|
||||||
latex_show_urls = 'footnote'
|
latex_show_urls = 'footnote'
|
||||||
latex_elements = {
|
latex_elements = {
|
||||||
'papersize':'letterpaper',
|
'papersize':'letterpaper',
|
||||||
'fontenc':r'\usepackage[T2A,T1]{fontenc}',
|
|
||||||
'preamble': r'\renewcommand{\pageautorefname}{%s}' % _('page'),
|
'preamble': r'\renewcommand{\pageautorefname}{%s}' % _('page'),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user