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

Bug#506689: marked as forwarded (texlive-lang-cyrillic: gost71u BibTeX style is not fully compatible with UTF-8)



Your message dated Wed, 28 Jan 2009 10:27:03 +0100
with message-id <20090128092703.GA2676@PC23>
has caused the   report #506689,
regarding texlive-lang-cyrillic: gost71u BibTeX style is not fully compatible with UTF-8
to be marked as having been forwarded to the upstream software
author(s) 

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
506689: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506689
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Dear Maksym,

http://bugs.debian.org/506689

down here in the Debian Bug Tracking System we got a bug report
saying that the gost71u BibTeX style is not fully compatible with
UTF-8. The submitter provided a partial patch, today we got another
patch which is said to fix all files. Attached is the submission
E-Mail and the complete patch. Please consider to include it in the
package.

Thanks,
  Hilmar
-- 
sigmentation fault
--- Begin Message ---
Package: texlive-lang-cyrillic
Version: 2007.dfsg.3-3
Severity: normal

The package provides BibTeX files gost71s.bst, gost71u.bst,
gost780s.bst, gost780u.bst. They implement GOST (Russian state
standard) for bibliographic data. The use of GOST is required by
Russian academical publishers.

Unfortunately, these style files do not fully support UTF-8
encoding. The problem with gost71u.bst file is solved by the following
patch (suggested at
http://mydebianblog.blogspot.com/2008/06/bibtex.html):

--- gost71u.bst 2006-01-09 06:33:43.000000000 +0600
+++ gost71u-utf8.bst 2008-08-03 16:34:40.000000000 +0700
@@ -525,7 +525,7 @@
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr
- "{vv~}{ll}{~jj}{~f.}" format.name$ 't :=
+ "{vv~}{ll}{~jj}{~ff}" format.name$ 't :=
nameptr #1 >
{
nameptr #4 =
@@ -562,12 +562,12 @@
numnames 'namesleft :=
{ namesleft #0 > }
{ s nameptr
- "{f.}{~vv}{~ll}{, jj}"
+ "{ff}{~vv}{~ll}{, jj}"
format.name$ 't :=
nameptr #1 >
{
nameptr #4 =

I'm not a LaTeX expert yet so please be patient. The other gost*.bst
files are probably affected by the bug as well.

I'm ready to provide any additional info,
Andrey

-- Package-specific info:
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

\documentclass{article}

\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[russian]{babel}

\begin{document}

Как показано в \cite{Testman}...

\bibliography{gost71u-test}{}
\bibliographystyle{gost71u}

\end{document}

##################################
other files

gost71u-test.bib:

@BOOK{Testman,
 author =       "Тестман, А. Б.",
 title =        "Методы тестирования",
 address =      "М.",
 publisher =    "Тестиздат",
 year =         2008,
 language =     "russian"
}

######################################
 List of ls-R files

-rw-r--r-- 1 root root 864 Ноя 17 09:37 /var/lib/texmf/ls-R
-rw-rw-r-- 1 root staff 79 Ноя 15 15:33 /usr/local/share/texmf/ls-R
lrwxrwxrwx 1 root root 29 Ноя 20 22:22 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 Ноя 15 15:12 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 Ноя 15 15:12 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 Ноя 20 22:22 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 5353 Ноя 20 22:24 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 10664 Ноя 20 22:24 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 4805 Ноя 20 22:24 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
итого 4
-rw-r--r-- 1 root root 283 Июл 28 02:53 mktex.cnf
######################################
 md5sums of texmf.d
42c20d7e8bd343542772b5a145bf8ad8  /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1  /etc/texmf/texmf.d/15Plain.cnf
f68e5add6afd6585b982f2f78e2e6a92  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf
37329819f1109e8a457e64b8b58fecdb  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (1000, 'testing'), (200, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-lang-cyrillic depends on:
ii  texlive-base               2007.dfsg.1-4 TeX Live: Essential programs and f
ii  texlive-common             2007.dfsg.1-4 TeX Live: Base component

Versions of packages texlive-lang-cyrillic recommends:
ii  texlive-latex-base         2007.dfsg.1-4 TeX Live: Basic LaTeX packages

Versions of packages texlive-lang-cyrillic suggests:
ii  scalable-cyrfonts-tex         4.12+nmu1  Scalable Cyrillic fonts for TeX

Versions of packages tex-common depends on:
ii  debconf                       1.5.24     Debian configuration management sy
ii  ucf                           3.0010     Update Configuration File: preserv

Versions of packages texlive-lang-cyrillic is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)
ii  tex-common                    1.11.3     common infrastructure for building

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:

--- End Message ---
diff -u -urN /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost71s.bst /usr/share/texmf-texlive/bibtex/bst/gost/gost71s.bst
--- /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost71s.bst	2006-01-09 03:33:43.000000000 +0300
+++ /usr/share/texmf-texlive/bibtex/bst/gost/gost71s.bst	2009-01-27 19:44:19.000000000 +0300
@@ -525,7 +525,7 @@
   numnames 'namesleft :=
     { namesleft #0 > }
     { s nameptr
-      "{vv~}{ll}{~jj}{~f.}" format.name$ 't :=
+      "{vv~}{ll}{~jj}{~ff}" format.name$ 't :=
       nameptr #1 >
         {
           nameptr #4 =
@@ -562,7 +562,7 @@
   numnames 'namesleft :=
     { namesleft #0 > }
     { s nameptr
-      "{f.}{~vv}{~ll}{, jj}"
+      "{ff}{~vv}{~ll}{, jj}"
       format.name$ 't :=
       nameptr #1 >
         {
diff -u -urN /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost71u.bst /usr/share/texmf-texlive/bibtex/bst/gost/gost71u.bst
--- /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost71u.bst	2006-01-09 03:33:43.000000000 +0300
+++ /usr/share/texmf-texlive/bibtex/bst/gost/gost71u.bst	2009-01-27 19:44:19.000000000 +0300
@@ -525,7 +525,7 @@
   numnames 'namesleft :=
     { namesleft #0 > }
     { s nameptr
-      "{vv~}{ll}{~jj}{~f.}" format.name$ 't :=
+      "{vv~}{ll}{~jj}{~ff}" format.name$ 't :=
       nameptr #1 >
         {
           nameptr #4 =
@@ -562,7 +562,7 @@
   numnames 'namesleft :=
     { namesleft #0 > }
     { s nameptr
-      "{f.}{~vv}{~ll}{, jj}"
+      "{ff}{~vv}{~ll}{, jj}"
       format.name$ 't :=
       nameptr #1 >
         {
diff -u -urN /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost780s.bst /usr/share/texmf-texlive/bibtex/bst/gost/gost780s.bst
--- /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost780s.bst	2006-01-09 03:33:43.000000000 +0300
+++ /usr/share/texmf-texlive/bibtex/bst/gost/gost780s.bst	2009-01-27 19:44:19.000000000 +0300
@@ -520,7 +520,7 @@
 
 FUNCTION {format.names}
 {
-  #1 "{vv~}{ll}{~jj}{,~f.}" format.name$
+  #1 "{vv~}{ll}{~jj}{,~ff}" format.name$
 }
 
 
@@ -531,7 +531,7 @@
   numnames 'namesleft :=
     { namesleft #0 > }
     { s nameptr
-      "{f.}{~vv}{~ll}{, jj}"
+      "{ff}{~vv}{~ll}{, jj}"
       format.name$ 't :=
       nameptr #1 >
         {
diff -u -urN /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost780u.bst /usr/share/texmf-texlive/bibtex/bst/gost/gost780u.bst
--- /usr/share/texmf-texlive/bibtex/bst/gost.orig/gost780u.bst	2006-01-09 03:33:43.000000000 +0300
+++ /usr/share/texmf-texlive/bibtex/bst/gost/gost780u.bst	2009-01-27 19:44:19.000000000 +0300
@@ -520,7 +520,7 @@
 
 FUNCTION {format.names}
 {
-  #1 "{vv~}{ll}{~jj}{,~f.}" format.name$
+  #1 "{vv~}{ll}{~jj}{,~ff}" format.name$
 }
 
 
@@ -531,7 +531,7 @@
   numnames 'namesleft :=
     { namesleft #0 > }
     { s nameptr
-      "{f.}{~vv}{~ll}{, jj}"
+      "{ff}{~vv}{~ll}{, jj}"
       format.name$ 't :=
       nameptr #1 >
         {

--- End Message ---

Reply to: