NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.39k stars 14.35k forks source link

small \No fix for babel-russian #22254

Closed frigatefreedom closed 7 years ago

frigatefreedom commented 7 years ago

Issue description

We have one regression in babel-russian:

ftp://sunsite.icm.edu.pl/pub/CTAN/macros/latex/contrib/babel-contrib/russian/russianb.pdf

The macro \No is removed since the Cyrillic number sign is available on keyboard and can also be typed using the \textnumero macro.

Thats why some old documents created with use of eskdx packgages can not compile.

Patch

There is patch for russianb.dtx located at babel-russian.source/source/generic/ called No-patch, but I dont know, how to add it to texlive.combine. No-patch.tar.gz Patch adds string "\DeclareRobustCommand{\No}{\ifmmode{\nfss@text{\textnumero}}\else\textnumero\fi} ". @vcunat

Source file: http://lipa.ms.mff.cuni.cz/~cunav5am/nix/texlive-2016/babel-russian.source.tar.xz

Technical details

vcunat commented 7 years ago

Was this somehow accepted/discussed upstream?

frigatefreedom commented 7 years ago

No, because I dont't have any idea, how to modify texlive, it looks more complicated than other packages.

vcunat commented 7 years ago

Please, simply write to the maintainer of the package, so that the improvements are shared by everyone (in time). His address is near the top of the readme file.

frigatefreedom commented 7 years ago

As I understood, maintainer do not want to fix sources.

vcunat commented 7 years ago

Hmm, well, at least there's that one-line workaround.