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