Debian Codegraph @

lib/ChordPro/res/config/config.tmpl

raw
1 // Starter Configuration for ChordPro.
2 //
3 // This is a really relaxed JSON document, see
4 // https://metacpan.org/pod/JSON::Relaxed#REALLY-RELAXED-EXTENSIONS
5
6 // This configuration contains the majority of settings that may
7 // be of interest for beginning users.
8
9 // ALL CONFIGURATION SETTINGS ARE COMMENTED OUT WITH A LEADING "# ".
10 // IF YOU WANT TO CHANGE A CONFIGURATION SETTING, REMOVE THE "# " FIRST.
11
12 /**************** For GUI ****************/
13
14 // Type of config: config, style, style_mod, instrument, task...
15 config.type : config
16
17 // Title for menus, choices, if applicable.
18 config.title : "User Config"
19
20 // Main ChordPro config.
21 config.description : "User config settings for ChordPro."
22
23 // General settings, often changed by configs and command line.
24
25 // Chords parsing strategy.
26 // More checks and warnings.
27 # settings.strict : false
28
29 // Titles flush: default center.
30 # settings.titles : center
31
32 // Number of columns, default: 1.
33 # settings.columns : 1
34
35 // Suppress empty chord lines.
36 // Command line: -a (--single-space).
37 # settings.suppress-empty-chords : true
38
39 // Suppress blank lyrics lines.
40 # settings.suppress-empty-lyrics : true
41
42 // Suppress chords.
43 // Command line: -l (--lyrics-only)
44 # settings.lyrics-only : false
45
46 // Chords inline instead of above.
47 // May be a string containing pretext %s posttext.
48 // Defaults to "[%s]" if set to a value that does not contain "%s".
49 # settings.inline-chords : false
50
51 // Same, for annotations. Ignored unless inline-chords is set.
52 // Must be a string containing pretext %s posttext.
53 // Default is "%s".
54 # settings.inline-annotations : %s
55
56 // Chords under the lyrics.
57 # settings.chords-under : false
58
59 // Transpose the song by a number of semitones.
60 // A positive number transposes up, a negative number transposes down.
61 // An optional postfix of "s" or "f" can be used to enforce the use
62 // of sharps resp. flats when a transposed chord requires accidentals.
63 // A postfix of "k" will use the key signature to determine whether
64 // flats or sharps are needed.
65 # settings.transpose : 0
66
67 // Always apply `"k"` semantics if no other postfix was specified.
68 # settings.transpose-sf-key: false
69
70 // Force enharmonic when transposing (experimental).
71 # settings.enharmonic-transpose : true
72
73 // Transcode chords. "" = no transcode.
74 # settings.transcode : ""
75
76 // Eliminate capo by transposing chords.
77 # settings.decapo : false
78
79 // Strictness of parsing chord names.
80 # settings.chordnames : strict
81
82 // Allow parsing of note names in [].
83 # settings.notenames : false
84
85 // Always replace chords by their canonical form.
86 # settings.chords-canonical : false
87
88 // If false, chorus labels are used as tags.
89 # settings.choruslabels : true
90
91 // Substitute Unicode sharp/flats in chord names.
92 // Will fallback to the ChordProSymbols font if the selected chord font
93 // does not have the glyphs.
94 # settings.truesf : false
95
96 // Substitute delta for maj7 in chord names.
97 // Will fallback to the ChordProSymbols font if the selected chord font
98 // does not have the glyphs.
99 # maj7delta : false
100
101 // Wrap long lines. This may trigger issue #355.
102 # settings.wraplines : true
103
104 // Indent for wrapped lines. Actual indent is the stringwidth.
105 # settings.wrapindent : x
106
107 // Consider text flowed.
108 # settings.flowtext : false
109
110 /**************** Metadata ****************/
111
112 // For these keys you can use {meta key ...} as well as {key ...}.
113 // Important: "title" and "subtitle" must always be in this list.
114
115 // Append to known metadata items. Note that the first item must be
116 // "append" or it will overwrite instead of append...
117 # metadata.keys : [ append youtube spotify ]
118
119 // If strict, only the known keys are allowed.
120 // Otherwise, {meta ...} will accept any key.
121 # metadata.strict : true
122
123 // The separator is used to concatenate multiple values.
124 // If autosplit is true, the separator is also used to split
125 // values upon input.
126 # metadata.separator : "; "
127
128 // Split data on separator.
129 # metadata.autosplit : true
130
131 /**************** Date formats. Format is a strftime template ****************/
132
133 # dates.today.format : "%A, %B %e, %Y"
134
135 /**************** User info ****************/
136
137 // Short user name.
138 # user.name : ""
139
140 // Full user name
141 # user.fullname : ""
142
143 /**************** Key names ****************/
144
145 // Replace keys with an excessive number of sharps by their more
146 // common enharmonic equivalents.
147 // See also `settings.transpose-sf-key`.
148 # keys.force-common: true
149
150 // The key `F#` is often used as is and not represented as an
151 // enharmonic equivalent. Set this to true if you want `Gb` instead of `F#`.
152 # keys.flats : false
153
154 /**************** User defined chords (placeholder) ****************/
155
156 // This is an array of hashes, one for each chord.
157 // Each hash should contain the following fields:
158 // "name": name of the chord
159 // "base": base fret (optional, defaults to 1)
160 // "frets": the frets (optional, use 0 for an empty string,
161 // and -1 or "x" for a muted string)
162 // "fingers": finger positions (optional)
163 // "display": (optional) can be used to change the way the chord is displayed
164
165 // Note that chords are always appended, you do not need "append".
166 // Example: Alternative for Bes chord.
167 # chords: [ { name: Bes, frets: [ 1 1 3 3 3 1 ], fingers: [ 1 1 2 3 4 1 ] } ]
168
169 /**************** Format to show chord names. May contain marku ****************/
170
171 // Format string for rendering common chord names.
172 # chord-formats.common : "%{root|%{}%{qual|%{}}%{ext|%{}}%{bass|/%{}}|%{name}}"
173
174 // Format string for rendering roman chord names.
175 # chord-formats.roman : "%{root|%{}%{qual|<sup>%{}</sup>}%{ext|<sup>%{}</sup>}%{bass|/<sub>%{}</sub>}|%{name}}"
176
177 // Format string for rendering nashville chord names.
178 # chord-formats.nashville : "%{root|%{}%{qual|<sup>%{}</sup>}%{ext|<sup>%{}</sup>}%{bass|/<sub>%{}</sub>}|%{name}}"
179
180 /**************** Shows selected or all chord diagrams at end ****************/
181
182 // "all": shows all chords
183 // "user": shows user defined chords only
184 // "none": suppresses chords from being printed
185 # diagrams.show : all
186
187 // Sorts the diagrams by key. Default is order of appearance.
188 # diagrams.sorted : false
189
190 // Chords (names) that will not generate diagrams, e.g. if they
191 // are considered trivial.
192 # diagrams.suppress : [ C F G A E Am ]
193
194 /**************** Settings for PDF output ****************/
195
196 // PDF Properties. Arbitrary key/values may be added.
197 // Note that the context for substitutions is the first song.
198
199 // Document title.
200 # pdf.info.title : "%{title}"
201
202 // Name of the author.
203 # pdf.info.author : ""
204
205 // Document subject.
206 # pdf.info.subject : ""
207
208 // Document keywords.
209 # pdf.info.keywords : ""
210
211 // Output paper size, e.g. "a4" or [595,842].
212 # pdf.papersize : a4
213
214 // Theme
215
216 // Foreground colour. Usually black.
217 # pdf.theme.foreground : black
218
219 // Light foreground colour
220 # pdf.theme.foreground-medium : grey70
221
222 // Very light foreground colour
223 # pdf.theme.foreground-light : grey90
224
225 // Background colour. Usually white.
226 # pdf.theme.background : none
227
228 // Distance between columns in multi-column mode.
229 # pdf.columnspace : 20
230
231 // Page top margin, excluding headspace.
232 # pdf.margintop : 80
233
234 // Page bottom margin, excluding footspace.
235 # pdf.marginbottom : 40
236
237 // Page left margin.
238 # pdf.marginleft : 40
239
240 // Page right margin.
241 # pdf.marginright : 40
242
243 // Space for page titles.
244 # pdf.headspace : 60
245
246 // Space for page footers.
247 # pdf.footspace : 20
248
249 // Heading on first page only, add the headspace to
250 // the other pages so they become larger.
251 # pdf.head-first-only : false
252
253 // Baseline distances as a factor of the font size.
254
255 // Spacing for page titles.
256 # pdf.spacing.title : 1.2
257
258 // Spacing for lyrics.
259 # pdf.spacing.lyrics : 1.2
260
261 // Spacing for chord names.
262 # pdf.spacing.chords : 1.2
263
264 // Spacing for diagram chords.
265 # pdf.spacing.diagramchords : 1.2
266
267 // Spacing for grid lines.
268 # pdf.spacing.grid : 1.2
269
270 // Spacing for tab lines.
271 # pdf.spacing.tab : 1
272
273 // Spacing for table of contents lines.
274 # pdf.spacing.toc : 1.4
275
276 // Spacing for empty (blank) lines.
277 // By setting this to a small value you get fine-grained control over
278 // the distance between song elements by adding empty lines.
279 # pdf.spacing.empty : 1
280
281 // Appearance of chorus.
282
283 // Indent of the chorus, not including bar.
284 # pdf.chorus.indent : 0
285
286 // Appearance of side bar.
287
288 // Bar offset to the left of the text. Suppress when zero.
289 # pdf.chorus.bar.offset : 8
290
291 // Bar width. Suppress when zero.
292 # pdf.chorus.bar.width : 1
293
294 // Bar colour.
295 # pdf.chorus.bar.color : foreground
296
297 // Label for Chorus.
298 # pdf.chorus.tag : Chorus
299
300 // Appearance of chorus recall.
301
302 // Quote the chorus like a chorus.
303 # pdf.chorus.recall.choruslike : false
304
305 // Label for recalled chorus.
306 # pdf.chorus.recall.tag : Chorus
307
308 // Font for tag text.
309 # pdf.chorus.recall.type : comment
310
311 // Quote the chorus.
312 # pdf.chorus.recall.quote : false
313
314 // Margin labels.
315
316 // Margin width. Default is 0 (no margin labels).
317 // "auto" will automatically reserve a margin if labels are used.
318 # pdf.labels.width : auto
319
320 // Alignment for the labels. Default is left.
321 # pdf.labels.align : left
322
323 // Alternatively, render labels as comments.
324 // Values are "comment", "comment_italic" and "comment_box".
325 # pdf.labels.comment : ""
326
327 // Alternative songlines with chords in a side column.
328 // Value is the column position.
329 # pdf.chordscolumn : 0
330
331 // Value for Capo heading when using chordscolumn.
332 # pdf.capoheading : "%{capo|Capo: %{}}"
333
334 // A {titles: left} directive may conflict with customized formats.
335 // Set to true to ignore the directive.
336 # pdf.titles-directive-ignore : false
337
338 // Appearance of chord diagrams for string instruments.
339 // A chord diagram consists of a number of cells.
340 // Cell dimensions are specified by "width" and "height".
341 // The horizontal number of cells depends on the number of strings.
342 // The vertical number of cells is "vcells", which should
343 // be 4 or larger to accommodate most chords.
344 // The horizontal distance between diagrams is "hspace" cells.
345 // The vertical distance is "vspace" cells.
346
347 // Diagrams for all chords of the song can be shown at the
348 // "top", "bottom" or "right" side of the first page,
349 // or "below" the last song line.
350 # pdf.diagrams.show : bottom
351
352 // Alignment for "top", "bottom" and "below".
353 // Possible values are "left" (default), "right", "center" and "spread".
354 # pdf.diagrams.align : left
355
356 // Width of each diagram cell.
357 # pdf.diagrams.width : 6
358
359 // Height of each diagram cell.
360 # pdf.diagrams.height : 6
361
362 // The number of frets shown.
363 # pdf.diagrams.vcells : 4
364
365 // Thickness of the diagram lines as a fraction of 'width'.
366 # pdf.diagrams.linewidth : 0.1
367
368 // Thickness of the top nut, in 'linewidth'.
369 # pdf.diagrams.nutwidth : 5
370
371 // Horizontal space between diagrams.
372 # pdf.diagrams.hspace : 3.95
373
374 // Vertical space between diagrams.
375 # pdf.diagrams.vspace : 3
376
377 // Size of the fret dot, fraction of cell width.
378 # pdf.diagrams.dotsize : 0.8
379
380 // Thickness of bars, fraction of dot width.
381 # pdf.diagrams.barwidth : 0.8
382
383 // Show finger settings, if available.
384 # pdf.diagrams.fingers : true
385
386 // Text to show the fret base, if greater than one.
387 // "%s" will be replaced by the actual fret base number.
388 pdf.diagrams.fretbasetext : %s
389
390 // Position for the fret base, left (default) or right.
391 pdf.diagrams.fretbaseposition : left
392
393 // Appearance of chord diagrams for keyboards.
394 // A keyboard diagram consists of a number of keys.
395 // Dimensions are specified by "width" and "height".
396 // The horizontal distance between diagrams is "hspace" * "keys" * "width".
397
398 // Diagrams for all chords of the song can be shown at the
399 // "top", "bottom" or "right" side of the first page,
400 // or "below" the last song line.
401 # pdf.kbdiagrams.show : bottom
402
403 // Alignment for "top", "bottom" and "below".
404 // Possible values are "left" (default), "right", "center" and "spread".
405 # pdf.kbdiagrams.align : left
406
407 // Width of a single (white) key.
408 # pdf.kbdiagrams.width : 4
409
410 // Height of the diagram.
411 # pdf.kbdiagrams.height : 20
412
413 // The number of white keys shown.
414 # pdf.kbdiagrams.keys : 14
415
416 // The leftmost white key. Must be "C" or "F".
417 # pdf.kbdiagrams.base : C
418
419 // Thickness of the diagram lines as a fraction of "width".
420 # pdf.kbdiagrams.linewidth : 0.1
421
422 // Color of the 'pressed' keys.
423 # pdf.kbdiagrams.pressed : foreground-medium
424
425 // Horizontal space between diagrams.
426 # pdf.kbdiagrams.hspace : 3.95
427
428 // Vertical space between diagrams.
429 # pdf.kbdiagrams.vspace : 0.3
430
431 // Grid section lines.
432 // Suppress when "show" is false, e.g. for singers.
433 // The width and colour of the cell bar lines can be specified.
434 // Enable by setting the width to the desired width.
435
436 // Width of the cell bar.
437 # pdf.grids.cellbar.width : 0
438
439 // Colour of the cell bar.
440 # pdf.grids.cellbar.color : foreground-medium
441
442 // Show grid context in output.
443 # pdf.grids.show : true
444
445 // Stretch the bar lines vertically.
446 # pdf.grids.stretch : 0.825
447
448 // Colour of special symbols.
449 # pdf.grids.symbols.color : blue
450
451 // Properties of the volta.
452
453 // Volta span (fraction of measure).
454 # pdf.grids.volta.span : 0.7
455
456 // Colour of the volta.
457 # pdf.grids.volta.color : blue
458
459 // Dual (odd/even) pages when set to true.
460 // False means all pages will be the same (odd, right)
461 // With dual pages, all the parts of the songbook (covers,
462 // tables of contents, etc.) are always aligned to a right page.
463 # pdf.songbook.dual-pages : true
464
465 // With dual pages, align individual tables of content
466 // to right pages by inserting a blank filler page.
467 // Values are true, false, or "song". In the latter case the
468 // pagealign settings for songs are used for the tables of contents.
469 # pdf.songbook.align-tocs : true
470
471 // With dual pages, all songs will start on a right.
472 // A blank filler page is inserted if needed for alignment.
473 // If false, no alignment takes place, all pages follow
474 // each other.
475 # pdf.songbook.align-songs : true
476
477 // If true, all songs will start on left pages instead of right pages.
478 # pdf.songbook.align-songs-spread : false
479
480 // If true, filler pages will have headings and footers
481 // as if they were part of the song.
482 # pdf.songbook.align-songs-extend : false
483
484 // Sort songs by "title" or "subtitle".
485 // title : sort songs ascending by title.
486 // subtitle : sort songs ascending by subtitle.
487 // Put a minus sign before the value to obtain descending order.
488 # pdf.songbook.sort-songs : false
489
490 // If true, the order of the songs is adjusted to make the
491 // songbook as compact as possible, while each of the songs
492 // require minimal page turns.
493 // Note: this option requires extra processing time since
494 // the songbook has to be processed twice.
495 # pdf.songbook.compact-songs : false
496
497 // PDF file to add as cover page(s).
498 # pdf.songbook.cover : false
499
500 // PDF file to add as front matter.
501 # pdf.songbook.front-matter : false
502
503 // PDF file to add as back matter.
504 # pdf.songbook.back-matter : false
505
506 // Formats.
507 // Pages have two title elements and one footer element. They also
508 // can have a page of an existing PDF file as underlay (background).
509 // Topmost is "title". It uses the "title" font as defined further below.
510 // Second is "subtitle". It uses the "subtitle" font.
511 // The "footer" uses the "footer" font.
512 // All elements can have three fields, that are placed to the left side,
513 // centered, and right side of the page.
514 // The contents of all fields is defined below. You can use metadata
515 // items in the fields as shown. By default, the "title" element shows the
516 // value of metadata item "title", centered on the page. Likewise
517 // "subtitle".
518 // NOTE: The "title" and "subtitle" page elements have the same names
519 // as the default metadata values which may be confusing. To show
520 // metadata item, e.g. "artist", add its value to one of the
521 // title/subtitle fields. Do not try to add an artist page element.
522 //
523 // The left, center and right parts are for odd pages.
524 // On even pages, the left and right parts are swapped.
525 // It is possible to define distinct even page formats with "default-even",
526 // "title-even" and "first-even".
527 //
528 // When a background document is specified, with odd/even printing,
529 // the 1st background page is used for left pages and
530 // the next page (if it exists) for right pages.
531 // For even/odd printing, the order is reversed.
532
533 // By default, a page has:
534
535 // Three-part title format specification, left, center, right.
536 # pdf.formats.default.title : [ "" "" "" ]
537
538 // Three-part title format specification, left, center, right.
539 # pdf.formats.default.subtitle : [ "" "" "" ]
540
541 // Three-part title format specification, left, center, right.
542 # pdf.formats.default.footer : [ "%{title}" "" "%{page}" ]
543
544 // Background page.
545 # pdf.formats.default.background : ""
546
547 // The first page of a song has:
548
549 // Three-part title format specification, left, center, right.
550 # pdf.formats.title.title : [ "" "%{title}" "" ]
551
552 // Three-part title format specification, left, center, right.
553 # pdf.formats.title.subtitle : [ "" "%{subtitle}" "" ]
554
555 // Three-part title format specification, left, center, right.
556 # pdf.formats.title.footer : [ "" "" "%{page}" ]
557
558 // Background page.
559 # pdf.formats.title.background : ""
560
561 // The very first output page is slightly different:
562
563 // Three-part title format specification, left, center, right.
564 # pdf.formats.first.footer : [ "" "" "" ]
565
566 // Background page.
567 # pdf.formats.first.background : ""
568
569 // Filler pages (for alignment) are empty by default.
570
571 // Background page.
572 # pdf.formats.filler.background : ""
573
574 // Split marker for syllables that are smaller than chord width.
575 // split-marker is a 3-part array: "start", "repeat", and "final".
576 // "final" is always printed, last.
577 // "start" is printed if there is enough room.
578 // "repeat" is printed repeatedly to fill the rest.
579 // If split-marker is a single string, this is "start".
580 // All elements may be left empty strings.
581 # pdf.split-marker : [ "" "" "" ]
582
583 // Font families and properties.
584 // "fontconfig" maps members of font families to physical fonts.
585 // Optionally, additional properties of the fonts can be specified.
586 // Physical fonts can be the names of TrueType/OpenType fonts,
587 // or names of built-in fonts (corefonts).
588 // Relative filenames are looked up in the fontdir.
589 // For example:
590 // "fontdir" : [ "/usr/share/fonts/liberation", "/home/me/fonts" ]
591 # pdf.fontdir : []
592
593 // Remap corefonts to better fonts. null = if possible.
594 # pdf.corefonts.remap : null
595
596 // IMPORTANT: THE ENTRY WITH THE TRAILING . DENOTES THE REGULAR FONT.
597
598 // The font families.
599 # pdf.fontconfig.serif. : Times-Roman
600 # pdf.fontconfig.serif.bold : Times-Bold
601 # pdf.fontconfig.serif.italic : Times-Italic
602 # pdf.fontconfig.serif.bolditalic : Times-BoldItalic
603
604 # pdf.fontconfig.times. : Times-Roman
605 # pdf.fontconfig.times.bold : Times-Bold
606 # pdf.fontconfig.times.italic : Times-Italic
607 # pdf.fontconfig.times.bolditalic : Times-BoldItalic
608
609 # pdf.fontconfig.helvetica. : Helvetica
610 # pdf.fontconfig.helvetica.bold : Helvetica-Bold
611 # pdf.fontconfig.helvetica.oblique : Helvetica-Oblique
612 # pdf.fontconfig.helvetica.boldoblique : Helvetica-BoldOblique
613
614 # pdf.fontconfig.sans. : Helvetica
615 # pdf.fontconfig.sans.bold : Helvetica-Bold
616 # pdf.fontconfig.sans.italic : Helvetica-Oblique
617 # pdf.fontconfig.sans.bolditalic : Helvetica-BoldOblique
618
619 # pdf.fontconfig.sans-serif. : Helvetica
620 # pdf.fontconfig.sans-serif.bold : Helvetica-Bold
621 # pdf.fontconfig.sans-serif.italic : Helvetica-Oblique
622 # pdf.fontconfig.sans-serif.bolditalic : Helvetica-BoldOblique
623
624 # pdf.fontconfig.courier. : Courier
625 # pdf.fontconfig.courier.bold : Courier-Bold
626 # pdf.fontconfig.courier.italic : Courier-Oblique
627 # pdf.fontconfig.courier.bolditalic : Courier-BoldOblique
628
629 # pdf.fontconfig.mono. : Courier
630 # pdf.fontconfig.mono.bold : Courier-Bold
631 # pdf.fontconfig.mono.italic : Courier-Oblique
632 # pdf.fontconfig.mono.bolditalic : Courier-BoldOblique
633
634 # pdf.fontconfig.monospace. : Courier
635 # pdf.fontconfig.monospace.bold : Courier-Bold
636 # pdf.fontconfig.monospace.italic : Courier-Oblique
637 # pdf.fontconfig.monospace.bolditalic : Courier-BoldOblique
638
639 # pdf.fontconfig.muse. : MuseJazzText.otf
640 # pdf.fontconfig.muse.bold : MuseJazzText.otf
641 # pdf.fontconfig.muse.italic : MuseJazzText.otf
642 # pdf.fontconfig.muse.bolditalic : MuseJazzText.otf
643
644 # pdf.fontconfig.musejazztext. : MuseJazzText.otf
645 # pdf.fontconfig.musejazztext.bold : MuseJazzText.otf
646 # pdf.fontconfig.musejazztext.italic : MuseJazzText.otf
647 # pdf.fontconfig.musejazztext.bolditalic : MuseJazzText.otf
648
649 // "fonts" maps output elements to fonts as defined in "fontconfig".
650 // The elements can have a background colour associated.
651 // Colours are "#RRGGBB" or predefined names like "black", "white",
652 // and lots of others.
653 // NOTE: In the built-in config we use only "name" since that can
654 // be overruled with user settings.
655 //
656 // Some element mappings can be specified, but need not since
657 // they default to other elements.
658 // subtitle --> text
659 // chorus --> text
660 // comment --> text
661 // comment_italic --> chord
662 // comment_box --> chord
663 // annotation --> chord
664 // toc --> text
665 // grid --> chord
666 // grid_margin --> comment
667 // footer --> subtitle @ 60%
668 // empty --> text
669 // diagram --> comment
670 // diagram_base --> text (but at a small size)
671
672 // Font for typesetting titles.
673 # pdf.fonts.title : "serif bold 14"
674
675 // Font for typesetting lyrics.
676 # pdf.fonts.text : "serif 12"
677
678 // Font for typesetting chord names.
679 # pdf.fonts.chord : "sans italic 10"
680
681 // Colour specification.
682 # pdf.fonts.chordfingers.numbercolor : background
683
684 // Font for typesetting comment text.
685 # pdf.fonts.comment : "sans 12; background=foreground-light"
686
687 // Font for typesetting italised comment text.
688 # pdf.fonts.comment_italic : "Helvetica-Oblique 12"
689
690 // Font for typesetting boxed comment text.
691 # pdf.fonts.comment_box : "sans 12; frame=1"
692
693 // Font for typesetting tabs.
694 # pdf.fonts.tab : "mono 10"
695
696 // Font for typesetting the table of contents.
697 # pdf.fonts.toc : "serif 11"
698
699 // Font for typesetting grids.
700 # pdf.fonts.grid : "sans 10"
701
702 /**************** Settings for A2Crd (input) frontend ****************/
703
704 // Treat leading lyrics lines as title/subtitle lines.
705 # a2crd.infer-titles : true
706
707 // Analysis strategy.
708 # a2crd.classifier : pct_chords
709
710 // Tab stop width for tab expansion. Set to zero to disable.
711 # a2crd.tabstop : 8
712
713 /**************** Settings for the markup processor ****************/
714
715 // Shortcodes allow user defined markup, e.g. <foo>...</foo>.
716 // With shortcode
717 // heavy : "weight='bold' size='large'"
718 // each occurrence of <heavy>...</heavy> will be replaced by
719 // <span weight='bold' size='large'>...</span>.
720 # markup.shortcodes {}
721
722 /**************** Settings for the parser/preprocessor ****************/
723
724 // For selected lines, you can specify a series of
725 // { "target" : "xxx", "replace" : "yyy" }
726 // Every occurrence of "xxx" will be replaced by "yyy".
727 // Use "pattern" instead of "target" for regular expression replacement.
728 // Use wisely.
729 # parser.preprocess.all : []
730 # parser.preprocess.directive : []
731 # parser.preprocess.songline : []
732
733 // For the exceptional case you need brackets [] in your lyrics or annotations.
734 // These characters are replaced by normal brackets **after** chord analysis.
735 // E.g. parser.altbrackets: "«»"
736 // Use wisely. Better still, do not use this.
737 # parser.altbrackets : null