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