
Tengo problemas para empezar LuaLaTex
a biber
trabajar en húngaro. Lo instalé texlive-full
en Ubuntu 16.04 y no tuve este problema con una instalación anterior. A continuación proporciono un mwe, los resultados y las advertencias dadas por lualatex. ¿Cómo puedo arreglar esto?
El 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}
El bib
archivo:
@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}
}
Producción:
Errores:
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.
Respuesta1
Editar: Siguiendo esta preguntaEl soporte húngaro se ha implementado en la versión 3.12 de
biblatex
(https://github.com/plk/biblatex/issues/717,https://github.com/plk/biblatex/pull/780). Entonces, si necesita soporte para húngaro hoy, esto debería ser tan simple como asegurarse de tener una versión actualizada debiblatex
.Tenga en cuenta que el módulo de localización húngaro es un poco especial ya que los
.lbx
archivos no están equipados para manejar algunas características de idiomas no germánicos. Así que verifique cuidadosamente el resultado y lea las advertencias en la documentación y el.log
archivo.En general, por supuesto,
bibatex
sólo se pueden implementar localizaciones para un idioma si alguien con conocimientos de ese idioma viene y ofrece su ayuda, como fue el caso aquí.La respuesta a continuación se deja para fines históricos.
De momento biblatex
no tiene apoyo para el húngaro. Esto es lo que biblatex
intenta decirte con
Package biblatex Warning: Language 'magyar' not supported.
Si usa babel
en lugar de polyglossia
, biblatex
volverá al inglés, con polyglossia
(cuya localización con biblatex
es un poco inestable en general) obtendrá etiquetas en negrita.