bugeLyXer - Bugs: bug #31345, @comment, @string and @preamble in...


bug #31345: @comment, @string and @preamble in bibliography considered as entries

Submitted by:  Jose Ramon Alvarez-Sanchez <jras>
Submitted on:  Sat Oct 16 02:07:39 2010  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Alex Fernandez <alexfernandez>
Open/Closed: Closed

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Thu Oct 28 20:34:10 2010, comment #3:

You are welcome! Closing.

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Thu Oct 28 07:52:32 2010, comment #2:

Yes, perfect. All issues in this bug work ok now with git version.

Jose Ramon Alvarez-Sanchez <jras>
Wed Oct 27 23:05:20 2010, comment #1:


All issues should be solved now in git. Remarks:

1. @comment, @string and @preamble should be ignored even when "print all entries" is selected. They are treated as special entries in the .bib file.

2. Double quotes are now correctly understood in special entries.

3. Abbreviations are understood and used, both in # concatenations and standalone.

I am sure many corner cases remain, but it should now work much better.

Alex Fernandez <alexfernandez>
Project AdministratorIn charge of this item.
Sat Oct 16 02:07:39 2010, original submission:

Some related problems with bibliography in .bib files:

1. The "@comment{}", "@string{}" and "@preamble{}" special entries (case insensitive) should be ignored (not rendered) when the bibliography is in "print all entries" mode, but they appear (usually as empty entries). Other comments outside entries are correctly ignored.

2. If a double quote character is included in a "@preamble{}" or in a "@comment{}" entry, then eLyXer enters an infinite loop displaying message "* Undesired character in tag name : *...".

3. Abbreviations defined in "@string{}" entries are ignored when used in concatenation of strings by the # character. See examples of use in http://www.bibtex.org/Format/ The abbreviations could be used also as the only content of a field (without concatenation).

A test .bib file is attached to test first and last cases (insert it in "print all" mode). To test second case, just edit the file and insert a double quote inside the @preamble entry.

Jose Ramon Alvarez-Sanchez <jras>


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

Attach File(s):

Attached Files
file #21687:  testcmt.bib added by jras (497B - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by alexfernandez (Updated the item)
  • -unavailable- added by jras (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu Oct 28 20:34:10 2010alexfernandezStatusReady For Test=>Fixed
    Wed Oct 27 23:05:20 2010alexfernandezStatusConfirmed=>Ready For Test
    Wed Oct 27 00:47:49 2010alexfernandezStatusIn Progress=>Confirmed
    Sat Oct 16 15:06:07 2010alexfernandezStatusNone=>In Progress
      Assigned toNone=>alexfernandez
    Sat Oct 16 02:07:39 2010jrasAttached File-=>Added testcmt.bib, #21687

    Back to the top

    Powered by Savane 3.1-cleanup1