I am using a non-public class that has an option named english for setting up certain texts. I wish to use babel for hyphenation and to specify the language (variant) as british. However,
\usepackage[main=british]{babel}
produces the warning
Package Babel Warning: The package option `english' should not be used
(Babel) with a more specific one (like `british') on input line 4.
I get the same warning if I try \PassOptionsToPackage{main=british}{babel} before loading the documentclass.
Here is a minimal working example using the article class instead:
\documentclass[english]{article}
\usepackage[main=british]{babel}
\begin{document}
Some text.
\end{document}
What is the correct way to load babel with british when the document class uses english to set other document features that I need.
englishoption is supposed to be used only by your class, or is it onlybabelwhich is not supposed to seeenglish? – Phelype Oleinik Dec 15 '19 at 15:54\todayand hyphenation are correct. This warning was due to an old and severe bug which messed up the date and hyphenation in some cases, but not all. I have to investigate the exact issue (to be honest, I don't remember it) to improve the message. – Javier Bezos Dec 15 '19 at 18:19