ebib icon indicating copy to clipboard operation
ebib copied to clipboard

entry with double braces

Open datafux opened this issue 9 years ago • 3 comments

Hi Joost,

I need to put an author field entry for an institution in braces so it is recognized as one "block" and not as first and last name. ebib omits braces (which is okay in most of the cases). is there a way to force it so that my bibtex entry is saved as {{Test Instituition}} instead of {Test Institution} ?

Thanks Michael

datafux avatar Oct 16 '16 11:10 datafux

Unfortunately, this is not possible right now. Which should be considered a bug, I'd say. I'll have to think about how to go about fixing this, at first sight it doesn't look trivial.

As a work-around, you could add an extra space outside the braces, either as (without the double quotes):

" {Test Institution}"

or

"{Test Institution} "

That keeps Ebib from treating the braces as value-delimiters. When compiling your document, the extra space should be ignored.

I'll try and come up with a better fix, but that may take some time.

joostkremers avatar Oct 17 '16 00:10 joostkremers

Thanks for the trick. This works fine for me.

datafux avatar Oct 18 '16 19:10 datafux

I'm glad that at least works for you. I will keep the issue open, though, because I do think there is a bug to fix here. Thanks for reporting this to me.

joostkremers avatar Oct 19 '16 11:10 joostkremers