如何製作 BibLaTeX 列印
“27.evf.1.sz.頁5-23”
代替
“第 27 卷,第 1 期,第 5-23 頁”
?
微量元素:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[magyar]{babel}
\usepackage{lmodern, filecontents}
\usepackage[style=ieee]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{zarandy_art_temdesign,
author = {Zarándy, Ákos},
title = {The art of {CNN} template design},
journal = {International Journal of Circuit Theory and Applications},
volume = {27},
number = {1},
publisher = {John Wiley & Sons, Ltd.},
issn = {1097-007X},
url = {http://digitus.itk.ppke.hu/~lazar/cnn/SegedFileok/ZA_TemplTervArt.pdf},
urldate = {2014-04-22},
pages = {5--23},
year = {1999}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\cite{zarandy_art_temdesign}
\printbibliography
\end{document}
我的magyar.lbx
包含,除其他外
\DeclareBibliographyStrings{
% ...
page = {{oldal}{p\adddot}},
pages = {{oldalak}{pp\adddot}},
volume = {{évfolyam}{évf\adddot}},
volumes = {{évfolyam}{évf\adddot}},
number = {{szám}{sz\adddot}},
}
所以字串已經存在,但與數字的順序不正確。
答案1
這biblatex-ieee
包裹是最近更新支援匈牙利語言,因此很快就不需要額外的程式碼來完成此任務。
答案2
在較新版本中,biblatex-ieee
您可以將欄位格式重新定義為
\DeclareFieldFormat*{volume}{#1\adddot\addnbspace\bibstring{volume}}
\DeclareFieldFormat[article,periodical]{volume}{#1\adddot\addnbspace\bibstring{jourvol}}
\DeclareFieldFormat*{number}{#1\adddot\addnbspace\bibstring{number}}
但即使是更新的版本(> = 1.3)也將提供開箱即用的匈牙利語支援(只有在biblatex
發布了匈牙利語支援後才可能真正可用,請參閱匈牙利語與 LuaLaTex 和 biber)。
舊版的解決方案可以在編輯歷史中找到。
微量元素
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[british]{babel}
\usepackage{lmodern, filecontents}
\usepackage[style=ieee]{biblatex}
\begin{filecontents}{\jobname.bib}
@article{zarandy_art_temdesign,
author = {Zarándy, Ákos},
title = {The art of {CNN} template design},
journal = {International Journal of Circuit Theory and Applications},
volume = {27},
number = {1},
publisher = {John Wiley & Sons, Ltd.},
issn = {1097-007X},
url = {http://digitus.itk.ppke.hu/~lazar/cnn/SegedFileok/ZA_TemplTervArt.pdf},
urldate = {2014-04-22},
pages = {5--23},
year = {1999}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\DeclareFieldFormat*{volume}{#1\adddot\addnbspace\bibstring{volume}}
\DeclareFieldFormat[article,periodical]{volume}{#1\adddot\addnbspace\bibstring{jourvol}}
\DeclareFieldFormat*{number}{#1\adddot\addnbspace\bibstring{number}}
\begin{document}
\cite{zarandy_art_temdesign}
\printbibliography
\end{document}