Bug#310923: tetex-base: Romanian (ro) support
Package: tetex-base
Version: 2.0.2c-3
Severity: whishlist
Tags: patch l10n
Hello,
As a follow-up to debiandoc-sgml bug #310885, I'm attaching a patch
that adds support for Romanian locale to varioref.sty.
Thanks,
-dan
-- Package-specific info:
Please read and follow the instructions in the first lines below
the text: "-- Package-specific info:".
Thank you.
Press ENTER to continue
If you report an error when running one of the TeX-related binaries
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report. Don't forget to also include minimal examples of
other files that are needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!
If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at
http://www.latex-einfuehrung.de/mini-en.html (english)
or
http://www.latex-einfuehrung.de/mini.html (german)
##################################
minimal input file
##################################
other files
######################################
List of ls-R files
-rw-rw-r-- 1 root staff 91 2005-05-22 01:09 /usr/local/lib/texmf/ls-R
-rw-rw-r-- 1 root users 716 2005-05-26 07:36 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2005-05-22 00:56 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.10-5-686
Locale: LANG=ro_RO, LC_CTYPE=ro_RO (charmap=ISO-8859-2) (ignored: LC_ALL set to ro_RO)
Versions of packages tetex-base depends on:
ii debconf 1.4.42ubuntu4 Debian configuration management sy
ii dpkg 1.10.27ubuntu1 Package maintenance system for Deb
ii texinfo 4.7-2.2ubuntu1 Documentation system for on-line i
ii ucf 1.13 Update Configuration File: preserv
Versions of packages tetex-bin depends on:
ii debconf 1.4.42ubuntu4 Debian configuration management sy
ii debianutils 2.11.2 Miscellaneous utilities specific t
ii dpkg 1.10.27ubuntu1 Package maintenance system for Deb
ii ed 0.2-20 The classic unix line editor
ii libc6 2.3.2.ds1-20ubuntu13 GNU C Library: Shared libraries an
ii libgcc1 1:4.0-0pre6ubuntu7 GCC support library
ii libice6 6.8.2-10 Inter-Client Exchange library
ii libkpathsea3 2.0.2-25 path search library for teTeX (run
ii libpaper1 1.1.14ubuntu7 Library for handling paper charact
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libsm6 6.8.2-10 X Window System Session Management
ii libstdc++5 1:3.3.5-8ubuntu2 The GNU Standard C++ Library v3
ii libt1-5 5.0.2-3 Type 1 font rasterizer library - r
ii libwww-ssl0 5.4.0-9 The W3C-WWW library (SSL support)
ii libx11-6 6.8.2-10 X Window System protocol client li
ii libxaw7 6.8.2-10 X Athena widget set library
ii libxext6 6.8.2-10 X Window System miscellaneous exte
ii libxmu6 6.8.2-10 X Window System miscellaneous util
ii libxt6 6.8.2-10 X Toolkit Intrinsics
ii mime-support 3.29-1 MIME files 'mime.types' & 'mailcap
ii perl 5.8.4-6ubuntu1 Larry Wall's Practical Extraction
ii sed 4.1.2-8 The GNU sed stream editor
ii ucf 1.13 Update Configuration File: preserv
ii xlibs 6.8.2-10 X Window System client libraries m
ii zlib1g 1:1.2.2-4ubuntu1 compression library - runtime
Versions of packages tetex-extra depends on:
ii dpkg 1.10.27ubuntu1 Package maintenance system for Deb
ii gsfonts 8.14+v8.11+urw-0.1ubuntu1 Fonts for the Ghostscript interpre
ii tetex-bin 2.0.2-25 The teTeX binary files
ii ucf 1.13 Update Configuration File: preserv
-- debconf information excluded
diff -Nur tetex-base-2.0.2c.orig/texmf/tex/latex/tools/varioref.sty tetex-base-2.0.2c.new/texmf/tex/latex/tools/varioref.sty
--- tetex-base-2.0.2c.orig/texmf/tex/latex/tools/varioref.sty 2001-09-27 13:50:52.000000000 +0300
+++ tetex-base-2.0.2c.new/texmf/tex/latex/tools/varioref.sty 2005-05-27 02:04:08.000000000 +0300
@@ -422,18 +422,16 @@
\def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}%
}}
\DeclareOption{romanian}
- {\vref@excuse{romanian}%
- \vref@addto\extrasromanian{%
- \def\reftextfaceafter {on the \reftextvario{facing}{next} page}%
- \def\reftextfacebefore{on the \reftextvario{facing}{preceding}
- page}%
- \def\reftextafter {on the \reftextvario{following}{next} page}%
- \def\reftextbefore {on the \reftextvario{preceding page}{page
- before}}%
- \def\reftextcurrent {on \reftextvario{this}{the current} page}%
- \def\reftextfaraway#1{on page~\pageref{#1}}%
- \def\reftextpagerange#1#2{on pages~\pageref{#1}--\pageref{#2}}%
- \def\reftextlabelrange#1#2{\ref{#1} to~\ref{#2}}%
+ {\vref@addto\extrasromanian{%
+ \def\reftextfaceafter {pe pagina \reftextvario{opusã}{urmãtoarei}}%
+ \def\reftextfacebefore{pe pagina \reftextvario{opusã}{precedentei}}%
+ \def\reftextafter {pe pagina \reftextvario{dupã}{urmãtoarea}}%
+ \def\reftextbefore {pe pagina \reftextvario{dinaintea}{
+ precedentei}}%
+ \def\reftextcurrent {pe aceastã paginã}%
+ \def\reftextfaraway#1{pe pagina~\pageref{#1}}%
+ \def\reftextpagerange#1#2{pe paginile~\pageref{#1}--\pageref{#2}}%
+ \def\reftextlabelrange#1#2{\ref{#1} la~\ref{#2}}%
}}
\DeclareOption{russian}
{\vref@addto\extrasrussian{%
Reply to: