Makeglossary fix
This commit is contained in:
parent
7ec926432e
commit
f291e05566
|
|
@ -234,10 +234,10 @@ pub(super) enum LineType {
|
|||
|
||||
/// Glossary will not be built
|
||||
#[token("This document will not have a glossary.")]
|
||||
#[token("Remove \\makeglossaries if you don't want any glossaries.")]
|
||||
#[token("Remove .makeglossaries if you don't want any glossaries.")]
|
||||
NoGlossary,
|
||||
|
||||
#[regex(r"No file [^$]\.gls\.", |_| "".to_string())]
|
||||
#[regex(r"No file [^$]+\.gls\.", |_| "".to_string())]
|
||||
/// The glossary file wasn't found
|
||||
NoGlossaryFile(String),
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ fn load_templates(config: &Config) -> Result<Handlebars<'_>> {
|
|||
template_load!(templates, &config.monster, resists_row);
|
||||
template_load!(templates, &config.monster, stats);
|
||||
template_load!(templates, &config.monster, phase_row);
|
||||
// template_load!(templates, &config.monster, attack_color);
|
||||
template_load!(templates, &config.monster, attack_repeatable_row);
|
||||
template_load!(templates, &config.monster, attack_info_row);
|
||||
template_load!(templates, &config.monster, intent_table);
|
||||
|
|
@ -253,11 +252,6 @@ fn number_of_description(monster_first_atk: &&MonsterSingleAttack) -> usize {
|
|||
}
|
||||
}
|
||||
#[derive(Serialize)]
|
||||
struct Coloring<'a> {
|
||||
color: &'a str,
|
||||
// size: usize,
|
||||
}
|
||||
#[derive(Serialize)]
|
||||
struct PhaseName<'a> {
|
||||
phase_name: &'a String,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue