aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2021-05-22 18:18:52 +0200
committerRobert Alessi <alessi@robertalessi.net>2021-05-22 18:18:52 +0200
commit5a355afa958761229d6dbce5eae7dacbcf6c2e63 (patch)
tree0eca0391c0b97500e71dde05a87490c839a970d6
parent1c39d0666f1244dbed52af1de9ab6a6b3fb68600 (diff)
downloadarabluatex-master.tar.gz
use fontsetup until selecting NewCM by font name is possible againHEADmaster
-rw-r--r--arabluatex.dtx3
-rw-r--r--samples/al-Jahiz.tex3
2 files changed, 2 insertions, 4 deletions
diff --git a/arabluatex.dtx b/arabluatex.dtx
index 92e04df..22c5099 100644
--- a/arabluatex.dtx
+++ b/arabluatex.dtx
@@ -159,14 +159,13 @@
159\end{filecontents} 159\end{filecontents}
160\usepackage[letterpaper,margin=1.25in,left=50mm,nohead]{geometry} 160\usepackage[letterpaper,margin=1.25in,left=50mm,nohead]{geometry}
161\usepackage{fontspec} 161\usepackage{fontspec}
162\usepackage[default]{fontsetup}
162\defaultfontfeatures{Renderer=Harfbuzz} 163\defaultfontfeatures{Renderer=Harfbuzz}
163\usepackage[english]{babel} 164\usepackage[english]{babel}
164\usepackage{dox} 165\usepackage{dox}
165\doxitem{Option}{option}{options} 166\doxitem{Option}{option}{options}
166\usepackage{microtype} 167\usepackage{microtype}
167\babelfont{rm}{Old Standard} 168\babelfont{rm}{Old Standard}
168\babelfont{sf}{NewComputerModern Sans}
169\babelfont{tt}{NewComputerModern Mono}
170\usepackage{metalogox} 169\usepackage{metalogox}
171\usepackage{arabluatex}[2020/03/23] 170\usepackage{arabluatex}[2020/03/23]
172\SetArbUp{\textsuperscript{\thinspace#1}} % Old Standard needs this 171\SetArbUp{\textsuperscript{\thinspace#1}} % Old Standard needs this
diff --git a/samples/al-Jahiz.tex b/samples/al-Jahiz.tex
index 6c34bcc..74d8973 100644
--- a/samples/al-Jahiz.tex
+++ b/samples/al-Jahiz.tex
@@ -5,10 +5,9 @@
5% 5%
6\documentclass[fontsize=12pt, paper=letter, DIV=classic]{scrartcl} 6\documentclass[fontsize=12pt, paper=letter, DIV=classic]{scrartcl}
7\usepackage{fontspec} 7\usepackage{fontspec}
8\usepackage[default]{fontsetup}
8\usepackage[english]{babel} 9\usepackage[english]{babel}
9\babelfont{rm}{Old Standard} 10\babelfont{rm}{Old Standard}
10\babelfont{sf}{NewComputerModern Sans}
11\babelfont{tt}{NewComputerModern Mono}
12\usepackage{filecontents} 11\usepackage{filecontents}
13 12
14\usepackage{xcolor} 13\usepackage{xcolor}