Skip to content

Babel spanish used with koma script creates issue since recent LaTeX update #13756

@cderv

Description

@cderv

This makes our CI fails

> cd tests/
❯ quarto render docs/smoke-all/2024/08/30/10291/latex-hyphen-lang-es.qmd --to pdf
- The project is out-of-sync -- use `renv::status()` for details.


processing file: latex-hyphen-lang-es.qmd
1/3
2/3 [unnamed-chunk-1]
3/3
output file: latex-hyphen-lang-es.knit.md

pandoc
  to: latex
  output-file: latex-hyphen-lang-es.tex
  standalone: true
  pdf-engine: lualatex
  variables:
    graphics: true
    tables: true
  default-image-extension: pdf

metadata
  documentclass: scrartcl
  classoption:
    - DIV=11
    - numbers=noendperiod
  papersize: letter
  header-includes:
    - \KOMAoption{captions}{tableheading}
  block-headings: true
  lang: es


Rendering PDF
running lualatex - 1
  This is LuaHBTeX, Version 1.22.0 (TeX Live 2025)
   restricted system commands enabled.

updating tlmgr

updating existing packages
finding package for spanish.ldf
> 1 package to install
> installing babel-spanish (1 of 1)
  This is LuaHBTeX, Version 1.22.0 (TeX Live 2025)
   restricted system commands enabled.

ERROR:
compilation failed- error
LaTeX hooks Error: Generic hooks cannot be added to '\@startsection'.

For immediate help type H <return>.
 ...

l.175 \begin{document}



see docs\smoke-all\2024\08\30\10291\latex-hyphen-lang-es.log for more information.
WARN: Error encountered when rendering files
ERROR: Error
    at renderFiles (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-files.ts:361:11)
    at eventLoopTick (ext:core/01_core.js:179:7)
    at async render (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/render-shared.ts:106:18)
    at async Command.actionHandler (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/command/render/cmd.ts:251:26)
    at async Command.execute (https://deno.land/x/[email protected]/command/command.ts:1948:7)
    at async Command.parseCommand (https://deno.land/x/[email protected]/command/command.ts:1780:14)
    at async quarto (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/quarto.ts:193:5)
    at async file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/quarto.ts:225:5
    at async file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/main.ts:45:14
    at async mainRunner (file:///C:/Users/chris/Documents/DEV_R/quarto-cli/src/core/main.ts:47:5)
````

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglatexLaTeX engines related libraries and technologiesupstreamBug is in upstream library

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions