Skip to content

Commit

Permalink
documentation update, attempted to get pdflatex working but failed, u…
Browse files Browse the repository at this point in the history
…sing xelatex instead although readthedocs can't handle that yet
  • Loading branch information
proycon committed Mar 13, 2019
1 parent 28decf8 commit 8ac2ca3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Binary file modified docs/folia.pdf
Binary file not shown.
13 changes: 12 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,21 @@
# The font size ('10pt', '11pt' or '12pt').
#
# 'pointsize': '10pt',
#

'fontenc': r'\usepackage[LGR,T2A,T1]{fontenc}',

# Additional stuff for the LaTeX preamble.
#
'preamble': r'\setmainfont{Latin Modern Sans}', #in package otf-latin-modern on Arch Linux, fonts-lmodern on debian/ubuntu
'preamble': r"""
\usepackage{tipa}
\usepackage{iftex}
\ifXeTeX
\setmainfont{Latin Modern Sans}
\else
\renewcommand{\familydefault}{\sfdefault}
\fi
""", #in package otf-latin-modern on Arch Linux, fonts-lmodern on debian/ubuntu

# Latex figure (float) alignment
#
Expand Down

0 comments on commit 8ac2ca3

Please sign in to comment.