Debian Codegraph @

texmf-dist/source/latex/datatool-english/datatool-english.dtx

raw
1 %\iffalse
2 % datatool-english.dtx generated using makedtx version 1.2 (c) Nicola Talbot
3 % Command line args:
4 % -doc "datatool-english.tex"
5 % -src "(datatool-english\.ldf)\Z=>\1"
6 % -src "(datatool-english-.*\.ldf)\Z=>\1"
7 % -src "(datatool-en-.*\.ldf)\Z=>\1"
8 % -src "(databib-english\.ldf)\Z=>\1"
9 % -src "(person-english\.ldf)\Z=>\1"
10 % -src "(datatool-anglosaxon\.ldf)\Z=>\1"
11 % -src "(datatool-ang-Latn\.ldf)\Z=>\1"
12 % -src "(datatool-ang-Latn-.*\.ldf)\Z=>\1"
13 % -src "(datatool-ang-Runr\.ldf)\Z=>\1"
14 % -src "(datatool-ang-Runr-.*\.ldf)\Z=>\1"
15 % -author "Nicola Talbot"
16 % datatool-english
17 % Created on 2025/3/12 15:32
18 %\fi
19 %\iffalse
20 %<*package>
21 %% \CharacterTable
22 %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
23 %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
24 %% Digits \0\1\2\3\4\5\6\7\8\9
25 %% Exclamation \! Double quote \" Hash (number) \#
26 %% Dollar \$ Percent \% Ampersand \&
27 %% Acute accent \' Left paren \( Right paren \)
28 %% Asterisk \* Plus \+ Comma \,
29 %% Minus \- Point \. Solidus \/
30 %% Colon \: Semicolon \; Less than \<
31 %% Equals \= Greater than \> Question mark \?
32 %% Commercial at \@ Left bracket \[ Backslash \\
33 %% Right bracket \] Circumflex \^ Underscore \_
34 %% Grave accent \` Left brace \{ Vertical bar \|
35 %% Right brace \} Tilde \~}
36 %</package>
37 %\fi
38 % \iffalse
39 % Doc-Source file to use with LaTeX2e
40 % Copyright (C) 2025 Nicola Talbot, all rights reserved.
41 % \fi
42 % \iffalse
43 %<*driver>
44 % arara: lualatex
45 % arara: makeindex
46 % arara: lualatex
47 % arara: makeindex
48 % arara: lualatex
49 % arara: lualatex
50 \PassOptionsToPackage{noprint}{doc}% command names are too long
51 \documentclass{ltxdoc}
52
53 \usepackage{fontspec}
54 \usepackage{tcolorbox}
55 \usepackage[left=2.5cm,right=2.5cm]{geometry}
56 \usepackage[locales={ang-Runr,ang-Latn,en}]{datatool-base}
57
58 \setromanfont{Noto Serif}
59 \setsansfont{Noto Sans}
60 \setmonofont{Noto Sans Mono}
61 \newfontfamily\runefont{Noto Sans Runic}
62 \NewDocumentCommand{\textrune}{m}{{\runefont #1}}
63
64 \CheckSum{3379}
65
66 \newcommand*{\sty}[1]{\textsf{#1}}
67 \newcommand*{\file}[1]{\texorpdfstring{\nolinkurl{#1}}{#1}}
68 \newcommand*{\filemeta}[3]{%
69 \texorpdfstring
70 {\nolinkurl{#1}\meta{#2}\nolinkurl{#3}}%
71 {#1<#2>#3}%
72 }
73 \newcommand*{\filemetameta}[5]{%
74 \texorpdfstring
75 {\nolinkurl{#1}\meta{#2}\nolinkurl{#3}\meta{#4}\nolinkurl{#5}}%
76 {#1<#2>#3<#4>#5}%
77 }
78 \newcommand*{\opt}[1]{\textsf{#1}}
79 \newcommand*{\qt}[1]{“#1”}
80 \newcommand*{\setlocaleopts}[1]{%
81 \cs{DTLsetLocaleOptions}\allowbreak
82 \texttt{\brackets{\strong{#1}}}\allowbreak
83 \marg{key=val list}%
84 }
85
86 \definecolor{defbackground}{rgb}{1,1,0.75}
87 \newtcolorbox{definition}{colback=defbackground}
88 \newtcolorbox{important}{colback=red!5!white,colframe=red}
89
90 \tcbuselibrary{documentation}
91 \tcbset{verbatim ignore percent}
92
93 \RecordChanges
94 \PageIndex
95
96 \newcommand{\myLatnList}{f, u, þ, o, r, c}
97 \newcommand{\myRunrList}{
98 \textrune{ᚠ},
99 \textrune{ᚢ},
100 \textrune{ᚦ},
101 \textrune{ᚩ},
102 \textrune{ᚱ},
103 \textrune{ᚳ}
104 }
105 \DTLshufflelist\myLatnList
106 \DTLshufflelist\myRunrList
107
108 \title{English and Old English Localisation Support for \sty{datatool} Package}
109 \author{Nicola L. C. Talbot}
110 \date{2025-03-12 version 1.1}
111
112 \begin{document}
113 \DocInput{datatool-english.dtx}
114 \end{document}
115 %</driver>
116 %\fi
117 %\maketitle
118 %
119 %\begin{abstract}
120 %This is the English and Old English localisation support for the \sty{datatool}
121 %package (version 3.0+). This needs to be installed in addition to
122 %\sty{datatool}. To ensure regional support, you will also need to
123 %install \sty{datatool-regions}.
124 %\end{abstract}
125 %
126 %\tableofcontents
127 %
128 %\section{Introduction}
129 %\label{sec:intro}
130 %
131 %This bundle provides the English and Old English modules for \sty{datatool} v3.0+.
132 %The files simply need to be installed on \TeX's path.
133 %(They will be ignored if a pre-3.0 version of \sty{datatool} is installed.)
134 %The \sty{datatool-base} package (which is automatically loaded by
135 %\sty{datatool}) uses \sty{tracklang}'s interface for detecting
136 %localisation settings and finding the appropriate files.
137 %If you use \sty{babel} or \sty{polyglossia}, make sure that you
138 %specify the document languages before the first package to load
139 %\sty{tracklang}.
140 %
141 %For example:
142 %\begin{dispListing}
143 %\usepackage[british]{babel}
144 %\usepackage{datatool-base}
145 %\end{dispListing}
146 %Alternatively, if you are not using a language package, simply use
147 %the \opt{locales} option. For example:
148 %\begin{dispListing}
149 %\usepackage[locales={en-GB}]{datatool-base}
150 %\end{dispListing}
151 %Any option that can be passed to \sty{datatool-base} can also be
152 %passed to \sty{datatool} but if \sty{datatool-base} has already been
153 %loaded, it will be too late to use the \opt{locales} option.
154 %For example:
155 %\begin{dispListing}
156 %\usepackage[locales={en-GB}]{datatool}
157 %\end{dispListing}
158 %But not:
159 %\begin{dispListing*}{title={Incorrect!},colframe=red}
160 %\usepackage{datatool-base}
161 %\usepackage[locales={en-GB}]{datatool}
162 %\end{dispListing*}
163 %
164 %If another package that also loads \sty{tracklang} is loaded first,
165 %then \sty{datatool-base} can pick up the settings from that. For
166 %example:
167 %\begin{dispListing}
168 %\usepackage[en-GB]{datetime2}
169 %\usepackage{datatool}
170 %\end{dispListing}
171 %
172 %For Old English (Anglo-Saxon), you need the three letter language
173 %code \qt{ang} and the four letter script code: \qt{Latn}
174 %(Latin) or \qt{Runr} (Runic). Old English support is very limited
175 %and mainly provided as an example of how to support extended Latin
176 %and non-Latin languages. See section~\ref{sec:anglosaxon} for
177 %further information.
178 %
179 %If the regional file isn't installed or if no region is associated
180 %with the locale then only the language settings will be implemented.
181 %For example:
182 %\begin{dispListing}
183 %\usepackage[english]{babel}
184 %\usepackage{datatool-base}
185 %\end{dispListing}
186 %In this case there is no region so only \file{datatool-english.ldf}
187 %will be loaded.
188 %
189 %Supplementary packages provided with \sty{datatool} can also have
190 %the locales provided. For example:
191 %\begin{dispListing}
192 %\documentclass{article}
193 %\usepackage[locales={en}]{datagidx}
194 %\newgidx{index}{Index}
195 %\newterm{élan}
196 %\newterm{elephant}
197 %\newterm{élite}
198 %\newterm{elk}
199 %\begin{document}
200 %\gls{elk}, \gls{élan} \gls{élite} and \gls{elephant}.
201 %\printterms
202 %
203 %\end{dispListing}
204 %As with \sty{datatool}, these supplementary packages internally load
205 %\sty{datatool-base} so if that has already been loaded, then the
206 %localisation support should already have been set.
207 %
208 %The \sty{glossaries} package also loads \sty{datatool-base}
209 %and, as from \sty{glossaries} version 4.55, it will check for the
210 %new \sty{datatool-base} commands. If they are defined then
211 %\cs{printnoidxglossary} will switch to this
212 %new method of sorting otherwise it will fallback on the old method.
213 %So installing \sty{datatool-english} will not only affect
214 %\sty{datatool} and its associated packages but also
215 %\sty{glossaries}. For example:
216 %\begin{dispListing}
217 %\documentclass{article}
218 %\usepackage[locales={en},index,style=indexgroup]{glossaries}
219 %\makenoidxglossaries
220 %\newterm{élan}
221 %\newterm{elephant}
222 %\newterm{élite}
223 %\newterm{elk}
224 %\begin{document}
225 %\gls{elk}, \gls{élan} \gls{élite} and \gls{elephant}.
226 %\printnoidxglossary[type=index]
227 %
228 %\end{dispListing}
229 %
230 %Each \filemeta{datatool-}{lang}{.ldf} language file should
231 %redefine:
232 %
233 %\begin{docCommand}{DTLandname}{}
234 %Should expand to the appropriate translation of \qt{and}
235 %(used when formatting comma-separated lists).
236 %\end{docCommand}
237 %
238 %Ideally, the language file should also redefine the
239 %following commands, which are used by \cs{DTLgetDataTypeName},
240 %although these are mostly provided for debugging.
241 %(The Anglo-Saxon support doesn't bother to redefine them.)
242 %
243 %\begin{docCommand}{DTLdatatypeunsetname}{}
244 %Should expand to the appropriate translation of \qt{unknown}
245 %(to indicate an unknown data type).
246 %\end{docCommand}
247 %
248 %\begin{docCommand}{DTLdatatypestringname}{}
249 %Should expand to the appropriate translation of \qt{string}
250 %(to indicate a string data type).
251 %\end{docCommand}
252 %
253 %\begin{docCommand}{DTLdatatypeintegername}{}
254 %Should expand to the appropriate translation of \qt{integer}
255 %(to indicate an integer data type).
256 %\end{docCommand}
257 %
258 %\begin{docCommand}{DTLdatatypedecimalname}{}
259 %Should expand to the appropriate translation of \qt{decimal}
260 %(to indicate a decimal data type).
261 %\end{docCommand}
262 %
263 %\begin{docCommand}{DTLdatatypecurrencyname}{}
264 %Should expand to the appropriate translation of \qt{currency}
265 %(to indicate a currency data type).
266 %\end{docCommand}
267 %
268 %\begin{docCommand}{DTLdatatypedatetimename}{}
269 %Should expand to the appropriate translation of \qt{datetime}
270 %(to indicate a datetime data type).
271 %\end{docCommand}
272 %
273 %\begin{docCommand}{DTLdatatypedatename}{}
274 %Should expand to the appropriate translation of \qt{date}
275 %(to indicate a date data type).
276 %\end{docCommand}
277 %
278 %\begin{docCommand}{DTLdatatypetimename}{}
279 %Should expand to the appropriate translation of \qt{time}
280 %(to indicate a time data type).
281 %\end{docCommand}
282 %
283 %\begin{docCommand}{DTLdatatypeinvalidname}{}
284 %Should expand to the appropriate translation of \qt{invalid}
285 %(to indicate an invalid data type identifier).
286 %\end{docCommand}
287 %
288 %Additionally, the following commands take arguments that may simply
289 %ignore the argument and expand to fixed text:
290 %
291 %\begin{docCommand}{dtlnonlettergroup}{\marg{char}}
292 %Used for non-letter groups. This would typically ignore the argument
293 %and expand to the appropriate translation of \qt{Symbols}.
294 %\end{docCommand}
295 %
296 %\begin{docCommand}{dtlnumbergroup}{\marg{char}}
297 %Used for number groups. This would typically ignore the argument
298 %and expand to the appropriate translation of \qt{Numbers}.
299 %\end{docCommand}
300 %
301 %\begin{docCommand}{dtlcurrencygroup}{\marg{char}}
302 %Used for currency groups. This would typically ignore the argument
303 %and expand to the appropriate translation of \qt{Currency}.
304 %\end{docCommand}
305 %
306 %\begin{docCommand}{dtldatetimegroup}{\marg{char}}
307 %Used for datetime groups. This would typically ignore the argument
308 %and expand to the appropriate translation of \qt{Timestamps}.
309 %\end{docCommand}
310 %
311 %\begin{docCommand}{dtldategroup}{\marg{char}}
312 %Used for date groups. This would typically ignore the argument
313 %and expand to the appropriate translation of \qt{Dates}.
314 %\end{docCommand}
315 %
316 %\begin{docCommand}{dtltimegroup}{\marg{char}}
317 %Used for time groups. This would typically ignore the argument
318 %and expand to the appropriate translation of \qt{Times}.
319 %\end{docCommand}
320 %
321 %The \cs{dtllettergroup} would more typically convert the argument to title
322 %case.
323 %
324 %\section{English (\qt{en})}
325 %
326 %The \file{datatool-english.ldf} file provides support for English
327 %orthography (section~\ref{sec:orthography}), parsing
328 %dates and times (experimental, see section~\ref{sec:temporal}),
329 %and for providing fixed text translations.
330 %
331 %Aside from the letter group commands, described in
332 %section~\ref{sec:orthography}, the only fixed text for
333 %\sty{datatool-base} is \cs{DTLandname} and the textual data types
334 %used by \cs{DTLgetDataTypeName}. These are redefined implicitly
335 %via the command \cs{DTLenTranslations}, which allows an alternative
336 %definition of \cs{DTLandname} to be provided without having to keep
337 %appending to the caption hook.
338 %
339 %\begin{docCommand}{DTLenLocaleHook}{}
340 %The \file{datatool-english.ldf} file provides an intermediary command
341 %\cs{DTLenLocaleHook} that's automatically added to the captions hook.
342 %This performs all the \sty{datatool-base} English language redefinitions.
343 %There should be little reason to actually use this command anywhere
344 %unless you're not using a language package with caption hooks.
345 %\end{docCommand}
346 %
347 %Options provided by \file{datatool-english.ldf} may be set with
348 %\setlocaleopts{en}. Currently, there is only one option.
349 %
350 %\begin{docKey}{and}{=\meta{setting}}{initial \opt{word}}
351 %This determines the definition of \cs{DTLandname} within
352 %\cs{DTLenSetAndName} used by the translations hook
353 %\cs{DTLenTranslations}. The value may be:
354 %\docValue{word} (define \cs{DTLandname} to expand to
355 %\qt{and}) or \docValue{amp} (define \cs{DTLandname}
356 %to expand to \cs{\&}).
357 %\end{docKey}
358 %
359 %Aside from \file{datatool-english.ldf}, there is also
360 %\file{databib-english.ldf} to provide localisation support
361 %for \sty{databib} (see section~\ref{sec:databib})
362 %and \file{person-english.ldf} to provide localisation support
363 %for the \sty{person} package (see section~\ref{sec:person}).
364 %
365 %\subsection{Orthography}
366 %\label{sec:orthography}
367 %
368 %The \file{datatool-english.ldf} file provides support for English
369 %orthography. This deals with how words are sorted according to the
370 %English alphabet. The way that the new \sty{datatool} v3.0 sorting
371 %commands work is to use a handler function that converts the
372 %original content into a byte string. Since there are no byte array
373 %data types in \TeX, this is implemented by converting the original
374 %string into an ASCII string in such a way that sorting by character
375 %code will produce the desired order.
376 %
377 %With the newer \cs{DTLsortwordlist}, this processing is performed
378 %once for each item in the list prior to sorting to allow for a
379 %faster character code sort of a temporary sequence variable that
380 %stores both the original (actual value) and the transformed (sort
381 %value) item. This allows the original item to be restored
382 %afterwards. (You can use \cs{show} or \cs{clist\_show:N} on the
383 %comma-separated list command afterwards to double-check this
384 %information.)
385 %
386 %For example, suppose the document starts with:
387 %\begin{dispListing*}{title={\sty{datatool} v3.0+}}
388 %\documentclass{article}
389 %\usepackage[locales={en}]{datatool}
390 %\end{dispListing*}
391 %\DTLenLocaleHook
392 %If \file{datatool-english.ldf} is installed:
393 %\begin{dispExample*}{title={With Localisation}}
394 %\newcommand{\mylist}{élan,zebra,elephant,ant,élite,elk}
395 %\DTLsortwordlist{\mylist}{\DTLsortwordcasehandler}
396 %Sorted list: \DTLformatlist{\mylist}.
397 %\end{dispExample*}
398 %However, if \file{datatool-english.ldf} isn't installed (or if
399 %English support hasn't been requested) the resulting list would be:
400 %\begingroup
401 %\DTLresetLanguage
402 %\begin{dispExample*}{title={No Localisation}}
403 %\newcommand{\mylist}{élan,zebra,elephant,ant,élite,elk}
404 %\DTLsortwordlist{\mylist}{\DTLsortwordcasehandler}
405 %Sorted list: \DTLformatlist{\mylist}.
406 %\end{dispExample*}
407 %\endgroup
408 %This is because a simple character code comparison has been used.
409 %(Note also the use of the default \& instead of \qt{and}.)
410 %
411 %The \cs{DTLsortwordcasehandler} function is for case-sensitive word
412 %sorting, whereas the \cs{DTLsortwordhandler} function is for
413 %case-insensitive word sorting and simply converts each element to
414 %lowercase before processing using the locale handler. There are
415 %analogous functions for letter-order comparisons which strip spaces
416 %and hyphens before processing (see the \sty{datatool} manual for
417 %further details).
418 %
419 %The \cs{DTLsortdata} command, provided by \sty{datatool} v3.0+ for
420 %sorting databases, works in a similar way to \cs{DTLsortwordlist}
421 %and uses the same handler functions. For example:
422 %\begin{dispListing}
423 %\documentclass{article}
424 %\usepackage[locales={en}]{datatool}
425 %
426 %\DTLaction{new}
427 %\DTLaction[ assign = { name = Annie, age = 40 } ]{new row}
428 %\DTLaction[ assign = { name = Ele, age = 80 } ]{new row}
429 %\DTLaction[ assign = { name = Éleanor, age = 28 } ]{new row}
430 %\DTLaction[ assign = { name = Zack, age = 47 } ]{new row}
431 %\DTLaction[ assign = { name = Elva, age = 53 } ]{new row}
432 %\DTLaction[ assign = { name = Æthelwulf, age = 95 } ]{new row}
433 %
434 %\DTLsortdata{}{name}
435 %\begin{document}
436 %\DTLaction{display}
437 %
438 %\end{dispListing}
439 %If \file{datatool-english.ldf} is installed, then the order will be:
440 %Æthelwulf, Annie, Ele, Éleanor, Elva, Zack.
441 %
442 %Without \file{datatool-english.ldf}, the order will be:
443 %Annie, Ele, Elva, Zack, Æthelwulf, Éleanor.
444 %
445 %If letter groups are required, an extra column can be added to the
446 %database with the corresponding letter group obtained from sorting:
447 %\begin{dispListing}
448 %\DTLsortdata[save-group]{}{name}
449 %\end{dispListing}
450 %The letter group is typically the first letter of the sort value
451 %or the actual value but this may not be the case for some languages,
452 %so the code for obtaining the first letter of a word is adjusted by
453 %the language hook.
454 %
455 %The groups obtained from sorting are letter groups if the sorted
456 %item starts with an alphabetical character. If the value is
457 %determined to be a currency, it will be considered part of the
458 %currency group, if the value is determined to be a number (without a
459 %currency prefix) then it will be considered part of the number
460 %group, otherwise it will be in the non-letter group.
461 %
462 %The titles for all these groups are obtained with the
463 %\sty{datatool-base} commands
464 %\cs{dtllettergroup}, \cs{dtlnonlettergroup}, \cs{dtlnumbergroup}
465 %and \cs{dtlcurrencygroup} which are all redefined by the language
466 %hook.
467 %
468 %In the case of English, the currency group title simply expands to
469 %\qt{Currency}, the number group title simply expands to
470 %\qt{Numbers}, the non-letter group title simply expands to
471 %\qt{Symbols}. The letter group title expands to its argument
472 %converted to title case.
473 %
474 %If you need to make any adjustments, the following commands are
475 %provided by \file{datatool-english.ldf} for the handler and
476 %groups.
477 %
478 %\begin{docCommand}{DTLenLocaleHandler}{\marg{tl-var}}
479 %Converts the token list variable containing the sort value.
480 %You may redefine this command to add support for additional
481 %characters, but bear in mind that the more complex the regular
482 %expression the longer the document build.
483 %\end{docCommand}
484 %
485 %\begin{docCommand}{DTLenLocaleGetGroupString}{\marg{actual}\marg{sort}\marg{tl-var}}
486 %Sets \meta{tl-var} to the applicable content in preparation for
487 %extracting the initial letter, where \meta{actual} is the original
488 %value and \meta{sort} is the sort value obtained after processing
489 %by the handler. (Afterwards, the expansion of \meta{tl-var} will
490 %then be passed as the \meta{word} argument of \cs{DTLenLocaleGetInitialLetter}.)
491 %
492 %For English, this is straight-forward
493 %as the sort value is usually appropriate for this.
494 %If you redefine this command to set \meta{tl-var} to the actual
495 %value then accented characters will be considered separate letter
496 %groups. This can lead to odd results.
497 %\end{docCommand}
498 %
499 %\begin{docCommand}{DTLenLocaleGetInitialLetter}{\marg{word}\marg{tl-var}}
500 %Gets the initial letter of \meta{word} and stores it in the given
501 %token list variable.
502 %\end{docCommand}
503 %
504 %\begin{docCommand}{DTLenSetLetterGroups}{}
505 %Redefines the group commands. This can be redefined if different
506 %titles are required.
507 %\end{docCommand}
508 %
509 %\subsection{Dates and Times}
510 %\label{sec:temporal}
511 %
512 %This is still an experimental feature. As from v3.0, \sty{datatool}
513 %now has additional data types: date, time and datetime.
514 %\emph{Parsing for these is \strong{off} by default but may be enabled.}
515 %Without the language support, only ISO dates, times and timestamps
516 %can be parsed. The order (dmy, mdy, ymd) is usually set by the
517 %region file (provided with \sty{datatool-regions}).
518 %For example, \file{datatool-GB.ldf} sets the order to dmy
519 %whereas \file{datatool-US.ldf} sets the order to mdy.
520 %The region files only deal with numeric dates and times but
521 %have a hook to allow supporting language files to extend this to
522 %parsing temporal values that contain textual content, such as month
523 %names.
524 %
525 %The following commands are provided. Note that they use
526 %\LaTeX3 syntax, which needs to be enabled.
527 %
528 %\begin{docCommand*}{datatool_en_get_monthname_map:n}{ \marg{month}}
529 %Gets the number associated with the given English month name.
530 %For example, January or Jan should result in 1.
531 %\end{docCommand*}
532 %
533 %\begin{docCommand*}{datatool_en_if_pm:nTF}{ \marg{text} \marg{true} \marg{false}}
534 %Tests if \meta{text} represents afternoon (\qt{pm},
535 %\qt{in the afternoon}, \qt{in the evening}, \qt{midnight}).
536 %This indicates that 12 needs to be added to the hour for 12-hour
537 %formats. Not that \qt{noon} is not \emph{after} noon (12 noon +12 would
538 %result in 24, which is incorrect for noon) and
539 %\qt{midnight} would need to have the hour as 12 not 0 (0 midnight +12 would
540 %result in 12, which is incorrect for midnight).
541 %\end{docCommand*}
542 %
543 %\begin{docCommand*}{datatool_en_monthname:n}{ \marg{num}}
544 %Expands to the month name for \meta{num} (1 for January, etc).
545 %\end{docCommand*}
546 %
547 %\begin{docCommand*}{datatool_en_shortmonthname:n}{ \marg{num}}
548 %Expands to the abbreviated month name. This will be defined to
549 %\cs{DTMenglishshortmonthname} if that command exists
550 %(\sty{datetime2-english})
551 %or to:
552 %\end{docCommand*}
553 %\begin{docCommand*}{datatool_en_shortmonthname_dotless:n}{ \marg{num}}
554 %Expands to a three-letter abbreviation without a trailing dot.
555 %\end{docCommand*}
556 %An alternative command is also provided:
557 %\begin{docCommand*}{datatool_en_shortmonthname_dotted:n}{ \marg{num}}
558 %This expands to a three or four letter abbreviation followed by a
559 %dot except for short month names, such as May, that aren't
560 %abbreviated.
561 %\end{docCommand*}
562 %
563 %\subsection{Support for \sty{databib}}
564 %\label{sec:databib}
565 %
566 %The \sty{datatool-english} bundle provides English language support for
567 %the \sty{databib} package. Options may be set with
568 %\setlocaleopts{en/databib}.
569 %
570 %Currently, there is only one option:
571 %\begin{docKey}{short-month-style}{=\meta{style}}{initial \opt{dotted}}
572 %This determines the month name abbreviations for
573 %\sty{databib}'s \opt{abbrv} style.
574 %The value may be \docValue{dotted} (use dotted month
575 %abbreviations) or \docValue{dotless} (use three letter abbreviations
576 %with no dot).
577 %\end{docKey}
578 %
579 %\begin{docCommand}{DataBibEnglish}{}
580 %The \file{databib-english.ldf} file defines the
581 %intermediary command \cs{DataBibEnglish}
582 %that redefines all the fixed text commands. This command
583 %is automatically added to the captions hook if \sty{databib}
584 %is loaded.
585 %\end{docCommand}
586 %
587 %\subsection{Support for \sty{person}}
588 %\label{sec:person}
589 %
590 %\begin{docCommand}{DataToolPersonEnglish}{}
591 %The \sty{datatool-english} bundle provides English language support for
592 %the \sty{person} package. There are currently no options.
593 %The \file{person-english.ldf} file defines the intermediary
594 %command \cs{DataToolPersonEnglish}
595 %that redefines all the fixed text commands. This command
596 %is automatically added to the captions hook if the \sty{person}
597 %package is loaded.
598 %\end{docCommand}
599 %
600 %\section{Old English (Anglo-Saxon, \qt{ang})}
601 %\label{sec:anglosaxon}
602 %
603 %This bundle also supplies very limited support for Old English
604 %(Anglo-Saxon). Only UTF-8 encoding is supported. This is primarily
605 %to provide an example of how to support a language with multiple
606 %scripts (or simply a language with an extended Latin or non-Latin
607 %script). You will need to identify the script as well as the
608 %language. For the Latin script:
609 %\begin{dispListing}
610 %\usepackage[locales={ang-Latn}]{datatool-base}
611 %\end{dispListing}
612 %For the Runic script:
613 %\begin{dispListing}
614 %\usepackage[locales={ang-Runr}]{datatool-base}
615 %\end{dispListing}
616 %Note that the script indicates the script of the input or source
617 %text. That is, the text used in the document source code, which
618 %may not correspond to the glyphs visible in the PDF file.
619 %
620 %For example, suppose a package provides a command called, say \cs{runic},
621 %which expects Latin characters in the argument but the font encoding
622 %ensures that those characters appear as runes in the PDF (for
623 %example, the hypothetical command
624 %\texttt{\cs{runic}\brackets{fuþorc}} in the source code would be
625 %rendered as \textrune{ᚠᚢᚦᚩᚱᚳ} in the PDF). In this case, the source
626 %is Latin and so \qt{ang-Latn} is needed when specifying the locale.
627 %
628 %If, however, the source code actually contains characters from
629 %the Runic Unicode block (with an appropriate font that supports
630 %those characters), then the source is Runic and so \qt{ang-Runr}
631 %is needed when specifying the locale.
632 %
633 %If there is no captions hook, the last locale to be tracked is the
634 %one that will be in effect. You can switch using the following:
635 %\begin{docCommand}{DTLangLatnLocaleHook}{}
636 %Switch to \qt{ang-Latn} (if \file{datatool-ang-Latn.ldf} has been
637 %loaded, undefined otherwise).
638 %\end{docCommand}
639 %\begin{docCommand}{DTLangRunrLocaleHook}{}
640 %Switch to \qt{ang-Runr} (if \file{datatool-ang-Runr.ldf} has been
641 %loaded, undefined otherwise).
642 %\end{docCommand}
643 %
644 %The \qt{ang-Latn} localisation support provides the following
645 %option, which may be set using
646 %\setlocaleopts{ang-Latn}.
647 %
648 %\begin{docKey}[ang-Latn]{order}{=\meta{setting}}{initially \opt{harley}}
649 %Determines the letter order. The \meta{setting} may be:
650 %\docValue{harley} (A-Z, Ƿ, Ð, Æ, Þ), \docValue{stowe}
651 %(ending with Ƿ, Ð, Þ), \docValue{titus}
652 %(ending with Ƿ, Þ, Ð) or \docValue{futhorc} (starts f, u, þ, o, r, c).
653 %\end{docKey}
654 %
655 %The \qt{ang-Runr} localisation support provides the following
656 %option, which may be set using
657 %\setlocaleopts{ang-Runr}.
658 %
659 %\begin{docKey}[ang-Runr]{order}{=\meta{setting}}{initially \opt{punc-futhorc}}
660 %Determines the rune order. The \meta{setting} may be:
661 %\docValue{punc-unicode} (punctuation first, followed by Unicode order
662 %for the rest),
663 %\docValue{punc-futhorc} (Old English Rune Poem order, punctuation
664 %first), or
665 %\docValue{futhorc-punc} (Old English Rune Poem order, punctuation
666 %last).
667 %Note that the \qt{punc-unicode} order puts the punctuation first,
668 %followed by the other runes, even though the punctuation runes
669 %actually come towards the end of the Runic block. The Old English
670 %Rune Poem order is fuþorc order, with the additional non-poem runes
671 %appended at the end.
672 %The Tironian et (which isn't a rune) is added to the end of the
673 %non-punctuation runes.
674 %\end{docKey}
675 %
676 %Both ang-Latn and ang-Runr define \cs{DTLandname} to the Tironian
677 %et (⁊).
678 %This is done via the following hooks:
679 %\begin{docCommand}{DTLangLatnTranslations}{}
680 %This is defined in \file{datatool-ang-Latn.ldf} to update the
681 %definition of \cs{DTLandname} and is implemented by
682 %\cs{DTLangLatnLocaleHook}.
683 %\end{docCommand}
684 %\begin{docCommand}{DTLangRunrTranslations}{}
685 %This is defined in \file{datatool-ang-Runr.ldf} to update the
686 %definition of \cs{DTLandname} and is implemented by
687 %\cs{DTLangRunrLocaleHook}.
688 %\end{docCommand}
689 %The other language-sensitive name commands aren't provided by the
690 %Anglo-Saxon support.
691 %
692 %There is no other localisation support (that is, no other
693 %fixed text or date/time support). The remaining language-sensitive
694 %commands are reset with \cs{DTLresetLanguage} back to their initial
695 %definitions.
696 %
697 %Suppose the document uses \sty{fontspec} with fonts that support
698 %the required characters, as follows:
699 %\begin{dispListing}
700 %\usepackage{fontspec}
701 %\setromanfont{Noto Serif}
702 %\setsansfont{Noto Sans}
703 %\setmonofont{Noto Sans Mono}
704 %\newfontfamily\runefont{Noto Sans Runic}
705 %\NewDocumentCommand{\textrune}{m}{{\runefont #1}}
706 %\end{dispListing}
707 %and \sty{datatool-base} has been loaded with support for
708 %both Latin and Runic Anglo-Saxon:
709 %\begin{dispListing}
710 %\usepackage[locales={ang-Runr,ang-Latn}]{datatool-base}
711 %\end{dispListing}
712 %and suppose the command \cs{myLatnList}
713 %is defined to expand to the comma-separated list
714 %\texttt{\myLatnList}
715 %and \cs{myRunrList}
716 %is defined to expand to the comma-separated list
717 %\texttt{\def\textrune#1{\allowbreak\cs{textrune}\brackets{{\runefont #1}}}\myRunrList}
718 %then these lists can be sorted in the document
719 %as follows:
720 %\begin{dispExample}
721 %\DTLangLatnLocaleHook
722 %\DTLsetLocaleOptions{ang-Latn}{order=harley}
723 %\DTLsortwordlist{\myLatnList}{\DTLsortletterhandler}
724 %Sorted list (Harley): \DTLformatlist{\myLatnList}.
725 %
726 %\DTLsetLocaleOptions{ang-Latn}{order=futhorc}
727 %\DTLsortwordlist{\myLatnList}{\DTLsortletterhandler}
728 %Sorted list (fuþorc): \DTLformatlist{\myLatnList}.
729 %
730 %\DTLangRunrLocaleHook
731 %\DTLsetLocaleOptions{ang-Runr}{order=futhorc-punc}
732 %\DTLsortwordlist{\myRunrList}{\DTLsortwordhandler}
733 %Sorted list: \DTLformatlist{\myRunrList}.
734 %\end{dispExample}
735 %Note that the letter handler is best with \qt{ang-Latn} as there are
736 %many Anglo-Saxon words with hyphens. (Bosworth Toller's Anglo-Saxon
737 %dictionary ignores hyphens in the order. For example,
738 %\qt{á-ǽlan} comes between \qt{aad} and \qt{áǽðan}.)
739 %
740 %\StopEventually{%
741 % \PrintChanges
742 % \PrintIndex
743 %}
744 %
745 %
746 %\section{The Code}
747 %\iffalse
748 % \begin{macrocode}
749 %<*datatool-english.ldf>
750 % \end{macrocode}
751 %\fi
752 %\subsection{Root English LDF for \sty{datatool-base}
753 %(\file{datatool-english.ldf})}
754 % Provide support for English (\sty{tracklang} root language
755 % \qt{english}).
756 % NB number group and decimal symbols and currencies should go in
757 % region files.
758 % \begin{macrocode}
759 \TrackLangProvidesResource{english}[2025/03/12 v1.1 (NLCT)]
760 % \end{macrocode}
761 % Try loading \filemeta{datatool-english-}{encoding}{.ldf}
762 % \begin{macrocode}
763 \TrackLangRequestResource{english-\TrackLangEncodingName}
764 {
765 % \end{macrocode}
766 % Not found, fallback on \file{datatool-english-ascii.ldf}
767 % \begin{macrocode}
768 \csuse{datatool_locale_warn:nn}{datatool-english}%
769 {%
770 No support for `english' with
771 encoding `\TrackLangEncodingName'
772 (falling back on US-ASCII)%
773 }%
774 \TrackLangRequireResource{english-ascii}
775 }
776 % \end{macrocode}
777 % Switch on \LaTeX3 syntax.
778 % \begin{macrocode}
779 \ExplSyntaxOn
780 % \end{macrocode}
781 % Any options may be defined with
782 %\begin{dispListing}
783 %\datatool_locale_define_keys:nn { en } { ... }
784 %\end{dispListing}
785 % or
786 %\begin{dispListing}
787 %\datatool_locale_define_keys:nn { en / subgroup } { ... }
788 %\end{dispListing}
789 % (Syntax as per \verb|\keys_define:nn| )
790 %
791 %\subsubsection{Orthography rules}
792 %NB \cs{DTLenLocaleHandler} is defined in the applicable encoding
793 %file loaded above.
794 %
795 %\begin{macro}{\DTLenLocaleGetInitialLetter}
796 %Get the first letter of the word according to the locale's alphabet and
797 %store in token list variable.
798 % \begin{macrocode}
799 \newcommand \DTLenLocaleGetInitialLetter [ 2 ]
800 {
801 \datatool_get_first_letter:nN { #1 } #2
802 }
803 % \end{macrocode}
804 %\end{macro}
805 %
806 %\begin{macro}{\DTLenLocaleGetGroupString}
807 %\begin{definition}
808 %\cs{DTLenLocaleGetGroupString}\marg{actual}\marg{sort value}\marg{tl-var}
809 %\end{definition}
810 %Use the sort value rather than the actual value.
811 %This ensures that the accents are stripped, but it will mean that
812 %the currency and punctuation marks will have their initial marker.
813 %Bear in mind that this is only used for values that have been
814 %identified as strings. It's not used by other data types.
815 % \begin{macrocode}
816 \newcommand \DTLenLocaleGetGroupString [ 3 ]
817 {
818 \tl_set:Nn #3 { #2 }
819 }
820 % \end{macrocode}
821 %\end{macro}
822 %
823 %Provide intermediary command that defines the letter group
824 %commands for English.
825 % \begin{macrocode}
826 \newcommand \DTLenSetLetterGroups
827 {
828 \renewcommand \dtllettergroup [ 1 ]
829 { \text_titlecase_first:n { ##1 } }
830 \renewcommand \dtlnonlettergroup [ 1 ] { Symbols }
831 \renewcommand \dtlnumbergroup [ 1 ] { Numbers }
832 \renewcommand \dtlcurrencygroup [ 2 ] { Currency }
833 \renewcommand \dtldatetimegroup [ 1 ] { Timestamps }
834 \renewcommand \dtldategroup [ 1 ] { Dates }
835 \renewcommand \dtltimegroup [ 1 ] { Times }
836 }
837 % \end{macrocode}
838 %
839 % \begin{macrocode}
840 \newcommand \DTLenSetAndName
841 {
842 \renewcommand \DTLandname { and }
843 }
844 % \end{macrocode}
845 % \begin{macrocode}
846 \newcommand \DTLenTranslations
847 {
848 \DTLenSetAndName
849 \renewcommand \DTLdatatypeunsetname { unset }
850 \renewcommand \DTLdatatypestringname { string }
851 \renewcommand \DTLdatatypeintegername { integer }
852 \renewcommand \DTLdatatypedecimalname { decimal }
853 \renewcommand \DTLdatatypecurrencyname { currency }
854 \renewcommand \DTLdatatypedatetimename { date-time }
855 \renewcommand \DTLdatatypedatename { date }
856 \renewcommand \DTLdatatypetimename { time }
857 \renewcommand \DTLdatatypeinvalidname { invalid }
858 }
859 % \end{macrocode}
860 %Provide options
861 % \begin{macrocode}
862 \datatool_locale_define_keys:nn { en }
863 {
864 and .choice:,
865 and / word .code:n =
866 {
867 \renewcommand \DTLenSetAndName
868 {
869 \renewcommand \DTLandname { and }
870 }
871 \tl_if_eq:NnT \l_datatool_current_language_tl { en }
872 { \DTLenSetAndName }
873 } ,
874 and / amp .code:n =
875 {
876 \renewcommand \DTLenSetAndName
877 {
878 \renewcommand \DTLandname { \& }
879 }
880 \tl_if_eq:NnT \l_datatool_current_language_tl { en }
881 { \DTLenSetAndName }
882 } ,
883 }
884 % \end{macrocode}
885 %
886 %\subsubsection{Dates and Times}
887 % This section is still experimental.
888 %
889 % An appropriate region needs to also be specified and loaded to
890 % support parsing English dates. (The region determines dmy, mdy or
891 % ymd.)
892 %
893 %Provide a shortcut command to get the month name to number mapping.
894 % \begin{macrocode}
895 \cs_new:Nn \datatool_en_get_monthname_map:n
896 {
897 \datatool_region_get_monthname_map:n { en / #1 }
898 }
899 % \end{macrocode}
900 %Define month name to number mapping for this language.
901 % \begin{macrocode}
902 \datatool_region_set_monthname_map:nn { en / January } { 01 }
903 \datatool_region_set_monthname_map:nn { en / Jan } { 01 }
904 \datatool_region_set_monthname_map:nn { en / February } { 02 }
905 \datatool_region_set_monthname_map:nn { en / Feb } { 02 }
906 \datatool_region_set_monthname_map:nn { en / March } { 03 }
907 \datatool_region_set_monthname_map:nn { en / Mar } { 03 }
908 \datatool_region_set_monthname_map:nn { en / April } { 04 }
909 \datatool_region_set_monthname_map:nn { en / Apr } { 04 }
910 \datatool_region_set_monthname_map:nn { en / May } { 05 }
911 \datatool_region_set_monthname_map:nn { en / June } { 06 }
912 \datatool_region_set_monthname_map:nn { en / Jun } { 06 }
913 \datatool_region_set_monthname_map:nn { en / July } { 07 }
914 \datatool_region_set_monthname_map:nn { en / Jul } { 07 }
915 \datatool_region_set_monthname_map:nn { en / August } { 08 }
916 \datatool_region_set_monthname_map:nn { en / Aug } { 08 }
917 \datatool_region_set_monthname_map:nn { en / September } { 09 }
918 \datatool_region_set_monthname_map:nn { en / Sep } { 09 }
919 \datatool_region_set_monthname_map:nn { en / Sept } { 09 }
920 \datatool_region_set_monthname_map:nn { en / October } { 10 }
921 \datatool_region_set_monthname_map:nn { en / Oct } { 10 }
922 \datatool_region_set_monthname_map:nn { en / November } { 11 }
923 \datatool_region_set_monthname_map:nn { en / Nov } { 11 }
924 \datatool_region_set_monthname_map:nn { en / December } { 12 }
925 \datatool_region_set_monthname_map:nn { en / Dec } { 12 }
926 % \end{macrocode}
927 %
928 % This file currently only deals with parsing dates that have month
929 % names and possibly weekday names. It does not yet have support for
930 % providing formatting (since that can be done with \sty{datetime2}).
931 %
932 % The functions below that go from month number to name are mainly just for the
933 % benefit of \file{databib-english.ldf} although may be used in a custom
934 % definition of \cs{DataToolDateFmt} if required.
935 %
936 %If \sty{datetime2} has already been loaded, use the command
937 %provided by \file{datetime2-english-base.ldf}.
938 % \begin{macrocode}
939 \cs_if_exist:NTF \DTMenglishmonthname
940 {
941 \cs_new:Nn \datatool_en_monthname:n
942 {
943 \DTMenglishmonthname { #1 }
944 }
945 }
946 {
947 \cs_new:Nn \datatool_en_monthname:n
948 {
949 \int_case:nn { #1 }
950 {
951 { 1 } { January }
952 { 2 } { February }
953 { 3 } { March }
954 { 4 } { April }
955 { 5 } { May }
956 { 6 } { June }
957 { 7 } { July }
958 { 8 } { August }
959 { 9 } { September }
960 { 10 } { October }
961 { 11 } { November }
962 { 12 } { December }
963 }
964 }
965 }
966 % \end{macrocode}
967 % Similarly for short month names.
968 % \begin{macrocode}
969 \cs_if_exist:NTF \DTMenglishshortmonthname
970 {
971 \cs_new:Nn \datatool_en_shortmonthname:n
972 {
973 \DTMenglishshortmonthname { #1 }
974 }
975 }
976 {
977 \cs_new:Nn \datatool_en_shortmonthname:n
978 {
979 \datatool_en_shortmonthname_dotless:n { #1 }
980 }
981 }
982 % \end{macrocode}
983 %Dotless short month style.
984 % \begin{macrocode}
985 \cs_new:Nn \datatool_en_shortmonthname_dotless:n
986 {
987 \int_case:nn { #1 }
988 {
989 { 1 } { Jan }
990 { 2 } { Feb }
991 { 3 } { Mar }
992 { 4 } { Apr }
993 { 5 } { May }
994 { 6 } { Jun }
995 { 7 } { Jul }
996 { 8 } { Aug }
997 { 9 } { Sep }
998 { 10 } { Oct }
999 { 11 } { Nov }
1000 { 12 } { Dec }
1001 }
1002 }
1003 % \end{macrocode}
1004 % Dotted short month style.
1005 % (Abbreviated month names end with a dot.)
1006 % \begin{macrocode}
1007 \cs_new:Nn \datatool_en_shortmonthname_dotted:n
1008 {
1009 \int_case:nn { #1 }
1010 {
1011 { 1 } { Jan. }
1012 { 2 } { Feb. }
1013 { 3 } { Mar. }
1014 { 4 } { Apr. }
1015 { 5 } { May }
1016 { 6 } { June }
1017 { 7 } { July }
1018 { 8 } { Aug. }
1019 { 9 } { Sept. }
1020 { 10 } { Oct. }
1021 { 11 } { Nov. }
1022 { 12 } { Dec. }
1023 }
1024 }
1025 % \end{macrocode}
1026 %Regular expression to match week day name.
1027 % \begin{macrocode}
1028 \regex_const:Nn \c_datatool_en_weekday_name_regex
1029 {
1030 Monday | Mon\.? | Tuesday | Tues?\.? | Wednesday | Wed\.?
1031 | Thursday | Thur?\.? | Friday | Fri\.?
1032 | Saturday | Sat\.? | Sunday | Sun\.?
1033 }
1034 % \end{macrocode}
1035 %Regular expression to match month name.
1036 % \begin{macrocode}
1037 \regex_const:Nn \c_datatool_en_month_name_regex
1038 {
1039 January | Jan\.? | February | Feb\.? | March | Mar\.?
1040 | April | Apr\.? | May | June | Jun\.? | July | Jul\.?
1041 | August | Aug\.? | September | Sept?\.?
1042 | October | Oct\.? | November | Nov\.? | December | Dec\.?
1043 }
1044 % \end{macrocode}
1045 %Regular expression to match am/pm identifiers.
1046 % \begin{macrocode}
1047 \regex_const:Nn \c_datatool_en_am_regex
1048 {
1049 a \.? m \.? | A \.? M \.? | in \s the \s morning | [nN]oon | [Mm]idday
1050 }
1051 % \end{macrocode}
1052 % Any match on the following will add 12 to the hour by the
1053 % pm conditional function:
1054 % \begin{macrocode}
1055 \regex_const:Nn \c_datatool_en_pm_regex
1056 {
1057 p \.? m \.? | P \.? M \.? | in \s the \s (?: afternoon | evening )
1058 | [Mm]idnight
1059 }
1060 % \end{macrocode}
1061 % Provide conditional.
1062 % \begin{macrocode}
1063 \prg_new_conditional:Npnn \datatool_en_if_pm:n #1
1064 { T, F, TF }
1065 {
1066 \regex_match:NnTF \c_datatool_en_pm_regex { #1 }
1067 { \prg_return_true: }
1068 { \prg_return_false: }
1069 }
1070 % \end{macrocode}
1071 % Match ordinal suffix.
1072 % \begin{macrocode}
1073 \regex_const:Nn \c_datatool_en_ordinal_suffix_regex
1074 {
1075 st | nd | rd | th
1076 }
1077 % \end{macrocode}
1078 %
1079 % The naming scheme for date regex constants needs to be in the form
1080 %\begin{definition}
1081 % \verb|\c_datatool_|\meta{language}\verb|_|\meta{style}\verb|_date_regex| (non-anchored)
1082 %\end{definition}
1083 % and
1084 %\begin{definition}
1085 % \verb|\c_datatool_|\meta{language}\verb|_anchored_|\meta{style}\verb|_date_regex| (anchored)
1086 %\end{definition}
1087 % There should be three captured groups in the order that matches
1088 % \meta{style}
1089 % For example, the style \opt{ddmmyyyy} should have the day of month
1090 % number (1-31) in the first captured group, the month
1091 % in the second group, and the year number in the third.
1092 % Styles with \opt{yyyy} should have the century included in the year.
1093 % Styles with \opt{yy} need to have the century added to the two-digit year.
1094 %
1095 % Note that the \qt{dd} and \qt{mm} don't mean that two digits are required.
1096 % (In fact, here the month name not number is expected.)
1097 % The control sequence names are simply designed to match the
1098 % naming scheme used by the regionless numeric regex constants
1099 % provided by \file{datatime-base.sty}.
1100 %
1101 % \begin{macrocode}
1102 \regex_const:Nn \c_datatool_en_ddmmyyyy_date_regex
1103 {
1104 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1105 ( \ur{c_datatool_day_of_month_regex} )
1106 \ur{c_datatool_en_ordinal_suffix_regex} ?
1107 \s+
1108 ( \ur{c_datatool_en_month_name_regex} )
1109 \, ? \s+ ( \d+ )
1110 }
1111 % \end{macrocode}
1112 %
1113 % \begin{macrocode}
1114 \regex_const:Nn \c_datatool_en_anchored_ddmmyyyy_date_regex
1115 {
1116 \A \s*
1117 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1118 ( \ur{c_datatool_day_of_month_regex} )
1119 \ur{c_datatool_en_ordinal_suffix_regex} ?
1120 \s+
1121 ( \ur{c_datatool_en_month_name_regex} )
1122 \, ? \s+ ( \d+ )
1123 \s* \Z
1124 }
1125 % \end{macrocode}
1126 %
1127 % \begin{macrocode}
1128 \regex_const:Nn \c_datatool_en_ddmmyy_date_regex
1129 {
1130 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1131 ( \ur{c_datatool_day_of_month_regex} )
1132 \ur{c_datatool_en_ordinal_suffix_regex} ?
1133 \s+
1134 ( \ur{c_datatool_en_month_name_regex} )
1135 \, ? \s+ \ur{c_datatool_apostrophe_regex} ? ( \d{2} )
1136 }
1137 % \end{macrocode}
1138 %
1139 % \begin{macrocode}
1140 \regex_const:Nn \c_datatool_en_anchored_ddmmyy_date_regex
1141 {
1142 \A \s*
1143 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1144 ( \ur{c_datatool_day_of_month_regex} )
1145 \ur{c_datatool_en_ordinal_suffix_regex} ?
1146 \s+
1147 ( \ur{c_datatool_en_month_name_regex} )
1148 \, ? \s+ \ur{c_datatool_apostrophe_regex} ? ( \d{2} )
1149 \s* \Z
1150 }
1151 % \end{macrocode}
1152 %
1153 % \begin{macrocode}
1154 \regex_const:Nn \c_datatool_en_mmddyyyy_date_regex
1155 {
1156 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1157 ( \ur{c_datatool_en_month_name_regex} )
1158 \s+
1159 ( \ur{c_datatool_day_of_month_regex} )
1160 \ur{c_datatool_en_ordinal_suffix_regex} ?
1161 \, ? \s+ ( \d+ )
1162 }
1163 % \end{macrocode}
1164 %
1165 % \begin{macrocode}
1166 \regex_const:Nn \c_datatool_en_anchored_mmddyyyy_date_regex
1167 {
1168 \A \s*
1169 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1170 ( \ur{c_datatool_en_month_name_regex} )
1171 \s+
1172 ( \ur{c_datatool_day_of_month_regex} )
1173 \ur{c_datatool_en_ordinal_suffix_regex} ?
1174 \, ? \s+ ( \d+ )
1175 \s* \Z
1176 }
1177 % \end{macrocode}
1178 %
1179 % \begin{macrocode}
1180 \regex_const:Nn \c_datatool_en_mmddyy_date_regex
1181 {
1182 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1183 ( \ur{c_datatool_en_month_name_regex} )
1184 \s+
1185 ( \ur{c_datatool_day_of_month_regex} )
1186 \ur{c_datatool_en_ordinal_suffix_regex} ?
1187 \, ? \s+ \ur{c_datatool_apostrophe_regex} ? ( \d{2} )
1188 }
1189 % \end{macrocode}
1190 %
1191 % \begin{macrocode}
1192 \regex_const:Nn \c_datatool_en_anchored_mmddyy_date_regex
1193 {
1194 \A \s*
1195 (?: \ur{c_datatool_en_weekday_name_regex} \, ? \s+ ) ?
1196 ( \ur{c_datatool_en_month_name_regex} )
1197 \s+
1198 ( \ur{c_datatool_day_of_month_regex} )
1199 \ur{c_datatool_en_ordinal_suffix_regex} ?
1200 \, ? \s+ \ur{c_datatool_apostrophe_regex} ? ( \d{2} )
1201 \s* \Z
1202 }
1203 % \end{macrocode}
1204 %
1205 % Year first formats are a bit unlikely with month names but
1206 % provided for completeness.
1207 % \begin{macrocode}
1208 \regex_const:Nn \c_datatool_en_yyyymmdd_date_regex
1209 {
1210 ( \d+ ) \s+
1211 ( \ur{c_datatool_en_month_name_regex} )
1212 \s+
1213 ( \ur{c_datatool_day_of_month_regex} )
1214 \ur{c_datatool_en_ordinal_suffix_regex} ?
1215 (?: \, ? \s+ \ur{c_datatool_en_weekday_name_regex} ) ?
1216 }
1217 % \end{macrocode}
1218 %
1219 % \begin{macrocode}
1220 \regex_const:Nn \c_datatool_en_anchored_yyyymmdd_date_regex
1221 {
1222 \A \s*
1223 ( \d+ ) \s+
1224 ( \ur{c_datatool_en_month_name_regex} )
1225 \s+
1226 ( \ur{c_datatool_day_of_month_regex} )
1227 \ur{c_datatool_en_ordinal_suffix_regex} ?
1228 (?: \, ? \s+ \ur{c_datatool_en_weekday_name_regex} ) ?
1229 \s* \Z
1230 }
1231 % \end{macrocode}
1232 %This is a bit unusual but provided for completeness.
1233 % \begin{macrocode}
1234 \regex_const:Nn \c_datatool_en_yymmdd_date_regex
1235 {
1236 \ur{c_datatool_apostrophe_regex} ? ( \d{2} ) \s+
1237 ( \ur{c_datatool_en_month_name_regex} )
1238 \s+
1239 ( \ur{c_datatool_day_of_month_regex} )
1240 \ur{c_datatool_en_ordinal_suffix_regex} ?
1241 (?: \, ? \s+ \ur{c_datatool_en_weekday_name_regex} ) ?
1242 }
1243 % \end{macrocode}
1244 %
1245 % \begin{macrocode}
1246 \regex_const:Nn \c_datatool_en_anchored_yymmdd_date_regex
1247 {
1248 \A \s*
1249 \ur{c_datatool_apostrophe_regex} ? ( \d{2} ) \s+
1250 ( \ur{c_datatool_en_month_name_regex} )
1251 \s+
1252 ( \ur{c_datatool_day_of_month_regex} )
1253 \ur{c_datatool_en_ordinal_suffix_regex} ?
1254 (?: \, ? \s+ \ur{c_datatool_en_weekday_name_regex} ) ?
1255 \s* \Z
1256 }
1257 % \end{macrocode}
1258 %
1259 % The naming scheme for time regex constants needs to be in the form
1260 %\begin{definition}
1261 % \verb|\c_datatool_|\meta{language}\verb|_|\meta{variant}\verb|_hhmmss_time_regex| (non-anchored)
1262 %\end{definition}
1263 % and
1264 %\begin{definition}
1265 % \verb|\c_datatool_|\meta{language}\verb|_|\meta{variant}\verb|_anchored_hhmmss_time_regex| (anchored)
1266 %\end{definition}
1267 % Both the minutes and seconds are optional here.
1268 % These will default to 00 if omitted.
1269 %
1270 % \begin{macrocode}
1271 \regex_const:Nn \c_datatool_en_colon_hhmmss_time_regex
1272 {
1273 ( \ur{c_datatool_hour_regex} )
1274 (?: \: ( \ur{c_datatool_minsec_regex} ) ) ?
1275 (?: \: ( \ur{c_datatool_minsec_regex} ) ) ?
1276 (?: \s*
1277 (
1278 \ur{c_datatool_en_am_regex}
1279 | \ur{c_datatool_en_pm_regex}
1280 )
1281 ) ?
1282 }
1283 % \end{macrocode}
1284 %
1285 % \begin{macrocode}
1286 \regex_const:Nn \c_datatool_en_colon_anchored_hhmmss_time_regex
1287 {
1288 \A \s*
1289 ( \ur{c_datatool_hour_regex} )
1290 (?: \: ( \ur{c_datatool_minsec_regex} ) ) ?
1291 (?: \: ( \ur{c_datatool_minsec_regex} ) ) ?
1292 (?: \s*
1293 (
1294 \ur{c_datatool_en_am_regex}
1295 | \ur{c_datatool_en_pm_regex}
1296 )
1297 ) ?
1298 \s* \Z
1299 }
1300 % \end{macrocode}
1301 %
1302 % \begin{macrocode}
1303 \regex_const:Nn \c_datatool_en_dot_hhmmss_time_regex
1304 {
1305 ( \ur{c_datatool_hour_regex} )
1306 (?: \. ( \ur{c_datatool_minsec_regex} ) ) ?
1307 (?: \. ( \ur{c_datatool_minsec_regex} ) ) ?
1308 (?: \s*
1309 (
1310 \ur{c_datatool_en_am_regex}
1311 | \ur{c_datatool_en_pm_regex}
1312 )
1313 ) ?
1314 }
1315 % \end{macrocode}
1316 %
1317 % \begin{macrocode}
1318 \regex_const:Nn \c_datatool_en_dot_anchored_hhmmss_time_regex
1319 {
1320 \A \s*
1321 ( \ur{c_datatool_hour_regex} )
1322 (?: \. ( \ur{c_datatool_minsec_regex} ) ) ?
1323 (?: \. ( \ur{c_datatool_minsec_regex} ) ) ?
1324 (?: \s*
1325 (
1326 \ur{c_datatool_en_am_regex}
1327 | \ur{c_datatool_en_pm_regex}
1328 )
1329 ) ?
1330 \s* \Z
1331 }
1332 % \end{macrocode}
1333 %
1334 % \begin{macrocode}
1335 \newcommand \DTLenLocaleHook
1336 {
1337 \renewcommand
1338 \DTLCurrentLocaleWordHandler
1339 { \DTLenLocaleHandler }
1340 \renewcommand
1341 \DTLCurrentLocaleGetInitialLetter
1342 { \DTLenLocaleGetInitialLetter }
1343 \renewcommand
1344 \DTLCurrentLocaleGetGroupString
1345 { \DTLenLocaleGetGroupString }
1346 \DTLenSetLetterGroups
1347 \let
1348 \DTLCurrentLocaleGetMonthNameMap
1349 \datatool_en_get_monthname_map:n
1350 \let
1351 \DTLCurrentLocaleIfpmTF
1352 \datatool_en_if_pm:nTF
1353 % \end{macrocode}
1354 % Allow region files to construct control sequence names based on
1355 % this naming scheme:
1356 % \begin{macrocode}
1357 \tl_set:Nn \l_datatool_current_language_tl { en }
1358 % \end{macrocode}
1359 % Textual commands:
1360 % \begin{macrocode}
1361 \DTLenTranslations
1362 }
1363 % \end{macrocode}
1364 %
1365 % \begin{macrocode}
1366 \ExplSyntaxOff
1367 % \end{macrocode}
1368 %
1369 % \begin{macrocode}
1370 \TrackLangAddToCaptions{\DTLenLocaleHook}
1371 % \end{macrocode}
1372 %\iffalse
1373 % \begin{macrocode}
1374 %</datatool-english.ldf>
1375 % \end{macrocode}
1376 %\fi
1377 %\iffalse
1378 % \begin{macrocode}
1379 %<*datatool-english-ascii.ldf>
1380 % \end{macrocode}
1381 %\fi
1382 %\subsection{Root English US-ASCII LDF for \sty{datatool-base}
1383 %(\file{datatool-english-ascii.ldf})}
1384 % \begin{macrocode}
1385 \TrackLangProvidesResource{english-ascii}[2025/03/12 v1.1 (NLCT)]
1386 % \end{macrocode}
1387 %Switch on \LaTeX3 syntax.
1388 % \begin{macrocode}
1389 \ExplSyntaxOn
1390 % \end{macrocode}
1391 %Minimal support for \cs{DTLenLocaleHandler}.
1392 % \begin{macrocode}
1393 \newcommand \DTLenLocaleHandler [ 1 ]
1394 {
1395 % \end{macrocode}
1396 %Ensure punctuation characters are grouped together by
1397 %prefixing them with straight double-quote. This ensures that they
1398 %will all be placed before any alphabetical characters.
1399 % \begin{macrocode}
1400 \regex_replace_all:nnN
1401 % \end{macrocode}
1402 %Version 1.1 added category code check.
1403 % \begin{macrocode}
1404 { \cO([[:punct:]]) } { \cO\" \1 }
1405 #1
1406 }
1407 % \end{macrocode}
1408 %Switch off \LaTeX3 syntax.
1409 % \begin{macrocode}
1410 \ExplSyntaxOff
1411 % \end{macrocode}
1412 %\iffalse
1413 % \begin{macrocode}
1414 %</datatool-english-ascii.ldf>
1415 % \end{macrocode}
1416 %\fi
1417 %\iffalse
1418 % \begin{macrocode}
1419 %<*datatool-english-latin1.ldf>
1420 % \end{macrocode}
1421 %\fi
1422 %\subsection{Root English ISO 8859-1 LDF for \sty{datatool-base}
1423 %(\file{datatool-english-latin1.ldf})}
1424 % \begin{macrocode}
1425 \TrackLangProvidesResource{english-latin1}[2025/03/12 v1.1 (NLCT)]
1426 % \end{macrocode}
1427 %Switch on \LaTeX3 syntax.
1428 % \begin{macrocode}
1429 \ExplSyntaxOn
1430 % \end{macrocode}
1431 % Provide Latin-1 version of \cs{DTLenLocaleHandler}.
1432 % \begin{macrocode}
1433 \newcommand \DTLenLocaleHandler [ 1 ]
1434 {
1435 \regex_replace_case_all:nN
1436 {
1437 { [ \x{C0} - \x{C5} ] } { A }
1438 { \x{C6} } { AE }
1439 { \x{C7} } { C }
1440 { [ \x{C8} - \x{CB} ] } { E }
1441 { [ \x{CC} - \x{CF} ] } { I }
1442 { \x{D1} } { N }
1443 { [ \x{D2} - \x{D6} \x{D8} ] } { O }
1444 { [ \x{D9} - \x{DC} ]} { U }
1445 { \x{DD} } { Y }
1446 % \end{macrocode}
1447 %Version 1.1: treat eth as thorn
1448 % \begin{macrocode}
1449 { \x{DE} | \x{D0} } { TH }
1450 { \x{DF} } { ss }
1451 { [ \x{E0} - \x{E5} ] } { a }
1452 { \x{E6} } { ae }
1453 { \x{E7} } { c }
1454 { [ \x{E8} - \x{EB} ] } { e }
1455 { [ \x{EC} - \x{EF} ] } { i }
1456 { \x{F1} } { n }
1457 { [ \x{F2} - \x{F6} \x{F8} ] } { o }
1458 { [ \x{F9} - \x{FC} ] } { u }
1459 { [ \x{FD} \x{FF} ] } { y }
1460 % \end{macrocode}
1461 %Version 1.1: treat eth as thorn
1462 % \begin{macrocode}
1463 { \x{FE} | \x{F0} } { th }
1464 % \end{macrocode}
1465 %Ensure currency symbols are grouped together by prefixing all
1466 %currency symbols with \verb|$| but don't change math shift.
1467 %Version 1.1 added math shift check.
1468 % \begin{macrocode}
1469 { \cM(.) } { \1 }
1470 { (\ur{l_datatool_currencysigns_regex}) } { \cO\$ \1 }
1471 % \end{macrocode}
1472 %Ensure punctuation characters are grouped together by
1473 %prefixing them with straight double-quote. This ensures that they
1474 %will all be placed before any alphabetical characters.
1475 %Version 1.1 added category code check.
1476 % \begin{macrocode}
1477 { \cO([[:punct:]]) } { \cO\" \1 }
1478 }
1479 #1
1480 }
1481 % \end{macrocode}
1482 %Switch off \LaTeX3 syntax.
1483 % \begin{macrocode}
1484 \ExplSyntaxOff
1485 % \end{macrocode}
1486 %\iffalse
1487 % \begin{macrocode}
1488 %</datatool-english-latin1.ldf>
1489 % \end{macrocode}
1490 %\fi
1491 %\iffalse
1492 % \begin{macrocode}
1493 %<*datatool-english-utf8.ldf>
1494 % \end{macrocode}
1495 %\fi
1496 %\subsection{Root English UTF-8 LDF for \sty{datatool-base}
1497 %\file{datatool-english-utf8.ldf}}
1498 % \begin{macrocode}
1499 \TrackLangProvidesResource{english-utf8}[2025/03/12 v1.1 (NLCT)]
1500 % \end{macrocode}
1501 %Switch on \LaTeX3 syntax.
1502 % \begin{macrocode}
1503 \ExplSyntaxOn
1504 % \end{macrocode}
1505 %
1506 % Only provide limited support for extended characters to allow for
1507 % foreign names. The more cases added, the longer the processing
1508 % time.
1509 %
1510 % \begin{macrocode}
1511 \newcommand \DTLenLocaleHandler [ 1 ]
1512 {
1513 \regex_replace_case_all:nN
1514 {
1515 {À|Á|Â|Ã|Ä|Å} {A}
1516 {Æ} {AE}
1517 {Ç} {C}
1518 {È|É|Ê|Ë} {E}
1519 {Ì|Í|Î|Ï} {I}
1520 {Ñ} {N}
1521 {Ò|Ó|Ô|Õ|Ö|Ø} {O}
1522 {Ù|Ú|Û|Ü} {U}
1523 {Ý} {Y}
1524 % \end{macrocode}
1525 %Version 1.1: treat eth as thorn
1526 % \begin{macrocode}
1527 {Þ|Ð} {TH}
1528 {ß} {ss}
1529 {à|á|â|ã|ä|å} {a}
1530 {æ} {ae}
1531 {ç} {c}
1532 {è|é|ê|ë} {e}
1533 {ì|í|î|ï} {i}
1534 {ñ} {n}
1535 {ò|ó|ô|õ|ö|ø} {o}
1536 {ù|ú|û|ü} {u}
1537 {ý|ÿ} {y}
1538 % \end{macrocode}
1539 %Version 1.1: treat eth as thorn
1540 % \begin{macrocode}
1541 {þ|ð} {th}
1542 {ſ} {s}
1543 {IJ} {Ij}
1544 {ij} {ij}
1545 {Ł} {L}
1546 {ł} {l}
1547 {Œ} {OE}
1548 {œ} {oe}
1549 {Ƿ} {W}
1550 {ƿ} {w}
1551 % \end{macrocode}
1552 %Ensure currency symbols are grouped together by prefixing all
1553 %currency symbols with \verb|$| but don't change math shift.
1554 %Version 1.1 added math shift check.
1555 % \begin{macrocode}
1556 { \cM(.) } { \1 }
1557 { (\ur{l_datatool_currencysigns_regex}) } { \cO\$ \1 }
1558 % \end{macrocode}
1559 %Ensure common punctuation characters are grouped together by
1560 %prefixing them with straight double-quote. This ensures that they
1561 %will all be placed before any alphabetical characters.
1562 %
1563 %Treat closing quote the same as straight apostrophe.
1564 % \begin{macrocode}
1565 { ’ } { \cO\" \cO\' }
1566 % \end{macrocode}
1567 %Treat opening quote the same as backtick.
1568 % \begin{macrocode}
1569 { ‘ } { \cO\" \cO\` }
1570 % \end{macrocode}
1571 %Treat opening and closing double quotes the same as straight
1572 %double-quote.
1573 % \begin{macrocode}
1574 { (“|”) } { \cO\" \cO\" }
1575 % \end{macrocode}
1576 %Treat em-dash and en-dash the same as hyphen/minus.
1577 % \begin{macrocode}
1578 { (—|–) } { \cO\" \cO\- }
1579 % \end{macrocode}
1580 %Any character in the punctuation class that has category other:
1581 %Version 1.1 added category code check.
1582 % \begin{macrocode}
1583 { \cO([[:punct:]]) } { \cO\" \1 }
1584 }
1585 #1
1586 }
1587 % \end{macrocode}
1588 % Switch off \LaTeX3 syntax:
1589 % \begin{macrocode}
1590 \ExplSyntaxOff
1591 % \end{macrocode}
1592 %\iffalse
1593 % \begin{macrocode}
1594 %</datatool-english-utf8.ldf>
1595 % \end{macrocode}
1596 %\fi
1597 %\iffalse
1598 % \begin{macrocode}
1599 %<*datatool-en-CA.ldf>
1600 % \end{macrocode}
1601 %\fi
1602 %\subsection{Canadian English LDF for \sty{datatool-base}
1603 %(\file{datatool-en-CA.ldf})}
1604 % \begin{macrocode}
1605 \TrackLangProvidesResource{en-CA}[2025/03/12 v1.1 (NLCT)]
1606 % \end{macrocode}
1607 % Load root language file. Note that \sty{datatool-base} should
1608 % automatically load the region file \file{datatool-CA.ldf} if it is
1609 % installed, so only \file{datatool-english.ldf} needs to be loaded
1610 % (if not already done so).
1611 % \begin{macrocode}
1612 \TrackLangRequireResource{english}
1613 % \end{macrocode}
1614 % Need \LaTeX3 syntax on:
1615 % \begin{macrocode}
1616 \ExplSyntaxOn
1617 % \end{macrocode}
1618 % Provide both official and unofficial options for the number group
1619 % and decimal characters.
1620 % Official style has a space number group and a decimal dot.
1621 % This will allow a normal space, \cs{,} (thin space command) or
1622 % the thin space Unicode character U+2009 as the number group separator when
1623 % parsing and will use \cs{,} when formatting.
1624 % \begin{macrocode}
1625 \cs_new:Nn \datatool_en_CA_set_numberchars_official:
1626 {
1627 \datatool_set_thinspace_group_decimal_char:n { . }
1628 }
1629 % \end{macrocode}
1630 % Unofficial style has a comma number group and a decimal dot.
1631 % \begin{macrocode}
1632 \cs_new:Nn \datatool_en_CA_set_numberchars_unofficial:
1633 {
1634 \DTLsetnumberchars { , } { . }
1635 }
1636 % \end{macrocode}
1637 %Provide intermediate command to set the applicable number group and
1638 %decimal character.
1639 % \begin{macrocode}
1640 \newcommand \datatoolenCASetNumberChars
1641 {
1642 \bool_if:NT \l_datatool_region_set_numberchars_bool
1643 {
1644 \datatool_en_CA_set_numberchars_official:
1645 }
1646 }
1647 % \end{macrocode}
1648 %Provide \cs{DTLsetLocaleOptions} \opt{en-CA} option to switch between styles.
1649 % \begin{macrocode}
1650 \datatool_locale_define_keys:nn { en-CA }
1651 {
1652 number-style .choices:nn =
1653 { official , unofficial }
1654 {
1655 \exp_args:NNe \renewcommand
1656 \datatoolenCASetNumberChars
1657 {
1658 \exp_not:N \bool_if:NT
1659 \exp_not:N \l_datatool_region_set_numberchars_bool
1660 {
1661 \exp_not:c { datatool_en_CA_set_numberchars_ \l_keys_choice_tl : }
1662 }
1663 }
1664 \datatool_if_current_lang_region:nnT { en } { CA }
1665 {
1666 \datatoolenCASetNumberChars
1667 }
1668 } ,
1669 }
1670 % \end{macrocode}
1671 %Provide intermediary command to add to the captions hook.
1672 % \begin{macrocode}
1673 \newcommand \DTLenCALocaleHook
1674 {
1675 \datatoolenCASetNumberChars
1676 }
1677 % \end{macrocode}
1678 % \LaTeX3 syntax no longer needed.
1679 % \begin{macrocode}
1680 \ExplSyntaxOff
1681 % \end{macrocode}
1682 % Add to captions hook (this is needed for languages but not
1683 % language-less regions).
1684 % \begin{macrocode}
1685 \TrackLangAddToCaptions{\DTLenCALocaleHook}
1686 % \end{macrocode}
1687 %\iffalse
1688 % \begin{macrocode}
1689 %</datatool-en-CA.ldf>
1690 % \end{macrocode}
1691 %\fi
1692 %\iffalse
1693 % \begin{macrocode}
1694 %<*datatool-en-ZA.ldf>
1695 % \end{macrocode}
1696 %\fi
1697 %\subsection{South African English LDF for \sty{datatool-base}
1698 %(\file{datatool-en-ZA.ldf})}
1699 % \begin{macrocode}
1700 \TrackLangProvidesResource{en-ZA}[2025/03/12 v1.1 (NLCT)]
1701 % \end{macrocode}
1702 % Load root language file. Note that \sty{datatool-base} should
1703 % automatically load the region file \file{datatool-ZA.ldf} if it is
1704 % installed, so only \file{datatool-english.ldf} needs to be loaded
1705 % (if not already done so).
1706 % \begin{macrocode}
1707 \TrackLangRequireResource{english}
1708 % \end{macrocode}
1709 % Need \LaTeX3 syntax on:
1710 % \begin{macrocode}
1711 \ExplSyntaxOn
1712 % \end{macrocode}
1713 % Provide dialect options for the number group
1714 % and decimal characters.
1715 % Space style has a space number group and a decimal dot.
1716 % This will allow a normal space, \cs{,} (thin space command) or
1717 % the thin space Unicode character U+2009 as the number group separator when
1718 % parsing and will use \cs{,} when formatting.
1719 % \begin{macrocode}
1720 \cs_new:Npn \datatool_en_ZA_set_numberchars_thinspace:
1721 {
1722 \datatool_set_thinspace_group_decimal_char:n { . }
1723 }
1724 % \end{macrocode}
1725 % Comma style has a comma number group and a decimal dot.
1726 % \begin{macrocode}
1727 \cs_new:Npn \datatool_en_ZA_set_numberchars_comma:
1728 {
1729 \DTLsetnumberchars { , } { . }
1730 }
1731 % \end{macrocode}
1732 %Provide intermediate command to set the applicable number group and
1733 %decimal character.
1734 % \begin{macrocode}
1735 \newcommand \datatoolenZASetNumberChars
1736 {
1737 \bool_if:NT \l_datatool_region_set_numberchars_bool
1738 {
1739 \datatool_en_ZA_set_numberchars_thinspace:
1740 }
1741 }
1742 % \end{macrocode}
1743 %Provide \cs{DTLsetLocaleOptions} \opt{en-ZA} option to switch between styles.
1744 % \begin{macrocode}
1745 \datatool_locale_define_keys:nn { en-ZA }
1746 {
1747 number-style .choices:nn =
1748 { thinspace , comma }
1749 {
1750 \exp_args:NNe \renewcommand
1751 \datatoolenZASetNumberChars
1752 {
1753 \exp_not:N \bool_if:NT
1754 \exp_not:N \l_datatool_region_set_numberchars_bool
1755 {
1756 \exp_not:c { datatool_en_ZA_set_numberchars_ \l_keys_choice_tl : }
1757 }
1758 }
1759 % \end{macrocode}
1760 %Note that this will be reset when the dialect changes unless
1761 %\verb|\DTLsetLocaleOptions{ZA}{number-style=dialect}| is used.
1762 % \begin{macrocode}
1763 \datatool_if_current_lang_region:nnT { en } { ZA }
1764 {
1765 \datatoolenZASetNumberChars
1766 }
1767 } ,
1768 }
1769 % \end{macrocode}
1770 %Provide a hook using the required naming scheme.
1771 % \begin{macrocode}
1772 \newcommand \DTLenZALocaleHook
1773 {
1774 \datatoolenZASetNumberChars
1775 }
1776 % \end{macrocode}
1777 % \LaTeX3 syntax no longer needed.
1778 % \begin{macrocode}
1779 \ExplSyntaxOff
1780 % \end{macrocode}
1781 % Add to captions hook (this is needed for languages but not
1782 % language-less regions).
1783 % \begin{macrocode}
1784 \TrackLangAddToCaptions{\DTLenZALocaleHook}
1785 % \end{macrocode}
1786 %\iffalse
1787 % \begin{macrocode}
1788 %</datatool-en-ZA.ldf>
1789 % \end{macrocode}
1790 %\fi
1791 %\iffalse
1792 % \begin{macrocode}
1793 %<*databib-english.ldf>
1794 % \end{macrocode}
1795 %\fi
1796 %\subsection{Root English LDF for \sty{databib}
1797 %(\file{databib-english.ldf})}
1798 % \begin{macrocode}
1799 \TrackLangProvidesResource{english}[2025/03/12 v1.1 (NLCT)]
1800 % \end{macrocode}
1801 % \LaTeX3 commands needed:
1802 % \begin{macrocode}
1803 \ExplSyntaxOn
1804 % \end{macrocode}
1805 % Month names used by the \opt{abbrv} style.
1806 % \begin{macrocode}
1807 \cs_new:Nn \databib_en_shortmonthname:n
1808 {
1809 \datatool_en_shortmonthname_dotted:n { #1 }
1810 }
1811 % \end{macrocode}
1812 % Define \cs{DTLsetLocaleOptions} options for \opt{en/databib}. The only option deals with
1813 % switching the short month names for the \opt{abbrv} style between
1814 % three-letter dotless names and abbreviated names that end with a
1815 % dot.
1816 % \begin{macrocode}
1817 \datatool_locale_define_keys:nn { en / databib }
1818 {
1819 short-month-style .choice: ,
1820 short-month-style / dotted .code:n =
1821 {
1822 \cs_set:Nn \databib_en_shortmonthname:n
1823 {
1824 \datatool_en_shortmonthname_dotted:n { #1 }
1825 }
1826 } ,
1827 short-month-style / dotless .code:n =
1828 {
1829 \cs_set:Nn \databib_en_shortmonthname:n
1830 {
1831 \datatool_en_shortmonthname_dotless:n { #1 }
1832 }
1833 } ,
1834 }
1835 % \end{macrocode}
1836 % Fixed text translations.
1837 % \begin{macrocode}
1838 \newcommand \DataBibEnglish
1839 {
1840 \tl_set:Nn \ofname { of }
1841 \tl_set:Nn \inname { in }
1842 \tl_set:Nn \etalname { et ~ al. }
1843 \tl_set:Nn \editorname { editor }
1844 \tl_set:Nn \editorsname { editors }
1845 \tl_set:Nn \volumename { volume }
1846 \tl_set:Nn \numbername { number }
1847 \tl_set:Nn \pagesname { pages }
1848 \tl_set:Nn \pagename { page }
1849 \tl_set:Nn \editionname { edition }
1850 \tl_set:Nn \techreportname { Technical ~ report }
1851 \tl_set:Nn \mscthesisname { Master's ~ thesis }
1852 \tl_set:Nn \phdthesisname { PhD ~ thesis }
1853 \tl_set:Nn \DTLbibaccessedname { accessed }
1854 \renewcommand \dtl@monthname [ 1 ]
1855 {
1856 \datatool_en_monthname:n { ##1 }
1857 }
1858 \renewcommand \dtl@abbrvmonthname [ 1 ]
1859 {
1860 \databib_en_shortmonthname:n { ##1 }
1861 }
1862 }
1863 % \end{macrocode}
1864 % Finished with \LaTeX3 commands.
1865 % \begin{macrocode}
1866 \ExplSyntaxOff
1867 % \end{macrocode}
1868 % Add to captions hook.
1869 % \begin{macrocode}
1870 \TrackLangAddToCaptions{\DataBibEnglish}
1871 % \end{macrocode}
1872 %\iffalse
1873 % \begin{macrocode}
1874 %</databib-english.ldf>
1875 % \end{macrocode}
1876 %\fi
1877 %\iffalse
1878 % \begin{macrocode}
1879 %<*person-english.ldf>
1880 % \end{macrocode}
1881 %\fi
1882 %\subsection{Root English LDF for \sty{person}
1883 %(\file{person-english.ldf})}
1884 % \begin{macrocode}
1885 \TrackLangProvidesResource{english}[2025/03/12 v1.1 (NLCT)]
1886 % \end{macrocode}
1887 % If \cs{DTLsetLocaleOptions} options need to be provided, the sub-module should be
1888 % \qt{person}. For example,
1889 %
1890 %\begin{definition}
1891 %\cs{datatool\_locale\_define\_keys:nn} \brackets{ en / person }
1892 %\marg{key-value list}
1893 %\end{definition}
1894 %
1895 %Provide intermediate command to add to captions hook.
1896 % \begin{macrocode}
1897 \newcommand{\DataToolPersonEnglish}{%
1898 % \end{macrocode}
1899 % Third person pronouns
1900 % \begin{macrocode}
1901 \PersonSetLocalisation{male}{pronoun}{he}%
1902 \PersonSetLocalisation{female}{pronoun}{she}%
1903 \PersonSetLocalisation{nonbinary}{pronoun}{they}%
1904 \PersonSetLocalisation{unknown}{pronoun}{they}%
1905 \PersonSetLocalisation{male}{pluralpronoun}{they}%
1906 \PersonSetLocalisation{female}{pluralpronoun}{they}%
1907 \PersonSetLocalisation{nonbinary}{pluralpronoun}{they}%
1908 \PersonSetLocalisation{unknown}{pluralpronoun}{they}%
1909 % \end{macrocode}
1910 % Third person objective pronouns
1911 % \begin{macrocode}
1912 \PersonSetLocalisation{male}{objpronoun}{him}%
1913 \PersonSetLocalisation{female}{objpronoun}{her}%
1914 \PersonSetLocalisation{nonbinary}{objpronoun}{them}%
1915 \PersonSetLocalisation{unknown}{objpronoun}{them}%
1916 \PersonSetLocalisation{male}{pluralobjpronoun}{them}%
1917 \PersonSetLocalisation{female}{pluralobjpronoun}{them}%
1918 \PersonSetLocalisation{nonbinary}{pluralobjpronoun}{them}%
1919 \PersonSetLocalisation{unknown}{pluralobjpronoun}{them}%
1920 % \end{macrocode}
1921 % Third person possessive adjectives
1922 % \begin{macrocode}
1923 \PersonSetLocalisation{male}{possadj}{his}%
1924 \PersonSetLocalisation{female}{possadj}{her}%
1925 \PersonSetLocalisation{nonbinary}{possadj}{their}%
1926 \PersonSetLocalisation{unknown}{possadj}{their}%
1927 \PersonSetLocalisation{male}{pluralpossadj}{their}%
1928 \PersonSetLocalisation{female}{pluralpossadj}{their}%
1929 \PersonSetLocalisation{nonbinary}{pluralpossadj}{their}%
1930 \PersonSetLocalisation{unknown}{pluralpossadj}{their}%
1931 % \end{macrocode}
1932 % Third person possessive pronouns
1933 % \begin{macrocode}
1934 \PersonSetLocalisation{male}{posspronoun}{his}%
1935 \PersonSetLocalisation{female}{posspronoun}{hers}%
1936 \PersonSetLocalisation{nonbinary}{posspronoun}{theirs}%
1937 \PersonSetLocalisation{unknown}{posspronoun}{theirs}%
1938 \PersonSetLocalisation{male}{pluralposspronoun}{theirs}%
1939 \PersonSetLocalisation{female}{pluralposspronoun}{theirs}%
1940 \PersonSetLocalisation{nonbinary}{pluralposspronoun}{theirs}%
1941 \PersonSetLocalisation{unknown}{pluralposspronoun}{theirs}%
1942 % \end{macrocode}
1943 % Second person pronouns
1944 % \begin{macrocode}
1945 \PersonSetLocalisation{male}{pronoun2}{you}%
1946 \PersonSetLocalisation{female}{pronoun2}{you}%
1947 \PersonSetLocalisation{nonbinary}{pronoun2}{you}%
1948 \PersonSetLocalisation{unknown}{pronoun2}{you}%
1949 \PersonSetLocalisation{male}{pluralpronoun2}{you}%
1950 \PersonSetLocalisation{female}{pluralpronoun2}{you}%
1951 \PersonSetLocalisation{nonbinary}{pluralpronoun2}{you}%
1952 \PersonSetLocalisation{unknown}{pluralpronoun2}{you}%
1953 % \end{macrocode}
1954 % Second person objective pronouns
1955 % \begin{macrocode}
1956 \PersonSetLocalisation{male}{objpronoun2}{you}%
1957 \PersonSetLocalisation{female}{objpronoun2}{you}%
1958 \PersonSetLocalisation{nonbinary}{objpronoun2}{you}%
1959 \PersonSetLocalisation{unknown}{objpronoun2}{you}%
1960 \PersonSetLocalisation{male}{pluralobjpronoun2}{you}%
1961 \PersonSetLocalisation{female}{pluralobjpronoun2}{you}%
1962 \PersonSetLocalisation{nonbinary}{pluralobjpronoun2}{you}%
1963 \PersonSetLocalisation{unknown}{pluralobjpronoun2}{you}%
1964 % \end{macrocode}
1965 % Second person possessive adjective
1966 % \begin{macrocode}
1967 \PersonSetLocalisation{male}{possadj2}{your}%
1968 \PersonSetLocalisation{female}{possadj2}{your}%
1969 \PersonSetLocalisation{nonbinary}{possadj2}{your}%
1970 \PersonSetLocalisation{unknown}{possadj2}{your}%
1971 \PersonSetLocalisation{male}{pluralpossadj2}{your}%
1972 \PersonSetLocalisation{female}{pluralpossadj2}{your}%
1973 \PersonSetLocalisation{nonbinary}{pluralpossadj2}{your}%
1974 \PersonSetLocalisation{unknown}{pluralpossadj2}{your}%
1975 % \end{macrocode}
1976 % Second person possessive pronoun
1977 % \begin{macrocode}
1978 \PersonSetLocalisation{male}{posspronoun2}{yours}%
1979 \PersonSetLocalisation{female}{posspronoun2}{yours}%
1980 \PersonSetLocalisation{nonbinary}{posspronoun2}{yours}%
1981 \PersonSetLocalisation{unknown}{posspronoun2}{yours}%
1982 \PersonSetLocalisation{male}{pluralposspronoun2}{yours}%
1983 \PersonSetLocalisation{female}{pluralposspronoun2}{yours}%
1984 \PersonSetLocalisation{nonbinary}{pluralposspronoun2}{yours}%
1985 \PersonSetLocalisation{unknown}{pluralposspronoun2}{yours}%
1986 % \end{macrocode}
1987 % Relationships
1988 % \begin{macrocode}
1989 \PersonSetLocalisation{male}{child}{son}%
1990 \PersonSetLocalisation{female}{child}{daughter}%
1991 \PersonSetLocalisation{nonbinary}{child}{child}%
1992 \PersonSetLocalisation{unknown}{child}{child}%
1993 \PersonSetLocalisation{male}{pluralchild}{sons}%
1994 \PersonSetLocalisation{female}{pluralchild}{daughters}%
1995 \PersonSetLocalisation{nonbinary}{pluralchild}{children}%
1996 \PersonSetLocalisation{unknown}{pluralchild}{children}%
1997 \PersonSetLocalisation{male}{parent}{father}%
1998 \PersonSetLocalisation{female}{parent}{mother}%
1999 \PersonSetLocalisation{nonbinary}{parent}{parent}%
2000 \PersonSetLocalisation{unknown}{parent}{parent}%
2001 \PersonSetLocalisation{male}{pluralparent}{fathers}%
2002 \PersonSetLocalisation{female}{pluralparent}{mothers}%
2003 \PersonSetLocalisation{nonbinary}{pluralparent}{parents}%
2004 \PersonSetLocalisation{unknown}{pluralparent}{parents}%
2005 \PersonSetLocalisation{male}{sibling}{brother}%
2006 \PersonSetLocalisation{female}{sibling}{sister}%
2007 \PersonSetLocalisation{nonbinary}{sibling}{sibling}%
2008 \PersonSetLocalisation{unknown}{sibling}{sibling}%
2009 \PersonSetLocalisation{male}{pluralsibling}{brothers}%
2010 \PersonSetLocalisation{female}{pluralsibling}{sisters}%
2011 \PersonSetLocalisation{nonbinary}{pluralsibling}{siblings}%
2012 \PersonSetLocalisation{unknown}{pluralsibling}{siblings}%
2013 % \end{macrocode}
2014 % Gender translations
2015 % \begin{macrocode}
2016 \PersonSetLocalisation{male}{gender}{male}%
2017 \PersonSetLocalisation{female}{gender}{female}%
2018 \PersonSetLocalisation{nonbinary}{gender}{non-binary}%
2019 \PersonSetLocalisation{unknown}{gender}{unknown}%
2020 % \end{macrocode}
2021 % Gender identification labels for \cs{newperson}
2022 % \begin{macrocode}
2023 \PersonSetMaleLabels{Male,MALE,M,m}%
2024 \PersonSetFemaleLabels{Female,FEMALE,F,f}%
2025 \PersonSetNonBinaryLabels{non-binary,Nonbinary,Non-Binary,NONBINARY,NON-BINARY,N,n}%
2026 }
2027 % \end{macrocode}
2028 % Add to captions hook.
2029 % \begin{macrocode}
2030 \TrackLangAddToCaptions{\DataToolPersonEnglish}
2031 % \end{macrocode}
2032 %\iffalse
2033 % \begin{macrocode}
2034 %</person-english.ldf>
2035 % \end{macrocode}
2036 %\fi
2037 %\iffalse
2038 % \begin{macrocode}
2039 %<*datatool-anglosaxon.ldf>
2040 % \end{macrocode}
2041 %\fi
2042 %\subsection{Root Old English (Anglo Saxon) LDF for \sty{datatool-base}
2043 %(\file{datatool-anglosaxon.ldf})}
2044 % Provide support for Old English (\sty{tracklang} root language
2045 % \qt{anglosaxon}).
2046 % This is mainly provided as an example for dealing with languages
2047 % that have multiple scripts and non-ASCII letters.
2048 % As such, it doesn't provide an translations or date/time
2049 % formatting.
2050 %
2051 % The file \filemeta{datatool-ang-}{script}{.ldf} should already
2052 % have been found if installed correctly. This is a fallback
2053 % to catch an unrecognised script and encoding combination.
2054 % \begin{macrocode}
2055 \TrackLangProvidesResource{anglosaxon}[2025/03/12 v1.1 (NLCT)]
2056 % \end{macrocode}
2057 % Try loading \filemetameta{datatool-ang-}{script}{-}{encoding}{.ldf}
2058 % \begin{macrocode}
2059 \TrackLangRequestResource{ang-\CurrentTrackedDialectScript-\TrackLangEncodingName}
2060 {%
2061 % \end{macrocode}
2062 % Not found.
2063 % \begin{macrocode}
2064 \csuse{datatool_locale_warn:n}{datatool-anglosaxon}%
2065 {%
2066 No support for `anglosaxon' with script `\CurrentTrackedDialectScript'
2067 and encoding `\TrackLangEncodingName'%
2068 }%
2069 }
2070 % \end{macrocode}
2071 %\iffalse
2072 % \begin{macrocode}
2073 %</datatool-anglosaxon.ldf>
2074 % \end{macrocode}
2075 %\fi
2076 %\iffalse
2077 % \begin{macrocode}
2078 %<*datatool-ang-Latn.ldf>
2079 % \end{macrocode}
2080 %\fi
2081 %\subsection{Root Old English (Anglo Saxon) Latin Script LDF for
2082 %\sty{datatool-base} (\file{datatool-ang-Latn.ldf})}
2083 % Provide support for Old English (\sty{tracklang} root language
2084 % \qt{anglosaxon}) using Latin script.
2085 % This is mainly provided as an example for dealing with languages
2086 % that have multiple scripts and non-ASCII letters.
2087 % As such, it doesn't provide any translations (except for \qt{and}) or date/time
2088 % formatting.
2089 % \begin{macrocode}
2090 \TrackLangProvidesResource{ang-Latn}[2025/03/12 v1.1 (NLCT)]
2091 % \end{macrocode}
2092 % Try loading \filemeta{datatool-ang-Latn-}{encoding}{.ldf}
2093 % \begin{macrocode}
2094 \TrackLangRequestResource{ang-Latn-\TrackLangEncodingName}
2095 {%
2096 % \end{macrocode}
2097 % Not found.
2098 % \begin{macrocode}
2099 \csuse{datatool_locale_warn:n}{datatool-ang-Latn}%
2100 {%
2101 No support for `anglosaxon' with script `Latn'
2102 and encoding `\TrackLangEncodingName'.%
2103 }%
2104 \endinput
2105 }
2106 % \end{macrocode}
2107 % Switch on \LaTeX3 syntax.
2108 % \begin{macrocode}
2109 \ExplSyntaxOn
2110 % \end{macrocode}
2111 % Any options may be defined with
2112 %\begin{dispListing}
2113 %\datatool_locale_define_keys:nn { ang-Latn } { ... }
2114 %\end{dispListing}
2115 % or
2116 %\begin{dispListing}
2117 %\datatool_locale_define_keys:nn { ang-Latn / subgroup } { ... }
2118 %\end{dispListing}
2119 % (Syntax as per \verb|\keys_define:nn| )
2120 %
2121 %\subsubsection{Orthography rules}
2122 %NB \cs{DTLangLatnLocaleHandler} is defined in the applicable encoding
2123 %file loaded above.
2124 %
2125 %\begin{macro}{\DTLangLatnLocaleGetInitialLetter}
2126 %Get the first letter of the word according to the locale's alphabet and
2127 %store in token list variable.
2128 % \begin{macrocode}
2129 \newcommand \DTLangLatnLocaleGetInitialLetter [ 2 ]
2130 {
2131 \datatool_get_first_letter:nN { #1 } #2
2132 }
2133 % \end{macrocode}
2134 %\end{macro}
2135 %
2136 %\begin{macro}{\DTLangLatnLocaleGetGroupString}
2137 %\begin{definition}
2138 %\cs{DTLangLatnLocaleGetGroupString}\marg{actual}\marg{sort value}\marg{tl}
2139 %\end{definition}
2140 %Get the text that will be used to obtain the letter group
2141 %(the actual value not the sort value).
2142 % \begin{macrocode}
2143 \newcommand \DTLangLatnLocaleGetGroupString [ 3 ]
2144 {
2145 \datatool_sort_preprocess:Nn #3 { #1 }
2146 \datatool_angLatn_process_letter_group:N #3
2147 \bool_lazy_and:nnT
2148 { \tl_if_head_eq_charcode_p:nN { #1 } - }
2149 { \bool_not_p:n { \tl_if_head_eq_charcode_p:nN { #2 } " } }
2150 {
2151 \exp_args:NNe \tl_set:Nn #3 { \tl_tail:N #3 }
2152 }
2153 }
2154 % \end{macrocode}
2155 %\end{macro}
2156 %
2157 % \begin{macrocode}
2158 \newcommand \DTLangLatnLocaleHook
2159 {
2160 \DTLresetLanguage
2161 \renewcommand
2162 \DTLCurrentLocaleWordHandler
2163 { \DTLangLatnLocaleHandler }
2164 \renewcommand
2165 \DTLCurrentLocaleGetInitialLetter
2166 { \DTLangLatnLocaleGetInitialLetter }
2167 \renewcommand
2168 \DTLCurrentLocaleGetGroupString
2169 { \DTLangLatnLocaleGetGroupString }
2170 \DTLangLatnTranslations
2171 % \end{macrocode}
2172 % Allow region files to construct control sequence names based on
2173 % this naming scheme:
2174 % \begin{macrocode}
2175 \tl_set:Nn \l_datatool_current_language_tl { angLatn }
2176 }
2177 % \end{macrocode}
2178 %
2179 % \begin{macrocode}
2180 \ExplSyntaxOff
2181 % \end{macrocode}
2182 %
2183 % \begin{macrocode}
2184 \TrackLangAddToCaptions{\DTLangLatnLocaleHook}
2185 % \end{macrocode}
2186 %\iffalse
2187 % \begin{macrocode}
2188 %</datatool-ang-Latn.ldf>
2189 % \end{macrocode}
2190 %\fi
2191 %\iffalse
2192 % \begin{macrocode}
2193 %<*datatool-ang-Latn-utf8.ldf>
2194 % \end{macrocode}
2195 %\fi
2196 %\subsection{Root Anglo Saxon Latin Script UTF-8 LDF for \sty{datatool-base}
2197 %(\file{datatool-ang-Latn-utf8.ldf})}
2198 % \begin{macrocode}
2199 \TrackLangProvidesResource{ang-Latn-utf8}[2025/03/12 v1.1 (NLCT)]
2200 % \end{macrocode}
2201 %Switch on \LaTeX3 syntax.
2202 % \begin{macrocode}
2203 \ExplSyntaxOn
2204 % \end{macrocode}
2205 %
2206 % Only provide limited support for additional characters to allow for
2207 % foreign names. The more cases added, the longer the processing
2208 % time.
2209 %
2210 % The extended Latin characters and characters derived from Runic
2211 % are multi-byte which means that with
2212 % \sty{inputenc} they will be treated as multiple tokens.
2213 % This means that the characters need to be converted into
2214 % single-byte characters such that the character code of those
2215 % single-byte characters have the same ordering (numerically)
2216 % as the Latin characters. Remember that the result isn't intended
2217 % for typesetting but is just intended for a character code
2218 % comparison.
2219 % \begin{macrocode}
2220 \newcommand \DTLangLatnLocaleHandler [ 1 ]
2221 {
2222 \datatool_angLatn_order_harley:N #1
2223 }
2224 % \end{macrocode}
2225 %Harley order: A-Z, Ƿ, Ð, Æ, Þ
2226 % \begin{macrocode}
2227 \cs_new:Nn \datatool_angLatn_order_harley:N
2228 {
2229 \regex_replace_case_all:nN
2230 {
2231 {À|Á|Â|Ã|Ä|Ā} {A}
2232 {Ç|Ċ} {C}
2233 {È|É|Ê|Ë|Ē} {E}
2234 {Ì|Í|Î|Ï|Ī} {I}
2235 {Ñ} {N}
2236 {Ò|Ó|Ô|Õ|Ö} {O}
2237 {Œ} {OE}
2238 {Ù|Ú|Û|Ü|Ū} {U}
2239 {Ý} {Y}
2240 {Ƿ|Ꝩ} { \cL\[ }
2241 {Ð} { \cL\\ }
2242 {Æ|Ǣ|Ǽ|Æ̀|Æ̂} { \cL\] }
2243 {Þ|Ꝥ} { \cL\^ }
2244 {à|á|â|ã|ä|ā} {a}
2245 {ç|ċ} {c}
2246 {è|é|ê|ë|ē} {e}
2247 {ì|í|î|ï|ī} {i}
2248 {ñ} {n}
2249 {ò|ó|ô|õ|ö} {o}
2250 {œ} {oe}
2251 {ſ} {s}
2252 {ß} {ss}
2253 {ù|ú|û|ü|ū} {u}
2254 {ý} {y}
2255 {ƿ|ꝩ} { \cL\{ }
2256 {ð} { \cL\| }
2257 {æ|ǣ|ǽ|æ̀|æ̂} { \cL\} }
2258 {þ|ꝥ} { \cL\~ }
2259 % \end{macrocode}
2260 %Any character in the punctuation class that has category other:
2261 %Version 1.1 added category code check.
2262 % \begin{macrocode}
2263 { \cO([[:punct:]]) } { \cO\" \1 }
2264 }
2265 #1
2266 }
2267 % \end{macrocode}
2268 %
2269 % Stowe order has A-Z, Ƿ, Ð, Þ (not sure where Æ goes so I've made it
2270 % equivalent to AE for now).
2271 % \begin{macrocode}
2272 \cs_new:Nn \datatool_angLatn_order_stowe:N
2273 {
2274 \regex_replace_case_all:nN
2275 {
2276 {À|Á|Â|Ã|Ä|Ą} {A}
2277 {Æ|Ǣ|Ǽ|Æ̀|Æ̂} {AE}
2278 {Ç|Ċ} {C}
2279 {È|É|Ê|Ë|Ę} {E}
2280 {Ì|Í|Î|Ï} {I}
2281 {Ñ} {N}
2282 {Ò|Ó|Ô|Õ|Ö} {O}
2283 {Œ} {OE}
2284 {Ꞇ|Ꞇ̃} {T}
2285 {Ù|Ú|Û|Ü} {U}
2286 {Ý} {Y}
2287 {Ƿ|Ꝩ} { \cL\[ }
2288 {Ð} { \cL\\ }
2289 {Þ|Ꝥ} { \cL\] }
2290 {à|á|â|ã|ä|ą} {a}
2291 {æ|ǣ|ǽ|æ̀|æ̂} {ae}
2292 {ç|ċ} {c}
2293 {è|é|ê|ë|ę} {e}
2294 {ì|í|î|ï|ı} {i}
2295 {ñ} {n}
2296 {ò|ó|ô|õ|ö} {o}
2297 {œ} {oe}
2298 {ꞇ|ꞇ̃} {t}
2299 {ù|ú|û|ü} {u}
2300 {ý} {y}
2301 {ƿ|ꝩ} { \cL\{ }
2302 {ð} { \cL\| }
2303 {þ|ꝥ} { \cL\} }
2304 {⁊} { \cL\~ }
2305 % \end{macrocode}
2306 %Any character in the punctuation class that has category other:
2307 %Version 1.1 added category code check.
2308 % \begin{macrocode}
2309 { \cO([[:punct:]]) } { \cO\" \1 }
2310 }
2311 #1
2312 }
2313 % \end{macrocode}
2314 %
2315 % Titus has order A-Z, Ƿ–Þ–Ð (again, not sure where Æ goes).
2316 % \begin{macrocode}
2317 \cs_new:Nn \datatool_angLatn_order_titus:N
2318 {
2319 \regex_replace_case_all:nN
2320 {
2321 {À|Á|Â|Ã|Ä|Ą} {A}
2322 {Æ|Ǣ|Ǽ|Æ̀|Æ̂} {AE}
2323 {Ç|Ċ} {C}
2324 {È|É|Ê|Ë|Ę} {E}
2325 {Ì|Í|Î|Ï} {I}
2326 {Ñ} {N}
2327 {Ò|Ó|Ô|Õ|Ö} {O}
2328 {Œ} {OE}
2329 {Ꞇ|Ꞇ̃} {T}
2330 {Ù|Ú|Û|Ü} {U}
2331 {Ý} {Y}
2332 {Ƿ|Ꝩ} { \cL\[ }
2333 {Ð} { \cL\\ }
2334 {Þ|Ꝥ} { \cL\] }
2335 {à|á|â|ã|ä|ą} {a}
2336 {æ|ǣ|ǽ|æ̀|æ̂} {ae}
2337 {ç|ċ} {c}
2338 {è|é|ê|ë|ę} {e}
2339 {ì|í|î|ï|ı} {i}
2340 {ñ} {n}
2341 {ò|ó|ô|õ|ö} {o}
2342 {œ} {oe}
2343 {ꞇ|ꞇ̃} {t}
2344 {ù|ú|û|ü} {u}
2345 {ý} {y}
2346 {ƿ|ꝩ} { \cL\{ }
2347 {ð} { \cL\| }
2348 {þ|ꝥ} { \cL\} }
2349 {⁊} { \cL\~ }
2350 % \end{macrocode}
2351 %Any character in the punctuation class that has category other:
2352 %Version 1.1 added category code check.
2353 % \begin{macrocode}
2354 { \cO([[:punct:]]) } { \cO\" \1 }
2355 }
2356 #1
2357 }
2358 % \end{macrocode}
2359 %
2360 % Fuþorc order.
2361 % \begin{macrocode}
2362 \cs_new:Nn \datatool_angLatn_order_futhorc:N
2363 {
2364 \regex_replace_case_all:nN
2365 {
2366 {f} {\cL\x{31}}
2367 {u} {\cL\x{32}}
2368 {þ} {\cL\x{33}}
2369 {o} {\cL\x{34}}
2370 {r} {\cL\x{35}}
2371 {c} {\cL\x{36}}
2372 {g} {\cL\x{37}}
2373 {w} {\cL\x{38}}
2374 {h} {\cL\x{39}}
2375 {n} {\cL\:}
2376 {i} {\cL\;}
2377 {j} {\cL\<}
2378 {ï} {\cL\=}
2379 {p} {\cL\>}
2380 {x} {\cL\@}
2381 {st} {\cL\x{51}}
2382 {s} {\cL\x{41}}
2383 {t} {\cL\x{42}}
2384 {b} {\cL\x{43}}
2385 {ea} {\cL\x{4C}}
2386 {e} {\cL\x{44}}
2387 {m} {\cL\x{45}}
2388 {l} {\cL\x{46}}
2389 {ŋ} {\cL\x{47}}
2390 {œ} {\cL\x{48}}
2391 {d} {\cL\x{49}}
2392 {a} {\cL\x{4A}}
2393 {æ} {\cL\x{4B}}
2394 {y} {\cL\x{4D}}
2395 {k} {\cL\x{4E}}
2396 {ḡ} {\cL\x{4F}}
2397 {q} {\cL\x{50}}
2398 {ę|ᴇ} {\cL\x{52}}
2399 {į} {\cL\x{53}}
2400 {ī} {\cL\x{54}}
2401 {c̄|k̄} {\cL\x{55}}
2402 {⁊} {\cL\~}
2403 % \end{macrocode}
2404 %Any character in the punctuation class that has category other:
2405 %Version 1.1 added category code check.
2406 % \begin{macrocode}
2407 { \cO([[:punct:]]) } { \cO\" \1 }
2408 }
2409 #1
2410 }
2411 % \end{macrocode}
2412 %
2413 %We also need to merge accented characters for the letter groups.
2414 %Note that since we're only concerned with the first letter,
2415 %we only need a single replace not replace all.
2416 % \begin{macrocode}
2417 \cs_new:Nn \datatool_angLatn_process_letter_group:N
2418 {
2419 \regex_replace_case_once:nN
2420 {
2421 {À|Á|Â|Ã|Ä|Ā} {A}
2422 {Ç|Ċ} {C}
2423 {È|É|Ê|Ë|Ē} {E}
2424 {Ì|Í|Î|Ï|Ī} {I}
2425 {Ñ} {N}
2426 {Ò|Ó|Ô|Õ|Ö} {O}
2427 {Œ} {OE}
2428 {Ù|Ú|Û|Ü|Ū} {U}
2429 {Ý} {Y}
2430 {Æ|Ǣ|Ǽ|Æ̀|Æ̂} {Æ}
2431 {Ƿ|Ꝩ} {Ƿ}
2432 {Þ|Ꝥ} {Þ}
2433 {à|á|â|ã|ä|ā} {a}
2434 {ç|ċ} {c}
2435 {è|é|ê|ë|ē} {e}
2436 {ì|í|î|ï|ī} {i}
2437 {ñ} {n}
2438 {ò|ó|ô|õ|ö} {o}
2439 {œ} {oe}
2440 {ſ} {s}
2441 {ß} {ss}
2442 {ù|ú|û|ü|ū} {u}
2443 {ý} {y}
2444 {ƿ|ꝩ} {ƿ}
2445 {æ|ǣ|ǽ|æ̀|æ̂} {æ}
2446 {þ|ꝥ} {þ}
2447 }
2448 #1
2449 }
2450 % \end{macrocode}
2451 %
2452 % \begin{macrocode}
2453 \datatool_locale_define_keys:nn { ang-Latn }
2454 {
2455 order .choice:,
2456 order / harley .code:n =
2457 {
2458 \renewcommand \DTLangLatnLocaleHandler [1]
2459 {
2460 \datatool_angLatn_order_harley:N ##1
2461 }
2462 },
2463 order / stowe .code:n =
2464 {
2465 \renewcommand \DTLangLatnLocaleHandler [1]
2466 {
2467 \datatool_angLatn_order_stowe:N ##1
2468 }
2469 },
2470 order / titus .code:n =
2471 {
2472 \renewcommand \DTLangLatnLocaleHandler [1]
2473 {
2474 \datatool_angLatn_order_titus:N ##1
2475 }
2476 },
2477 order / futhorc .code:n =
2478 {
2479 \renewcommand \DTLangLatnLocaleHandler [1]
2480 {
2481 \datatool_angLatn_order_futhorc:N ##1
2482 }
2483 },
2484 }
2485 % \end{macrocode}
2486 %
2487 %Translations: only providing \qt{and} (Tironian et)
2488 % \begin{macrocode}
2489 \newcommand \DTLangLatnTranslations
2490 {
2491 \tl_set:Nn \DTLandname { ⁊ }
2492 }
2493 % \end{macrocode}
2494 %
2495 %Switch off \LaTeX3 syntax.
2496 % \begin{macrocode}
2497 \ExplSyntaxOff
2498 % \end{macrocode}
2499 %\iffalse
2500 % \begin{macrocode}
2501 %</datatool-ang-Latn-utf8.ldf>
2502 % \end{macrocode}
2503 %\fi
2504 %\iffalse
2505 % \begin{macrocode}
2506 %<*datatool-ang-Runr.ldf>
2507 % \end{macrocode}
2508 %\fi
2509 %\subsection{Root Old English (Anglo Saxon) Runic Script LDF for
2510 %\sty{datatool-base} (\file{datatool-ang-Runr.ldf})}
2511 % Provide support for Old English (\sty{tracklang} root language
2512 % \qt{anglosaxon}) using Runic script.
2513 %
2514 % This is mainly provided as an example for dealing with languages
2515 % that have multiple scripts and non-ASCII letters.
2516 % As such, it doesn't provide any translations (except for \qt{and}) or date/time
2517 % formatting.
2518 %
2519 %\begin{important}
2520 % Identifying \qt{Runr} as the script indicates that the text source uses
2521 % Runic characters. If a package, such as \sty{allrunes}, is used
2522 % that maps Latin characters to runes (for example, \verb|\textarm{fuÞark}|)
2523 % then the script should be set to \qt{Latn}.
2524 %\end{important}
2525 %
2526 % \begin{macrocode}
2527 \TrackLangProvidesResource{ang-Runr}[2025/03/12 v1.1 (NLCT)]
2528 % \end{macrocode}
2529 % Try loading \filemeta{datatool-ang-Runr-}{encoding}{.ldf}
2530 % \begin{macrocode}
2531 \TrackLangRequestResource{ang-Runr-\TrackLangEncodingName}
2532 {%
2533 % \end{macrocode}
2534 % Not found.
2535 % \begin{macrocode}
2536 \csuse{datatool_locale_warn:n}{datatool-ang-Runr}%
2537 {%
2538 No support for `anglosaxon' with script `Runr'
2539 and encoding `\TrackLangEncodingName'.%
2540 }%
2541 \endinput
2542 }
2543 % \end{macrocode}
2544 % Switch on \LaTeX3 syntax.
2545 % \begin{macrocode}
2546 \ExplSyntaxOn
2547 % \end{macrocode}
2548 % Any options may be defined with
2549 %\begin{dispListing}
2550 %\datatool_locale_define_keys:nn { ang-Runr } { ... }
2551 %\end{dispListing}
2552 % or
2553 %\begin{dispListing}
2554 %\datatool_locale_define_keys:nn { ang-Runr / subgroup } { ... }
2555 %\end{dispListing}
2556 % (Syntax as per \verb|\keys_define:nn| )
2557 %
2558 %\subsubsection{Orthography rules}
2559 %NB \cs{DTLangRunrLocaleHandler} is defined in the applicable encoding
2560 %file loaded above.
2561 %
2562 %\begin{macro}{\DTLangRunrLocaleGetInitialLetter}
2563 %Get the first letter of the word according to the locale's alphabet and
2564 %store in token list variable.
2565 % \begin{macrocode}
2566 \newcommand \DTLangRunrLocaleGetInitialLetter [ 2 ]
2567 {
2568 \datatool_get_first_grapheme:nN { #1 } #2
2569 }
2570 % \end{macrocode}
2571 %\end{macro}
2572 %
2573 %\begin{macro}{\DTLangRunrLocaleGetGroupChar}
2574 %\begin{definition}
2575 %\cs{DTLangRunrLocaleGetGroupString}\marg{actual}\marg{sort value}\marg{tl}
2576 %\end{definition}
2577 %Get the text that will be used to obtain the letter group
2578 %(the actual value not the sort value).
2579 % \begin{macrocode}
2580 \newcommand \DTLangRunrLocaleGetGroupString [ 3 ]
2581 {
2582 \datatool_sort_preprocess:Nn #3 { #1 }
2583 }
2584 % \end{macrocode}
2585 %\end{macro}
2586 %
2587 % \begin{macrocode}
2588 \newcommand \DTLangRunrLocaleHook
2589 {
2590 \DTLresetLanguage
2591 \renewcommand
2592 \DTLCurrentLocaleWordHandler
2593 { \DTLangRunrLocaleHandler }
2594 \renewcommand
2595 \DTLCurrentLocaleGetInitialLetter
2596 { \DTLangRunrLocaleGetInitialLetter }
2597 \renewcommand
2598 \DTLCurrentLocaleGetGroupString
2599 { \DTLangRunrLocaleGetGroupString }
2600 \DTLangRunrTranslations
2601 % \end{macrocode}
2602 % Allow region files to construct control sequence names based on
2603 % this naming scheme:
2604 % \begin{macrocode}
2605 \tl_set:Nn \l_datatool_current_language_tl { angRunr }
2606 }
2607 % \end{macrocode}
2608 %
2609 % \begin{macrocode}
2610 \ExplSyntaxOff
2611 % \end{macrocode}
2612 %
2613 % \begin{macrocode}
2614 \TrackLangAddToCaptions{\DTLangRunrLocaleHook}
2615 % \end{macrocode}
2616 %\iffalse
2617 % \begin{macrocode}
2618 %</datatool-ang-Runr.ldf>
2619 % \end{macrocode}
2620 %\fi
2621 %\iffalse
2622 % \begin{macrocode}
2623 %<*datatool-ang-Runr-utf8.ldf>
2624 % \end{macrocode}
2625 %\fi
2626 %\subsection{Root Anglo Saxon Runic Script UTF-8 LDF for \sty{datatool-base}
2627 %(\file{datatool-ang-Runr-utf8.ldf})}
2628 % \begin{macrocode}
2629 \TrackLangProvidesResource{ang-Runr-utf8}[2025/03/12 v1.1 (NLCT)]
2630 % \end{macrocode}
2631 %Switch on \LaTeX3 syntax.
2632 % \begin{macrocode}
2633 \ExplSyntaxOn
2634 % \end{macrocode}
2635 %
2636 % The runic characters are multi-byte which means that with
2637 % \sty{inputenc} they will be treated as multiple tokens.
2638 % This means that the characters need to be converted into
2639 % single-byte characters such that the character code of those
2640 % single-byte characters have the same ordering (numerically)
2641 % as the runic characters. Remember that the result isn't intended
2642 % for typesetting but is just intended for a character code
2643 % comparison.
2644 %\begin{macro}{\DTLangRunrLocaleHandler}
2645 % \begin{macrocode}
2646 \newcommand \DTLangRunrLocaleHandler [ 1 ] {
2647 \datatool_angRunr_order_punc_futhorc:n { #1 }
2648 }
2649 % \end{macrocode}
2650 %\end{macro}
2651 %
2652 %If PDF\LaTeX, we can't match greater than FF with \cs{x}, so need different
2653 %regular expressions depending on whether or not we have
2654 %a native Unicode engine.
2655 % \begin{macrocode}
2656 \datatool_if_unicode_engine:TF
2657 {
2658 % \end{macrocode}
2659 %Unicode order (mostly Unicode order).
2660 %The punctuation characters are placed first, the rest follows
2661 %Unicode order.
2662 % \begin{macrocode}
2663 \cs_new:Nn \datatool_angRunr_order_punc_unicode:n
2664 {
2665 \regex_replace_case_all:nN
2666 {
2667 % \end{macrocode}
2668 % U+16A0 RUNIC LETTER FEHU FEOH FE F
2669 % \begin{macrocode}
2670 { \x{16A0} } { \cL\x{31} }
2671 % \end{macrocode}
2672 % U+16A1 RUNIC LETTER V
2673 % \begin{macrocode}
2674 { \x{16A1} } { \cL\x{32} }
2675 % \end{macrocode}
2676 % U+16A2 RUNIC LETTER URUZ UR U
2677 % \begin{macrocode}
2678 { \x{16A2} } { \cL\x{33} }
2679 % \end{macrocode}
2680 % U+16A3 RUNIC LETTER YR
2681 % \begin{macrocode}
2682 { \x{16A3} } { \cL\x{34} }
2683 % \end{macrocode}
2684 % U+16A4 RUNIC LETTER Y
2685 % \begin{macrocode}
2686 { \x{16A4} } { \cL\x{35} }
2687 % \end{macrocode}
2688 % U+16A5 RUNIC LETTER W
2689 % \begin{macrocode}
2690 { \x{16A5} } { \cL\x{36} }
2691 % \end{macrocode}
2692 % U+16A6 RUNIC LETTER THURISAZ THURS THORN
2693 % \begin{macrocode}
2694 { \x{16A6} } { \cL\x{37} }
2695 % \end{macrocode}
2696 % U+16A7 RUNIC LETTER ETH
2697 % \begin{macrocode}
2698 { \x{16A7} } { \cL\x{38} }
2699 % \end{macrocode}
2700 % U+16A8 RUNIC LETTER ANSUZ A
2701 % \begin{macrocode}
2702 { \x{16A8} } { \cL\x{39} }
2703 % \end{macrocode}
2704 % U+16A9 RUNIC LETTER OS O
2705 % \begin{macrocode}
2706 { \x{16A9} } { \cL\x{3A} }
2707 % \end{macrocode}
2708 % U+16AA RUNIC LETTER AC A
2709 % \begin{macrocode}
2710 { \x{16AA} } { \cL\x{3B} }
2711 % \end{macrocode}
2712 % U+16AB RUNIC LETTER AESC
2713 % \begin{macrocode}
2714 { \x{16AB} } { \cL\x{3C} }
2715 % \end{macrocode}
2716 % U+16AC RUNIC LETTER LONG-BRANCH-OSS O
2717 % \begin{macrocode}
2718 { \x{16AC} } { \cL\x{3D} }
2719 % \end{macrocode}
2720 % U+16AD RUNIC LETTER SHORT-TWIG-OSS O
2721 % \begin{macrocode}
2722 { \x{16AD} } { \cL\x{3E} }
2723 % \end{macrocode}
2724 % U+16AE RUNIC LETTER O
2725 % \begin{macrocode}
2726 { \x{16AE} } { \cL\x{3F} }
2727 % \end{macrocode}
2728 % U+16AF RUNIC LETTER OE
2729 % \begin{macrocode}
2730 { \x{16AF} } { \cL\x{40} }
2731 % \end{macrocode}
2732 % U+16B0 RUNIC LETTER ON
2733 % \begin{macrocode}
2734 { \x{16B0} } { \cL\x{41} }
2735 % \end{macrocode}
2736 % U+16B1 RUNIC LETTER RAIDO RAD REID R
2737 % \begin{macrocode}
2738 { \x{16B1} } { \cL\x{42} }
2739 % \end{macrocode}
2740 % U+16B2 RUNIC LETTER KAUNA
2741 % \begin{macrocode}
2742 { \x{16B2} } { \cL\x{43} }
2743 % \end{macrocode}
2744 % U+16B3 RUNIC LETTER CEN
2745 % \begin{macrocode}
2746 { \x{16B3} } { \cL\x{44} }
2747 % \end{macrocode}
2748 % U+16B4 RUNIC LETTER KAUN K
2749 % \begin{macrocode}
2750 { \x{16B4} } { \cL\x{45} }
2751 % \end{macrocode}
2752 % U+16B5 RUNIC LETTER G
2753 % \begin{macrocode}
2754 { \x{16B5} } { \cL\x{46} }
2755 % \end{macrocode}
2756 % U+16B6 RUNIC LETTER ENG
2757 % \begin{macrocode}
2758 { \x{16B6} } { \cL\x{47} }
2759 % \end{macrocode}
2760 % U+16B7 RUNIC LETTER GEBO GYFU G
2761 % \begin{macrocode}
2762 { \x{16B7} } { \cL\x{48} }
2763 % \end{macrocode}
2764 % U+16B8 RUNIC LETTER GAR
2765 % \begin{macrocode}
2766 { \x{16B8} } { \cL\x{49} }
2767 % \end{macrocode}
2768 % U+16B9 RUNIC LETTER WUNJO WYNN W
2769 % \begin{macrocode}
2770 { \x{16B9} } { \cL\x{4A} }
2771 % \end{macrocode}
2772 % U+16BA RUNIC LETTER HAGLAZ H
2773 % \begin{macrocode}
2774 { \x{16BA} } { \cL\x{4B} }
2775 % \end{macrocode}
2776 % U+16BB RUNIC LETTER HAEGL H
2777 % \begin{macrocode}
2778 { \x{16BB} } { \cL\x{4C} }
2779 % \end{macrocode}
2780 % U+16BC RUNIC LETTER LONG-BRANCH-HAGALL H
2781 % \begin{macrocode}
2782 { \x{16BC} } { \cL\x{4D} }
2783 % \end{macrocode}
2784 % U+16BD RUNIC LETTER SHORT-TWIG-HAGALL H
2785 % \begin{macrocode}
2786 { \x{16BD} } { \cL\x{4E} }
2787 % \end{macrocode}
2788 % U+16BE RUNIC LETTER NAUDIZ NYD NAUD N
2789 % \begin{macrocode}
2790 { \x{16BE} } { \cL\x{4F} }
2791 % \end{macrocode}
2792 % U+16BF RUNIC LETTER SHORT-TWIG-NAUD N
2793 % \begin{macrocode}
2794 { \x{16BF} } { \cL\x{50} }
2795 % \end{macrocode}
2796 % U+16C0 RUNIC LETTER DOTTED-N
2797 % \begin{macrocode}
2798 { \x{16C0} } { \cL\x{51} }
2799 % \end{macrocode}
2800 % U+16C1 RUNIC LETTER ISAZ IS ISS I
2801 % \begin{macrocode}
2802 { \x{16C1} } { \cL\x{52} }
2803 % \end{macrocode}
2804 % U+16C2 RUNIC LETTER E
2805 % \begin{macrocode}
2806 { \x{16C2} } { \cL\x{53} }
2807 % \end{macrocode}
2808 % U+16C3 RUNIC LETTER JERAN J
2809 % \begin{macrocode}
2810 { \x{16C3} } { \cL\x{54} }
2811 % \end{macrocode}
2812 % U+16C4 RUNIC LETTER GER
2813 % \begin{macrocode}
2814 { \x{16C4} } { \cL\x{55} }
2815 % \end{macrocode}
2816 % U+16C5 RUNIC LETTER LONG-BRANCH-AR AE
2817 % \begin{macrocode}
2818 { \x{16C5} } { \cL\x{56} }
2819 % \end{macrocode}
2820 % U+16C6 RUNIC LETTER SHORT-TWIG-AR A
2821 % \begin{macrocode}
2822 { \x{16C6} } { \cL\x{57} }
2823 % \end{macrocode}
2824 % U+16C7 RUNIC LETTER IWAZ EOH
2825 % \begin{macrocode}
2826 { \x{16C7} } { \cL\x{58} }
2827 % \end{macrocode}
2828 % U+16C8 RUNIC LETTER PERTHO PEORTH P
2829 % \begin{macrocode}
2830 { \x{16C8} } { \cL\x{59} }
2831 % \end{macrocode}
2832 % U+16C9 RUNIC LETTER ALGIZ EOLHX
2833 % \begin{macrocode}
2834 { \x{16C9} } { \cL\x{5A} }
2835 % \end{macrocode}
2836 % U+16CA RUNIC LETTER SOWILO S
2837 % \begin{macrocode}
2838 { \x{16CA} } { \cL\x{5B} }
2839 % \end{macrocode}
2840 % U+16CB RUNIC LETTER SIGEL LONG-BRANCH-SOL S
2841 % \begin{macrocode}
2842 { \x{16CB} } { \cL\x{5C} }
2843 % \end{macrocode}
2844 % U+16CC RUNIC LETTER SHORT-TWIG-SOL S
2845 % \begin{macrocode}
2846 { \x{16CC} } { \cL\x{5D} }
2847 % \end{macrocode}
2848 % U+16CD RUNIC LETTER C
2849 % \begin{macrocode}
2850 { \x{16CD} } { \cL\x{5E} }
2851 % \end{macrocode}
2852 % U+16CE RUNIC LETTER Z
2853 % \begin{macrocode}
2854 { \x{16CE} } { \cL\x{5F} }
2855 % \end{macrocode}
2856 % U+16CF RUNIC LETTER TIWAZ TIR TYR T
2857 % \begin{macrocode}
2858 { \x{16CF} } { \cL\x{60} }
2859 % \end{macrocode}
2860 % U+16D0 RUNIC LETTER SHORT-TWIG-TYR T
2861 % \begin{macrocode}
2862 { \x{16D0} } { \cL\x{61} }
2863 % \end{macrocode}
2864 % U+16D1 RUNIC LETTER D
2865 % \begin{macrocode}
2866 { \x{16D1} } { \cL\x{62} }
2867 % \end{macrocode}
2868 % U+16D2 RUNIC LETTER BERKANAN BEORC BJARKAN B
2869 % \begin{macrocode}
2870 { \x{16D2} } { \cL\x{63} }
2871 % \end{macrocode}
2872 % U+16D3 RUNIC LETTER SHORT-TWIG-BJARKAN B
2873 % \begin{macrocode}
2874 { \x{16D3} } { \cL\x{64} }
2875 % \end{macrocode}
2876 % U+16D4 RUNIC LETTER DOTTED-P
2877 % \begin{macrocode}
2878 { \x{16D4} } { \cL\x{65} }
2879 % \end{macrocode}
2880 % U+16D5 RUNIC LETTER OPEN-P
2881 % \begin{macrocode}
2882 { \x{16D5} } { \cL\x{66} }
2883 % \end{macrocode}
2884 % U+16D6 RUNIC LETTER EHWAZ EH E
2885 % \begin{macrocode}
2886 { \x{16D6} } { \cL\x{67} }
2887 % \end{macrocode}
2888 % U+16D7 RUNIC LETTER MANNAZ MAN M
2889 % \begin{macrocode}
2890 { \x{16D7} } { \cL\x{68} }
2891 % \end{macrocode}
2892 % U+16D8 RUNIC LETTER LONG-BRANCH-MADR M
2893 % \begin{macrocode}
2894 { \x{16D8} } { \cL\x{69} }
2895 % \end{macrocode}
2896 % U+16D9 RUNIC LETTER SHORT-TWIG-MADR M
2897 % \begin{macrocode}
2898 { \x{16D9} } { \cL\x{6A} }
2899 % \end{macrocode}
2900 % U+16DA RUNIC LETTER LAUKAZ LAGU LOGR L
2901 % \begin{macrocode}
2902 { \x{16DA} } { \cL\x{6B} }
2903 % \end{macrocode}
2904 % U+16DB RUNIC LETTER DOTTED-L
2905 % \begin{macrocode}
2906 { \x{16DB} } { \cL\x{6C} }
2907 % \end{macrocode}
2908 % U+16DC RUNIC LETTER INGWAZ
2909 % \begin{macrocode}
2910 { \x{16DC} } { \cL\x{6D} }
2911 % \end{macrocode}
2912 % U+16DD RUNIC LETTER ING
2913 % \begin{macrocode}
2914 { \x{16DD} } { \cL\x{6F} }
2915 % \end{macrocode}
2916 % U+16DE RUNIC LETTER DAGAZ DAEG D
2917 % \begin{macrocode}
2918 { \x{16DE} } { \cL\x{70} }
2919 % \end{macrocode}
2920 % U+16DF RUNIC LETTER OTHALAN ETHEL O
2921 % \begin{macrocode}
2922 { \x{16DF} } { \cL\x{71} }
2923 % \end{macrocode}
2924 % U+16E0 RUNIC LETTER EAR
2925 % \begin{macrocode}
2926 { \x{16E0} } { \cL\x{72} }
2927 % \end{macrocode}
2928 % U+16E1 RUNIC LETTER IOR
2929 % \begin{macrocode}
2930 { \x{16E1} } { \cL\x{73} }
2931 % \end{macrocode}
2932 % U+16E2 RUNIC LETTER CWEORTH
2933 % \begin{macrocode}
2934 { \x{16E2} } { \cL\x{74} }
2935 % \end{macrocode}
2936 % U+16E3 RUNIC LETTER CALC
2937 % \begin{macrocode}
2938 { \x{16E3} } { \cL\x{75} }
2939 % \end{macrocode}
2940 % U+16E4 RUNIC LETTER CEALC
2941 % \begin{macrocode}
2942 { \x{16E4} } { \cL\x{76} }
2943 % \end{macrocode}
2944 % U+16E5 RUNIC LETTER STAN
2945 % \begin{macrocode}
2946 { \x{16E5} } { \cL\x{77} }
2947 % \end{macrocode}
2948 % U+16E6 RUNIC LETTER LONG-BRANCH-YR
2949 % \begin{macrocode}
2950 { \x{16E6} } { \cL\x{78} }
2951 % \end{macrocode}
2952 % U+16E7 RUNIC LETTER SHORT-TWIG-YR
2953 % \begin{macrocode}
2954 { \x{16E7} } { \cL\x{79} }
2955 % \end{macrocode}
2956 % U+16E8 RUNIC LETTER ICELANDIC-YR
2957 % \begin{macrocode}
2958 { \x{16E8} } { \cL\x{7A} }
2959 % \end{macrocode}
2960 % U+16E9 RUNIC LETTER Q
2961 % \begin{macrocode}
2962 { \x{16E9} } { \cL\x{7B} }
2963 % \end{macrocode}
2964 % U+16EA RUNIC LETTER X
2965 % \begin{macrocode}
2966 { \x{16EA} } { \cL\x{7C} }
2967 % \end{macrocode}
2968 % U+16EE RUNIC ARLAUG SYMBOL
2969 % \begin{macrocode}
2970 { \x{16EE} } { \cL\x{7D} \cO\! }
2971 % \end{macrocode}
2972 % U+16EF RUNIC TVIMADUR SYMBOL
2973 % \begin{macrocode}
2974 { \x{16EF} } { \cL\x{7D} \cO\" }
2975 % \end{macrocode}
2976 % U+16F0 RUNIC BELGTHOR SYMBOL
2977 % \begin{macrocode}
2978 { \x{16F0} } { \cL\x{7D} \cO\# }
2979 % \end{macrocode}
2980 % U+16F1 RUNIC LETTER K
2981 % \begin{macrocode}
2982 { \x{16F1} } { \cL\x{7D} \cO\$ }
2983 % \end{macrocode}
2984 % U+16F2 RUNIC LETTER SH
2985 % \begin{macrocode}
2986 { \x{16F2} } { \cL\x{7D} \cO\% }
2987 % \end{macrocode}
2988 % U+16F3 RUNIC LETTER OO
2989 % \begin{macrocode}
2990 { \x{16F3} } { \cL\x{7D} \cO\& }
2991 % \end{macrocode}
2992 % U+16F4 RUNIC LETTER FRANKS CASKET OS
2993 % \begin{macrocode}
2994 { \x{16F4} } { \cL\x{7D} \cO\' }
2995 % \end{macrocode}
2996 % U+16F5 RUNIC LETTER FRANKS CASKET IS
2997 % \begin{macrocode}
2998 { \x{16F5} } { \cL\x{7D} \cO\( }
2999 % \end{macrocode}
3000 % U+16F6 RUNIC LETTER FRANKS CASKET EH
3001 % \begin{macrocode}
3002 { \x{16F6} } { \cL\x{7D} \cO\) }
3003 % \end{macrocode}
3004 % U+16F7 RUNIC LETTER FRANKS CASKET AC
3005 % \begin{macrocode}
3006 { \x{16F7} } { \cL\x{7D} \cO\* }
3007 % \end{macrocode}
3008 % U+16F8 RUNIC LETTER FRANKS CASKET AESC
3009 % \begin{macrocode}
3010 { \x{16F8} } { \cL\x{7D} \cO\+ }
3011 % \end{macrocode}
3012 % U+16EB RUNIC SINGLE PUNCTUATION
3013 % \begin{macrocode}
3014 { \x{16EB} } { \cO\! \cO\! }
3015 % \end{macrocode}
3016 % U+16EC RUNIC MULTIPLE PUNCTUATION
3017 % \begin{macrocode}
3018 { \x{16EC} } { \cO\! \cO\" }
3019 % \end{macrocode}
3020 % U+16ED RUNIC CROSS PUNCTUATION
3021 % \begin{macrocode}
3022 { \x{16ED} } { \cO\! \cO\# }
3023 % \end{macrocode}
3024 % Tironian et
3025 % \begin{macrocode}
3026 { \x{204A} } { \cL\x{7E} }
3027 % \end{macrocode}
3028 %Any character in the punctuation class that has category other:
3029 %Version 1.1 added category code check.
3030 % \begin{macrocode}
3031 { \cO([[:punct:]]) } { \cO\! \cO\$ \1 }
3032 }
3033 #1
3034 }
3035 % \end{macrocode}
3036 %Old English Rune Poem order (fuþorc). Not all characters are included in the
3037 %poem, so they are appended at the end. Punctuation characters come
3038 %first.
3039 % \begin{macrocode}
3040 \cs_new:Nn \datatool_angRunr_order_punc_futhorc:n
3041 {
3042 \regex_replace_case_all:nN
3043 {
3044 % \end{macrocode}
3045 % U+16A0 RUNIC LETTER FEHU FEOH FE F
3046 % \begin{macrocode}
3047 { \x{16A0} } { \cL\x{31} }
3048 % \end{macrocode}
3049 % U+16A2 RUNIC LETTER URUZ UR U
3050 % \begin{macrocode}
3051 { \x{16A2} } { \cL\x{32} }
3052 % \end{macrocode}
3053 % U+16A6 RUNIC LETTER THURISAZ THURS THORN
3054 % \begin{macrocode}
3055 { \x{16A6} } { \cL\x{33} }
3056 % \end{macrocode}
3057 % U+16A9 RUNIC LETTER OS O
3058 % \begin{macrocode}
3059 { \x{16A9} } { \cL\x{34} }
3060 % \end{macrocode}
3061 % U+16B1 RUNIC LETTER RAIDO RAD REID R
3062 % \begin{macrocode}
3063 { \x{16B1} } { \cL\x{35} }
3064 % \end{macrocode}
3065 % U+16B3 RUNIC LETTER CEN
3066 % \begin{macrocode}
3067 { \x{16B3} } { \cL\x{36} }
3068 % \end{macrocode}
3069 % U+16B7 RUNIC LETTER GEBO GYFU G
3070 % \begin{macrocode}
3071 { \x{16B7} } { \cL\x{37} }
3072 % \end{macrocode}
3073 % U+16B9 RUNIC LETTER WUNJO WYNN W
3074 % \begin{macrocode}
3075 { \x{16B9} } { \cL\x{38} }
3076 % \end{macrocode}
3077 % U+16BB RUNIC LETTER HAEGL H
3078 % \begin{macrocode}
3079 { \x{16BB} } { \cL\x{39} }
3080 % \end{macrocode}
3081 % U+16BE RUNIC LETTER NAUDIZ NYD NAUD N
3082 % \begin{macrocode}
3083 { \x{16BE} } { \cL\x{3A} }
3084 % \end{macrocode}
3085 % U+16C1 RUNIC LETTER ISAZ IS ISS I
3086 % \begin{macrocode}
3087 { \x{16C1} } { \cL\x{3B} }
3088 % \end{macrocode}
3089 % U+16C4 RUNIC LETTER GER
3090 % \begin{macrocode}
3091 { \x{16C4} } { \cL\x{3C} }
3092 % \end{macrocode}
3093 % U+16C7 RUNIC LETTER IWAZ EOH
3094 % \begin{macrocode}
3095 { \x{16C7} } { \cL\x{3D} }
3096 % \end{macrocode}
3097 % U+16C8 RUNIC LETTER PERTHO PEORTH P
3098 % \begin{macrocode}
3099 { \x{16C8} } { \cL\x{3E} }
3100 % \end{macrocode}
3101 % U+16C9 RUNIC LETTER ALGIZ EOLHX
3102 % \begin{macrocode}
3103 { \x{16C9} } { \cL\x{3F} }
3104 % \end{macrocode}
3105 % U+16CB RUNIC LETTER SIGEL LONG-BRANCH-SOL S
3106 % \begin{macrocode}
3107 { \x{16CB} } { \cL\x{40} }
3108 % \end{macrocode}
3109 % U+16CF RUNIC LETTER TIWAZ TIR TYR T
3110 % \begin{macrocode}
3111 { \x{16CF} } { \cL\x{41} }
3112 % \end{macrocode}
3113 % U+16D2 RUNIC LETTER BERKANAN BEORC BJARKAN B
3114 % \begin{macrocode}
3115 { \x{16D2} } { \cL\x{42} }
3116 % \end{macrocode}
3117 % U+16D6 RUNIC LETTER EHWAZ EH E
3118 % \begin{macrocode}
3119 { \x{16D6} } { \cL\x{43} }
3120 % \end{macrocode}
3121 % U+16D7 RUNIC LETTER MANNAZ MAN M
3122 % \begin{macrocode}
3123 { \x{16D7} } { \cL\x{44} }
3124 % \end{macrocode}
3125 % U+16DA RUNIC LETTER LAUKAZ LAGU LOGR L
3126 % \begin{macrocode}
3127 { \x{16DA} } { \cL\x{45} }
3128 % \end{macrocode}
3129 % U+16DD RUNIC LETTER ING
3130 % \begin{macrocode}
3131 { \x{16DD} } { \cL\x{46} }
3132 % \end{macrocode}
3133 % U+16DF RUNIC LETTER OTHALAN ETHEL O
3134 % \begin{macrocode}
3135 { \x{16DF} } { \cL\x{47} }
3136 % \end{macrocode}
3137 % U+16DE RUNIC LETTER DAGAZ DAEG D
3138 % \begin{macrocode}
3139 { \x{16DE} } { \cL\x{48} }
3140 % \end{macrocode}
3141 % U+16AA RUNIC LETTER AC A
3142 % \begin{macrocode}
3143 { \x{16AA} } { \cL\x{49} }
3144 % \end{macrocode}
3145 % U+16AB RUNIC LETTER AESC
3146 % \begin{macrocode}
3147 { \x{16AB} } { \cL\x{4A} }
3148 % \end{macrocode}
3149 % U+16A3 RUNIC LETTER YR
3150 % \begin{macrocode}
3151 { \x{16A3} } { \cL\x{4B} }
3152 % \end{macrocode}
3153 % U+16E1 RUNIC LETTER IOR
3154 % \begin{macrocode}
3155 { \x{16E1} } { \cL\x{4C} }
3156 % \end{macrocode}
3157 % U+16E0 RUNIC LETTER EAR
3158 % \begin{macrocode}
3159 { \x{16E0} } { \cL\x{4D} }
3160 % \end{macrocode}
3161 %The remainder are in Unicode order, except for the punctuation.
3162 %Some of these may need to be merged into the above, as applicable.
3163 %
3164 % U+16A1 RUNIC LETTER V
3165 % \begin{macrocode}
3166 { \x{16A1} } { \cL\x{4E} }
3167 % \end{macrocode}
3168 % U+16A4 RUNIC LETTER Y
3169 % \begin{macrocode}
3170 { \x{16A4} } { \cL\x{4F} }
3171 % \end{macrocode}
3172 % U+16A5 RUNIC LETTER W
3173 % \begin{macrocode}
3174 { \x{16A5} } { \cL\x{50} }
3175 % \end{macrocode}
3176 % U+16A7 RUNIC LETTER ETH
3177 % \begin{macrocode}
3178 { \x{16A7} } { \cL\x{51} }
3179 % \end{macrocode}
3180 % U+16A8 RUNIC LETTER ANSUZ A
3181 % \begin{macrocode}
3182 { \x{16A8} } { \cL\x{52} }
3183 % \end{macrocode}
3184 % U+16AC RUNIC LETTER LONG-BRANCH-OSS O
3185 % \begin{macrocode}
3186 { \x{16AC} } { \cL\x{53} }
3187 % \end{macrocode}
3188 % U+16AD RUNIC LETTER SHORT-TWIG-OSS O
3189 % \begin{macrocode}
3190 { \x{16AD} } { \cL\x{54} }
3191 % \end{macrocode}
3192 % U+16AE RUNIC LETTER O
3193 % \begin{macrocode}
3194 { \x{16AE} } { \cL\x{55} }
3195 % \end{macrocode}
3196 % U+16AF RUNIC LETTER OE
3197 % \begin{macrocode}
3198 { \x{16AF} } { \cL\x{56} }
3199 % \end{macrocode}
3200 % U+16B0 RUNIC LETTER ON
3201 % \begin{macrocode}
3202 { \x{16B0} } { \cL\x{57} }
3203 % \end{macrocode}
3204 % U+16B2 RUNIC LETTER KAUNA
3205 % \begin{macrocode}
3206 { \x{16B2} } { \cL\x{58} }
3207 % \end{macrocode}
3208 % U+16B4 RUNIC LETTER KAUN K
3209 % \begin{macrocode}
3210 { \x{16B4} } { \cL\x{59} }
3211 % \end{macrocode}
3212 % U+16B5 RUNIC LETTER G
3213 % \begin{macrocode}
3214 { \x{16B5} } { \cL\x{5A} }
3215 % \end{macrocode}
3216 % U+16B6 RUNIC LETTER ENG
3217 % \begin{macrocode}
3218 { \x{16B6} } { \cL\x{5B} }
3219 % \end{macrocode}
3220 % U+16B8 RUNIC LETTER GAR
3221 % \begin{macrocode}
3222 { \x{16B8} } { \cL\x{5C} }
3223 % \end{macrocode}
3224 % U+16BA RUNIC LETTER HAGLAZ H
3225 % \begin{macrocode}
3226 { \x{16BA} } { \cL\x{5D} }
3227 % \end{macrocode}
3228 % U+16BC RUNIC LETTER LONG-BRANCH-HAGALL H
3229 % \begin{macrocode}
3230 { \x{16BC} } { \cL\x{5E} }
3231 % \end{macrocode}
3232 % U+16BD RUNIC LETTER SHORT-TWIG-HAGALL H
3233 % \begin{macrocode}
3234 { \x{16BD} } { \cL\x{5F} }
3235 % \end{macrocode}
3236 % U+16BF RUNIC LETTER SHORT-TWIG-NAUD N
3237 % \begin{macrocode}
3238 { \x{16BF} } { \cL\x{60} }
3239 % \end{macrocode}
3240 % U+16C0 RUNIC LETTER DOTTED-N
3241 % \begin{macrocode}
3242 { \x{16C0} } { \cL\x{61} }
3243 % \end{macrocode}
3244 % U+16C2 RUNIC LETTER E
3245 % \begin{macrocode}
3246 { \x{16C2} } { \cL\x{62} }
3247 % \end{macrocode}
3248 % U+16C3 RUNIC LETTER JERAN J
3249 % \begin{macrocode}
3250 { \x{16C3} } { \cL\x{63} }
3251 % \end{macrocode}
3252 % U+16C5 RUNIC LETTER LONG-BRANCH-AR AE
3253 % \begin{macrocode}
3254 { \x{16C5} } { \cL\x{64} }
3255 % \end{macrocode}
3256 % U+16C6 RUNIC LETTER SHORT-TWIG-AR A
3257 % \begin{macrocode}
3258 { \x{16C6} } { \cL\x{65} }
3259 % \end{macrocode}
3260 % U+16CA RUNIC LETTER SOWILO S
3261 % \begin{macrocode}
3262 { \x{16CA} } { \cL\x{66} }
3263 % \end{macrocode}
3264 % U+16CC RUNIC LETTER SHORT-TWIG-SOL S
3265 % \begin{macrocode}
3266 { \x{16CC} } { \cL\x{67} }
3267 % \end{macrocode}
3268 % U+16CD RUNIC LETTER C
3269 % \begin{macrocode}
3270 { \x{16CD} } { \cL\x{68} }
3271 % \end{macrocode}
3272 % U+16CE RUNIC LETTER Z
3273 % \begin{macrocode}
3274 { \x{16CE} } { \cL\x{69} }
3275 % \end{macrocode}
3276 % U+16D0 RUNIC LETTER SHORT-TWIG-TYR T
3277 % \begin{macrocode}
3278 { \x{16D0} } { \cL\x{6A} }
3279 % \end{macrocode}
3280 % U+16D1 RUNIC LETTER D
3281 % \begin{macrocode}
3282 { \x{16D1} } { \cL\x{6B} }
3283 % \end{macrocode}
3284 % U+16D3 RUNIC LETTER SHORT-TWIG-BJARKAN B
3285 % \begin{macrocode}
3286 { \x{16D3} } { \cL\x{6C} }
3287 % \end{macrocode}
3288 % U+16D4 RUNIC LETTER DOTTED-P
3289 % \begin{macrocode}
3290 { \x{16D4} } { \cL\x{6D} }
3291 % \end{macrocode}
3292 % U+16D5 RUNIC LETTER OPEN-P
3293 % \begin{macrocode}
3294 { \x{16D5} } { \cL\x{6E} }
3295 % \end{macrocode}
3296 % U+16D8 RUNIC LETTER LONG-BRANCH-MADR M
3297 % \begin{macrocode}
3298 { \x{16D8} } { \cL\x{6F} }
3299 % \end{macrocode}
3300 % U+16D9 RUNIC LETTER SHORT-TWIG-MADR M
3301 % \begin{macrocode}
3302 { \x{16D9} } { \cL\x{70} }
3303 % \end{macrocode}
3304 % U+16DB RUNIC LETTER DOTTED-L
3305 % \begin{macrocode}
3306 { \x{16DB} } { \cL\x{71} }
3307 % \end{macrocode}
3308 % U+16DC RUNIC LETTER INGWAZ
3309 % \begin{macrocode}
3310 { \x{16DC} } { \cL\x{72} }
3311 % \end{macrocode}
3312 % U+16E2 RUNIC LETTER CWEORTH
3313 % \begin{macrocode}
3314 { \x{16E2} } { \cL\x{73} }
3315 % \end{macrocode}
3316 % U+16E3 RUNIC LETTER CALC
3317 % \begin{macrocode}
3318 { \x{16E3} } { \cL\x{74} }
3319 % \end{macrocode}
3320 % U+16E4 RUNIC LETTER CEALC
3321 % \begin{macrocode}
3322 { \x{16E4} } { \cL\x{75} }
3323 % \end{macrocode}
3324 % U+16E5 RUNIC LETTER STAN
3325 % \begin{macrocode}
3326 { \x{16E5} } { \cL\x{76} }
3327 % \end{macrocode}
3328 % U+16E6 RUNIC LETTER LONG-BRANCH-YR
3329 % \begin{macrocode}
3330 { \x{16E6} } { \cL\x{77} }
3331 % \end{macrocode}
3332 % U+16E7 RUNIC LETTER SHORT-TWIG-YR
3333 % \begin{macrocode}
3334 { \x{16E7} } { \cL\x{78} }
3335 % \end{macrocode}
3336 % U+16E8 RUNIC LETTER ICELANDIC-YR
3337 % \begin{macrocode}
3338 { \x{16E8} } { \cL\x{79} }
3339 % \end{macrocode}
3340 % U+16E9 RUNIC LETTER Q
3341 % \begin{macrocode}
3342 { \x{16E9} } { \cL\x{7A} }
3343 % \end{macrocode}
3344 % U+16EA RUNIC LETTER X
3345 % \begin{macrocode}
3346 { \x{16EA} } { \cL\x{7B} }
3347 % \end{macrocode}
3348 % U+16EE RUNIC ARLAUG SYMBOL
3349 % \begin{macrocode}
3350 { \x{16EE} } { \cL\x{7C} \cO\! }
3351 % \end{macrocode}
3352 % U+16EF RUNIC TVIMADUR SYMBOL
3353 % \begin{macrocode}
3354 { \x{16EF} } { \cL\x{7C} \cO\" }
3355 % \end{macrocode}
3356 % U+16F0 RUNIC BELGTHOR SYMBOL
3357 % \begin{macrocode}
3358 { \x{16F0} } { \cL\x{7D} \cO\# }
3359 % \end{macrocode}
3360 % U+16F1 RUNIC LETTER K
3361 % \begin{macrocode}
3362 { \x{16F1} } { \cL\x{7D} \cO\$ }
3363 % \end{macrocode}
3364 % U+16F2 RUNIC LETTER SH
3365 % \begin{macrocode}
3366 { \x{16F2} } { \cL\x{7D} \cO\% }
3367 % \end{macrocode}
3368 % U+16F3 RUNIC LETTER OO
3369 % \begin{macrocode}
3370 { \x{16F3} } { \cL\x{7D} \cO\& }
3371 % \end{macrocode}
3372 % U+16F4 RUNIC LETTER FRANKS CASKET OS
3373 % \begin{macrocode}
3374 { \x{16F4} } { \cL\x{7D} \cO\' }
3375 % \end{macrocode}
3376 % U+16F5 RUNIC LETTER FRANKS CASKET IS
3377 % \begin{macrocode}
3378 { \x{16F5} } { \cL\x{7D} \cO\( }
3379 % \end{macrocode}
3380 % U+16F6 RUNIC LETTER FRANKS CASKET EH
3381 % \begin{macrocode}
3382 { \x{16F6} } { \cL\x{7D} \cO\) }
3383 % \end{macrocode}
3384 % U+16F7 RUNIC LETTER FRANKS CASKET AC
3385 % \begin{macrocode}
3386 { \x{16F7} } { \cL\x{7D} \cO\* }
3387 % \end{macrocode}
3388 % U+16F8 RUNIC LETTER FRANKS CASKET AESC
3389 % \begin{macrocode}
3390 { \x{16F8} } { \cL\x{7D} \cO\+ }
3391 % \end{macrocode}
3392 % U+16EB RUNIC SINGLE PUNCTUATION
3393 % \begin{macrocode}
3394 { \x{16EB} } { \cO\! \cO\! }
3395 % \end{macrocode}
3396 % U+16EC RUNIC MULTIPLE PUNCTUATION
3397 % \begin{macrocode}
3398 { \x{16EC} } { \cO\! \cO\" }
3399 % \end{macrocode}
3400 % U+16ED RUNIC CROSS PUNCTUATION
3401 % \begin{macrocode}
3402 { \x{16ED} } { \cO\! \cO\# }
3403 % \end{macrocode}
3404 % Tironian et
3405 % \begin{macrocode}
3406 { \x{204A} } { \cL\x{7E} }
3407 % \end{macrocode}
3408 %Any character in the punctuation class that has category other:
3409 %Version 1.1 added category code check.
3410 % \begin{macrocode}
3411 { \cO([[:punct:]]) } { \cO\! \cO\$ \1 }
3412 }
3413 #1
3414 }
3415 % \end{macrocode}
3416 %Old English Rune Poem order (fuþorc, punctuation last). Not all characters are included in the
3417 %poem, so they are appended at the end.
3418 % \begin{macrocode}
3419 \cs_new:Nn \datatool_angRunr_order_futhorc_punc:n
3420 {
3421 \regex_replace_case_all:nN
3422 {
3423 % \end{macrocode}
3424 % U+16A0 RUNIC LETTER FEHU FEOH FE F
3425 % \begin{macrocode}
3426 { \x{16A0} } { \cL\x{31} }
3427 % \end{macrocode}
3428 % U+16A2 RUNIC LETTER URUZ UR U
3429 % \begin{macrocode}
3430 { \x{16A2} } { \cL\x{32} }
3431 % \end{macrocode}
3432 % U+16A6 RUNIC LETTER THURISAZ THURS THORN
3433 % \begin{macrocode}
3434 { \x{16A6} } { \cL\x{33} }
3435 % \end{macrocode}
3436 % U+16A9 RUNIC LETTER OS O
3437 % \begin{macrocode}
3438 { \x{16A9} } { \cL\x{34} }
3439 % \end{macrocode}
3440 % U+16B1 RUNIC LETTER RAIDO RAD REID R
3441 % \begin{macrocode}
3442 { \x{16B1} } { \cL\x{35} }
3443 % \end{macrocode}
3444 % U+16B3 RUNIC LETTER CEN
3445 % \begin{macrocode}
3446 { \x{16B3} } { \cL\x{36} }
3447 % \end{macrocode}
3448 % U+16B7 RUNIC LETTER GEBO GYFU G
3449 % \begin{macrocode}
3450 { \x{16B7} } { \cL\x{37} }
3451 % \end{macrocode}
3452 % U+16B9 RUNIC LETTER WUNJO WYNN W
3453 % \begin{macrocode}
3454 { \x{16B9} } { \cL\x{38} }
3455 % \end{macrocode}
3456 % U+16BB RUNIC LETTER HAEGL H
3457 % \begin{macrocode}
3458 { \x{16BB} } { \cL\x{39} }
3459 % \end{macrocode}
3460 % U+16BE RUNIC LETTER NAUDIZ NYD NAUD N
3461 % \begin{macrocode}
3462 { \x{16BE} } { \cL\x{3A} }
3463 % \end{macrocode}
3464 % U+16C1 RUNIC LETTER ISAZ IS ISS I
3465 % \begin{macrocode}
3466 { \x{16C1} } { \cL\x{3B} }
3467 % \end{macrocode}
3468 % U+16C4 RUNIC LETTER GER
3469 % \begin{macrocode}
3470 { \x{16C4} } { \cL\x{3C} }
3471 % \end{macrocode}
3472 % U+16C7 RUNIC LETTER IWAZ EOH
3473 % \begin{macrocode}
3474 { \x{16C7} } { \cL\x{3D} }
3475 % \end{macrocode}
3476 % U+16C8 RUNIC LETTER PERTHO PEORTH P
3477 % \begin{macrocode}
3478 { \x{16C8} } { \cL\x{3E} }
3479 % \end{macrocode}
3480 % U+16C9 RUNIC LETTER ALGIZ EOLHX
3481 % \begin{macrocode}
3482 { \x{16C9} } { \cL\x{3F} }
3483 % \end{macrocode}
3484 % U+16CB RUNIC LETTER SIGEL LONG-BRANCH-SOL S
3485 % \begin{macrocode}
3486 { \x{16CB} } { \cL\x{40} }
3487 % \end{macrocode}
3488 % U+16CF RUNIC LETTER TIWAZ TIR TYR T
3489 % \begin{macrocode}
3490 { \x{16CF} } { \cL\x{41} }
3491 % \end{macrocode}
3492 % U+16D2 RUNIC LETTER BERKANAN BEORC BJARKAN B
3493 % \begin{macrocode}
3494 { \x{16D2} } { \cL\x{42} }
3495 % \end{macrocode}
3496 % U+16D6 RUNIC LETTER EHWAZ EH E
3497 % \begin{macrocode}
3498 { \x{16D6} } { \cL\x{43} }
3499 % \end{macrocode}
3500 % U+16D7 RUNIC LETTER MANNAZ MAN M
3501 % \begin{macrocode}
3502 { \x{16D7} } { \cL\x{44} }
3503 % \end{macrocode}
3504 % U+16DA RUNIC LETTER LAUKAZ LAGU LOGR L
3505 % \begin{macrocode}
3506 { \x{16DA} } { \cL\x{45} }
3507 % \end{macrocode}
3508 % U+16DD RUNIC LETTER ING
3509 % \begin{macrocode}
3510 { \x{16DD} } { \cL\x{46} }
3511 % \end{macrocode}
3512 % U+16DF RUNIC LETTER OTHALAN ETHEL O
3513 % \begin{macrocode}
3514 { \x{16DF} } { \cL\x{47} }
3515 % \end{macrocode}
3516 % U+16DE RUNIC LETTER DAGAZ DAEG D
3517 % \begin{macrocode}
3518 { \x{16DE} } { \cL\x{48} }
3519 % \end{macrocode}
3520 % U+16AA RUNIC LETTER AC A
3521 % \begin{macrocode}
3522 { \x{16AA} } { \cL\x{49} }
3523 % \end{macrocode}
3524 % U+16AB RUNIC LETTER AESC
3525 % \begin{macrocode}
3526 { \x{16AB} } { \cL\x{4A} }
3527 % \end{macrocode}
3528 % U+16A3 RUNIC LETTER YR
3529 % \begin{macrocode}
3530 { \x{16A3} } { \cL\x{4B} }
3531 % \end{macrocode}
3532 % U+16E1 RUNIC LETTER IOR
3533 % \begin{macrocode}
3534 { \x{16E1} } { \cL\x{4C} }
3535 % \end{macrocode}
3536 % U+16E0 RUNIC LETTER EAR
3537 % \begin{macrocode}
3538 { \x{16E0} } { \cL\x{4D} }
3539 % \end{macrocode}
3540 %The remainder are in Unicode order, except for the punctuation.
3541 %Some of these may need to be merged into the above, as applicable.
3542 %
3543 % U+16A1 RUNIC LETTER V
3544 % \begin{macrocode}
3545 { \x{16A1} } { \cL\x{4E} }
3546 % \end{macrocode}
3547 % U+16A4 RUNIC LETTER Y
3548 % \begin{macrocode}
3549 { \x{16A4} } { \cL\x{4F} }
3550 % \end{macrocode}
3551 % U+16A5 RUNIC LETTER W
3552 % \begin{macrocode}
3553 { \x{16A5} } { \cL\x{50} }
3554 % \end{macrocode}
3555 % U+16A7 RUNIC LETTER ETH
3556 % \begin{macrocode}
3557 { \x{16A7} } { \cL\x{51} }
3558 % \end{macrocode}
3559 % U+16A8 RUNIC LETTER ANSUZ A
3560 % \begin{macrocode}
3561 { \x{16A8} } { \cL\x{52} }
3562 % \end{macrocode}
3563 % U+16AC RUNIC LETTER LONG-BRANCH-OSS O
3564 % \begin{macrocode}
3565 { \x{16AC} } { \cL\x{53} }
3566 % \end{macrocode}
3567 % U+16AD RUNIC LETTER SHORT-TWIG-OSS O
3568 % \begin{macrocode}
3569 { \x{16AD} } { \cL\x{54} }
3570 % \end{macrocode}
3571 % U+16AE RUNIC LETTER O
3572 % \begin{macrocode}
3573 { \x{16AE} } { \cL\x{55} }
3574 % \end{macrocode}
3575 % U+16AF RUNIC LETTER OE
3576 % \begin{macrocode}
3577 { \x{16AF} } { \cL\x{56} }
3578 % \end{macrocode}
3579 % U+16B0 RUNIC LETTER ON
3580 % \begin{macrocode}
3581 { \x{16B0} } { \cL\x{57} }
3582 % \end{macrocode}
3583 % U+16B2 RUNIC LETTER KAUNA
3584 % \begin{macrocode}
3585 { \x{16B2} } { \cL\x{58} }
3586 % \end{macrocode}
3587 % U+16B4 RUNIC LETTER KAUN K
3588 % \begin{macrocode}
3589 { \x{16B4} } { \cL\x{59} }
3590 % \end{macrocode}
3591 % U+16B5 RUNIC LETTER G
3592 % \begin{macrocode}
3593 { \x{16B5} } { \cL\x{5A} }
3594 % \end{macrocode}
3595 % U+16B6 RUNIC LETTER ENG
3596 % \begin{macrocode}
3597 { \x{16B6} } { \cL\x{5B} }
3598 % \end{macrocode}
3599 % U+16B8 RUNIC LETTER GAR
3600 % \begin{macrocode}
3601 { \x{16B8} } { \cL\x{5C} }
3602 % \end{macrocode}
3603 % U+16BA RUNIC LETTER HAGLAZ H
3604 % \begin{macrocode}
3605 { \x{16BA} } { \cL\x{5D} }
3606 % \end{macrocode}
3607 % U+16BC RUNIC LETTER LONG-BRANCH-HAGALL H
3608 % \begin{macrocode}
3609 { \x{16BC} } { \cL\x{5E} }
3610 % \end{macrocode}
3611 % U+16BD RUNIC LETTER SHORT-TWIG-HAGALL H
3612 % \begin{macrocode}
3613 { \x{16BD} } { \cL\x{5F} }
3614 % \end{macrocode}
3615 % U+16BF RUNIC LETTER SHORT-TWIG-NAUD N
3616 % \begin{macrocode}
3617 { \x{16BF} } { \cL\x{60} }
3618 % \end{macrocode}
3619 % U+16C0 RUNIC LETTER DOTTED-N
3620 % \begin{macrocode}
3621 { \x{16C0} } { \cL\x{61} }
3622 % \end{macrocode}
3623 % U+16C2 RUNIC LETTER E
3624 % \begin{macrocode}
3625 { \x{16C2} } { \cL\x{62} }
3626 % \end{macrocode}
3627 % U+16C3 RUNIC LETTER JERAN J
3628 % \begin{macrocode}
3629 { \x{16C3} } { \cL\x{63} }
3630 % \end{macrocode}
3631 % U+16C5 RUNIC LETTER LONG-BRANCH-AR AE
3632 % \begin{macrocode}
3633 { \x{16C5} } { \cL\x{64} }
3634 % \end{macrocode}
3635 % U+16C6 RUNIC LETTER SHORT-TWIG-AR A
3636 % \begin{macrocode}
3637 { \x{16C6} } { \cL\x{65} }
3638 % \end{macrocode}
3639 % U+16CA RUNIC LETTER SOWILO S
3640 % \begin{macrocode}
3641 { \x{16CA} } { \cL\x{66} }
3642 % \end{macrocode}
3643 % U+16CC RUNIC LETTER SHORT-TWIG-SOL S
3644 % \begin{macrocode}
3645 { \x{16CC} } { \cL\x{67} }
3646 % \end{macrocode}
3647 % U+16CD RUNIC LETTER C
3648 % \begin{macrocode}
3649 { \x{16CD} } { \cL\x{68} }
3650 % \end{macrocode}
3651 % U+16CE RUNIC LETTER Z
3652 % \begin{macrocode}
3653 { \x{16CE} } { \cL\x{69} }
3654 % \end{macrocode}
3655 % U+16D0 RUNIC LETTER SHORT-TWIG-TYR T
3656 % \begin{macrocode}
3657 { \x{16D0} } { \cL\x{6A} }
3658 % \end{macrocode}
3659 % U+16D1 RUNIC LETTER D
3660 % \begin{macrocode}
3661 { \x{16D1} } { \cL\x{6B} }
3662 % \end{macrocode}
3663 % U+16D3 RUNIC LETTER SHORT-TWIG-BJARKAN B
3664 % \begin{macrocode}
3665 { \x{16D3} } { \cL\x{6C} }
3666 % \end{macrocode}
3667 % U+16D4 RUNIC LETTER DOTTED-P
3668 % \begin{macrocode}
3669 { \x{16D4} } { \cL\x{6D} }
3670 % \end{macrocode}
3671 % U+16D5 RUNIC LETTER OPEN-P
3672 % \begin{macrocode}
3673 { \x{16D5} } { \cL\x{6E} }
3674 % \end{macrocode}
3675 % U+16D8 RUNIC LETTER LONG-BRANCH-MADR M
3676 % \begin{macrocode}
3677 { \x{16D8} } { \cL\x{6F} }
3678 % \end{macrocode}
3679 % U+16D9 RUNIC LETTER SHORT-TWIG-MADR M
3680 % \begin{macrocode}
3681 { \x{16D9} } { \cL\x{70} }
3682 % \end{macrocode}
3683 % U+16DB RUNIC LETTER DOTTED-L
3684 % \begin{macrocode}
3685 { \x{16DB} } { \cL\x{71} }
3686 % \end{macrocode}
3687 % U+16DC RUNIC LETTER INGWAZ
3688 % \begin{macrocode}
3689 { \x{16DC} } { \cL\x{72} }
3690 % \end{macrocode}
3691 % U+16E2 RUNIC LETTER CWEORTH
3692 % \begin{macrocode}
3693 { \x{16E2} } { \cL\x{73} }
3694 % \end{macrocode}
3695 % U+16E3 RUNIC LETTER CALC
3696 % \begin{macrocode}
3697 { \x{16E3} } { \cL\x{74} }
3698 % \end{macrocode}
3699 % U+16E4 RUNIC LETTER CEALC
3700 % \begin{macrocode}
3701 { \x{16E4} } { \cL\x{75} }
3702 % \end{macrocode}
3703 % U+16E5 RUNIC LETTER STAN
3704 % \begin{macrocode}
3705 { \x{16E5} } { \cL\x{76} }
3706 % \end{macrocode}
3707 % U+16E6 RUNIC LETTER LONG-BRANCH-YR
3708 % \begin{macrocode}
3709 { \x{16E6} } { \cL\x{77} }
3710 % \end{macrocode}
3711 % U+16E7 RUNIC LETTER SHORT-TWIG-YR
3712 % \begin{macrocode}
3713 { \x{16E7} } { \cL\x{78} }
3714 % \end{macrocode}
3715 % U+16E8 RUNIC LETTER ICELANDIC-YR
3716 % \begin{macrocode}
3717 { \x{16E8} } { \cL\x{79} }
3718 % \end{macrocode}
3719 % U+16E9 RUNIC LETTER Q
3720 % \begin{macrocode}
3721 { \x{16E9} } { \cL\x{7A} }
3722 % \end{macrocode}
3723 % U+16EA RUNIC LETTER X
3724 % \begin{macrocode}
3725 { \x{16EA} } { \cL\x{7B} }
3726 % \end{macrocode}
3727 % U+16EE RUNIC ARLAUG SYMBOL
3728 % \begin{macrocode}
3729 { \x{16EE} } { \cL\x{7C} \cO\! }
3730 % \end{macrocode}
3731 % U+16EF RUNIC TVIMADUR SYMBOL
3732 % \begin{macrocode}
3733 { \x{16EF} } { \cL\x{7C} \cO\" }
3734 % \end{macrocode}
3735 % U+16F0 RUNIC BELGTHOR SYMBOL
3736 % \begin{macrocode}
3737 { \x{16F0} } { \cL\x{7D} \cO\# }
3738 % \end{macrocode}
3739 % U+16F1 RUNIC LETTER K
3740 % \begin{macrocode}
3741 { \x{16F1} } { \cL\x{7D} \cO\$ }
3742 % \end{macrocode}
3743 % U+16F2 RUNIC LETTER SH
3744 % \begin{macrocode}
3745 { \x{16F2} } { \cL\x{7D} \cO\% }
3746 % \end{macrocode}
3747 % U+16F3 RUNIC LETTER OO
3748 % \begin{macrocode}
3749 { \x{16F3} } { \cL\x{7D} \cO\& }
3750 % \end{macrocode}
3751 % U+16F4 RUNIC LETTER FRANKS CASKET OS
3752 % \begin{macrocode}
3753 { \x{16F4} } { \cL\x{7D} \cO\' }
3754 % \end{macrocode}
3755 % U+16F5 RUNIC LETTER FRANKS CASKET IS
3756 % \begin{macrocode}
3757 { \x{16F5} } { \cL\x{7D} \cO\( }
3758 % \end{macrocode}
3759 % U+16F6 RUNIC LETTER FRANKS CASKET EH
3760 % \begin{macrocode}
3761 { \x{16F6} } { \cL\x{7D} \cO\) }
3762 % \end{macrocode}
3763 % U+16F7 RUNIC LETTER FRANKS CASKET AC
3764 % \begin{macrocode}
3765 { \x{16F7} } { \cL\x{7D} \cO\* }
3766 % \end{macrocode}
3767 % U+16F8 RUNIC LETTER FRANKS CASKET AESC
3768 % \begin{macrocode}
3769 { \x{16F8} } { \cL\x{7D} \cO\+ }
3770 % \end{macrocode}
3771 % Tironian et
3772 % \begin{macrocode}
3773 { \x{204A} } { \cL\x{7D} \cO\, }
3774 % \end{macrocode}
3775 % U+16EB RUNIC SINGLE PUNCTUATION
3776 % \begin{macrocode}
3777 { \x{16EB} } { \cO\x{7E} \cO\! }
3778 % \end{macrocode}
3779 % U+16EC RUNIC MULTIPLE PUNCTUATION
3780 % \begin{macrocode}
3781 { \x{16EC} } { \cO\x{7E} \cO\" }
3782 % \end{macrocode}
3783 % U+16ED RUNIC CROSS PUNCTUATION
3784 % \begin{macrocode}
3785 { \x{16ED} } { \cO\x{7E} \cO\# }
3786 % \end{macrocode}
3787 %Any character in the punctuation class that has category other:
3788 %Version 1.1 added category code check.
3789 % \begin{macrocode}
3790 { \cO([[:punct:]]) } { \cO\x{7E} \cO\$ \1 }
3791 }
3792 #1
3793 }
3794 }
3795 {
3796 % \end{macrocode}
3797 %Unicode order (mostly Unicode order).
3798 %The punctuation characters are placed first, the rest follows
3799 %Unicode order.
3800 % \begin{macrocode}
3801 \cs_new:Nn \datatool_angRunr_order_punc_unicode:n
3802 {
3803 \regex_replace_case_all:nN
3804 {
3805 % \end{macrocode}
3806 % U+16A0 RUNIC LETTER FEHU FEOH FE F
3807 % \begin{macrocode}
3808 { \x{E1} \x{9A} \x{A0} }
3809 { \cL\x{31} }
3810 % \end{macrocode}
3811 % U+16A1 RUNIC LETTER V
3812 % \begin{macrocode}
3813 { \x{E1} \x{9A} \x{A1} }
3814 { \cL\x{32} }
3815 % \end{macrocode}
3816 % U+16A2 RUNIC LETTER URUZ UR U
3817 % \begin{macrocode}
3818 { \x{E1} \x{9A} \x{A2} }
3819 { \cL\x{33} }
3820 % \end{macrocode}
3821 % U+16A3 RUNIC LETTER YR
3822 % \begin{macrocode}
3823 { \x{E1} \x{9A} \x{A3} }
3824 { \cL\x{34} }
3825 % \end{macrocode}
3826 % U+16A4 RUNIC LETTER Y
3827 % \begin{macrocode}
3828 { \x{E1} \x{9A} \x{A4} }
3829 { \cL\x{35} }
3830 % \end{macrocode}
3831 % U+16A5 RUNIC LETTER W
3832 % \begin{macrocode}
3833 { \x{E1} \x{9A} \x{A5} }
3834 { \cL\x{36} }
3835 % \end{macrocode}
3836 % U+16A6 RUNIC LETTER THURISAZ THURS THORN
3837 % \begin{macrocode}
3838 { \x{E1} \x{9A} \x{A6} }
3839 { \cL\x{37} }
3840 % \end{macrocode}
3841 % U+16A7 RUNIC LETTER ETH
3842 % \begin{macrocode}
3843 { \x{E1} \x{9A} \x{A7} }
3844 { \cL\x{38} }
3845 % \end{macrocode}
3846 % U+16A8 RUNIC LETTER ANSUZ A
3847 % \begin{macrocode}
3848 { \x{E1} \x{9A} \x{A8} }
3849 { \cL\x{39} }
3850 % \end{macrocode}
3851 % U+16A9 RUNIC LETTER OS O
3852 % \begin{macrocode}
3853 { \x{E1} \x{9A} \x{A9} }
3854 { \cL\: }
3855 % \end{macrocode}
3856 % U+16AA RUNIC LETTER AC A
3857 % \begin{macrocode}
3858 { \x{E1} \x{9A} \x{AA} }
3859 { \cL\; }
3860 % \end{macrocode}
3861 % U+16AB RUNIC LETTER AESC
3862 % \begin{macrocode}
3863 { \x{E1} \x{9A} \x{AB} }
3864 { \cL\< }
3865 % \end{macrocode}
3866 % U+16AC RUNIC LETTER LONG-BRANCH-OSS O
3867 % \begin{macrocode}
3868 { \x{E1} \x{9A} \x{AC} }
3869 { \cL\= }
3870 % \end{macrocode}
3871 % U+16AD RUNIC LETTER SHORT-TWIG-OSS O
3872 % \begin{macrocode}
3873 { \x{E1} \x{9A} \x{AD} }
3874 { \cL\> }
3875 % \end{macrocode}
3876 % U+16AE RUNIC LETTER O
3877 % \begin{macrocode}
3878 { \x{E1} \x{9A} \x{AE} }
3879 { \cL\? }
3880 % \end{macrocode}
3881 % U+16AF RUNIC LETTER OE
3882 % \begin{macrocode}
3883 { \x{E1} \x{9A} \x{AF} }
3884 { \cL\@ }
3885 % \end{macrocode}
3886 % U+16B0 RUNIC LETTER ON
3887 % \begin{macrocode}
3888 { \x{E1} \x{9A} \x{B0} }
3889 { \cL\x{41} }
3890 % \end{macrocode}
3891 % U+16B1 RUNIC LETTER RAIDO RAD REID R
3892 % \begin{macrocode}
3893 { \x{E1} \x{9A} \x{B1} }
3894 { \cL\x{42} }
3895 % \end{macrocode}
3896 % U+16B2 RUNIC LETTER KAUNA
3897 % \begin{macrocode}
3898 { \x{E1} \x{9A} \x{B2} }
3899 { \cL\x{43} }
3900 % \end{macrocode}
3901 % U+16B3 RUNIC LETTER CEN
3902 % \begin{macrocode}
3903 { \x{E1} \x{9A} \x{B3} }
3904 { \cL\x{44} }
3905 % \end{macrocode}
3906 % U+16B4 RUNIC LETTER KAUN K
3907 % \begin{macrocode}
3908 { \x{E1} \x{9A} \x{B4} }
3909 { \cL\x{45} }
3910 % \end{macrocode}
3911 % U+16B5 RUNIC LETTER G
3912 % \begin{macrocode}
3913 { \x{E1} \x{9A} \x{B5} }
3914 { \cL\x{46} }
3915 % \end{macrocode}
3916 % U+16B6 RUNIC LETTER ENG
3917 % \begin{macrocode}
3918 { \x{E1} \x{9A} \x{B6} }
3919 { \cL\x{47} }
3920 % \end{macrocode}
3921 % U+16B7 RUNIC LETTER GEBO GYFU G
3922 % \begin{macrocode}
3923 { \x{E1} \x{9A} \x{B7} }
3924 { \cL\x{48} }
3925 % \end{macrocode}
3926 % U+16B8 RUNIC LETTER GAR
3927 % \begin{macrocode}
3928 { \x{E1} \x{9A} \x{B8} }
3929 { \cL\x{49} }
3930 % \end{macrocode}
3931 % U+16B9 RUNIC LETTER WUNJO WYNN W
3932 % \begin{macrocode}
3933 { \x{E1} \x{9A} \x{B9} }
3934 { \cL\x{4A} }
3935 % \end{macrocode}
3936 % U+16BA RUNIC LETTER HAGLAZ H
3937 % \begin{macrocode}
3938 { \x{E1} \x{9A} \x{BA} }
3939 { \cL\x{4B} }
3940 % \end{macrocode}
3941 % U+16BB RUNIC LETTER HAEGL H
3942 % \begin{macrocode}
3943 { \x{E1} \x{9A} \x{BB} }
3944 { \cL\x{4C} }
3945 % \end{macrocode}
3946 % U+16BC RUNIC LETTER LONG-BRANCH-HAGALL H
3947 % \begin{macrocode}
3948 { \x{E1} \x{9A} \x{BC} }
3949 { \cL\x{4D} }
3950 % \end{macrocode}
3951 % U+16BD RUNIC LETTER SHORT-TWIG-HAGALL H
3952 % \begin{macrocode}
3953 { \x{E1} \x{9A} \x{BD} }
3954 { \cL\x{4E} }
3955 % \end{macrocode}
3956 % U+16BE RUNIC LETTER NAUDIZ NYD NAUD N
3957 % \begin{macrocode}
3958 { \x{E1} \x{9A} \x{BE} }
3959 { \cL\x{4F} }
3960 % \end{macrocode}
3961 % U+16BF RUNIC LETTER SHORT-TWIG-NAUD N
3962 % \begin{macrocode}
3963 { \x{E1} \x{9A} \x{BF} }
3964 { \cL\x{50} }
3965 % \end{macrocode}
3966 % U+16C0 RUNIC LETTER DOTTED-N
3967 % \begin{macrocode}
3968 { \x{E1} \x{9B} \x{80} }
3969 { \cL\x{51} }
3970 % \end{macrocode}
3971 % U+16C1 RUNIC LETTER ISAZ IS ISS I
3972 % \begin{macrocode}
3973 { \x{E1} \x{9B} \x{81} }
3974 { \cL\x{52} }
3975 % \end{macrocode}
3976 % U+16C2 RUNIC LETTER E
3977 % \begin{macrocode}
3978 { \x{E1} \x{9B} \x{82} }
3979 { \cL\x{53} }
3980 % \end{macrocode}
3981 % U+16C3 RUNIC LETTER JERAN J
3982 % \begin{macrocode}
3983 { \x{E1} \x{9B} \x{83} }
3984 { \cL\x{54} }
3985 % \end{macrocode}
3986 % U+16C4 RUNIC LETTER GER
3987 % \begin{macrocode}
3988 { \x{E1} \x{9B} \x{84} }
3989 { \cL\x{55} }
3990 % \end{macrocode}
3991 % U+16C5 RUNIC LETTER LONG-BRANCH-AR AE
3992 % \begin{macrocode}
3993 { \x{E1} \x{9B} \x{85} }
3994 { \cL\x{56} }
3995 % \end{macrocode}
3996 % U+16C6 RUNIC LETTER SHORT-TWIG-AR A
3997 % \begin{macrocode}
3998 { \x{E1} \x{9B} \x{86} }
3999 { \cL\x{57} }
4000 % \end{macrocode}
4001 % U+16C7 RUNIC LETTER IWAZ EOH
4002 % \begin{macrocode}
4003 { \x{E1} \x{9B} \x{87} }
4004 { \cL\x{58} }
4005 % \end{macrocode}
4006 % U+16C8 RUNIC LETTER PERTHO PEORTH P
4007 % \begin{macrocode}
4008 { \x{E1} \x{9B} \x{88} }
4009 { \cL\x{59} }
4010 % \end{macrocode}
4011 % U+16C9 RUNIC LETTER ALGIZ EOLHX
4012 % \begin{macrocode}
4013 { \x{E1} \x{9B} \x{89} }
4014 { \cL\x{5A} }
4015 % \end{macrocode}
4016 % U+16CA RUNIC LETTER SOWILO S
4017 % \begin{macrocode}
4018 { \x{E1} \x{9B} \x{8A} }
4019 { \cL\[ }
4020 % \end{macrocode}
4021 % U+16CB RUNIC LETTER SIGEL LONG-BRANCH-SOL S
4022 % \begin{macrocode}
4023 { \x{E1} \x{9B} \x{8B} }
4024 { \cL\\ }
4025 % \end{macrocode}
4026 % U+16CC RUNIC LETTER SHORT-TWIG-SOL S
4027 % \begin{macrocode}
4028 { \x{E1} \x{9B} \x{8C} }
4029 { \cL\] }
4030 % \end{macrocode}
4031 % U+16CD RUNIC LETTER C
4032 % \begin{macrocode}
4033 { \x{E1} \x{9B} \x{8D} }
4034 { \cL\^ }
4035 % \end{macrocode}
4036 % U+16CE RUNIC LETTER Z
4037 % \begin{macrocode}
4038 { \x{E1} \x{9B} \x{8E} }
4039 { \cL\_ }
4040 % \end{macrocode}
4041 % U+16CF RUNIC LETTER TIWAZ TIR TYR T
4042 % \begin{macrocode}
4043 { \x{E1} \x{9B} \x{8F} }
4044 { \cL\` }
4045 % \end{macrocode}
4046 % U+16D0 RUNIC LETTER SHORT-TWIG-TYR T
4047 % \begin{macrocode}
4048 { \x{E1} \x{9B} \x{90} }
4049 { \cL\x{61} }
4050 % \end{macrocode}
4051 % U+16D1 RUNIC LETTER D
4052 % \begin{macrocode}
4053 { \x{E1} \x{9B} \x{91} }
4054 { \cL\x{62} }
4055 % \end{macrocode}
4056 % U+16D2 RUNIC LETTER BERKANAN BEORC BJARKAN B
4057 % \begin{macrocode}
4058 { \x{E1} \x{9B} \x{92} }
4059 { \cL\x{63} }
4060 % \end{macrocode}
4061 % U+16D3 RUNIC LETTER SHORT-TWIG-BJARKAN B
4062 % \begin{macrocode}
4063 { \x{E1} \x{9B} \x{93} }
4064 { \cL\x{64} }
4065 % \end{macrocode}
4066 % U+16D4 RUNIC LETTER DOTTED-P
4067 % \begin{macrocode}
4068 { \x{E1} \x{9B} \x{94} }
4069 { \cL\x{65} }
4070 % \end{macrocode}
4071 % U+16D5 RUNIC LETTER OPEN-P
4072 % \begin{macrocode}
4073 { \x{E1} \x{9B} \x{95} }
4074 { \cL\x{66} }
4075 % \end{macrocode}
4076 % U+16D6 RUNIC LETTER EHWAZ EH E
4077 % \begin{macrocode}
4078 { \x{E1} \x{9B} \x{96} }
4079 { \cL\x{67} }
4080 % \end{macrocode}
4081 % U+16D7 RUNIC LETTER MANNAZ MAN M
4082 % \begin{macrocode}
4083 { \x{E1} \x{9B} \x{97} }
4084 { \cL\x{68} }
4085 % \end{macrocode}
4086 % U+16D8 RUNIC LETTER LONG-BRANCH-MADR M
4087 % \begin{macrocode}
4088 { \x{E1} \x{9B} \x{98} }
4089 { \cL\x{69} }
4090 % \end{macrocode}
4091 % U+16D9 RUNIC LETTER SHORT-TWIG-MADR M
4092 % \begin{macrocode}
4093 { \x{E1} \x{9B} \x{99} }
4094 { \cL\x{6A} }
4095 % \end{macrocode}
4096 % U+16DA RUNIC LETTER LAUKAZ LAGU LOGR L
4097 % \begin{macrocode}
4098 { \x{E1} \x{9B} \x{9A} }
4099 { \cL\x{6B} }
4100 % \end{macrocode}
4101 % U+16DB RUNIC LETTER DOTTED-L
4102 % \begin{macrocode}
4103 { \x{E1} \x{9B} \x{9B} }
4104 { \cL\x{6C} }
4105 % \end{macrocode}
4106 % U+16DC RUNIC LETTER INGWAZ
4107 % \begin{macrocode}
4108 { \x{E1} \x{9B} \x{9C} }
4109 { \cL\x{6D} }
4110 % \end{macrocode}
4111 % U+16DD RUNIC LETTER ING
4112 % \begin{macrocode}
4113 { \x{E1} \x{9B} \x{9D} }
4114 { \cL\x{6F} }
4115 % \end{macrocode}
4116 % U+16DE RUNIC LETTER DAGAZ DAEG D
4117 % \begin{macrocode}
4118 { \x{E1} \x{9B} \x{9E} }
4119 { \cL\x{70} }
4120 % \end{macrocode}
4121 % U+16DF RUNIC LETTER OTHALAN ETHEL O
4122 % \begin{macrocode}
4123 { \x{E1} \x{9B} \x{9F} }
4124 { \cL\x{71} }
4125 % \end{macrocode}
4126 % U+16E0 RUNIC LETTER EAR
4127 % \begin{macrocode}
4128 { \x{E1} \x{9B} \x{A0} }
4129 { \cL\x{72} }
4130 % \end{macrocode}
4131 % U+16E1 RUNIC LETTER IOR
4132 % \begin{macrocode}
4133 { \x{E1} \x{9B} \x{A1} }
4134 { \cL\x{73} }
4135 % \end{macrocode}
4136 % U+16E2 RUNIC LETTER CWEORTH
4137 % \begin{macrocode}
4138 { \x{E1} \x{9B} \x{A2} }
4139 { \cL\x{74} }
4140 % \end{macrocode}
4141 % U+16E3 RUNIC LETTER CALC
4142 % \begin{macrocode}
4143 { \x{E1} \x{9B} \x{A3} }
4144 { \cL\x{75} }
4145 % \end{macrocode}
4146 % U+16E4 RUNIC LETTER CEALC
4147 % \begin{macrocode}
4148 { \x{E1} \x{9B} \x{A4} }
4149 { \cL\x{76} }
4150 % \end{macrocode}
4151 % U+16E5 RUNIC LETTER STAN
4152 % \begin{macrocode}
4153 { \x{E1} \x{9B} \x{A5} }
4154 { \cL\x{77} }
4155 % \end{macrocode}
4156 % U+16E6 RUNIC LETTER LONG-BRANCH-YR
4157 % \begin{macrocode}
4158 { \x{E1} \x{9B} \x{A6} }
4159 { \cL\x{78} }
4160 % \end{macrocode}
4161 % U+16E7 RUNIC LETTER SHORT-TWIG-YR
4162 % \begin{macrocode}
4163 { \x{E1} \x{9B} \x{A7} }
4164 { \cL\x{79} }
4165 % \end{macrocode}
4166 % U+16E8 RUNIC LETTER ICELANDIC-YR
4167 % \begin{macrocode}
4168 { \x{E1} \x{9B} \x{A8} }
4169 { \cL\x{7A} }
4170 % \end{macrocode}
4171 % U+16E9 RUNIC LETTER Q
4172 % \begin{macrocode}
4173 { \x{E1} \x{9B} \x{A9} }
4174 { \cL\{ }
4175 % \end{macrocode}
4176 % U+16EA RUNIC LETTER X
4177 % \begin{macrocode}
4178 { \x{E1} \x{9B} \x{AA} }
4179 { \cL\| }
4180 % \end{macrocode}
4181 % U+16EE RUNIC ARLAUG SYMBOL
4182 % \begin{macrocode}
4183 { \x{E1} \x{9B} \x{AE} }
4184 { \cL\} \cO\! }
4185 % \end{macrocode}
4186 % U+16EF RUNIC TVIMADUR SYMBOL
4187 % \begin{macrocode}
4188 { \x{E1} \x{9B} \x{AF} }
4189 { \cL\} \cO\" }
4190 % \end{macrocode}
4191 % U+16F0 RUNIC BELGTHOR SYMBOL
4192 % \begin{macrocode}
4193 { \x{E1} \x{9B} \x{B0} }
4194 { \cL\} \cO\# }
4195 % \end{macrocode}
4196 % U+16F1 RUNIC LETTER K
4197 % \begin{macrocode}
4198 { \x{E1} \x{9B} \x{B1} }
4199 { \cL\} \cO\$ }
4200 % \end{macrocode}
4201 % U+16F2 RUNIC LETTER SH
4202 % \begin{macrocode}
4203 { \x{E1} \x{9B} \x{B2} }
4204 { \cL\} \cO\% }
4205 % \end{macrocode}
4206 % U+16F3 RUNIC LETTER OO
4207 % \begin{macrocode}
4208 { \x{E1} \x{9B} \x{B3} }
4209 { \cL\} \cO\& }
4210 % \end{macrocode}
4211 % U+16F4 RUNIC LETTER FRANKS CASKET OS
4212 % \begin{macrocode}
4213 { \x{E1} \x{9B} \x{B4} }
4214 { \cL\} \cO\' }
4215 % \end{macrocode}
4216 % U+16F5 RUNIC LETTER FRANKS CASKET IS
4217 % \begin{macrocode}
4218 { \x{E1} \x{9B} \x{B5} }
4219 { \cL\} \cO\( }
4220 % \end{macrocode}
4221 % U+16F6 RUNIC LETTER FRANKS CASKET EH
4222 % \begin{macrocode}
4223 { \x{E1} \x{9B} \x{B6} }
4224 { \cL\} \cO\) }
4225 % \end{macrocode}
4226 % U+16F7 RUNIC LETTER FRANKS CASKET AC
4227 % \begin{macrocode}
4228 { \x{E1} \x{9B} \x{B7} }
4229 { \cL\} \cO\* }
4230 % \end{macrocode}
4231 % U+16F8 RUNIC LETTER FRANKS CASKET AESC
4232 % \begin{macrocode}
4233 { \x{E1} \x{9B} \x{B8} }
4234 { \cL\} \cO\+ }
4235 % \end{macrocode}
4236 % U+16EB RUNIC SINGLE PUNCTUATION
4237 % \begin{macrocode}
4238 { \x{E1} \x{9B} \x{AB} }
4239 { \cO\! \cO\! }
4240 % \end{macrocode}
4241 % U+16EC RUNIC MULTIPLE PUNCTUATION
4242 % \begin{macrocode}
4243 { \x{E1} \x{9B} \x{AC} }
4244 { \cO\! \cO\" }
4245 % \end{macrocode}
4246 % U+16ED RUNIC CROSS PUNCTUATION
4247 % \begin{macrocode}
4248 { \x{E1} \x{9B} \x{AD} }
4249 { \cO\! \cO\# }
4250 % \end{macrocode}
4251 % Tironian et
4252 % \begin{macrocode}
4253 { \x{E2} \x{81} \x{8A} }
4254 { \cL\~ }
4255 % \end{macrocode}
4256 %Any character in the punctuation class that has category other:
4257 %Version 1.1 added category code check.
4258 % \begin{macrocode}
4259 { \cO([[:punct:]]) } { \cO\! \cO\$ \1 }
4260 }
4261 #1
4262 }
4263 % \end{macrocode}
4264 %Old English Rune Poem order (fuþorc). Not all characters are included in the
4265 %poem, so they are appended at the end. Punctuation characters come
4266 %first.
4267 % \begin{macrocode}
4268 \cs_new:Nn \datatool_angRunr_order_punc_futhorc:n
4269 {
4270 \regex_replace_case_all:nN
4271 {
4272 % \end{macrocode}
4273 % U+16A0 RUNIC LETTER FEHU FEOH FE F
4274 % \begin{macrocode}
4275 { \x{E1} \x{9A} \x{A0} }
4276 { \cL\x{31} }
4277 % \end{macrocode}
4278 % U+16A2 RUNIC LETTER URUZ UR U
4279 % \begin{macrocode}
4280 { \x{E1} \x{9A} \x{A2} }
4281 { \cL\x{32} }
4282 % \end{macrocode}
4283 % U+16A6 RUNIC LETTER THURISAZ THURS THORN
4284 % \begin{macrocode}
4285 { \x{E1} \x{9A} \x{A6} }
4286 { \cL\x{33} }
4287 % \end{macrocode}
4288 % U+16A9 RUNIC LETTER OS O
4289 % \begin{macrocode}
4290 { \x{E1} \x{9A} \x{A9} }
4291 { \cL\x{34} }
4292 % \end{macrocode}
4293 % U+16B1 RUNIC LETTER RAIDO RAD REID R
4294 % \begin{macrocode}
4295 { \x{E1} \x{9A} \x{B1} }
4296 { \cL\x{35} }
4297 % \end{macrocode}
4298 % U+16B3 RUNIC LETTER CEN
4299 % \begin{macrocode}
4300 { \x{E1} \x{9A} \x{B3} }
4301 { \cL\x{36} }
4302 % \end{macrocode}
4303 % U+16B7 RUNIC LETTER GEBO GYFU G
4304 % \begin{macrocode}
4305 { \x{E1} \x{9A} \x{B7} }
4306 { \cL\x{37} }
4307 % \end{macrocode}
4308 % U+16B9 RUNIC LETTER WUNJO WYNN W
4309 % \begin{macrocode}
4310 { \x{E1} \x{9A} \x{B9} }
4311 { \cL\x{38} }
4312 % \end{macrocode}
4313 % U+16BB RUNIC LETTER HAEGL H
4314 % \begin{macrocode}
4315 { \x{E1} \x{9A} \x{BB} }
4316 { \cL\x{39} }
4317 % \end{macrocode}
4318 % U+16BE RUNIC LETTER NAUDIZ NYD NAUD N
4319 % \begin{macrocode}
4320 { \x{E1} \x{9A} \x{BE} }
4321 { \cL\: }
4322 % \end{macrocode}
4323 % U+16C1 RUNIC LETTER ISAZ IS ISS I
4324 % \begin{macrocode}
4325 { \x{E1} \x{9B} \x{81} }
4326 { \cL\; }
4327 % \end{macrocode}
4328 % U+16C4 RUNIC LETTER GER
4329 % \begin{macrocode}
4330 { \x{E1} \x{9B} \x{84} }
4331 { \cL\< }
4332 % \end{macrocode}
4333 % U+16C7 RUNIC LETTER IWAZ EOH
4334 % \begin{macrocode}
4335 { \x{E1} \x{9B} \x{87} }
4336 { \cL\= }
4337 % \end{macrocode}
4338 % U+16C8 RUNIC LETTER PERTHO PEORTH P
4339 % \begin{macrocode}
4340 { \x{E1} \x{9B} \x{88} }
4341 { \cL\> }
4342 % \end{macrocode}
4343 % U+16C9 RUNIC LETTER ALGIZ EOLHX
4344 % \begin{macrocode}
4345 { \x{E1} \x{9B} \x{89} }
4346 { \cL\? }
4347 % \end{macrocode}
4348 % U+16CB RUNIC LETTER SIGEL LONG-BRANCH-SOL S
4349 % \begin{macrocode}
4350 { \x{E1} \x{9B} \x{8B} }
4351 { \cL\@ }
4352 % \end{macrocode}
4353 % U+16CF RUNIC LETTER TIWAZ TIR TYR T
4354 % \begin{macrocode}
4355 { \x{E1} \x{9B} \x{8F} }
4356 { \cL\x{41} }
4357 % \end{macrocode}
4358 % U+16D2 RUNIC LETTER BERKANAN BEORC BJARKAN B
4359 % \begin{macrocode}
4360 { \x{E1} \x{9B} \x{92} }
4361 { \cL\x{42} }
4362 % \end{macrocode}
4363 % U+16D6 RUNIC LETTER EHWAZ EH E
4364 % \begin{macrocode}
4365 { \x{E1} \x{9B} \x{96} }
4366 { \cL\x{43} }
4367 % \end{macrocode}
4368 % U+16D7 RUNIC LETTER MANNAZ MAN M
4369 % \begin{macrocode}
4370 { \x{E1} \x{9B} \x{97} }
4371 { \cL\x{44} }
4372 % \end{macrocode}
4373 % U+16DA RUNIC LETTER LAUKAZ LAGU LOGR L
4374 % \begin{macrocode}
4375 { \x{E1} \x{9B} \x{9A} }
4376 { \cL\x{45} }
4377 % \end{macrocode}
4378 % U+16DD RUNIC LETTER ING
4379 % \begin{macrocode}
4380 { \x{E1} \x{9B} \x{9D} }
4381 { \cL\x{46} }
4382 % \end{macrocode}
4383 % U+16DF RUNIC LETTER OTHALAN ETHEL O
4384 % \begin{macrocode}
4385 { \x{E1} \x{9B} \x{9F} }
4386 { \cL\x{47} }
4387 % \end{macrocode}
4388 % U+16DE RUNIC LETTER DAGAZ DAEG D
4389 % \begin{macrocode}
4390 { \x{E1} \x{9B} \x{9E} }
4391 { \cL\x{48} }
4392 % \end{macrocode}
4393 % U+16AA RUNIC LETTER AC A
4394 % \begin{macrocode}
4395 { \x{E1} \x{9A} \x{AA} }
4396 { \cL\x{49} }
4397 % \end{macrocode}
4398 % U+16AB RUNIC LETTER AESC
4399 % \begin{macrocode}
4400 { \x{E1} \x{9A} \x{AB} }
4401 { \cL\x{4A} }
4402 % \end{macrocode}
4403 % U+16A3 RUNIC LETTER YR
4404 % \begin{macrocode}
4405 { \x{E1} \x{9A} \x{A3} }
4406 { \cL\x{4B} }
4407 % \end{macrocode}
4408 % U+16E1 RUNIC LETTER IOR
4409 % \begin{macrocode}
4410 { \x{E1} \x{9B} \x{A1} }
4411 { \cL\x{4C} }
4412 % \end{macrocode}
4413 % U+16E0 RUNIC LETTER EAR
4414 % \begin{macrocode}
4415 { \x{E1} \x{9B} \x{A0} }
4416 { \cL\x{4D} }
4417 % \end{macrocode}
4418 %The remainder are in Unicode order, except for the punctuation.
4419 %Some of these may need to be merged into the above, as applicable.
4420 %
4421 % U+16A1 RUNIC LETTER V
4422 % \begin{macrocode}
4423 { \x{E1} \x{9A} \x{A1} }
4424 { \cL\x{4E} }
4425 % \end{macrocode}
4426 % U+16A4 RUNIC LETTER Y
4427 % \begin{macrocode}
4428 { \x{E1} \x{9A} \x{A4} }
4429 { \cL\x{4F} }
4430 % \end{macrocode}
4431 % U+16A5 RUNIC LETTER W
4432 % \begin{macrocode}
4433 { \x{E1} \x{9A} \x{A5} }
4434 { \cL\x{50} }
4435 % \end{macrocode}
4436 % U+16A7 RUNIC LETTER ETH
4437 % \begin{macrocode}
4438 { \x{E1} \x{9A} \x{A7} }
4439 { \cL\x{51} }
4440 % \end{macrocode}
4441 % U+16A8 RUNIC LETTER ANSUZ A
4442 % \begin{macrocode}
4443 { \x{E1} \x{9A} \x{A8} }
4444 { \cL\x{52} }
4445 % \end{macrocode}
4446 % U+16AC RUNIC LETTER LONG-BRANCH-OSS O
4447 % \begin{macrocode}
4448 { \x{E1} \x{9A} \x{AC} }
4449 { \cL\x{53} }
4450 % \end{macrocode}
4451 % U+16AD RUNIC LETTER SHORT-TWIG-OSS O
4452 % \begin{macrocode}
4453 { \x{E1} \x{9A} \x{AD} }
4454 { \cL\x{54} }
4455 % \end{macrocode}
4456 % U+16AE RUNIC LETTER O
4457 % \begin{macrocode}
4458 { \x{E1} \x{9A} \x{AE} }
4459 { \cL\x{55} }
4460 % \end{macrocode}
4461 % U+16AF RUNIC LETTER OE
4462 % \begin{macrocode}
4463 { \x{E1} \x{9A} \x{AF} }
4464 { \cL\x{56} }
4465 % \end{macrocode}
4466 % U+16B0 RUNIC LETTER ON
4467 % \begin{macrocode}
4468 { \x{E1} \x{9A} \x{B0} }
4469 { \cL\x{57} }
4470 % \end{macrocode}
4471 % U+16B2 RUNIC LETTER KAUNA
4472 % \begin{macrocode}
4473 { \x{E1} \x{9A} \x{B2} }
4474 { \cL\x{58} }
4475 % \end{macrocode}
4476 % U+16B4 RUNIC LETTER KAUN K
4477 % \begin{macrocode}
4478 { \x{E1} \x{9A} \x{B4} }
4479 { \cL\x{59} }
4480 % \end{macrocode}
4481 % U+16B5 RUNIC LETTER G
4482 % \begin{macrocode}
4483 { \x{E1} \x{9A} \x{B5} }
4484 { \cL\x{5A} }
4485 % \end{macrocode}
4486 % U+16B6 RUNIC LETTER ENG
4487 % \begin{macrocode}
4488 { \x{E1} \x{9A} \x{B6} }
4489 { \cL\[ }
4490 % \end{macrocode}
4491 % U+16B8 RUNIC LETTER GAR
4492 % \begin{macrocode}
4493 { \x{E1} \x{9A} \x{B8} }
4494 { \cL\\ }
4495 % \end{macrocode}
4496 % U+16BA RUNIC LETTER HAGLAZ H
4497 % \begin{macrocode}
4498 { \x{E1} \x{9A} \x{BA} }
4499 { \cL\] }
4500 % \end{macrocode}
4501 % U+16BC RUNIC LETTER LONG-BRANCH-HAGALL H
4502 % \begin{macrocode}
4503 { \x{E1} \x{9A} \x{BC} }
4504 { \cL\^ }
4505 % \end{macrocode}
4506 % U+16BD RUNIC LETTER SHORT-TWIG-HAGALL H
4507 % \begin{macrocode}
4508 { \x{E1} \x{9A} \x{BD} }
4509 { \cL\_ }
4510 % \end{macrocode}
4511 % U+16BF RUNIC LETTER SHORT-TWIG-NAUD N
4512 % \begin{macrocode}
4513 { \x{E1} \x{9A} \x{BF} }
4514 { \cL\` }
4515 % \end{macrocode}
4516 % U+16C0 RUNIC LETTER DOTTED-N
4517 % \begin{macrocode}
4518 { \x{E1} \x{9B} \x{80} }
4519 { \cL\x{61} }
4520 % \end{macrocode}
4521 % U+16C2 RUNIC LETTER E
4522 % \begin{macrocode}
4523 { \x{E1} \x{9B} \x{82} }
4524 { \cL\x{62} }
4525 % \end{macrocode}
4526 % U+16C3 RUNIC LETTER JERAN J
4527 % \begin{macrocode}
4528 { \x{E1} \x{9B} \x{83} }
4529 { \cL\x{63} }
4530 % \end{macrocode}
4531 % U+16C5 RUNIC LETTER LONG-BRANCH-AR AE
4532 % \begin{macrocode}
4533 { \x{E1} \x{9B} \x{85} }
4534 { \cL\x{64} }
4535 % \end{macrocode}
4536 % U+16C6 RUNIC LETTER SHORT-TWIG-AR A
4537 % \begin{macrocode}
4538 { \x{E1} \x{9B} \x{86} }
4539 { \cL\x{65} }
4540 % \end{macrocode}
4541 % U+16CA RUNIC LETTER SOWILO S
4542 % \begin{macrocode}
4543 { \x{E1} \x{9B} \x{8A} }
4544 { \cL\x{66} }
4545 % \end{macrocode}
4546 % U+16CC RUNIC LETTER SHORT-TWIG-SOL S
4547 % \begin{macrocode}
4548 { \x{E1} \x{9B} \x{8C} }
4549 { \cL\x{67} }
4550 % \end{macrocode}
4551 % U+16CD RUNIC LETTER C
4552 % \begin{macrocode}
4553 { \x{E1} \x{9B} \x{8D} }
4554 { \cL\x{68} }
4555 % \end{macrocode}
4556 % U+16CE RUNIC LETTER Z
4557 % \begin{macrocode}
4558 { \x{E1} \x{9B} \x{8E} }
4559 { \cL\x{69} }
4560 % \end{macrocode}
4561 % U+16D0 RUNIC LETTER SHORT-TWIG-TYR T
4562 % \begin{macrocode}
4563 { \x{E1} \x{9B} \x{90} }
4564 { \cL\x{6A} }
4565 % \end{macrocode}
4566 % U+16D1 RUNIC LETTER D
4567 % \begin{macrocode}
4568 { \x{E1} \x{9B} \x{91} }
4569 { \cL\x{6B} }
4570 % \end{macrocode}
4571 % U+16D3 RUNIC LETTER SHORT-TWIG-BJARKAN B
4572 % \begin{macrocode}
4573 { \x{E1} \x{9B} \x{93} }
4574 { \cL\x{6C} }
4575 % \end{macrocode}
4576 % U+16D4 RUNIC LETTER DOTTED-P
4577 % \begin{macrocode}
4578 { \x{E1} \x{9B} \x{94} }
4579 { \cL\x{6D} }
4580 % \end{macrocode}
4581 % U+16D5 RUNIC LETTER OPEN-P
4582 % \begin{macrocode}
4583 { \x{E1} \x{9B} \x{95} }
4584 { \cL\x{6E} }
4585 % \end{macrocode}
4586 % U+16D8 RUNIC LETTER LONG-BRANCH-MADR M
4587 % \begin{macrocode}
4588 { \x{E1} \x{9B} \x{98} }
4589 { \cL\x{6F} }
4590 % \end{macrocode}
4591 % U+16D9 RUNIC LETTER SHORT-TWIG-MADR M
4592 % \begin{macrocode}
4593 { \x{E1} \x{9B} \x{99} }
4594 { \cL\x{70} }
4595 % \end{macrocode}
4596 % U+16DB RUNIC LETTER DOTTED-L
4597 % \begin{macrocode}
4598 { \x{E1} \x{9B} \x{9B} }
4599 { \cL\x{71} }
4600 % \end{macrocode}
4601 % U+16DC RUNIC LETTER INGWAZ
4602 % \begin{macrocode}
4603 { \x{E1} \x{9B} \x{9C} }
4604 { \cL\x{72} }
4605 % \end{macrocode}
4606 % U+16E2 RUNIC LETTER CWEORTH
4607 % \begin{macrocode}
4608 { \x{E1} \x{9B} \x{A2} }
4609 { \cL\x{73} }
4610 % \end{macrocode}
4611 % U+16E3 RUNIC LETTER CALC
4612 % \begin{macrocode}
4613 { \x{E1} \x{9B} \x{A3} }
4614 { \cL\x{74} }
4615 % \end{macrocode}
4616 % U+16E4 RUNIC LETTER CEALC
4617 % \begin{macrocode}
4618 { \x{E1} \x{9B} \x{A4} }
4619 { \cL\x{75} }
4620 % \end{macrocode}
4621 % U+16E5 RUNIC LETTER STAN
4622 % \begin{macrocode}
4623 { \x{E1} \x{9B} \x{A5} }
4624 { \cL\x{76} }
4625 % \end{macrocode}
4626 % U+16E6 RUNIC LETTER LONG-BRANCH-YR
4627 % \begin{macrocode}
4628 { \x{E1} \x{9B} \x{A6} }
4629 { \cL\x{77} }
4630 % \end{macrocode}
4631 % U+16E7 RUNIC LETTER SHORT-TWIG-YR
4632 % \begin{macrocode}
4633 { \x{E1} \x{9B} \x{A7} }
4634 { \cL\x{78} }
4635 % \end{macrocode}
4636 % U+16E8 RUNIC LETTER ICELANDIC-YR
4637 % \begin{macrocode}
4638 { \x{E1} \x{9B} \x{A8} }
4639 { \cL\x{79} }
4640 % \end{macrocode}
4641 % U+16E9 RUNIC LETTER Q
4642 % \begin{macrocode}
4643 { \x{E1} \x{9B} \x{A9} }
4644 { \cL\x{7A} }
4645 % \end{macrocode}
4646 % U+16EA RUNIC LETTER X
4647 % \begin{macrocode}
4648 { \x{E1} \x{9B} \x{AA} }
4649 { \cL\{ }
4650 % \end{macrocode}
4651 % U+16EE RUNIC ARLAUG SYMBOL
4652 % \begin{macrocode}
4653 { \x{E1} \x{9B} \x{AE} }
4654 { \cL\| \cO\! }
4655 % \end{macrocode}
4656 % U+16EF RUNIC TVIMADUR SYMBOL
4657 % \begin{macrocode}
4658 { \x{E1} \x{9B} \x{AF} }
4659 { \cL\} \cO\" }
4660 % \end{macrocode}
4661 % U+16F0 RUNIC BELGTHOR SYMBOL
4662 % \begin{macrocode}
4663 { \x{E1} \x{9B} \x{B0} }
4664 { \cL\} \cO\# }
4665 % \end{macrocode}
4666 % U+16F1 RUNIC LETTER K
4667 % \begin{macrocode}
4668 { \x{E1} \x{9B} \x{B1} }
4669 { \cL\} \cO\$ }
4670 % \end{macrocode}
4671 % U+16F2 RUNIC LETTER SH
4672 % \begin{macrocode}
4673 { \x{E1} \x{9B} \x{B2} }
4674 { \cL\} \cO\% }
4675 % \end{macrocode}
4676 % U+16F3 RUNIC LETTER OO
4677 % \begin{macrocode}
4678 { \x{E1} \x{9B} \x{B3} }
4679 { \cL\} \cO\& }
4680 % \end{macrocode}
4681 % U+16F4 RUNIC LETTER FRANKS CASKET OS
4682 % \begin{macrocode}
4683 { \x{E1} \x{9B} \x{B4} }
4684 { \cL\} \cO\' }
4685 % \end{macrocode}
4686 % U+16F5 RUNIC LETTER FRANKS CASKET IS
4687 % \begin{macrocode}
4688 { \x{E1} \x{9B} \x{B5} }
4689 { \cL\} \cO\( }
4690 % \end{macrocode}
4691 % U+16F6 RUNIC LETTER FRANKS CASKET EH
4692 % \begin{macrocode}
4693 { \x{E1} \x{9B} \x{B6} }
4694 { \cL\} \cO\) }
4695 % \end{macrocode}
4696 % U+16F7 RUNIC LETTER FRANKS CASKET AC
4697 % \begin{macrocode}
4698 { \x{E1} \x{9B} \x{B7} }
4699 { \cL\} \cO\* }
4700 % \end{macrocode}
4701 % U+16F8 RUNIC LETTER FRANKS CASKET AESC
4702 % \begin{macrocode}
4703 { \x{E1} \x{9B} \x{B8} }
4704 { \cL\} \cO\+ }
4705 % \end{macrocode}
4706 % U+16EB RUNIC SINGLE PUNCTUATION
4707 % \begin{macrocode}
4708 { \x{E1} \x{9B} \x{AB} }
4709 { \cO\! \cO\! }
4710 % \end{macrocode}
4711 % U+16EC RUNIC MULTIPLE PUNCTUATION
4712 % \begin{macrocode}
4713 { \x{E1} \x{9B} \x{AC} }
4714 { \cO\! \cO\" }
4715 % \end{macrocode}
4716 % U+16ED RUNIC CROSS PUNCTUATION
4717 % \begin{macrocode}
4718 { \x{E1} \x{9B} \x{AD} }
4719 { \cO\! \cO\# }
4720 % \end{macrocode}
4721 % Tironian et
4722 % \begin{macrocode}
4723 { \x{E2} \x{81} \x{8A} }
4724 { \cL\~ }
4725 % \end{macrocode}
4726 %Any character in the punctuation class (unlikely to occur in Runic
4727 %but added for completeness):
4728 %Version 1.1 added category code check.
4729 % \begin{macrocode}
4730 { \cO([[:punct:]]) } { \cO\! \cO\$ \1 }
4731 }
4732 #1
4733 }
4734 % \end{macrocode}
4735 %Old English Rune Poem order (fuþorc, punctuation last). Not all characters are included in the
4736 %poem, so they are appended at the end before the punctuation.
4737 % \begin{macrocode}
4738 \cs_new:Nn \datatool_angRunr_order_futhorc_punc:n
4739 {
4740 \regex_replace_case_all:nN
4741 {
4742 % \end{macrocode}
4743 % U+16A0 RUNIC LETTER FEHU FEOH FE F
4744 % \begin{macrocode}
4745 { \x{E1} \x{9A} \x{A0} }
4746 { \cL\x{31} }
4747 % \end{macrocode}
4748 % U+16A2 RUNIC LETTER URUZ UR U
4749 % \begin{macrocode}
4750 { \x{E1} \x{9A} \x{A2} }
4751 { \cL\x{32} }
4752 % \end{macrocode}
4753 % U+16A6 RUNIC LETTER THURISAZ THURS THORN
4754 % \begin{macrocode}
4755 { \x{E1} \x{9A} \x{A6} }
4756 { \cL\x{33} }
4757 % \end{macrocode}
4758 % U+16A9 RUNIC LETTER OS O
4759 % \begin{macrocode}
4760 { \x{E1} \x{9A} \x{A9} }
4761 { \cL\x{34} }
4762 % \end{macrocode}
4763 % U+16B1 RUNIC LETTER RAIDO RAD REID R
4764 % \begin{macrocode}
4765 { \x{E1} \x{9A} \x{B1} }
4766 { \cL\x{35} }
4767 % \end{macrocode}
4768 % U+16B3 RUNIC LETTER CEN
4769 % \begin{macrocode}
4770 { \x{E1} \x{9A} \x{B3} }
4771 { \cL\x{36} }
4772 % \end{macrocode}
4773 % U+16B7 RUNIC LETTER GEBO GYFU G
4774 % \begin{macrocode}
4775 { \x{E1} \x{9A} \x{B7} }
4776 { \cL\x{37} }
4777 % \end{macrocode}
4778 % U+16B9 RUNIC LETTER WUNJO WYNN W
4779 % \begin{macrocode}
4780 { \x{E1} \x{9A} \x{B9} }
4781 { \cL\x{38} }
4782 % \end{macrocode}
4783 % U+16BB RUNIC LETTER HAEGL H
4784 % \begin{macrocode}
4785 { \x{E1} \x{9A} \x{BB} }
4786 { \cL\x{39} }
4787 % \end{macrocode}
4788 % U+16BE RUNIC LETTER NAUDIZ NYD NAUD N
4789 % \begin{macrocode}
4790 { \x{E1} \x{9A} \x{BE} }
4791 { \cL\: }
4792 % \end{macrocode}
4793 % U+16C1 RUNIC LETTER ISAZ IS ISS I
4794 % \begin{macrocode}
4795 { \x{E1} \x{9B} \x{81} }
4796 { \cL\; }
4797 % \end{macrocode}
4798 % U+16C4 RUNIC LETTER GER
4799 % \begin{macrocode}
4800 { \x{E1} \x{9B} \x{84} }
4801 { \cL\< }
4802 % \end{macrocode}
4803 % U+16C7 RUNIC LETTER IWAZ EOH
4804 % \begin{macrocode}
4805 { \x{E1} \x{9B} \x{87} }
4806 { \cL\= }
4807 % \end{macrocode}
4808 % U+16C8 RUNIC LETTER PERTHO PEORTH P
4809 % \begin{macrocode}
4810 { \x{E1} \x{9B} \x{88} }
4811 { \cL\> }
4812 % \end{macrocode}
4813 % U+16C9 RUNIC LETTER ALGIZ EOLHX
4814 % \begin{macrocode}
4815 { \x{E1} \x{9B} \x{89} }
4816 { \cL\? }
4817 % \end{macrocode}
4818 % U+16CB RUNIC LETTER SIGEL LONG-BRANCH-SOL S
4819 % \begin{macrocode}
4820 { \x{E1} \x{9B} \x{8B} }
4821 { \cL\@ }
4822 % \end{macrocode}
4823 % U+16CF RUNIC LETTER TIWAZ TIR TYR T
4824 % \begin{macrocode}
4825 { \x{E1} \x{9B} \x{8F} }
4826 { \cL\x{41} }
4827 % \end{macrocode}
4828 % U+16D2 RUNIC LETTER BERKANAN BEORC BJARKAN B
4829 % \begin{macrocode}
4830 { \x{E1} \x{9B} \x{92} }
4831 { \cL\x{42} }
4832 % \end{macrocode}
4833 % U+16D6 RUNIC LETTER EHWAZ EH E
4834 % \begin{macrocode}
4835 { \x{E1} \x{9B} \x{96} }
4836 { \cL\x{43} }
4837 % \end{macrocode}
4838 % U+16D7 RUNIC LETTER MANNAZ MAN M
4839 % \begin{macrocode}
4840 { \x{E1} \x{9B} \x{97} }
4841 { \cL\x{44} }
4842 % \end{macrocode}
4843 % U+16DA RUNIC LETTER LAUKAZ LAGU LOGR L
4844 % \begin{macrocode}
4845 { \x{E1} \x{9B} \x{9A} }
4846 { \cL\x{45} }
4847 % \end{macrocode}
4848 % U+16DD RUNIC LETTER ING
4849 % \begin{macrocode}
4850 { \x{E1} \x{9B} \x{9D} }
4851 { \cL\x{46} }
4852 % \end{macrocode}
4853 % U+16DF RUNIC LETTER OTHALAN ETHEL O
4854 % \begin{macrocode}
4855 { \x{E1} \x{9B} \x{9F} }
4856 { \cL\x{47} }
4857 % \end{macrocode}
4858 % U+16DE RUNIC LETTER DAGAZ DAEG D
4859 % \begin{macrocode}
4860 { \x{E1} \x{9B} \x{9E} }
4861 { \cL\x{48} }
4862 % \end{macrocode}
4863 % U+16AA RUNIC LETTER AC A
4864 % \begin{macrocode}
4865 { \x{E1} \x{9A} \x{AA} }
4866 { \cL\x{49} }
4867 % \end{macrocode}
4868 % U+16AB RUNIC LETTER AESC
4869 % \begin{macrocode}
4870 { \x{E1} \x{9A} \x{AB} }
4871 { \cL\x{4A} }
4872 % \end{macrocode}
4873 % U+16A3 RUNIC LETTER YR
4874 % \begin{macrocode}
4875 { \x{E1} \x{9A} \x{A3} }
4876 { \cL\x{4B} }
4877 % \end{macrocode}
4878 % U+16E1 RUNIC LETTER IOR
4879 % \begin{macrocode}
4880 { \x{E1} \x{9B} \x{A1} }
4881 { \cL\x{4C} }
4882 % \end{macrocode}
4883 % U+16E0 RUNIC LETTER EAR
4884 % \begin{macrocode}
4885 { \x{E1} \x{9B} \x{A0} }
4886 { \cL\x{4D} }
4887 % \end{macrocode}
4888 %The remainder are in Unicode order, except for the punctuation.
4889 %Some of these may need to be merged into the above, as applicable.
4890 %
4891 % U+16A1 RUNIC LETTER V
4892 % \begin{macrocode}
4893 { \x{E1} \x{9A} \x{A1} }
4894 { \cL\x{4E} }
4895 % \end{macrocode}
4896 % U+16A4 RUNIC LETTER Y
4897 % \begin{macrocode}
4898 { \x{E1} \x{9A} \x{A4} }
4899 { \cL\x{4F} }
4900 % \end{macrocode}
4901 % U+16A5 RUNIC LETTER W
4902 % \begin{macrocode}
4903 { \x{E1} \x{9A} \x{A5} }
4904 { \cL\x{50} }
4905 % \end{macrocode}
4906 % U+16A7 RUNIC LETTER ETH
4907 % \begin{macrocode}
4908 { \x{E1} \x{9A} \x{A7} }
4909 { \cL\x{51} }
4910 % \end{macrocode}
4911 % U+16A8 RUNIC LETTER ANSUZ A
4912 % \begin{macrocode}
4913 { \x{E1} \x{9A} \x{A8} }
4914 { \cL\x{52} }
4915 % \end{macrocode}
4916 % U+16AC RUNIC LETTER LONG-BRANCH-OSS O
4917 % \begin{macrocode}
4918 { \x{E1} \x{9A} \x{AC} }
4919 { \cL\x{53} }
4920 % \end{macrocode}
4921 % U+16AD RUNIC LETTER SHORT-TWIG-OSS O
4922 % \begin{macrocode}
4923 { \x{E1} \x{9A} \x{AD} }
4924 { \cL\x{54} }
4925 % \end{macrocode}
4926 % U+16AE RUNIC LETTER O
4927 % \begin{macrocode}
4928 { \x{E1} \x{9A} \x{AE} }
4929 { \cL\x{55} }
4930 % \end{macrocode}
4931 % U+16AF RUNIC LETTER OE
4932 % \begin{macrocode}
4933 { \x{E1} \x{9A} \x{AF} }
4934 { \cL\x{56} }
4935 % \end{macrocode}
4936 % U+16B0 RUNIC LETTER ON
4937 % \begin{macrocode}
4938 { \x{E1} \x{9A} \x{B0} }
4939 { \cL\x{57} }
4940 % \end{macrocode}
4941 % U+16B2 RUNIC LETTER KAUNA
4942 % \begin{macrocode}
4943 { \x{E1} \x{9A} \x{B2} }
4944 { \cL\x{58} }
4945 % \end{macrocode}
4946 % U+16B4 RUNIC LETTER KAUN K
4947 % \begin{macrocode}
4948 { \x{E1} \x{9A} \x{B4} }
4949 { \cL\x{59} }
4950 % \end{macrocode}
4951 % U+16B5 RUNIC LETTER G
4952 % \begin{macrocode}
4953 { \x{E1} \x{9A} \x{B5} }
4954 { \cL\x{5A} }
4955 % \end{macrocode}
4956 % U+16B6 RUNIC LETTER ENG
4957 % \begin{macrocode}
4958 { \x{E1} \x{9A} \x{B6} }
4959 { \cL\[ }
4960 % \end{macrocode}
4961 % U+16B8 RUNIC LETTER GAR
4962 % \begin{macrocode}
4963 { \x{E1} \x{9A} \x{B8} }
4964 { \cL\\ }
4965 % \end{macrocode}
4966 % U+16BA RUNIC LETTER HAGLAZ H
4967 % \begin{macrocode}
4968 { \x{E1} \x{9A} \x{BA} }
4969 { \cL\] }
4970 % \end{macrocode}
4971 % U+16BC RUNIC LETTER LONG-BRANCH-HAGALL H
4972 % \begin{macrocode}
4973 { \x{E1} \x{9A} \x{BC} }
4974 { \cL\^ }
4975 % \end{macrocode}
4976 % U+16BD RUNIC LETTER SHORT-TWIG-HAGALL H
4977 % \begin{macrocode}
4978 { \x{E1} \x{9A} \x{BD} }
4979 { \cL\_ }
4980 % \end{macrocode}
4981 % U+16BF RUNIC LETTER SHORT-TWIG-NAUD N
4982 % \begin{macrocode}
4983 { \x{E1} \x{9A} \x{BF} }
4984 { \cL\` }
4985 % \end{macrocode}
4986 % U+16C0 RUNIC LETTER DOTTED-N
4987 % \begin{macrocode}
4988 { \x{E1} \x{9B} \x{80} }
4989 { \cL\x{61} }
4990 % \end{macrocode}
4991 % U+16C2 RUNIC LETTER E
4992 % \begin{macrocode}
4993 { \x{E1} \x{9B} \x{82} }
4994 { \cL\x{62} }
4995 % \end{macrocode}
4996 % U+16C3 RUNIC LETTER JERAN J
4997 % \begin{macrocode}
4998 { \x{E1} \x{9B} \x{83} }
4999 { \cL\x{63} }
5000 % \end{macrocode}
5001 % U+16C5 RUNIC LETTER LONG-BRANCH-AR AE
5002 % \begin{macrocode}
5003 { \x{E1} \x{9B} \x{85} }
5004 { \cL\x{64} }
5005 % \end{macrocode}
5006 % U+16C6 RUNIC LETTER SHORT-TWIG-AR A
5007 % \begin{macrocode}
5008 { \x{E1} \x{9B} \x{86} }
5009 { \cL\x{65} }
5010 % \end{macrocode}
5011 % U+16CA RUNIC LETTER SOWILO S
5012 % \begin{macrocode}
5013 { \x{E1} \x{9B} \x{8A} }
5014 { \cL\x{66} }
5015 % \end{macrocode}
5016 % U+16CC RUNIC LETTER SHORT-TWIG-SOL S
5017 % \begin{macrocode}
5018 { \x{E1} \x{9B} \x{8C} }
5019 { \cL\x{67} }
5020 % \end{macrocode}
5021 % U+16CD RUNIC LETTER C
5022 % \begin{macrocode}
5023 { \x{E1} \x{9B} \x{8D} }
5024 { \cL\x{68} }
5025 % \end{macrocode}
5026 % U+16CE RUNIC LETTER Z
5027 % \begin{macrocode}
5028 { \x{E1} \x{9B} \x{8E} }
5029 { \cL\x{69} }
5030 % \end{macrocode}
5031 % U+16D0 RUNIC LETTER SHORT-TWIG-TYR T
5032 % \begin{macrocode}
5033 { \x{E1} \x{9B} \x{90} }
5034 { \cL\x{6A} }
5035 % \end{macrocode}
5036 % U+16D1 RUNIC LETTER D
5037 % \begin{macrocode}
5038 { \x{E1} \x{9B} \x{91} }
5039 { \cL\x{6B} }
5040 % \end{macrocode}
5041 % U+16D3 RUNIC LETTER SHORT-TWIG-BJARKAN B
5042 % \begin{macrocode}
5043 { \x{E1} \x{9B} \x{93} }
5044 { \cL\x{6C} }
5045 % \end{macrocode}
5046 % U+16D4 RUNIC LETTER DOTTED-P
5047 % \begin{macrocode}
5048 { \x{E1} \x{9B} \x{94} }
5049 { \cL\x{6D} }
5050 % \end{macrocode}
5051 % U+16D5 RUNIC LETTER OPEN-P
5052 % \begin{macrocode}
5053 { \x{E1} \x{9B} \x{95} }
5054 { \cL\x{6E} }
5055 % \end{macrocode}
5056 % U+16D8 RUNIC LETTER LONG-BRANCH-MADR M
5057 % \begin{macrocode}
5058 { \x{E1} \x{9B} \x{98} }
5059 { \cL\x{6F} }
5060 % \end{macrocode}
5061 % U+16D9 RUNIC LETTER SHORT-TWIG-MADR M
5062 % \begin{macrocode}
5063 { \x{E1} \x{9B} \x{99} }
5064 { \cL\x{70} }
5065 % \end{macrocode}
5066 % U+16DB RUNIC LETTER DOTTED-L
5067 % \begin{macrocode}
5068 { \x{E1} \x{9B} \x{9B} }
5069 { \cL\x{71} }
5070 % \end{macrocode}
5071 % U+16DC RUNIC LETTER INGWAZ
5072 % \begin{macrocode}
5073 { \x{E1} \x{9B} \x{9C} }
5074 { \cL\x{72} }
5075 % \end{macrocode}
5076 % U+16E2 RUNIC LETTER CWEORTH
5077 % \begin{macrocode}
5078 { \x{E1} \x{9B} \x{A2} }
5079 { \cL\x{73} }
5080 % \end{macrocode}
5081 % U+16E3 RUNIC LETTER CALC
5082 % \begin{macrocode}
5083 { \x{E1} \x{9B} \x{A3} }
5084 { \cL\x{74} }
5085 % \end{macrocode}
5086 % U+16E4 RUNIC LETTER CEALC
5087 % \begin{macrocode}
5088 { \x{E1} \x{9B} \x{A4} }
5089 { \cL\x{75} }
5090 % \end{macrocode}
5091 % U+16E5 RUNIC LETTER STAN
5092 % \begin{macrocode}
5093 { \x{E1} \x{9B} \x{A5} }
5094 { \cL\x{76} }
5095 % \end{macrocode}
5096 % U+16E6 RUNIC LETTER LONG-BRANCH-YR
5097 % \begin{macrocode}
5098 { \x{E1} \x{9B} \x{A6} }
5099 { \cL\x{77} }
5100 % \end{macrocode}
5101 % U+16E7 RUNIC LETTER SHORT-TWIG-YR
5102 % \begin{macrocode}
5103 { \x{E1} \x{9B} \x{A7} }
5104 { \cL\x{78} }
5105 % \end{macrocode}
5106 % U+16E8 RUNIC LETTER ICELANDIC-YR
5107 % \begin{macrocode}
5108 { \x{E1} \x{9B} \x{A8} }
5109 { \cL\x{79} }
5110 % \end{macrocode}
5111 % U+16E9 RUNIC LETTER Q
5112 % \begin{macrocode}
5113 { \x{E1} \x{9B} \x{A9} }
5114 { \cL\x{7A} }
5115 % \end{macrocode}
5116 % U+16EA RUNIC LETTER X
5117 % \begin{macrocode}
5118 { \x{E1} \x{9B} \x{AA} }
5119 { \cL\{ }
5120 % \end{macrocode}
5121 % U+16EE RUNIC ARLAUG SYMBOL
5122 % \begin{macrocode}
5123 { \x{E1} \x{9B} \x{AE} }
5124 { \cL\| \cO\! }
5125 % \end{macrocode}
5126 % U+16EF RUNIC TVIMADUR SYMBOL
5127 % \begin{macrocode}
5128 { \x{E1} \x{9B} \x{AF} }
5129 { \cL\} \cO\" }
5130 % \end{macrocode}
5131 % U+16F0 RUNIC BELGTHOR SYMBOL
5132 % \begin{macrocode}
5133 { \x{E1} \x{9B} \x{B0} }
5134 { \cL\} \cO\# }
5135 % \end{macrocode}
5136 % U+16F1 RUNIC LETTER K
5137 % \begin{macrocode}
5138 { \x{E1} \x{9B} \x{B1} }
5139 { \cL\} \cO\$ }
5140 % \end{macrocode}
5141 % U+16F2 RUNIC LETTER SH
5142 % \begin{macrocode}
5143 { \x{E1} \x{9B} \x{B2} }
5144 { \cL\} \cO\% }
5145 % \end{macrocode}
5146 % U+16F3 RUNIC LETTER OO
5147 % \begin{macrocode}
5148 { \x{E1} \x{9B} \x{B3} }
5149 { \cL\} \cO\& }
5150 % \end{macrocode}
5151 % U+16F4 RUNIC LETTER FRANKS CASKET OS
5152 % \begin{macrocode}
5153 { \x{E1} \x{9B} \x{B4} }
5154 { \cL\} \cO\' }
5155 % \end{macrocode}
5156 % U+16F5 RUNIC LETTER FRANKS CASKET IS
5157 % \begin{macrocode}
5158 { \x{E1} \x{9B} \x{B5} }
5159 { \cL\} \cO\( }
5160 % \end{macrocode}
5161 % U+16F6 RUNIC LETTER FRANKS CASKET EH
5162 % \begin{macrocode}
5163 { \x{E1} \x{9B} \x{B6} }
5164 { \cL\} \cO\) }
5165 % \end{macrocode}
5166 % U+16F7 RUNIC LETTER FRANKS CASKET AC
5167 % \begin{macrocode}
5168 { \x{E1} \x{9B} \x{B7} }
5169 { \cL\} \cO\* }
5170 % \end{macrocode}
5171 % U+16F8 RUNIC LETTER FRANKS CASKET AESC
5172 % \begin{macrocode}
5173 { \x{E1} \x{9B} \x{B8} }
5174 { \cL\} \cO\+ }
5175 % \end{macrocode}
5176 % Tironian et
5177 % \begin{macrocode}
5178 { \x{E2} \x{81} \x{8A} }
5179 { \cL\} \cO\, }
5180 % \end{macrocode}
5181 % U+16EB RUNIC SINGLE PUNCTUATION
5182 % \begin{macrocode}
5183 { \x{E1} \x{9B} \x{AB} }
5184 { \cO\~ \cO\! }
5185 % \end{macrocode}
5186 % U+16EC RUNIC MULTIPLE PUNCTUATION
5187 % \begin{macrocode}
5188 { \x{E1} \x{9B} \x{AC} }
5189 { \cO\~ \cO\" }
5190 % \end{macrocode}
5191 % U+16ED RUNIC CROSS PUNCTUATION
5192 % \begin{macrocode}
5193 { \x{E1} \x{9B} \x{AD} }
5194 { \cO\~ \cO\# }
5195 % \end{macrocode}
5196 %Any character in the punctuation class (unlikely to occur in Runic
5197 %but added for completeness):
5198 %Version 1.1 added category code check.
5199 % \begin{macrocode}
5200 { \cO([[:punct:]]) } { \cO\~ \cO\$ \1 }
5201 }
5202 #1
5203 }
5204 }
5205 % \end{macrocode}
5206 %
5207 % \begin{macrocode}
5208 \datatool_locale_define_keys:nn { ang-Runr }
5209 {
5210 order .choice:,
5211 order / punc-unicode .code:n =
5212 {
5213 \renewcommand \DTLangRunrLocaleHandler [1]
5214 {
5215 \datatool_angRunr_order_punc_unicode:n { ##1 }
5216 }
5217 },
5218 order / punc-futhorc .code:n =
5219 {
5220 \renewcommand \DTLangRunrLocaleHandler [1]
5221 {
5222 \datatool_angRunr_order_punc_futhorc:n { ##1 }
5223 }
5224 },
5225 order / futhorc-punc .code:n =
5226 {
5227 \renewcommand \DTLangRunrLocaleHandler [1]
5228 {
5229 \datatool_angRunr_order_futhorc_punc:n { ##1 }
5230 }
5231 },
5232 }
5233 % \end{macrocode}
5234 %
5235 %
5236 %Translations: only providing \qt{and} (Tironian et)
5237 % \begin{macrocode}
5238 \newcommand \DTLangRunrTranslations {
5239 \tl_set:Nn \DTLandname { ⁊ }
5240 }
5241 % \end{macrocode}
5242 %
5243 %Switch off \LaTeX3 syntax.
5244 % \begin{macrocode}
5245 \ExplSyntaxOff
5246 % \end{macrocode}
5247
5248 %\iffalse
5249 % \begin{macrocode}
5250 %</datatool-ang-Runr-utf8.ldf>
5251 % \end{macrocode}
5252 %\fi
5253 %\Finale
5254 \endinput