2005-02-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * Documentation/user/changing-defaults.itely (Text encoding): add
+ fontload option to utf8 include
+
+ * scripts/lilypond-book.py (compose_ly): add fontload option
+
+ * scm/framework-eps.scm (dump-stencils-as-EPSes): add
+ force-eps-font-include option.
+
* ly/chord-modifiers-init.ly (blackTriangleMarkup): reinstate
black triangle
@seealso
-@inputfileref{input/regression,utf8.ly}
+@inputfileref[fontload]{input/regression,utf8.ly}
@node Nested scores
#(define-public book-title (marked-up-title 'bookTitleMarkup))
#(define-public score-title (marked-up-title 'scoreTitleMarkup))
-
+ #(define-public force-eps-font-include #f)
+
%%
%% ugh. hard coded?
%%
(dump-stencil-as-EPS
paper
line (format "~a-~a" basename count)
- #f)
+ (ly:output-def-lookup paper 'force-eps-font-include))
(dump-stencils-as-separate-EPS rest (1+ count))
)))
TEXIDOC = 'texidoc'
TEXINFO = 'texinfo'
VERBATIM = 'verbatim'
+FONTLOAD = 'fontload'
+
# NOTIME has no opposite so it isn't part of this dictionary.
# NOQUOTE is used internally only.
NOINDENT,
PRINTFILENAME,
TEXIDOC,
- VERBATIM
+ VERBATIM,
+ FONTLOAD
]
ly_options = {
\paper {
#(define dump-extents #t)
+ %(font_dump_setting)s
%(paper_string)s
}
# environment for non-quoted snippets.
override[EXAMPLEINDENT] = r'0.4\in'
override[LINEWIDTH] = texinfo_linewidths['@smallbook']
+ override[FONTLOAD] = ''
override.update (default_ly_options)
option_list = []
preamble_string = \
string.join (compose_dict[PREAMBLE], '\n ') % override
+ font_dump_setting = ''
+ if FONTLOAD in options.keys():
+ font_dump_setting = '#(define-public force-eps-font-include #t)\n'
+
return (PREAMBLE_LY + body) % vars ()