bugGNU TeXmacs - Bugs: bug #62424, Error in loading a bib file with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #62424: Error in loading a bib file with UTF-8 characters

Submitter:  Massimiliano Gubinelli <mgubi>
Submitted:  Sat 07 May 2022 04:08:17 PM UTC
   
 
Category:  Conversion Priority:  5 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Sat 07 May 2022 04:08:17 PM UTC, original submission:  

The attached bib file is not correctly converted to a TeXmacs tree by the 'parse-bib' scheme procedure.  It contains the problematic entry

@Article{Oikawa1960,
  author    = {K\F4taro Oikawa},
  title     = {Sario's Lemma on Harmonic Functions},
  journal   = {Proceedings of the American Mathematical Society},
  year      = {1960},
  volume    = {11},
  number    = {3},
  pages     = {425-428},
  owner     = {crow},
  timestamp = {2008.09.09},
}

As a result 'parse-bib' returns a tree which contains, for example as first entry

(bib-entry "article" "singular-diffusion" (document (bib-field "title" "Two Singular Diffusion Problems") (bib-field "author" "William Feller") (bib-field "journal" "The Annals of Mathematics") (bib-field "year" "1951") (bib-field "month" "jul") (bib-field "number" "1") (bib-field "pages" "173--182") (bib-field "volume" "54") (bib-field "copyright" "Copyright 1951 Annals of Mathematics") (bib-field "issn" "0003-486X") (bib-field "jstor_articletype" "Full Length Article") (bib-field "jstor_date" "195107") (bib-field "jstor_formatteddate" "Jul., 1951") (bib-field "language" "EN") (bib-field "publisher" "Annals of Mathematics") (bib-field "series" "2") (bib-field "url" "http://links.jstor.org/sici?sici=0003-486X%28195107%292%3A54%3A1%3C173%3ATSDP%3E2.0.CO%3B2-B")))


while the expected result is

(bib-entry "article" "singular-diffusion" (document (bib-field "title" "Two Singular Diffusion Problems") (bib-field "author" (bib-names (bib-name "William" "" "Feller" ""))) (bib-field "journal" "The Annals of Mathematics") (bib-field "year" "1951") (bib-field "month" "jul") (bib-field "number" "1") (bib-field "pages" (bib-pages "173" "182")) (bib-field "volume" "54") (bib-field "copyright" "Copyright 1951 Annals of Mathematics") (bib-field "issn" "0003-486X") (bib-field "jstor_articletype" "Full Length Article") (bib-field "jstor_date" "195107") (bib-field "jstor_formatteddate" "Jul., 1951") (bib-field "language" "EN") (bib-field "publisher" "Annals of Mathematics") (bib-field "series" "2") (bib-field "url" (slink "http://links.jstor.org/sici?sici=0003-486X%28195107%292%3A54%3A1%3C173%3ATSDP%3E2.0.CO%3B2-B"))))

See the "author" field. As result the compiled bibliography lacks author names, since the function 'bib-format-author' cannot deal with the unexpected presence of the string

(bib-field "author" "William Feller")

 instead of

(bib-field "author" (bib-names (bib-name "William" "" "Feller" ""))

I haven't yet investigated why this happens. Probably we should either fail only in the wrong entry and not mangle all the others.




Massimiliano Gubinelli <mgubi>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #53181:  references.bib added by mgubi (147KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mgubi (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-07 mgubi Attached File- Added references.bib, #53181

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code