Makeglossary fix

This commit is contained in:
Dandaedre 2026-07-20 00:10:46 +02:00
parent 7ec926432e
commit f291e05566
Signed by: Dandaedre
GPG Key ID: 440C6592E8A26D99
2 changed files with 2 additions and 8 deletions

View File

@ -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),

View File

@ -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,
}