diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-11-22 12:18:45 +0100 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-11-22 12:18:45 +0100 |
commit | be2daca9e4a80145927bd1f9c4e597530b643cdf (patch) | |
tree | 0384c3d5662a910bc76c2d159c8bff8931b282d8 | |
parent | 87d9ce8949eeb7d424d887f9545decfc08fa0bed (diff) | |
download | arabluatex-be2daca9e4a80145927bd1f9c4e597530b643cdf.tar.gz |
load fontspec before babel
-rw-r--r-- | arabluatex.dtx | 2 | ||||
-rw-r--r-- | samples/al-Jahiz.tex | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx index 3cef2b3..423583f 100644 --- a/arabluatex.dtx +++ b/arabluatex.dtx | |||
@@ -147,10 +147,10 @@ | |||
147 | location = {London -- Edinburgh} | 147 | location = {London -- Edinburgh} |
148 | } | 148 | } |
149 | \end{filecontents} | 149 | \end{filecontents} |
150 | \usepackage{fontspec} | ||
150 | \usepackage[english]{babel} | 151 | \usepackage[english]{babel} |
151 | \usepackage{dox} | 152 | \usepackage{dox} |
152 | \doxitem{Option}{option}{options} | 153 | \doxitem{Option}{option}{options} |
153 | \usepackage{fontspec} | ||
154 | \usepackage{microtype} | 154 | \usepackage{microtype} |
155 | \babelfont{rm}{Old Standard} | 155 | \babelfont{rm}{Old Standard} |
156 | \babelfont{sf}{NewComputerModern Sans} | 156 | \babelfont{sf}{NewComputerModern Sans} |
diff --git a/samples/al-Jahiz.tex b/samples/al-Jahiz.tex index 49a52f8..6c34bcc 100644 --- a/samples/al-Jahiz.tex +++ b/samples/al-Jahiz.tex | |||
@@ -4,9 +4,11 @@ | |||
4 | % 'lualatex --shell-escape al-Jahiz' | 4 | % 'lualatex --shell-escape al-Jahiz' |
5 | % | 5 | % |
6 | \documentclass[fontsize=12pt, paper=letter, DIV=classic]{scrartcl} | 6 | \documentclass[fontsize=12pt, paper=letter, DIV=classic]{scrartcl} |
7 | \usepackage[english]{babel} | ||
8 | \usepackage{fontspec} | 7 | \usepackage{fontspec} |
8 | \usepackage[english]{babel} | ||
9 | \babelfont{rm}{Old Standard} | 9 | \babelfont{rm}{Old Standard} |
10 | \babelfont{sf}{NewComputerModern Sans} | ||
11 | \babelfont{tt}{NewComputerModern Mono} | ||
10 | \usepackage{filecontents} | 12 | \usepackage{filecontents} |
11 | 13 | ||
12 | \usepackage{xcolor} | 14 | \usepackage{xcolor} |