Commit 96d7063a authored by Matthew Hunt's avatar Matthew Hunt Committed by Glenn Walbran

Update latex build to use OpenSans font

parent dc867926
......@@ -203,7 +203,7 @@ latex_logo = 'mahara/static/mahara-latex.png'
latex_use_parts = False
LATEX_MAINFONT = 'FreeSerif'
LATEX_MAINFONT = 'OpenSans'
LATEX_BABEL = '\\usepackage{babel}'
LATEX_TITLE = "Mahara user manual"
LATEX_AUTHOR = "Catalyst IT and others"
......@@ -242,11 +242,13 @@ LATEX_PREAMBLE = '''
\\usepackage{verbatim}
\\usepackage{url}
\\usepackage{fontspec}
\\setmainfont{%s}
\\usepackage{opensans}
\\usepackage{sectsty}
\\setmainfont{%(font)s}
\\usepackage{amsmath}
\\usepackage{amsfonts}
\\usepackage{xunicode}
''' % (LATEX_MAINFONT)
''' % {'font': LATEX_MAINFONT}
latex_elements = {
'papersize': 'a4',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment