Skip to content

Correction to the Hungarian language support in varioref.sty #1977

@tibortomacs

Description

@tibortomacs

Dear Maintainer,

My name is Tibor Tómács, and I am the maintainer of the hungarian-babel package.
I would like to draw your attention to the fact that the current Hungarian language implementation in varioref.sty is not fully correct.

Below, I am providing a corrected version that addresses the identified issues.
I would appreciate it if you could review this correction and consider incorporating it into the package.

\def\vref@hu@strings{%
  \def\reftextafter {a k\"ovetkez\H{o} oldalon}%
  \def\reftextbefore{az el\H{o}z\H{o} oldalon}%
  \def\reftextfaceafter {\reftextvario{a t\'uloldalon}%
                        {a k\"ovetkez\H{o} oldalon}}%
  \def\reftextfacebefore{\reftextvario{a t\'uloldalon}%
                        {az el\H{o}z\H{o} oldalon}}%
  \def\reftextcurrent   {ezen az oldalon}%
  \def\reftextfaraway##1{\az{\pageref{##1}}.~oldalon}%
  \def\reftextpagerange##1##2{\az{\pageref{##1}}--\pageref{##2}.~oldalakon}%
  \def\reftextlabelrange##1##2{\told\ref{##1}+tol{} \ref{##2}-ig}%
  \let\vrefformat\vrefdefaultformat%
  \let\Vrefformat\Vrefdefaultformat%
  \let\fullrefformat\fullrefdefaultformat%
  \let\vrefrangeformat\vrefrangedefaultformat%
}
\DeclareOption{hungarian}{\vref@addto\extrashungarian{\vref@hu@strings}}
\DeclareOption{magyar}   {\vref@addto\extrasmagyar   {\vref@hu@strings}}

Thank you for your time and consideration.

Best regards,
Tibor Tómács
Maintainer of hungarian-babel

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done in dev

Relationships

None yet

Development

No branches or pull requests

Issue actions