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 16 Oct 2010 02:07:39 AM UTC  
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Alex Fernandez <alexfernandez>
Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

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


Thu 28 Oct 2010 08:34:10 PM UTC, comment #3:

You are welcome! Closing.

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

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

Jose Ramon Alvarez-Sanchez <jras>
Wed 27 Oct 2010 11:05:20 PM UTC, 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 16 Oct 2010 02:07:39 AM UTC, 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 Files:

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
  • -email is unavailable- added by alexfernandez (Updated the item)
  • -email is unavailable- added by jras (Submitted the item)

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

    Only logged-in users can vote.




    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-10-28 alexfernandez StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2010-10-27 alexfernandez StatusConfirmed => Ready For Test
    2010-10-27 alexfernandez StatusIn Progress => Confirmed
    2010-10-16 alexfernandez StatusNone => In Progress
        Assigned toNone => alexfernandez
    2010-10-16 jras Attached File- => Added testcmt.bib, #21687

    Back to the top

    Powered by Savane 3.3