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:
parent
d55018f564
commit
fce90c0b36
@ -20,7 +20,7 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "DoulosSIL";
|
font-family: "DoulosSIL";
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url("../fonts/DoulosSIL-R.woff");
|
src: url("https://langue.phundrak.com/fonts/DoulosSIL-R.woff");
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra}
|
#+LATEX_HEADER_EXTRA: \usepackage{xltxtra}
|
||||||
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
|
#+LATEX_HEADER_EXTRA: \usepackage[total={17cm,24cm}]{geometry}
|
||||||
#+LATEX_HEADER_EXTRA: \setmainfont{Charis SIL}
|
#+LATEX_HEADER_EXTRA: \setmainfont{Charis SIL}
|
||||||
|
#+LATEX_HEADER_EXTRA: \usepackage{newunicodechar}
|
||||||
|
#+LATEX_HEADER_EXTRA: \newunicodechar{’}{'}
|
||||||
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
|
#+LATEX_HEADER_EXTRA: \usepackage{xcolor}
|
||||||
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
|
#+LATEX_HEADER_EXTRA: \usepackage{hyperref}
|
||||||
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
|
#+LATEX_HEADER_EXTRA: \hypersetup{colorlinks=true,linkbordercolor=red,linkcolor=blue,pdfborderstyle={/S/U/W 1}}
|
||||||
|
Reference in New Issue
Block a user