diff --git a/md_pdf/config/validate.py b/md_pdf/config/validate.py index 3b7a52d..07096d5 100644 --- a/md_pdf/config/validate.py +++ b/md_pdf/config/validate.py @@ -41,6 +41,8 @@ def validate_bibliography(config): return if 'references' not in config['bibliography']: raise ConfigValidationException("Missing References Path") + if 'csl' not in config['bibliography']: + raise ConfigValidationException("Missing CSL Name") abs_bibliography = os.path.abspath(config['bibliography']['references']) if not os.path.isfile(abs_bibliography):