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:
Lucien Cartier-Tilet 2020-01-08 16:02:47 +01:00
parent d55018f564
commit fce90c0b36
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,7 @@
@font-face {
font-family: "DoulosSIL";
font-display: swap;
src: url("../fonts/DoulosSIL-R.woff");
src: url("https://langue.phundrak.com/fonts/DoulosSIL-R.woff");
}
@font-face {

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}}