
Estou tendo problemas para LuaLaTex
trabalhar biber
em húngaro. Instalei texlive-full
em um Ubuntu 16.04 e não tive esse problema com uma instalação anterior. Estou fornecendo abaixo um mwe, a saída e os avisos dados pelo lualatex. Como posso consertar isso?
O mwe:
\documentclass{article}
\usepackage{polyglossia}
\usepackage{csquotes}
\setmainlanguage{magyar}
\usepackage[defernumbers=true,sorting=none,backend=biber,maxnames=10,style=ieee]{biblatex}
\addbibresource{text.bib}
\begin{document}
Próba \cite{graphtheory,barabasi2016network,king2002home,linklater2000adaptive,moehlman1998feral,moehlman2002equids}
\printbibliography
\end{document}
O bib
arquivo:
@book{graphtheory,
title={Graph theory},
author={Bondy, John Adrian and Murty, Uppaluri Siva Ramachandra},
year={2008},
publisher={Springer}
}
@article{king2002home,
title={Home range and habitat use of free-ranging Przewalski horses at Hustai National Park, Mongolia},
author={King, SRB},
journal={Applied Animal Behaviour Science},
volume={78},
number={2},
pages={103--113},
year={2002},
publisher={Elsevier}
}
Saída:
Erros:
Package csquotes Warning: No style for language 'magyar'.
(csquotes) Using fallback style on input line 9.
Package biblatex Warning: Language 'magyar' not supported.
(biblatex) Using fallback language 'english' on input line 9.
(/usr/share/texlive/texmf-dist/tex/latex/biblatex/lbx/english.lbx)
(./mwe_magyar.aux
Language magyar not found in language.dat.lua)
Language magyar not found in language.dat.lua (./mwe_magyar.bbl)(load luc: /hom
e/fbence/.texlive2017/texmf-var/luatex-cache/generic/fonts/otl/lmroman12-regula
r.luc)(load luc: /home/fbence/.texlive2017/texmf-var/luatex-cache/generic/fonts
/otl/lmroman12-bold.luc)
Package biblatex Warning: Bibliography string 'and' undefined
(biblatex) at entry 'graphtheory' on input line 13.
Package biblatex Warning: Bibliography string 'jourvol' undefined
(biblatex) at entry 'king2002home' on input line 13.
Package biblatex Warning: Bibliography string 'number' undefined
(biblatex) at entry 'king2002home' on input line 13.
Package biblatex Warning: Bibliography string 'pages' undefined
(biblatex) at entry 'king2002home' on input line 13.
Responder1
Editar: Seguindo esta perguntaO suporte húngaro foi implementado na versão 3.12 do
biblatex
(https://github.com/plk/biblatex/issues/717,https://github.com/plk/biblatex/pull/780). Portanto, se você precisar de suporte para húngaro hoje, isso deve ser tão simples quanto garantir que você tenha uma versão atualizada dobiblatex
.Observe que o módulo de localização húngaro é um pouco especial, pois os
.lbx
arquivos estão mal equipados para lidar com alguns recursos de idiomas não germânicos. Portanto, verifique cuidadosamente a saída e leia os avisos na documentação e no.log
arquivo.Em geral, é claro,
bibatex
só é possível implementar localizações para um idioma se alguém com conhecimento nesse idioma aparecer e oferecer sua ajuda, como foi o caso aqui.A resposta abaixo é deixada para fins históricos.
No momento biblatex
não há apoio ao húngaro. Isto é o que biblatex
tenta te dizer com
Package biblatex Warning: Language 'magyar' not supported.
Se você usar babel
em vez de polyglossia
, biblatex
retornará ao inglês, com polyglossia
(cuja localização biblatex
é um pouco instável em geral), você obterá rótulos em negrito.