]> Lady’s Gitweb - OldStandard/blob - oldstandard.tex
in the end, do not include oldstandard.pdf
[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 this documentation, edited by Bob
142 Tennent:\icite{oldstandard}
143 \begin{itemize}
144 \item
145 \href{http://mirrors.ctan.org/fonts/oldstandard/doc/oldstand-manual.pdf}%
146 {Original manual (online version)}
147 \item \href{oldstand-manual.pdf}{Original manual (local version)}
148 \end{itemize}
149
150 \section{History}
151 \label{sec:history}
152 \emph{Old Standard} is a remarkable creation of Alexey Kryukov,
153 inspired by a typeface most commonly used in books printed in the late
154 \textsc{xix}\textsuperscript{th} and early
155 \textsc{xx}\textsuperscript{th} century. The source files, which can
156 be found online,\footnote{See
157 \url{https://github.com/akryukov/oldstand}} have been published
158 under the terms of the OFL license (see above,
159 \vref{sec:license}). However, at the time of writing, the latest
160 update dates back to Aug.\ 12, 2013. To be more precise, all of the
161 five \enquote*{commits} the writer was able to see were pushed on the
162 very same day. Since then, two \enquote*{pull requests} dating back to
163 2017 have remained unanswered. It is therefore to be feared that the
164 project has been abandoned. To date, this release of \emph{Old
165 Standard} has been published by Nikola Lečić and Bob Tennent and is
166 available on CTAN and {\TeX}Live with a style file.\footnote{See
167 \url{https://ctan.org/pkg/oldstandard}}
168
169 Being unable himself to contact the author, the writer, while in need
170 to have new letters included in \emph{Old Standard} and some issues
171 addressed, took the decision to make a new release \emph{Old Standard}.
172
173 \paragraph{Important disclaimer}
174 The writer is very far from being able to design glyphs \emph{ex
175 nihilo}. That aside, he has some limited knowledge in the use of
176 FontForge, and, as a classicist, he is able to scrutinize how features
177 operate and if they operate as expected.
178
179 \section{Additions and corrections provided}
180 \label{sec:addit-corr-prov}
181 This release of \emph{Old Standard} includes new letters and some
182 corrections:
183 \begin{enumerate}
184 \item Small capitals for Roman, Greek and Cyrillic letters, in all
185 three styles, Regular, Italic and Bold have been added. Small
186 capitals, which are missing from \emph{Old Standard}, were already
187 in use a century ago in fine books which used font faces very
188 similar to \emph{Old Standard}. Typical use cases of small capitals
189 were headers, current headings and in some books proper names.
190 \item \emph{For the time being}, a bold italic shape has been
191 auto-generated. Of course, auto-generating shapes is not a
192 satisfactory solution. However, it is better than using the
193 font loader to emulate bold shapes. A real bold italic shape is
194 planned in the versions of \emph{Old Standard} to come.
195 \item The letter G with caron above, that is: Ǧ (\verb|U+01E6|,
196 uppercase) and ǧ (\verb|U+01E7|, lowercase) has been added. It is
197 the only character missing from \emph{Old Standard} that is needed
198 in some of the accepted standards of romanization of classical
199 Arabic. See for references the current documentation of the
200 \textsf{arabluatex} package.\footnote{\icite{arabluatex}[cite], sect{.}
201 \enquote{Transliteration}.}
202 \item Additionally, this release corrects the \verb|+ss06| feature
203 which is supposed to distinguish between regular and
204 \enquote*{curled} beta (β/ϐ) and to print \enquote*{curled} beta
205 (\verb|U+03D0|) in medial position. This feature worked in most
206 cases with the previous releases. However, it failed if the beta was
207 preceded by a vowel with an acute accent taken from the Greek
208 extended Unicode block.
209 \end{enumerate}
210
211 \section{Usage}
212 \label{sec:usage}
213 \emph{Old Standard} works with \TeX\ engines that directly support
214 OpenType features such as \XeTeX\ and \LuaTeX.
215
216 It is loaded with \pkg{fontspec} like so:---
217 \begin{code}
218 \usepackage{fontspec}
219 \setmainfont{Old Standard}
220 \end{code}
221
222 \paragraph{Small capitals}
223 Small capitals have been added for the following languages or
224 transcription schemes: French, German, Italian, Spanish, unaccented
225 Greek, basic Russian and Arabic \enquote*{DMG}.
226
227 The following two examples demonstrate the use of small capitals:---
228 \begin{tcblisting}{minted language=latex, title=Initials, minted
229 options={fontsize=\smaller, linenos, numbersep=0mm,
230 highlightlines={7}}}
231 \begin{center}
232 CHAPTER I
233
234 MR.\ SHERLOCK HOLMES
235 \end{center}
236
237 \lettrine[loversize=0.2]{M}{r.\ Sherlock Holmes}, who was usually
238 very late in the mornings, save upon those not infrequent occasions
239 when he stayed up all night, was seated at the breakfast table. I
240 stood upon the hearth-rug and picked up the stick which our visitor
241 had left behind him the night before. It was a fine, thick piece of
242 wood, bulbous-headed, of the sort which is known as a
243 \enquote{Penang lawyer.} Just under the head was a broad silver
244 band, nearly an inch across. \enquote{To James Mortimer, M.R.C.S.,
245 from his friends of the C.C.H.,} was engraved upon it, with the
246 date \enquote{1884.} It was just such a stick as the old-fashioned
247 family practitioner used to carry—dignified, solid, and reassuring.
248 \end{tcblisting}
249
250 \begin{tcblisting}{minted language=latex, title=Headings, minted
251 options={linenos, numbersep=0mm, fontsize=\smaller,
252 highlightlines={11}}}
253 \doublespacing
254 \begin{center}
255 \textlarger{PART SECOND}.
256
257 ETYMOLOGY OR THE PART OF THE SPEECH.
258
259 \rule{1in}{0.4pt}
260
261 I. THE VERB, \arb{al-fi`lu}.
262
263 A. \textsc{General View}.
264
265 1. \emph{The Forms of the Triliteral Verb}.
266 \end{center}
267 \end{tcblisting}
268
269 \paragraph{The letter \enquote*{ǧ}} It is used notably to print
270 romanized Arabic. \emph{Old Standard} now features this letter in all
271 of the three styles (Regular, Italic and Bold):---
272 \begin{tcblisting}{minted language=latex, minted
273 options={fontsize=\smaller, linenos, numbersep=0mm,
274 highlightlines={3,6,9}}}
275 \begin{arab}[trans]
276 \begin{center}
277 \textbf{da^gA^gaTu \uc{'a}bI 'l-\uc{h}u_dayli 'l-\uc{`a}llAfi}
278 \end{center}
279 kAna \uc{'a}bU 'l-\uc{h}u_dayli 'ahd_A 'il_A \uc{m}uwaysiN
280 da^gA^gaTaN. wa-kAnat da^gA^gatu-hu 'llatI 'ahdA-hA dUna mA kAna
281 yuttaxa_du li-\uc{m}uwaysiN.
282
283 (\uc{al-^gA.hi.zu}, \aemph{\uc{k}itAbu 'l-\uc{b}u_halA'i})
284 \end{arab}
285 \end{tcblisting}
286
287 \paragraph{\texttt{+ss06} OpenType feature} It is commonly believed
288 that all Greek vowels with acute accent taken from the Greek Extended
289 Unicode block \verb|1F00–1FFF| along with standalone acute accents
290 were duplicated from the Greek and Coptic Unicode block. Affected
291 characters from the Greek Extended Unicode block (\verb|037003FF|)
292 follow: \textgrc{ά, έ, ή, ί, ό, ύ, ώ, Ά, Έ, Ή, Ί, Ό, Ύ, Ώ, ΐ, ΰ, ´,
293}. The counterparts of these letters in the Greek and Coptic
294 Unicode block are vowels with \emph{tonoi}.
295
296 However, strictly speaking, \emph{tonos} is not to be mistaken for
297 \enquote*{acute}: that is for sure, as \emph{tonos} was introduced as
298 a result of a reform to denote a tone, namely a stress on some vowels,
299 and not a pitch, namely a rising and falling voice on accented vowels.
300 Confusion began when the Greek government decreed that \emph{tonos}
301 shall be the acute. From what the writer could see, many Greek fonts
302 originally reflected the distinction between \emph{tonos} and acute.
303 But nowadays, they simply mix them up. As a result of this confusion,
304 in \emph{Old Standard}, vowels with acute were simply missing from the
305 Greek Extended Block. All of them, including the standalone accents,
306 have been restored. Furthermore, the rule that instructed to absorb
307 vowels with acute into vowels with \emph{tonos} has been removed.
308
309 Since assigning vowels with \emph{tonos} and vowels with acute to the
310 same code points is clearly unacceptable even if the glyphs are
311 identical, it is now possible in \emph{Old Standard} to input all
312 accented vowels from the Greek Extended Unicode block exclusively and
313 have the substitution rules applied at the same time, as shown by the
314 example that follows:---
315 \begin{tcblisting}{minted language=latex, minted
316 options={fontsize=\smaller, linenos, numbersep=0mm,
317 highlightlines={9-10}}}
318 \begin{grc}
319 \begin{center}
320 \textlarger{ΙΠΠΟΚΡΑΤΟΥΣ ΕΠΙΔΗΜΙΩΝ ΤΟ ΔΕΥΤΕΡΟΝ}.
321
322 ΤΜΗΜΑ ΠΡΩΤΟΝ.
323 \end{center}
324
325 \textbf{1.} ῎Ανθρακες θερινοὶ ἐν Κραννῶνι· ὗεν ἐν καύμασιν ὕδατι
326 λάβρῳ δι’ ὅλου καὶ ἐγίνετο μᾶλλον νότῳ, [καὶ] ὑπογίνονται μὲν ἐν
327 τῷ δέρματι ἰχῶρες· ἐγκαταλαμβανόμενοι δέ, θερμαίνονται, καὶ
328 κνησμὸν ἐμποιέουσιν· εἶτα φλυκταινίδες ὥσπερ πυρίκαυστοι
329 ἐπανίσταντο καὶ ὑπὸ τὸ δέρμα καίεσθαι ἐδόκεον.
330 \end{grc}
331 \end{tcblisting}
332
333 \subsection{Using \emph{Old Standard} in multilingual
334 documents}
335 \label{sec:using-old-standard}
336 \pkg{babel} provides a high level interface on top of \pkg{fontspec}
337 to select fonts depending on the languages to be used.\icite[For more
338 information, the reader should refer to][10,24]{babel} As an example,
339 here is how \emph{Old Standard} has been loaded in the preamble of
340 this document to be compiled with \LuaLaTeX:---
341 \begin{code}
342 \usepackage[no-math]{fontspec}
343 \usepackage{fontspec}
344 \usepackage[greek.ancient,english]{babel}
345 \babeltags{grc = greek}
346
347 \babelfont{rm}{Old Standard}
348
349 \babelfont[greek]{rm}[RawFeature={+ss05;+ss06}]{Old Standard}
350 \end{code}
351
352 Then, once \emph{Old Standard} has been loaded with \cs{babelfont}
353 properly,
354 \begin{enumerate}
355 \item \cs{textgrc}\marg{Greek text} can be used for short insertions
356 of Greek text.
357 \item \verb|\begin{grc}| ... \verb|\end{grc}| can be used for
358 inserting running paragraphs of Greek text.
359 \end{enumerate}
360
361 \end{document}
This page took 0.734907 seconds and 5 git commands to generate.