[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#310923: tetex-base: Romanian (ro) support



On 27.05.05 Dan Damian (dand@codemonkey.ro) 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.700000000 +0200
+++ varioref.dtx	2005-06-08 09:50:03.856250000 +0200
@@ -1078,17 +1078,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}{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}}%
+  {\vref@addto\extrasromanian{%
+    \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

Reply to: