Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vietnamese warnings with babel and biblatex #305

Open
Rimole opened this issue Jul 19, 2024 · 0 comments
Open

Vietnamese warnings with babel and biblatex #305

Rimole opened this issue Jul 19, 2024 · 0 comments

Comments

@Rimole
Copy link

Rimole commented Jul 19, 2024

Copy from bug report at tex.stackexchange (not my report, but found it when I encountered the same issue):

\documentclass{article}

\usepackage[T5,T1]{fontenc}
\usepackage[vietnamese, british]{babel}
\usepackage{csquotes}
\usepackage{biblatex}

\begin{document}

\foreignlanguage{vietnamese}{Ngô Bảo Châu}

\end{document}

The above code compiles in PDFLaTeX, but I get two warnings:

Package babel Warning: No input encoding specified for Vietnamese on input line 146.
...
Package biblatex Warning: Language 'vietnamese' not supported.
(biblatex) Using dummy definitions on input line 8.

How can I avoid these two warnings?

The first can be removed with \usepackage[utf8]{inputenc}, but I feel like it isn't the correct way: this line should be nowadays obsolete, and there should be a more direct way to tell babel the correct encoding for Vietnamese.

asked Jul 13 at 9:56 by Gargantuar at https://tex.stackexchange.com/q/722463

Comment by David Carlisle:

as far as I can see your workaround for inputenc is what it needs to be (or patch internal commands) you should report it to babel as a bug the file should be updated to check that utf-8 is enabled not just check if inputenc is loaded. for biblatex I think you need to make a lbx file following these steps https://github.com/plk/biblatex/wiki/Checklist-for-submitting-a-new-localisation-file-(.lbx).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant