]> Lady’s Gitweb - OldStandard/blob - oldstandard.tex
new hlig lookup table with omicron+upsilon as first ligature
[OldStandard] / oldstandard.tex
1 % arara: lualatex: { shell: yes }
2 % arara: biber
3 % arara: lualatex: { shell: yes }
4 % arara: lualatex: { shell: yes }
5 \RequirePackage{filecontents}
6 \begin{filecontents*}{\jobname.bib}
7 @software{arabluatex,
8 title = {The arabluatex package},
9 titleaddon = {Arab\TeX\ for Lua\LaTeX},
10 author = {Alessi, Robert},
11 url = {https://ctan.org/pkg/arabluatex},
12 version = {1.17}
13 }
14 @software{babel,
15 title = {The Babel package},
16 titleaddon = {Multilingual support for Plain TeX or LaTeX},
17 author = {Bezos López, Javier and Braams, Johannes L.},
18 url = {http://www.ctan.org/pkg/babel},
19 version = {3.33}
20 }
21 @software{oldstandard,
22 title = {The OldStandard package},
23 titleaddon = {Old Standard: A Unicode Font for Classical and
24 Medieval Studies},
25 author = {Kryukov, Alexey},
26 editor = {Lečić, Nikola and Tennent, Bob},
27 editortype = {compiler},
28 url = {http://www.ctan.org/pkg/oldstandard},
29 version = {2.3}
30 }
31 \end{filecontents*}
32 \documentclass[letterpaper]{article}
33 \usepackage{fontspec}
34 \usepackage[default]{fontsetup}
35 \usepackage[greek.ancient,english]{babel}
36 \babeltags{grc = greek}
37
38 \babelfont{rm}{Old Standard}
39 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06}]{Old Standard}
40
41 \newlength\defaultparindent
42 \setlength\defaultparindent{\parindent}
43 \usepackage{dtxdescribe}
44 \setlength\parindent{\defaultparindent}
45
46 \usepackage[xindy]{imakeidx}
47 \indexsetup{noclearpage}
48 \makeindex
49
50 \usepackage{latexcolors}
51 \usepackage{csquotes}
52 \usepackage{varioref}
53 \usepackage{hyperref}
54 \hypersetup{unicode=true, linktocpage=true, colorlinks,
55 allcolors=cinnamon, pdfauthor={Robert Alessi}, pdftitle={Old
56 Standard}}
57 \usepackage{uri}
58
59 \usepackage{enumitem}
60 \setlist{nosep}
61 \setlist[itemize]{label=\textendash}
62 \setlist[enumerate,1]{label=(\alph*)}
63 \setlist[enumerate,2]{label=\roman*.}
64 \usepackage{metalogox}
65 \usepackage{lettrine}
66 \usepackage{setspace}
67
68 \usepackage{relsize}
69 \usepackage{tikz}
70 \usepackage[breakable, skins, xparse, minted]{tcolorbox}
71 \tcbset{colback=white, boxrule=.15mm, colframe=cinnamon, breakable}
72 \newtcblisting{example}{minted options={linenos, numbersep=0mm,
73 fontsize=\smaller}}
74 \newtcblisting{code}{minted options={linenos, numbersep=0mm,
75 fontsize=\smaller}, listing only}
76
77 \usepackage[fullvoc]{arabluatex}
78 \usepackage[style=oxnotes-inote]{biblatex}
79 \DeclareFieldFormat{postnote}{\mkpageprefix[pagination][\mknormrange]{#1}}
80 \addbibresource{oldstandard.bib}
81 \usepackage[citecmd=autocite,defaultindex=none]{icite}
82 \bibinput{oldstandard}
83
84 \usepackage{cleveref}
85
86 \usepackage[toc]{multitoc}
87
88 \edef\pkgver{2.6}
89 \edef\pkgdate{2020/12/18}
90 \title{\mdseries\tcbox[colframe=black, enhanced, tikznode, drop
91 lifted shadow, colback=white, boxrule=.25mm]%
92 {\textsc{Old Standard}\\
93 \Large
94 A Unicode Font for Classical and Medieval Studies\\
95 \large Based on Alexey Kryukov's original \emph{Old Standard}\\
96 \large v\pkgver -- \pkgdate}}
97
98 \author{Robert Alessi \\
99 \href{mailto:alessi@robertalessi.net?Subject=OldStandard package}%
100 {\texttt{alessi@robertalessi.net}}}
101 \date{}
102
103 \begin{document}
104 \maketitle
105 \footnotesize
106 \tableofcontents
107 \normalsize
108
109 \begin{abstract}
110 This font is just the same as Alexey Kryukov's beautiful \emph{Old
111 Standard}. In comparison to the previous releases of \emph{Old
112 Standard}, it includes new letters and some corrections.
113 \end{abstract}
114
115 \section{License}
116 \label{sec:license}
117 Copyright \textcopyright\ 2006--2011, Alexey Kryukov
118 (\href{mailto:amkryukov@gmail.com}{amkryukov@gmail.com}), without
119 Reserved Font Names.
120 \\
121 Copyright \textcopyright\ 2019--2020, Robert Alessi
122 (\href{mailto:alessi@robertalessi.net}{alessi@robertalessi.net}), without
123 Reserved Font Names.
124
125 Please send error reports and suggestions for improvements to Robert
126 Alessi:
127 \begin{itemize}
128 \item email: \mailto[oldstandard package]{alessi@roberalessi.net}
129 \item website: \url{http://git.robertalessi.net/oldstandard/about}
130 \item development: \url{http://git.robertalessi.net/oldstandard}
131 \item comments, feature requests, bug reports:
132 \url{https://gitlab.com/ralessi/oldstandard/issues}
133 \end{itemize}
134
135 This Font Software is licensed under the SIL Open Font License,
136 Version 1.1. This license is available with a FAQ at:
137 \url{http://scripts.sil.org/OFL}
138
139 \section{Documentation}
140 \label{sec:documentation}
141 No documentation is associated with this release of \emph{Old
142 Standard} as every item of the original extensive documentation
143 applies. The reader should refer to the documentation edited for CTAN
144 by Bob Tennent:\icite{oldstandard}
145 \begin{itemize}
146 \item
147 \href{http://mirrors.ctan.org/fonts/oldstandard/doc/oldstand-manual.pdf}%
148 {Original manual (online version)}
149 \item \href{oldstand-manual.pdf}{Original manual (local version
150 included in {\TeX}Live)}
151 \end{itemize}
152
153 \emph{Old Standard} also has its reference web page:
154 \uref{https://web.archive.org/web/20190926123235/http://thessalonica.org.ru/en/oldstandard.html}{http://thessalonica.org.ru/en/oldstandard.html}%
155 \footnote{Archived on Sept. 26, 2019.}
156
157 \section{History}
158 \label{sec:history}
159 \emph{Old Standard} is a remarkable creation of Alexey Kryukov,
160 inspired by a typeface most commonly used in books printed in the late
161 \textsc{xix}\textsuperscript{th} and early
162 \textsc{xx}\textsuperscript{th} century. The source files, which can
163 be found online,\footnote{See
164 \url{https://github.com/akryukov/oldstand}} have been published
165 under the terms of the OFL license (see above,
166 \vref{sec:license}). However, at the time of writing, the latest
167 update dates back to Aug.\ 12, 2013. To be more precise, all of the
168 five \enquote*{commits} the writer was able to see were pushed on the
169 very same day. Since then, two \enquote*{pull requests} dating back to
170 2017 have remained unanswered. It is therefore to be feared that the
171 project has been abandoned. To date, this release of \emph{Old
172 Standard} has been published by Nikola Lečić and Bob Tennent and is
173 available on CTAN and {\TeX}Live with a style file.\footnote{See
174 \url{https://ctan.org/pkg/oldstandard}}
175
176 Being unable himself to contact the author, the writer, while in need
177 to have new letters included in \emph{Old Standard} and some issues
178 addressed, took the decision to make a new release \emph{Old
179 Standard}, while maintaining the hope that the author will one day
180 resume the development of this typeface.
181
182 \paragraph{Important disclaimer}
183 The writer is very far from being able to design glyphs \emph{ex
184 nihilo}. That aside, he has some limited knowledge in the use of
185 FontForge, and, as a classicist, he is able to scrutinize how features
186 operate and if they operate as expected.
187
188 \section{Additions and corrections provided}
189 \label{sec:addit-corr-prov}
190 This release of \emph{Old Standard} includes new letters and some
191 corrections:
192 \begin{enumerate}
193 \item Small capitals for Roman, Greek and Cyrillic letters, in all
194 three styles, Regular, Italic and Bold have been added. Small
195 capitals, which are missing from \emph{Old Standard}, were already
196 in use a century ago in fine books which used font faces very
197 similar to \emph{Old Standard}. Typical use cases of small capitals
198 were headers, current headings and in some books proper names.
199 \item \emph{For the time being}, a bold italic shape has been
200 auto-generated. Of course, auto-generating shapes is not a
201 satisfactory solution. However, it is better than using the
202 font loader to emulate bold shapes. A real bold italic shape is
203 planned in the versions of \emph{Old Standard} to come.
204 \item The letter G with caron above, that is: Ǧ (\verb|U+01E6|,
205 uppercase) and ǧ (\verb|U+01E7|, lowercase) has been added. It is
206 the only character missing from \emph{Old Standard} that is needed
207 in some of the accepted standards of romanization of classical
208 Arabic. See for references the current documentation of the
209 \textsf{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.}
210 \enquote{Transliteration}.}
211 \item Additionally, this release corrects the \verb|+ss06| feature
212 which is supposed to distinguish between regular and
213 \enquote*{curled} beta (β/ϐ) and to print \enquote*{curled} beta
214 (\verb|U+03D0|) in medial position. This feature worked in most
215 cases with the previous releases. However, it failed if the beta was
216 preceded by a vowel with an acute accent taken from the Greek
217 extended Unicode block.
218 \end{enumerate}
219
220 \section{Usage}
221 \label{sec:usage}
222 \emph{Old Standard} works with \TeX\ engines that directly support
223 OpenType features such as \XeTeX\ and \LuaTeX.
224
225 It is loaded with \pkg{fontspec} like so:---
226 \begin{code}
227 \usepackage{fontspec}
228 \setmainfont{Old Standard}
229 \end{code}
230
231 \paragraph{Small capitals}
232 Small capitals have been added for the following languages or
233 transcription schemes: French, German, Italian, Spanish, unaccented
234 Greek, basic Russian and Arabic \enquote*{DMG}.
235
236 The following two examples demonstrate the use of small capitals:---
237 \begin{tcblisting}{minted language=latex, title=Initials, minted
238 options={fontsize=\smaller, linenos, numbersep=0mm,
239 highlightlines={7}}}
240 \begin{center}
241 CHAPTER I
242
243 MR.\ SHERLOCK HOLMES
244 \end{center}
245
246 \lettrine[loversize=0.2]{M}{r.\ Sherlock Holmes}, who was usually
247 very late in the mornings, save upon those not infrequent occasions
248 when he stayed up all night, was seated at the breakfast table. I
249 stood upon the hearth-rug and picked up the stick which our visitor
250 had left behind him the night before. It was a fine, thick piece of
251 wood, bulbous-headed, of the sort which is known as a
252 \enquote{Penang lawyer.} Just under the head was a broad silver
253 band, nearly an inch across. \enquote{To James Mortimer, M.R.C.S.,
254 from his friends of the C.C.H.,} was engraved upon it, with the
255 date \enquote{1884.} It was just such a stick as the old-fashioned
256 family practitioner used to carry—dignified, solid, and reassuring.
257 \end{tcblisting}
258
259 \begin{tcblisting}{minted language=latex, title=Headings, minted
260 options={linenos, numbersep=0mm, fontsize=\smaller,
261 highlightlines={11}}}
262 \doublespacing
263 \begin{center}
264 \textlarger{PART SECOND}.
265
266 ETYMOLOGY OR THE PART OF THE SPEECH.
267
268 \rule{1in}{0.4pt}
269
270 I. THE VERB, \arb{al-fi`lu}.
271
272 A. \textsc{General View}.
273
274 1. \emph{The Forms of the Triliteral Verb}.
275 \end{center}
276 \end{tcblisting}
277
278 \paragraph{The letter \enquote*{ǧ}} It is used notably to print
279 romanized Arabic. \emph{Old Standard} now features this letter in all
280 of the three styles (Regular, Italic and Bold):---
281 \begin{tcblisting}{minted language=latex, minted
282 options={fontsize=\smaller, linenos, numbersep=0mm,
283 highlightlines={3,6,9}}}
284 \begin{arab}[trans]
285 \begin{center}
286 \textbf{da^gA^gaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
287 \end{center}
288 kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN
289 da^gA^gaTaN. wa-kAnat da^gA^gatu-hu 'llatI 'ahdA-hA dUna mA kAna
290 yuttaxa_du li-\uc{m}uwaysiN.
291
292 (\uc{al-^gA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
293 \end{arab}
294 \end{tcblisting}
295
296 \paragraph{\texttt{+ss06} OpenType feature} It is commonly believed
297 that all Greek vowels with acute accent taken from the Greek Extended
298 Unicode block \verb|1F00–1FFF| along with standalone acute accents
299 were duplicated from the Greek and Coptic Unicode block. Affected
300 characters from the Greek Extended Unicode block (\verb|037003FF|)
301 follow: \textgrc{ά, έ, ή, ί, ό, ύ, ώ, Ά, Έ, Ή, Ί, Ό, Ύ, Ώ, ΐ, ΰ, ´,
302}. The counterparts of these letters in the Greek and Coptic
303 Unicode block are vowels with \emph{tonoi}.
304
305 However, strictly speaking, \emph{tonos} is not to be mistaken for
306 \enquote*{acute}: that is for sure, as \emph{tonos} was introduced as
307 a result of a reform to denote a tone, namely a stress on some vowels,
308 and not a pitch, namely a rising and falling voice on accented vowels.
309 Confusion began when the Greek government decreed that \emph{tonos}
310 shall be the acute. From what the writer could see, many Greek fonts
311 originally reflected the distinction between \emph{tonos} and acute.
312 But nowadays, they simply mix them up. As a result of this confusion,
313 in \emph{Old Standard}, vowels with acute were simply missing from the
314 Greek Extended Block. All of them, including the standalone accents,
315 have been restored. Furthermore, the rule that instructed to absorb
316 vowels with acute into vowels with \emph{tonos} has been removed.
317
318 Since assigning vowels with \emph{tonos} and vowels with acute to the
319 same code points is clearly unacceptable even if the glyphs are
320 identical, it is now possible in \emph{Old Standard} to input all
321 accented vowels from the Greek Extended Unicode block exclusively and
322 have the substitution rules applied at the same time, as shown by the
323 example that follows:---
324 \begin{tcblisting}{minted language=latex, minted
325 options={fontsize=\smaller, linenos, numbersep=0mm,
326 highlightlines={9-10}}}
327 \begin{grc}
328 \begin{center}
329 \textlarger{ΙΠΠΟΚΡΑΤΟΥΣ ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
330
331 ΤΜΗΜΑ ΠΡΩΤΟΝ.
332 \end{center}
333
334 \textbf{1.} Ἄνθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι
335 λάβρῳ δι’ ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
336 τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ
337 κνησμὸν ἐμποιέουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι
338 ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον.
339 \end{grc}
340 \end{tcblisting}
341
342 \subsection{Using \emph{Old Standard} in multilingual
343 documents}
344 \label{sec:using-old-standard}
345 \pkg{babel} provides a high level interface on top of \pkg{fontspec}
346 to select fonts depending on the languages to be used.\icite[For more
347 information, the reader should refer to][10,24]{babel} As an example,
348 here is how \emph{Old Standard} has been loaded in the preamble of
349 this document to be compiled with \LuaLaTeX:---
350 \begin{code}
351 \usepackage[no-math]{fontspec}
352 \usepackage{fontspec}
353 \usepackage[greek.ancient,english]{babel}
354 \babeltags{grc = greek}
355
356 \babelfont{rm}{Old Standard}
357
358 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06}]{Old Standard}
359 \end{code}
360
361 Then, once \emph{Old Standard} has been loaded with \cs{babelfont}
362 properly,
363 \begin{enumerate}
364 \item \cs{textgrc}\marg{Greek text} can be used for short insertions
365 of Greek text.
366 \item \verb|\begin{grc}| ... \verb|\end{grc}| can be used for
367 inserting running paragraphs of Greek text.
368 \end{enumerate}
369
370 \end{document}
This page took 0.629632 seconds and 5 git commands to generate.