path = search_path_.find (path);
if (path.empty_b ())
return 0;
- progress_indication ("[" + path);
+
+ if (verbose_global_b)
+ progress_indication ("[" + path);
Adobe_font_metric * afm_p = read_afm_file (path);
afm_p->name_ = ly_symbol2scm (name.ch_C ());
- progress_indication ("]");
+
+ if (verbose_global_b)
+ progress_indication ("]");
afm_p_dict_.set (sname,afm_p->self_scm_);
}
path = search_path_.find (path);
if (path.empty_b ())
return 0;
- progress_indication ("[" + path);
+ if (verbose_global_b)
+ progress_indication ("[" + path);
Tex_font_metric * tfm_p = Tex_font_metric_reader::read_file (path);
tfm_p->name_ = ly_symbol2scm (name.ch_C( ));
- progress_indication ("]");
+
+ if (verbose_global_b)
+ progress_indication ("]");
tfm_p_dict_.set (sname, tfm_p->self_scm_);
}
if (f)
return f;
- non_fatal_error (_f ("can't find default font: `%s'", def_name.ch_C ()));
- non_fatal_error (_f ("(search path: `%s')", search_path_.str ()));
+ error (_f ("can't find default font: `%s'", def_name.ch_C ()));
+ error (_f ("(search path: `%s')", search_path_.str ()));
error (_ ("Giving up"));
return 0;
extern bool experimental_features_global_b;
extern char const* output_global_ch;
extern bool dependency_global_b;
-extern bool version_ignore_global_b;
+extern bool verbose_global_b;
extern Array<String> get_inclusion_names ();
Mudela_version ver (s);
if (!((ver >= oldest_version) && (ver <= current)))
{
- error (_f ("incorrect mudela version: %s (%s, %s)", ver.str (), oldest_version.str (), current.str ()));
- if (!version_ignore_global_b)
- return false;
+ non_fatal_error (_f ("incorrect mudela version: %s (%s, %s)", ver.str (), oldest_version.str (), current.str ()));
+ non_fatal_error (_("Consider converting the input with the convert-mudela script"));
+ return false;
}
return true;
}
#endif
-bool version_ignore_global_b = false;
+bool verbose_global_b = false;
bool no_paper_global_b = false;
bool no_timestamps_global_b = false;
bool find_old_relative_b = false;
{0, "safe", 's', _i ("inhibit file output naming and exporting")},
{0, "no-timestamps", 'T', _i ("don't timestamp the output")},
{0, "test", 't', _i ("switch on experimental features")},
- {0, "ignore-version", 'V', _i ("ignore mudela version")},
{0, "version", 'v', _i ("print version number")},
+ {0, "verbose", 'V', _i("verbose")},
{0, "warranty", 'w', _i ("show warranty and copyright")},
{0,0,0, 0}
};
exit (0);
break;
case 'V':
- version_ignore_global_b = true;
+ verbose_global_b = true;
break;
case 's':
safe_global_b = true;
void
My_lily_parser::set_version_check (bool ig)
{
- ignore_version_b_ = ig;
}
void
source_global_l->set_path (&global_path);
{
My_lily_parser parser (source_global_l);
- parser.set_version_check (version_ignore_global_b);
+ parser.set_version_check (false);
+ cout << "\nNow processing `" << file_str << "'\n";
parser.parse_file (init_str, file_str);
if (parser.error_level_i_)