-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
2287 lines (2082 loc) · 101 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Liblouis Table Specification</title>
<!-- 2015-05-11 Mon 18:39 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="generator" content="Org-mode" />
<meta name="author" content="Bert Frees" />
<style type="text/css">
<!--/*--><![CDATA[/*><!--*/
.title { text-align: center; }
.todo { font-family: monospace; color: red; }
.done { color: green; }
.tag { background-color: #eee; font-family: monospace;
padding: 2px; font-size: 80%; font-weight: normal; }
.timestamp { color: #bebebe; }
.timestamp-kwd { color: #5f9ea0; }
.right { margin-left: auto; margin-right: 0px; text-align: right; }
.left { margin-left: 0px; margin-right: auto; text-align: left; }
.center { margin-left: auto; margin-right: auto; text-align: center; }
.underline { text-decoration: underline; }
#postamble p, #preamble p { font-size: 90%; margin: .2em; }
p.verse { margin-left: 3%; }
pre {
border: 1px solid #ccc;
box-shadow: 3px 3px 3px #eee;
padding: 8pt;
font-family: monospace;
overflow: auto;
margin: 1.2em;
}
pre.src {
position: relative;
overflow: visible;
padding-top: 1.2em;
}
pre.src:before {
display: none;
position: absolute;
background-color: white;
top: -10px;
right: 10px;
padding: 3px;
border: 1px solid black;
}
pre.src:hover:before { display: inline;}
pre.src-sh:before { content: 'sh'; }
pre.src-bash:before { content: 'sh'; }
pre.src-emacs-lisp:before { content: 'Emacs Lisp'; }
pre.src-R:before { content: 'R'; }
pre.src-perl:before { content: 'Perl'; }
pre.src-java:before { content: 'Java'; }
pre.src-sql:before { content: 'SQL'; }
table { border-collapse:collapse; }
td, th { vertical-align:top; }
th.right { text-align: center; }
th.left { text-align: center; }
th.center { text-align: center; }
td.right { text-align: right; }
td.left { text-align: left; }
td.center { text-align: center; }
dt { font-weight: bold; }
.footpara:nth-child(2) { display: inline; }
.footpara { display: block; }
.footdef { margin-bottom: 1em; }
.figure { padding: 1em; }
.figure p { text-align: center; }
.inlinetask {
padding: 10px;
border: 2px solid gray;
margin: 10px;
background: #ffffcc;
}
#org-div-home-and-up
{ text-align: right; font-size: 70%; white-space: nowrap; }
textarea { overflow-x: auto; }
.linenr { font-size: smaller }
.code-highlighted { background-color: #ffff00; }
.org-info-js_info-navigation { border-style: none; }
#org-info-js_console-label
{ font-size: 10px; font-weight: bold; white-space: nowrap; }
.org-info-js_search-highlight
{ background-color: #ffff00; color: #000000; font-weight: bold; }
/*]]>*/-->
</style>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="script.js"></script>
<script type="text/javascript">
/*
@licstart The following is the entire license notice for the
JavaScript code in this tag.
Copyright (C) 2012 Free Software Foundation, Inc.
The JavaScript code in this tag is free software: you can
redistribute it and/or modify it under the terms of the GNU
General Public License (GNU GPL) as published by the Free Software
Foundation, either version 3 of the License, or (at your option)
any later version. The code is distributed WITHOUT ANY WARRANTY;
without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
As additional permission under GNU GPL version 3 section 7, you
may distribute non-source (e.g., minimized or compacted) forms of
that code without the copy of the GNU GPL normally required by
section 4, provided you include this license notice and a URL
through which recipients can access the Corresponding Source.
@licend The above is the entire license notice
for the JavaScript code in this tag.
*/
<!--/*--><![CDATA[/*><!--*/
function CodeHighlightOn(elem, id)
{
var target = document.getElementById(id);
if(null != target) {
elem.cacheClassElem = elem.className;
elem.cacheClassTarget = target.className;
target.className = "code-highlighted";
elem.className = "code-highlighted";
}
}
function CodeHighlightOff(elem, id)
{
var target = document.getElementById(id);
if(elem.cacheClassElem)
elem.className = elem.cacheClassElem;
if(elem.cacheClassTarget)
target.className = elem.cacheClassTarget;
}
/*]]>*///-->
</script>
</head>
<body>
<div id="content">
<h1 class="title">Liblouis Table Specification</h1>
<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1">Opcodes</h2>
<div class="outline-text-2" id="text-1">
</div><div id="outline-container-space" class="outline-3">
<h3 id="space"><a id="sec-1-1" name="sec-1-1"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-space"><code>space</code></a></h3>
<div class="outline-text-3" id="text-space">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "space"
<ul class="org-ul">
<li>for using <code>$s</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for finding word boundaries (<a href="#largesign"><code>largesign</code></a>, <a href="#joinword"><code>joinword</code></a>,
<a href="#joinnum"><code>joinnum</code></a>, <a href="#contraction"><code>contraction</code></a>, <a href="#lowword"><code>lowword</code></a>, <a href="#sufword"><code>sufword</code></a>, <a href="#prfword"><code>prfword</code></a>,
<a href="#begword"><code>begword</code></a>, <a href="#begmidword"><code>begmidword</code></a>, <a href="#midendword"><code>midendword</code></a>, <a href="#endword"><code>endword</code></a>, <a href="#prepunc"><code>prepunc</code></a>,
<a href="#postpunc"><code>postpunc</code></a>, <i><code>firstwordital</code></i>, <i><code>firstwordbold</code></i>, <i><code>firstwordunder</code></i>,
<i><code>lastworditalbefore</code></i>, <i><code>lastwordboldbefore</code></i>,
<i><code>lastwordunderbefore</code></i>, <i><code>lastworditalafter</code></i>,
<i><code>lastwordboldafter</code></i>, <i><code>lastwordunderafter</code></i>)
</li>
<li>for finding number boundaries (<a href="#begnum"><code>begnum</code></a>)
</li>
<li>for dropping space (<a href="#largesign"><code>largesign</code></a>, <a href="#joinnum"><code>joinnum</code></a>, <a href="#joinword"><code>joinword</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-punctuation" class="outline-3">
<h3 id="punctuation"><a id="sec-1-2" name="sec-1-2"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-punctuation"><code>punctuation</code></a></h3>
<div class="outline-text-3" id="text-punctuation">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "punctuation mark"
<ul class="org-ul">
<li>for using <code>$p</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for finding punctuation (<a href="#prepunc"><code>prepunc</code></a>, <a href="#postpunc"><code>postpunc</code></a>)
</li>
<li>for finding word boundaries (<a href="#largesign"><code>largesign</code></a>, <a href="#joinword"><code>joinword</code></a>,
<a href="#joinnum"><code>joinnum</code></a>, <a href="#contraction"><code>contraction</code></a>, <a href="#sufword"><code>sufword</code></a>, <a href="#prfword"><code>prfword</code></a>, <a href="#begword"><code>begword</code></a>,
<a href="#begmidword"><code>begmidword</code></a>, <a href="#midendword"><code>midendword</code></a>, <a href="#endword"><code>endword</code></a>)
</li>
<li>for finding number boundaries (<a href="#begnum"><code>begnum</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-digit" class="outline-3">
<h3 id="digit"><a id="sec-1-3" name="sec-1-3"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-digit"><code>digit</code></a></h3>
<div class="outline-text-3" id="text-digit">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "digit"
<ul class="org-ul">
<li>for using <code>$d</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for finding (the absense of) word boundaries (<a href="#prepunc"><code>prepunc</code></a>,
<a href="#postpunc"><code>postpunc</code></a>, <i><code>firstwordital</code></i>, <i><code>firstwordbold</code></i>, <i><code>firstwordunder</code></i>,
<i><code>lastworditalbefore</code></i>, <i><code>lastwordboldbefore</code></i>,
<i><code>lastwordunderbefore</code></i>, <i><code>lastworditalafter</code></i>,
<i><code>lastwordboldafter</code></i>, <i><code>lastwordunderafter</code></i>)
</li>
<li>for finding (the absense of) number boundaries (<a href="#numsign"><code>numsign</code></a>,
<a href="#begnum"><code>begnum</code></a>, <a href="#midnum"><code>midnum</code></a>, <a href="#endnum"><code>endnum</code></a>, <a href="#decpoint"><code>decpoint</code></a>)
</li>
<li>for finding one-letter words and letters following a digit (<a href="#letsign"><code>letsign</code></a>)
</li>
<li>for joining a word and a digit (<a href="#joinnum"><code>joinnum</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-letter" class="outline-3">
<h3 id="letter"><a id="sec-1-4" name="sec-1-4"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-letter"><code>letter</code></a></h3>
<div class="outline-text-3" id="text-letter">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "letter"
<ul class="org-ul">
<li>for using <code>$l</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for finding (the absense of) word boundaries (<a href="#repword"><code>repword</code></a>,
<a href="#largesign"><code>largesign</code></a>, <a href="#partword"><code>partword</code></a>, <a href="#sufword"><code>sufword</code></a>, <a href="#prfword"><code>prfword</code></a>, <a href="#begword"><code>begword</code></a>,
<a href="#begmidword"><code>begmidword</code></a>, <a href="#midendword"><code>midendword</code></a>, <a href="#endword"><code>endword</code></a>, <a href="#prepunc"><code>prepunc</code></a>, <a href="#postpunc"><code>postpunc</code></a>,
<i><code>singleletterital</code></i>, <i><code>singleletterbold</code></i>, <i><code>singleletterunder</code></i>,
<i><code>firstletterital</code></i>, <i><code>firstletterbold</code></i>, <i><code>firstletterunder</code></i>,
<i><code>lastletterital</code></i>, <i><code>lastletterbold</code></i>, <i><code>lastletterunder</code></i>,
<i><code>firstwordital</code></i>, <i><code>firstwordbold</code></i>, <i><code>firstwordunder</code></i>,
<i><code>lastworditalbefore</code></i>, <i><code>lastwordboldbefore</code></i>,
<i><code>lastwordunderbefore</code></i>, <i><code>lastworditalafter</code></i>,
<i><code>lastwordboldafter</code></i>, <i><code>lastwordunderafter</code></i>)
</li>
<li>for finding one-letter words and letters following a digit (<a href="#letsign"><code>letsign</code></a>)
</li>
<li>for joining a word and a letter (<a href="#joinword"><code>joinword</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-lowercase" class="outline-3">
<h3 id="lowercase"><a id="sec-1-5" name="sec-1-5"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-lowercase"><code>lowercase</code></a></h3>
<div class="outline-text-3" id="text-lowercase">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as both "letter" and "lowercase"
<ul class="org-ul">
<li>for using <code>$u</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for finding the end of a block of uppercase letters within a word (<a href="#endcaps"><code>endcaps</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-uppercase" class="outline-3">
<h3 id="uppercase"><a id="sec-1-6" name="sec-1-6"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-uppercase"><code>uppercase</code></a></h3>
<div class="outline-text-3" id="text-uppercase">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as both "letter" and "uppercase"
<ul class="org-ul">
<li>for using <code>$U</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for inserting capital signs (<a href="#capsign"><code>capsign</code></a>, <a href="#begcaps"><code>begcaps</code></a>, <a href="#endcaps"><code>endcaps</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-uplow" class="outline-3">
<h3 id="uplow"><a id="sec-1-7" name="sec-1-7"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-uplow"><code>uplow</code></a></h3>
<div class="outline-text-3" id="text-uplow">
<ul class="org-ul">
<li><b>associates</b> first <i>character</i> with first <i>dots</i> (<a href="#uppercase"><code>uppercase</code></a>)
</li>
<li><b>defines</b> first <i>character</i> and first <i>dots</i> as "uppercase letter" (<a href="#uppercase"><code>uppercase</code></a>)
</li>
<li><b>associates</b> second <i>character</i> with last <i>dots</i> (<a href="#lowercase"><code>lowercase</code></a>)
</li>
<li><b>defines</b> second <i>character</i> and last <i>dots</i> as "lowercase letter" (<a href="#lowercase"><code>lowercase</code></a>)
</li>
<li><b>associates</b> letters as each other's case-counterparts
<ul class="org-ul">
<li>for mapping uppercase <i>character</i> to lowercase <i>dots</i>
when prefixed with a capital sign (<a href="#capsign"><code>capsign</code></a>)
</li>
<li>for matching translation rules written in lowercase letters on
input strings containing uppercase letters
</li>
</ul>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">lowercase</span> <span class="org-string">f</span> <span class="org-constant">124</span>
<span class="org-keyword">uppercase</span> <span class="org-string">F</span> <span class="org-constant">1247</span>
<span class="org-keyword">uplow</span> <span class="org-string">Oo</span> <span class="org-constant">1357,135</span>
<span class="org-keyword">letter</span> <span class="org-string">u</span> <span class="org-constant">136</span>
<span class="org-keyword">always</span> <span class="org-string">foo</span> <span class="org-constant">124-136</span>
<span class="org-keyword">always</span> <span class="org-string">OOf</span> <span class="org-constant">136-1247</span> <span class="org-comment"># translation rules with uppercase letters</span>
<span class="org-comment"># defined with uplow don't work</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"foo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"fu"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"FOO"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"FOO"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"fOO"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"fu"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"OOf"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"OOf"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L352"><code>lou_translateString.c::352</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L695"><code>lou_translateString.c::695</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1277"><code>lou_translateString.c::1277</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1572"><code>lou_translateString.c::1572</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1918"><code>lou_translateString.c::1918</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-litdigit" class="outline-3">
<h3 id="litdigit"><a id="sec-1-8" name="sec-1-8"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-litdigit"><code>litdigit</code></a></h3>
<div class="outline-text-3" id="text-litdigit">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>has precedence over space, digit, punctuation, math, sign,
letter, uppercase and lowercase
</li>
</ul>
</li>
<li>for <b>replacing</b> <i>dots</i> with <i>character</i> during backward
translation if they're part of a number (<a href="#numsign"><code>numsign</code></a>)
<ul class="org-ul">
<li>has precedence over space, digit, punctuation, math, sign,
letter, uppercase and lowercase
</li>
</ul>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "literary digit"
<ul class="org-ul">
<li>for using <code>$D</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
<li>for joining a word with a literary digit (<a href="#joinword"><code>joinword</code></a>)
</li>
</ul>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">letter</span> <span class="org-string">a</span> <span class="org-constant">1</span>
<span class="org-keyword">litdigit</span> <span class="org-string">1</span> <span class="org-constant">1</span>
<span class="org-keyword">sign</span> <span class="org-comment"># 3456</span>
<span class="org-keyword">numsign</span> <span class="org-constant">3456</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript"><span class="org-comment-delimiter">/* </span><span class="org-comment">TODO: backward translation */</span>
{
<span class="org-string">"input"</span>: <span class="org-string">"#a"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"1"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"a"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"a"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/compileTranslationTable.c#L1128"><code>compileTranslationTable.c::1128</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/compileTranslationTable.c#L1185"><code>compileTranslationTable.c::1185</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_backtranslateString.c#L568"><code>lou_backtranslateString.c::568</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_backtranslateString.c#L627"><code>lou_backtranslateString.c::627</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-sign" class="outline-3">
<h3 id="sign"><a id="sec-1-9" name="sec-1-9"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-sign"><code>sign</code></a></h3>
<div class="outline-text-3" id="text-sign">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "sign (without special meaning)"
<ul class="org-ul">
<li>for using <code>$S</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-math" class="outline-3">
<h3 id="math"><a id="sec-1-10" name="sec-1-10"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-math"><code>math</code></a></h3>
<div class="outline-text-3" id="text-math">
<ul class="org-ul">
<li><b>associates</b> <i>character</i> with <i>dots</i>
<ul class="org-ul">
<li>for <b>replacing</b> <i>character</i> with <i>dots</i>
</li>
<li>for mapping <i>dots</i> to <i>character</i> in display phase if <i>dots</i> is
a single-cell dot pattern
</li>
</ul>
</li>
<li><b>defines</b> <i>character</i> (and <i>dots</i> if single-cell) as "mathematical symbol"
<ul class="org-ul">
<li>for using <code>$m</code> wildcard in multipass scripts (<a href="#correct"><code>correct</code></a>,
<a href="#context"><code>context</code></a>, <a href="#pass2"><code>pass2</code></a>, <a href="#pass3"><code>pass3</code></a>, <a href="#pass4"><code>pass4</code></a>)
</li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-capsign" class="outline-3">
<h3 id="capsign"><a id="sec-1-11" name="sec-1-11"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-capsign"><code>capsign</code></a></h3>
<div class="outline-text-3" id="text-capsign">
<ul class="org-ul">
<li><b>defines</b> <i>dots</i> as "capital sign"
<ul class="org-ul">
<li>for inserting before a single uppercase letter (<a href="#uppercase"><code>uppercase</code></a>)
<div class="matchcond">
<p>
lookbehind != uppercase && lookahead = ( uppercase !uppercase )
</p>
</div>
</li>
<li>for inserting before each uppercase letter if <code>begcaps</code> is not defined (<a href="#begcaps"><code>begcaps</code></a>)
<div class="matchcond">
<p>
lookahead = uppercase
</p>
</div>
</li>
<li>for turning uppercase letters into their lowercase counterparts (<a href="#uplow"><code>uplow</code></a>)
</li>
</ul>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">uplow</span> <span class="org-string">Ff</span> <span class="org-constant">1247,124</span>
<span class="org-keyword">lowercase</span> <span class="org-string">o</span> <span class="org-constant">135</span>
<span class="org-keyword">uppercase</span> <span class="org-string">O</span> <span class="org-constant">1357</span>
<span class="org-keyword">uplow</span> <span class="org-string">Uu</span> <span class="org-constant">1367,136</span>
<span class="org-keyword">punctuation</span> <span class="org-string">,</span> <span class="org-constant">6</span>
<span class="org-keyword">capsign</span> <span class="org-constant">6</span>
<span class="org-keyword">always</span> <span class="org-string">uu</span> <span class="org-constant">1367</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"Foo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">",foo"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"FOO"</span>,
<span class="org-string">"output"</span>: <span class="org-string">",f,O,O"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"Fuu"</span>,
<span class="org-string">"output"</span>: <span class="org-string">",fU"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"FUU"</span>,
<span class="org-string">"output"</span>: <span class="org-string">",f,U"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"FuU"</span>,
<span class="org-string">"output"</span>: <span class="org-string">",fu,u"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"FUu"</span>,
<span class="org-string">"output"</span>: <span class="org-string">",f,U"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L697"><code>lou_translateString.c::697</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1075"><code>lou_translateString.c::1075</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1823"><code>lou_translateString.c::1823</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1918"><code>lou_translateString.c::1918</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-begcaps" class="outline-3">
<h3 id="begcaps"><a id="sec-1-12" name="sec-1-12"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-begcaps"><code>begcaps</code></a></h3>
<div class="outline-text-3" id="text-begcaps">
<ul class="org-ul">
<li><b>defines</b> <i>dots</i> as sign that announces a block of uppercase letters (<a href="#uppercase"><code>uppercase</code></a>)
<div class="matchcond">
<p>
lookbehind != uppercase && lookahead = ( uppercase uppercase )
</p>
</div>
</li>
</ul>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1051"><code>lou_translateString.c::1051</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-endcaps" class="outline-3">
<h3 id="endcaps"><a id="sec-1-13" name="sec-1-13"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-endcaps"><code>endcaps</code></a></h3>
<div class="outline-text-3" id="text-endcaps">
<ul class="org-ul">
<li><b>defines</b> <i>dots</i> as sign that closes a block of uppercase
letters within a word (<a href="#uppercase"><code>uppercase</code></a>, <a href="#lowercase"><code>lowercase</code></a>)
<div class="matchcond">
<p>
lookbehind = ( uppercase uppercase ) && lookahead = lowercase
</p>
</div>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">letter</span> <span class="org-string">f</span> <span class="org-constant">124</span>
<span class="org-keyword">uplow</span> <span class="org-string">Oo</span> <span class="org-constant">135</span>
<span class="org-keyword">punctuation</span> <span class="org-string">,</span> <span class="org-constant">6</span>
<span class="org-keyword">punctuation</span> <span class="org-string">'</span> <span class="org-constant">3</span>
<span class="org-keyword">begcaps</span> <span class="org-constant">6-6</span>
<span class="org-keyword">endcaps</span> <span class="org-constant">6-3</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"foo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"foo"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"fOO"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"f,,oo"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"fOOo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"f,,oo,'o"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1063"><code>lou_translateString.c::1063</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-letsign" class="outline-3">
<h3 id="letsign"><a id="sec-1-14" name="sec-1-14"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-letsign"><code>letsign</code></a></h3>
<div class="outline-text-3" id="text-letsign">
<ul class="org-ul">
<li><b>defines</b> <i>dots</i> as "letter sign"
<ul class="org-ul">
<li>for inserting before a one-letter word
</li>
<li>for inserting between a digit and a letter, except in case of <code>endnum</code> (<a href="#letter"><code>letter</code></a>, <a href="#digit"><code>digit</code></a>, <a href="#endnum"><code>endnum</code></a>)
</li>
<li>for inserting before a word that is also a contraction (<a href="#contraction"><code>contraction</code></a>)
</li>
</ul>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">letter</span> <span class="org-string">f</span> <span class="org-constant">124</span>
<span class="org-keyword">letter</span> <span class="org-string">o</span> <span class="org-constant">135</span>
<span class="org-keyword">digit</span> <span class="org-string">0</span> <span class="org-constant">356</span>
<span class="org-keyword">punctuation</span> <span class="org-string">;</span> <span class="org-constant">56</span>
<span class="org-keyword">letsign</span> <span class="org-constant">56</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"f"</span>,
<span class="org-string">"output"</span>: <span class="org-string">";f"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"foo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"foo"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"0foo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"0;foo"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1009"><code>lou_translateString.c::1009</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1871"><code>lou_translateString.c::1871</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-noletsign" class="outline-3">
<h3 id="noletsign"><a id="sec-1-15" name="sec-1-15"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-noletsign"><code>noletsign</code></a></h3>
<div class="outline-text-3" id="text-noletsign">
<ul class="org-ul">
<li><b>inhibits</b> the use of a letter sign when any of <i>characters</i>
occur as a one-letter word or after a digit
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">letter</span> <span class="org-string">f</span> <span class="org-constant">124</span>
<span class="org-keyword">letter</span> <span class="org-string">o</span> <span class="org-constant">135</span>
<span class="org-keyword">punctuation</span> <span class="org-string">;</span> <span class="org-constant">56</span>
<span class="org-keyword">letsign</span> <span class="org-constant">56</span>
<span class="org-keyword">contraction</span> <span class="org-constant">foo</span>
<span class="org-constant">noletsign</span><span class="org-comment"> f</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"f"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"f"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"foo"</span>,
<span class="org-string">"output"</span>: <span class="org-string">";foo"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1035"><code>lou_translateString.c::1035</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-noletsignbefore" class="outline-3">
<h3 id="noletsignbefore"><a id="sec-1-16" name="sec-1-16"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-noletsignbefore"><code>noletsignbefore</code></a></h3>
<div class="outline-text-3" id="text-noletsignbefore">
<ul class="org-ul">
<li><b>inhibits</b> the use of a letter sign when any of <i>characters</i>
preceed a one-letter word
</li>
</ul>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1028"><code>lou_translateString.c::1028</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-noletsignafter" class="outline-3">
<h3 id="noletsignafter"><a id="sec-1-17" name="sec-1-17"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-noletsignafter"><code>noletsignafter</code></a></h3>
<div class="outline-text-3" id="text-noletsignafter">
<ul class="org-ul">
<li><b>inhibits</b> the use of a letter sign when any of <i>characters</i>
follow a one-letter word
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">letter</span> <span class="org-string">f</span> <span class="org-constant">124</span>
<span class="org-keyword">punctuation</span> <span class="org-string">;</span> <span class="org-constant">56</span>
<span class="org-keyword">punctuation</span> <span class="org-string">(</span> <span class="org-constant">12356</span>
<span class="org-keyword">punctuation</span> <span class="org-string">)</span> <span class="org-constant">23456</span>
<span class="org-keyword">letsign</span> <span class="org-constant">56</span>
<span class="org-keyword">noletsignbefore</span> <span class="org-constant">(</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"f"</span>,
<span class="org-string">"output"</span>: <span class="org-string">";f"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"(f"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"(f"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"f)"</span>,
<span class="org-string">"output"</span>: <span class="org-string">";f)"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1041"><code>lou_translateString.c::1041</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-numsign" class="outline-3">
<h3 id="numsign"><a id="sec-1-18" name="sec-1-18"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-numsign"><code>numsign</code></a></h3>
<div class="outline-text-3" id="text-numsign">
<ul class="org-ul">
<li><b>defines</b> <i>dots</i> as "number sign"
<ul class="org-ul">
<li>for inserting before a number, i.e. a sequence of <code>digit</code>, <code>decpoint</code> and <code>midnum</code> (<a href="#digit"><code>digit</code></a>, <a href="#decpoint"><code>decpoint</code></a>, <a href="#midnum"><code>midnum</code></a>)
</li>
<li>for finding numbers during backward translation
</li>
</ul>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">digit</span> <span class="org-string">0</span> <span class="org-constant">356</span>
<span class="org-keyword">sign</span> <span class="org-comment"># 3456</span>
<span class="org-keyword">numsign</span> <span class="org-constant">3456</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"0"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"#0"</span>
}
</pre>
</div>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L995"><code>lou_translateString.c::995</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1885"><code>lou_translateString.c::1885</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_backTranslateString.c#L1061"><code>lou_backTranslateString.c::1061</code></a>
</li>
</ul>
</div>
<div class="org-src-container">
<pre class="src src-liblouis" id="chardefs.cti"><span class="org-keyword">space</span> <span class="org-string">\s</span> <span class="org-constant">0</span>
<span class="org-keyword">letter</span> <span class="org-string">a</span> <span class="org-constant">1</span>
<span class="org-keyword">letter</span> <span class="org-string">b</span> <span class="org-constant">12</span>
<span class="org-keyword">letter</span> <span class="org-string">c</span> <span class="org-constant">14</span>
<span class="org-keyword">letter</span> <span class="org-string">d</span> <span class="org-constant">145</span>
<span class="org-keyword">letter</span> <span class="org-string">f</span> <span class="org-constant">124</span>
<span class="org-keyword">letter</span> <span class="org-string">l</span> <span class="org-constant">123</span>
<span class="org-keyword">letter</span> <span class="org-string">o</span> <span class="org-constant">135</span>
<span class="org-keyword">letter</span> <span class="org-string">r</span> <span class="org-constant">1235</span>
<span class="org-keyword">letter</span> <span class="org-string">u</span> <span class="org-constant">136</span>
<span class="org-keyword">letter</span> <span class="org-string">z</span> <span class="org-constant">1356</span>
<span class="org-keyword">digit</span> <span class="org-string">0</span> <span class="org-constant">356</span>
<span class="org-keyword">digit</span> <span class="org-string">1</span> <span class="org-constant">2</span>
<span class="org-keyword">punctuation</span> <span class="org-string">.</span> <span class="org-constant">256</span>
<span class="org-keyword">punctuation</span> <span class="org-string">-</span> <span class="org-constant">36</span>
<span class="org-keyword">punctuation</span> <span class="org-string">;</span> <span class="org-constant">56</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-compbrl" class="outline-3">
<h3 id="compbrl"><a id="sec-1-19" name="sec-1-19"></a><span class="todo TODO">TODO</span> <a href="http://www.liblouis.org/documentation/liblouis.html#index-compbrl"><code>compbrl</code></a></h3>
<div class="outline-text-3" id="text-compbrl">
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1603"><code>lou_translateString.c::1603</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1630"><code>lou_translateString.c::1630</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1650"><code>lou_translateString.c::1650</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-comp6" class="outline-3">
<h3 id="comp6"><a id="sec-1-20" name="sec-1-20"></a><span class="todo TODO">TODO</span> <a href="http://www.liblouis.org/documentation/liblouis.html#index-comp6"><code>comp6</code></a></h3>
<div class="outline-text-3" id="text-comp6">
</div>
</div>
<div id="outline-container-nocont" class="outline-3">
<h3 id="nocont"><a id="sec-1-21" name="sec-1-21"></a><span class="todo TODO">TODO</span> <a href="http://www.liblouis.org/documentation/liblouis.html#index-nocont"><code>nocont</code></a></h3>
<div class="outline-text-3" id="text-nocont">
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1695"><code>lou_translateString.c::1695</code></a>
</li>
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1896"><code>lou_translateString.c::1896</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-replace" class="outline-3">
<h3 id="replace"><a id="sec-1-22" name="sec-1-22"></a><span class="todo TODO">TODO</span> <a href="http://www.liblouis.org/documentation/liblouis.html#index-replace"><code>replace</code></a></h3>
<div class="outline-text-3" id="text-replace">
<ul class="org-ul">
<li>bug?
</li>
</ul>
<div class="coderefs">
<ul class="org-ul">
<li><a href="https://github.com/liblouis/liblouis/blob/1e1e7587cfbc263b351644e52fdaf2684103d6c8/liblouis/lou_translateString.c#L1907"><code>lou_translateString.c::1907</code></a>
</li>
</ul>
</div>
</div>
</div>
<div id="outline-container-always" class="outline-3">
<h3 id="always"><a id="sec-1-23" name="sec-1-23"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-always"><code>always</code></a></h3>
<div class="outline-text-3" id="text-always">
<ul class="org-ul">
<li><b>matches</b> <i>characters</i>
</li>
<li><b>replaces</b> matched characters with <i>dots</i>
</li>
</ul>
<div class="org-src-container">
<pre class="src src-liblouis"><span class="org-keyword">include</span> <span class="org-variable-name">chardefs.cti</span>
<span class="org-keyword">always</span> <span class="org-string">bar</span> <span class="org-constant">1356</span>
</pre>
</div>
<div class="org-src-container">
<pre class="src src-javascript">{
<span class="org-string">"input"</span>: <span class="org-string">"bar"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"z"</span>
},
{
<span class="org-string">"input"</span>: <span class="org-string">"foobar"</span>,
<span class="org-string">"output"</span>: <span class="org-string">"fooz"</span>
}
</pre>
</div>
</div>
</div>
<div id="outline-container-begmidword" class="outline-3">
<h3 id="begmidword"><a id="sec-1-24" name="sec-1-24"></a><a href="http://www.liblouis.org/documentation/liblouis.html#index-begmidword"><code>begmidword</code></a></h3>
<div class="outline-text-3" id="text-begmidword">
<ul class="org-ul">
<li><b>matches</b> <i>characters</i> when they are either at the beginning or in the middle of a word (<a href="#space"><code>space</code></a>, <a href="#punctuation"><code>punctuation</code></a>, <a href="#letter"><code>letter</code></a>)
<div class="matchcond">
<p>
lookbehind = ( space | puntuation | letter ) && lookahead = letter
</p>
</div>
</li>