forked from liblouis/liblouisutdml
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreferences.cfg
266 lines (258 loc) · 7.36 KB
/
preferences.cfg
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
# This file contains all possible configuration settings, with sample
# values, where appropriate. It is used by the file2brl command-line
# interface if no configuration file is given. It is also part of the
# documentation.
outputFormat
# The number of cells on a line in Braille translations
cellsPerLine 32
# The number of lines per page in Braille translations
linesPerPage 25
# Whether to format the Braille translation for output on interpoint embossers
# NOTE: Other than the formatting, there is nothing specific to interpoint
# embossing. This means that even if this is set to no, the output can
# still be embossed on an interpoint embosser
interpoint no
# What emphasis to include, comma separated list using values:
# italic, bold, computerBraille and underline.
# For all emphasis you may just use the value all
emphasis all
# Whether to separate into Braille pages. If no then linesPerPage is ignored.
braillePages no
# When numbering print pages should continuation be indicated in page numbers.
# For example first Braille page of print page 26 it will be a26,
# second page will be b26, etc.
continuePages yes
# Whether to include a print page separator mark in Braille at print page
# breaks.
pageSeparator yes
# Whether to include a page number on the page separator line.
pageSeparatorNumber yes
# Include Braille page numbers
numberBraillePages yes
# What format should be produced from back translations
backFormat html
# Line length for files produced from backtranslation.
backLineLength 70
# Hyphenate translations
hyphenate no
# What type of Braille device should output be formatted for.
formatFor textDevice
# What characters mark a line ending, mostly relevant for text/brf format.
lineEnd \r\n
# What character marks end of page, again mostly suitable for text/brf format.
pageEnd \f
# What page number should Braille page numbers start from
beginningPageNumber 1
# Whether to format paragraphs. If set to no then a paragraph is one long
# line and cellsPerLine is ignored
paragraphs yes
# Whether to show print page numbers
printPages yes
# Where to place print page numbers
printPageNumberAt top
# Where to place Braille page numbers
braillePageNumberAt bottom
# Encoding of output file.
outputEncoding utf8
# Whether to produce a table of contents
contents no
# The character to fill lines with (eg. in tables tracker dots)
lineFill '
# The below settings for margins and paper dimensions are only used for UTD
# output. When formatting for UTD cellsPerLine and linesPerpage are
# ignored.
# The margin at the top of the page in inches
topMargin 0.5
# The margin at the left of the page
leftMargin 1
# The margin at the right of the page
rightMargin 0.5
# The margin at the bottom of the page
bottomMargin 0.5
# Height of the Braille page in inches
paperHeight 11
# Width of the Braille page in inches
paperWidth 9.5
braillePageNumber
# If a print page has no page number, do not insert a page separator and
# so merge it with the previous page in the Braille translation
mergeUnnumberedPages yes
# Whether to place any page numbers at the top of a page on a separate line
pageNumberTopSeparateLine no
# Whether to place any page numbers at the bottom of a page on a separate line
pageNumberBottomSeparateLine no
# If a Braille page has more than one print page on it, whether to show the
# range of print page numbers present on the Braille page.
printPageNumberRange yes
# If there is an empty page in Print whether to ignore it in Braille.
ignoreEmptyPages yes
# Whether to include print page numbers in table of contents
printPageNumbersInContents yes
# Whether to include Braille page numbers in table of contents
braillePageNumbersInContents yes
translation
# What Braille table to use for the literary text
literaryTextTable compress.cti,en-us-g2.ctb
# What table to use for computer Braille
compbrlTable en-us-comp8.ctb
# What table to use for uncontracted Braille
# NOTE: This setting is possibly depricated.
uncontractedTable en-us-g1.ctb
# What table to use for non-mathematical content in books containing maths.
# This option is normally not needed in many codes and so should be the
# same as literaryTextTable.
mathtextTable en-us-g2.ctb
# What Braille table to use for mathematical content
mathexprTable nemeth.ctb
# What table should be used to edit together parts of documents (eg. to
# join maths and text)
editTable nemeth_edit.ctb
xml
# The XML header assumed for XML input documents with no header
xmlheader "<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
# Entity definitions
#entity (an entity definition for the DTD)
# The semantic action files to be used
semanticFiles *,nemeth.sem
# Whether to use the internet to get DTDs
internetAccess no
# Whether to create new semantic action definitions
newEntries yes
# What semantic action file to convert from UTD.
converterSem utd.sem
#(miscellaneous)
# Directive for including other configuration files
#include (another configuration file)
# The mode for translation
#mode (built-in defaults)
# The input encoding of text files
inputTextEncoding ascii8
# Whether to use debug mode
debug no
# You can override any style setting and define new styles.
# A style name will normally match the semantic action name
# Refer to the liblouisutdml documentation for details on possible options
# which can be used in styles.
style document
#This style contains all possible style settings.
linesBefore 0
linesAfter 0
leftMargin 0
firstLineIndent 0
#translationTable (a table name)
skipNumberLines no
format leftJustified
newPageBefore no
newPageAfter no
righthandPage no
braillePageNumberFormat normal
keepWithNext no
dontSplit no
orphanControl 0
newlineAfter yes
style arith
style attribution
format rightJustified
style biblio
style caption
leftMargin 4
firstLineIndent 2
style code
linesBefore 1
linesAfter 1
skipNumberLines yes
format computerCoded
style contentsheader
linesBefore 1
format centered
linesAfter 1
style contents1
firstLineIndent -2
leftMargin 2
format contents
style contents2
firstLineIndent -2
leftMargin 4
format contents
style contents3
firstLineIndent -2
leftMargin 6
format contents
style contents4
firstLineIndent -2
leftMargin 8
format contents
style dedication
newPageBefore yes
newPageAfter yes
format centered
style directions
style dispmath
leftMargin 2
style disptext
leftMargin 2
firstLineIndent 2
style exercise1
leftMargin 2
firstLineIndent -2
style exercise2
leftMargin 4
firstLineIndent -2
style exercise3
leftMargin 6
firstLineIndent -2
style glossary
firstLineIndent 2
style graph
skipNumberLines yes
style graphlabel
style heading1
linesBefore 1
format centered
linesAfter 1
style heading2
linesBefore 1
firstLineIndent 4
style heading3
firstLineIndent 4
style heading4
firstLineIndent 4
style index
style line
firstLineIndent -2
leftMargin 2
style list
firstLineIndent -2
leftMargin 2
style matrix
format alignColumnsLeft
style music
skipNumberLines yes
style note
style para
firstLineIndent 2
style quotation
linesBefore 1
linesAfter 1
style section
firstLineIndent 4
style spatial
style stanza
linesBefore 1
linesAfter 1
style style1
style style2
style style3
style style4
style style5
style subsection
firstLineIndent 4
style table
linesBefore 1
linesAfter 1
style titlepage
newPageAfter yes
style trnote
firstLineIndent 7
leftMargin 5
style volume