1

How to make BibLaTeX print

Elérhető: http://digitus.itk.ppke.hu/~lazar/cnn/SegedFileok/ZA_TemplTervArt.pdf (elérés dátuma 2014. 04. 22.).

instead of

Available: http://digitus.itk.ppke.hu/~lazar/cnn/SegedFileok/ZA_TemplTervArt.pdf (visited on 04/22/2014).

?

MWE:

\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}
  • 1
    The relevant bibstrings are url and urlseen. Or is there any other problem? (I assume you know how to deal with bibstrings, because of this question of yours.) Of course the date format is another matter. – moewe Dec 20 '14 at 18:30
  • @moewe Oh, I didn't think url is the bibstring I'm looking for. Thank you. So how to format the date? – marczellm Dec 20 '14 at 18:47
  • Have a look at the mkbibdatelong and mkbibdateshort macros found in the .lbx files (english.lbx and german.lbx for example, the latter of the two might even contain the definition you want). – moewe Dec 20 '14 at 20:28
  • Related (just for the link): tex.stackexchange.com/q/416627/35864, tex.stackexchange.com/q/428749/35864 – moewe Aug 16 '18 at 7:09
4

UPDATE

The next version of biblatex (3.12, no release date announced yet as of August 2018) will come with built-in Hungarian support. If you have this or a later version, you do not need to do anything else.


PREVIOUS

Put this in the magyar.lbx file:

\DeclareBibliographyStrings{%
    % ...
    url          = {{Elérhető}{Elérhető}},
    urlfrom      = {{elérhető}{elérhető}},
    urlseen      = {{elérés dátuma}{elérés dátuma}},
}

\DeclareBibliographyExtras{
    % ...
    \protected\def\mkbibordinal#1{\stripzeros{#1}\adddot}%
    \protected\def\mkbibdatelong#1#2#3{% suppose that all fields are defined, until a bug pops up
        \mkbibordinal{\thefield{#1}}%
        \space%
        \mkbibmonth{\thefield{#2}}%
        \nobreakspace%
        \mkbibordinal{\thefield{#3}}%
    }
    \protected\def\mkbibdateshort#1#2#3{% suppose that all fields are defined, until a bug pops up
        \mkbibordinal{\thefield{#1}}%
        \space%
        \mkbibordinal{\thefield{#2}}%
        \nobreakspace%
        \mkbibordinal{\thefield{#3}}%
    }
}
  • Hi, I ran into the problem of not having biblatex in hungarian. I saw in another post that you have started making the magyar.lbx. Are you planning on making a pull request to biblatex? If not everything is done, I'd appreciate if we could communicate, in say email, about this! – fbence Feb 23 '18 at 12:11
  • @fbence I have uploaded it to bitbucket.org/marczellm/latex-magyar-contrib/src but I don't know if it's complete enough to be included in biblatex. – marczellm Feb 23 '18 at 15:34
  • I actually found some errors, so probably not yet, but, if you're interested, I'd be happy to help to follow it through to including in biblatex. – fbence Feb 23 '18 at 15:38
  • @fbence yes we should do this. – marczellm Feb 23 '18 at 21:18
  • Great, lets move this to email (and hungarian): fbence elte hu. – fbence Feb 23 '18 at 21:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.