Bug#310923: tetex-base: Romanian (ro) support
Hi Hilmar, n data de Mi, 08-06-2005 la 21:51 +0200, Hilmar Preusse a scris: I've forwarded your report to the LaTeX BTS. The patch looks OK, thanks a lot! Cheers, -dan
Bug#310923: tetex-base: Romanian (ro) support
On 27.05.05 Dan Damian ([EMAIL PROTECTED]) wrote: Hi Dan, I've noticed diacritics are not allowed, so I attached a new patch that escapes them. Unfortunately I don't have enough LaTeX knowledge to write some test cases, so it's mostly guesswork... Thanks for your bug report! I've created a diff for the most recent varioref.dtx form CTAN^1 out of your patch and forwarded that to upstream. I'm attaching it here for reference. Would you be so kind to have a short look if it is correct? Regards, Hilmar ^1 http://dante.ctan.org/CTAN/macros/latex/required/tools/varioref.dtx -- sigmentation fault --- varioref-orig.dtx 2005-06-08 09:46:17.7 +0200 +++ varioref.dtx2005-06-08 09:50:03.85625 +0200 @@ -1078,17 +1078,16 @@ \def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}% }} \DeclareOption{romanian} - [EMAIL PROTECTED] - [EMAIL PROTECTED] -\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}{previous} page}% -\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}}% + [EMAIL PROTECTED] +\def\reftextfaceafter {pe pagina \reftextvario{opus\u{a}}{urm\u{a}toarei}}% +\def\reftextfacebefore{pe pagina \reftextvario{opus\u{a}}{precedentei}}% +\def\reftextafter {pe pagina \reftextvario{dup\u{a}}{urm\u{a}toarea}}% +\def\reftextbefore{pe pagina \reftextvario{dinaintea}{ + precedentei}}% +\def\reftextcurrent {pe aceast\u{a} pagin\u{a}}% +\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}}% }} %\end{macrocode} %The text for russian was taken from the book in Russian by
Bug#310923: tetex-base: Romanian (ro) support
forwarded 310923 http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=tools%2F3790 stop On 27.05.05 Dan Damian ([EMAIL PROTECTED]) wrote: Hi, As a follow-up to debiandoc-sgml bug #310885, I'm attaching a patch that adds support for Romanian locale to varioref.sty. I've forwarded your report to the LaTeX BTS. Regards, Hilmar -- sigmentation fault -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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.42ubuntu4Debian configuration management sy ii debianutils 2.11.2 Miscellaneous utilities specific t ii dpkg1.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 libkpathsea32.0.2-25 path search library for teTeX (run ii libpaper1 1.1.14ubuntu7Library 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-66.8.2-10 X Window System protocol client li ii libxaw7 6.8.2-10 X Athena widget set library ii libxext66.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-support3.29-1 MIME files 'mime.types' 'mailcap ii perl5.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.27ubuntu1Package maintenance system for Deb ii gsfonts8.14+v8.11+urw-0.1ubuntu1 Fonts for the Ghostscript interpre ii tetex-bin 2.0.2-25 The teTeX binary files ii ucf1.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.0 +0300 +++ tetex-base-2.0.2c.new/texmf/tex/latex/tools/varioref.sty2005-05-27 02:04:08.0 +0300 @@ -422,18 +422,16 @@ \def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}% }} \DeclareOption{romanian} - [EMAIL PROTECTED] - [EMAIL PROTECTED] -\def\reftextfaceafter {on the \reftextvario{facing}{next} page}% -
Bug#310923: tetex-base: Romanian (ro) support
I've noticed diacritics are not allowed, so I attached a new patch that escapes them. Unfortunately I don't have enough LaTeX knowledge to write some test cases, so it's mostly guesswork... Thanks, -dan 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.0 +0300 +++ tetex-base-2.0.2c.new/texmf/tex/latex/tools/varioref.sty 2005-05-27 02:55:22.278485376 +0300 @@ -422,18 +422,16 @@ \def\reftextlabelrange#1#2{\ref{#1} a~\ref{#2}}% }} \DeclareOption{romanian} - [EMAIL PROTECTED] - [EMAIL PROTECTED] -\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}}% + [EMAIL PROTECTED] +\def\reftextfaceafter {pe pagina \reftextvario{opus\u{a}}{urm\u{a}toarei}}% +\def\reftextfacebefore{pe pagina \reftextvario{opus\u{a}}{precedentei}}% +\def\reftextafter {pe pagina \reftextvario{dup\u{a}}{urm\u{a}toarea}}% +\def\reftextbefore{pe pagina \reftextvario{dinaintea}{ + precedentei}}% +\def\reftextcurrent {pe aceast\u{a} pagin\u{a}}% +\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} [EMAIL PROTECTED]