Fixed issues with CSS and LaTeX

Font was loaded from a relative path, now absolute path.

The typographic apostrophe used in LaTeX source code doesn’t translate
well to PDF, so I made sure every typographic apostrophe gets
translated to a regular one so LaTeX isn’t panicking.
This commit is contained in:
2020-01-08 16:02:47 +01:00
parent d55018f564
commit fce90c0b36
2 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,8 @@
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra}
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
#+LATEX_HEADER_EXTRA: \setmainfont{Charis SIL}
#+LATEX_HEADER_EXTRA: \usepackage{newunicodechar}
#+LATEX_HEADER_EXTRA: \newunicodechar{}{'}
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}