Closed leomayer closed 2 months ago
I've encountered an issue and it was very well analysed. The MWE
\documentclass[a4paper,11pt]{article} \usepackage[latvian,shorthands=off]{babel} \usepackage{titlesec} %%% ensure \chapter passes the \ifx\chapter\undefined test %\let\chapter\undefined %%% \begin{document} \begin{figure}[!htbp] \caption{Sample text} \end{figure} \end{document}
Changing to e.g. french the code compiles without problems. Perhaps the issue might appear in other languages as well?
french
Fixed on the titlesec side. It remains to be fixed on the babel-latvian side.
titlesec
babel-latvian
Fix just submitted to CTAN.
I've encountered an issue and it was very well analysed. The MWE
Changing to e.g.
french
the code compiles without problems. Perhaps the issue might appear in other languages as well?