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