App-Music-ChordPro

 view release on metacpan or  search on metacpan

lib/ChordPro/res/pod/Config.pod  view on Meta::CPAN

                // Topmost title element.
                // It uses the `fonts.title` font.
                title : [ "" "%{title}" "" ]
    
                // Second title element.
                // It uses the `fonts.subtitle` font.
                subtitle : [ "" "%{subtitle}" "" ]
    
                // It uses the `fonts.footer` font.
                footer : [ "" "" "%{page}" ]
    
                // Page background.
                // This can be used to designate an existing PDF document to be used as the background of the output page. It has the form `filename` or `filename:page`. Page numbers count from one.
                // If odd/even printing is in effect, the designated page number is used for left pages, and the next page (if it exists) for right pages.
                background : ""
            }
    
            // Headers/footers/background for the vefy first page of the output.
            first {
    
                // It uses the `fonts.footer` font.
                footer : [ "" "" "" ]
    
                // Page background.
                // This can be used to designate an existing PDF document to be used as the background of the output page. It has the form `filename` or `filename:page`. Page numbers count from one.
                // If odd/even printing is in effect, the designated page number is used for left pages, and the next page (if it exists) for right pages.
                background : ""
            }
    
            // Headers/footers/background for all pages for alignment.
            filler.background : ""
        }
    
        // Split marker for syllables that are smaller than chord width.
        // `split-marker` is a 3-part array: `start`, `repeat`, and `final`, or can be a single string representing `start`.
        // `final` is always printed, last.
        // `start` is printed if there is enough room.
        // `repeat` is printed repeatedly to fill the rest.
        // If `split-marker` is a single string, this is `start`.
        // All elements may be left empty strings.
        split-marker : [ "" "" "" ]
    
        // The `fontdir` setting can be used to add one or more private font directories to the font libraries. The private directories will be searched first.
        fontdir : []
    
        // Experimental: Remap corefonts to real truetype fonts.
        // This requires a set of truetype fonts to be available in the `fontdir` under a well-defined name. See the docs.
        // Fontsets currenly supported are `"free"` for the GNU Free Fonts, and `"tex"` for the Tex Gyre fonts.
        // Value `false` inhibits remapping.
        // Value `null` will have ChordPro look for the fonts itself.
        corefonts.remap : null
    
        // Font families and properties.
        // `fontconfig` maps members of font families to physical fonts.
        // Optionally, additional properties of the fonts can be specified.
        // Physical fonts can be the names of TrueType/OpenType fonts, or names of built-in fonts (`corefonts`).
        // Relative filenames are looked up in the `fontdir`.
        fontconfig {
            serif {
                ""         : Times-Roman
                bold       : Times-Bold
                italic     : Times-Italic
                bolditalic : Times-BoldItalic
            }
            times {
                ""         : Times-Roman
                bold       : Times-Bold
                italic     : Times-Italic
                bolditalic : Times-BoldItalic
            }
            helvetica {
                ""          : Helvetica
                bold        : Helvetica-Bold
                oblique     : Helvetica-Oblique
                boldoblique : Helvetica-BoldOblique
            }
            "sans, sans-serif" {
                ""         : Helvetica
                bold       : Helvetica-Bold
                italic     : Helvetica-Oblique
                bolditalic : Helvetica-BoldOblique
            }
            courier {
                ""         : Courier
                bold       : Courier-Bold
                italic     : Courier-Oblique
                bolditalic : Courier-BoldOblique
            }
            "mono, monospace" {
                ""         : Courier
                bold       : Courier-Bold
                italic     : Courier-Oblique
                bolditalic : Courier-BoldOblique
            }
            "muse, musejazztext" {
                ""         : MuseJazzText.otf
                bold       : MuseJazzText.otf
                italic     : MuseJazzText.otf
                bolditalic : MuseJazzText.otf
            }
            dingbats.          : ZapfDingbats
        }
    
        // `fonts` maps output elements to fonts as defined in `fontconfig`.
        // 
        // Some element mappings can be specified, but it's not needed for all since they default to other elements:
        // subtitle       --> text
        // chorus         --> text
        // comment        --> text
        // comment_italic --> chord
        // comment_box    --> chord
        // annotation     --> chord
        // toc            --> text
        // grid           --> chord
        // grid_margin    --> comment
        // footer         --> subtitle @ 60%
        // empty          --> text
        // diagram        --> comment
        // diagram_base   --> text (but at a small size)
        fonts {
    
            // The font used for page titles.
            title : "Times-Bold 14"
    
            // The font used for lyrics texts.
            text : "Times-Roman 12"
    
            // The font used for chords above the lyrics.
            chord : "Helvetica-Oblique 10"
    
            // Font for numbers in chord diagram dots.
            // `color` is for the numbers.
            // `numbercolor` is for the dots.
            // `size` doesn't matter unless `diagrams.fingers` = `"below"`.
            chordfingers : "sans; numbercolor=background"
    
            // The font used for comments. If not set, falls back on the `text` font.
            comment : "Helvetica 12; background=foreground-light"
    
            // The font used for `comment_italic` directives. If not set, falls back on the `chord` font.
            comment_italic : "Helvetica-Oblique 12"
    
            // The font used for `comment_box` directives. If not set, falls back on the `chord` font.
            comment_box : "Helvetica 12; frame=1"
    
            // The font used for the contents of tab environments.
            tab : "Courier 10"
    
            // The font used for the table of contents. If not set, falls back on the `text` font.
            toc : "Times-Roman 11"
    
            // The font used for grid elements. If not set, falls back on the `chord` font.
            grid : "Helvetica 10"
    
            // Font for typesetting gridstrum symbols.
            // You can set size and colours, but you cannot change the font.
            gridstrum : "ChordProSymbols 13"
    
            // Font for typesetting grilles.

lib/ChordPro/res/pod/Config.pod  view on Meta::CPAN

    
            // Relative path to a CSS file to use for styling printed HTML output.
            print : chordpro_print.css
    
            // Embed the styles instead of linking to them.
            embed : false
    
            // Legacy style for `"screen"`.
            display : ""
        }
    }
    
    // Settings for LaTeX backend.
    latex {
    
        // Include paths for templates.
        template_include_path : []
    
        // Templates for LaTeX generation.
        templates {
    
            // Master template to render the songbook.
            songbook : songbook.tt
    
            // Helper template to render comments.
            comment : comment.tt
    
            // Helper template to render images.
            image : image.tt
        }
    }
    
    // Settings for Text (output) backend.
    // See the ChordPro backend for details.
    text.chorus.recall {
        tag   : ""
        type  : ""
        quote : false
    }
    
    // Settings for A2Crd (input) frontend.
    a2crd {
    
        // Treat leading lyrics lines as title/subtitle lines.
        // The first non-empty, non-chord, non-directive lines are taken to be the song title and subtitle.
        infer-titles : true
    
        // Strategies to recognize chords and lyrics lines are implemented by classifiers.
        // The default classifier is `"pct_chords"` and is based on the percentage of chords recognized.
        classifier : pct_chords
    
        // Tab stop width for tab expansion. Set to `0` to disable.
        // Tabs in the input source are replaced by an appropriate amount of spaces.
        tabstop : 8
    }
    
    // Settings for the markup processor.
    // Shortcodes allow user defined markup, e.g. <foo>...</foo>.
    // ```
    // markup.shortcode {
    //    heavy :  "weight='bold' size='large'"
    // }
    // Each occurrence of <heavy>...</heavy> will be replaced by
    // <span weight='bold' size='large'>...</span>.
    // ```
    markup.shortcodes {}
    
    // Settings for the parser/preprocessor
    parser {
    
        // For the exceptional case you need brackets [] in your lyrics or annotations.
        // These characters are replaced by normal brackets **after** chord analysis.
        // E.g. `parser.altbrackets: "«»"`
        // Use wisely. Better still, don't use this.
        altbrackets : null
    
        // Settings for the parser/preprocessor.
        // For selected lines, you can specify a series of 
        // { "target" : "xxx", "replace" : "yyy" }
        // Every occurrence of "xxx" will be replaced by "yyy".
        // Use "pattern" instead of "target" for regular expression replacement.
        // Use wisely.
        preprocess {
            all       : []
            directive : []
            songline  : []
        }
    }
    
    // Miscellaneous debug settings.
    // A boolean value or an integer. `0` means `false` and nozero means `true`.
    debug {
    
        // Insert extra debugging info into the generated PDF document.
        runtimeinfo : 1
    
        // All debug settings are intended for development and debugging and are not useful for ChordPro users.
        a2crd : 0
        abc         : 0
        assets      : 0
        chords      : 0
        config      : 0
        csv         : 0
        echo        : 0
        fit         : 0
        fonts       : 0
        images      : 0
        layout      : 0
        ly          : 0
        meta        : 0
        mma         : 0
        ops         : 0
        pages       : 0
        pagectrl    : 0
        paths       : 0
        pgm         : 0
        pp          : 0
        song        : 0
        songfull    : 0
        spacing     : 0
        svg         : 0
        txtblk      : 0
        xpose       : 0
        x1          : 0



( run in 1.249 second using v1.01-cache-2.11-cpan-98e64b0badf )