(section: str, key: str, default: bool)
| 78 | |
| 79 | |
| 80 | def _b(section: str, key: str, default: bool) -> bool: |
| 81 | try: |
| 82 | return _cfg[section][key].strip().lower() in ("true", "1", "yes") |
| 83 | except KeyError: |
| 84 | return default |
| 85 | |
| 86 | |
| 87 | # LaTeX rendering preference |