# JabRef 5.6 #word#

**URL:** <https://discourse.jabref.org/t/jabref-5-6-word/3451>\
**Category:** Help\
**Created:** [July 26, 2022, 4:18pm UTC](https://discourse.jabref.org/t/jabref-5-6-word/3451 "2022-07-26T16:18:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbaudais](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jbaudais](https://discourse.jabref.org/u/jbaudais)\
**Post date:** [July 26, 2022, 4:18pm UTC](https://discourse.jabref.org/t/jabref-5-6-word/3451/1 "2022-07-26T16:18:08Z")

</div>

Hi,

I used JabRef 2.9 and jumped to JabRef 5.6. Wow, it not the save tool! Anyway, it remains one thing I cannot solve alone: I have many fields in my BiBTex file

```auto
field = #word#,

```

where the BiBTex strings is defined in a macro.bib file (called by the \bibliography LaTeX command). The problem is JabRef replaces (I do not test all the entries yet, but it seems to be ok with month, journal and conference)

```auto
school = #word#,

```

by

```auto
school = {#word#},

```

and of course the BiBTeX file is corrupted for bibtex. How can I solve this?

Many thanks,  
Jean-Yves

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [July 26, 2022, 5:55pm UTC](https://discourse.jabref.org/t/jabref-5-6-word/3451/2 "2022-07-26T17:55:22Z")

</div>

Normal Syntax would be:

`school = {word},`

I would suggest to select all your entries and use `èdit > find an replace (CTRL + R)` to find `{#` and replace the characters with `{` and to find `#}` and replace with `}`

It is known that upgrading from such an old version to JabRef 5.x causes some problems and users need to work around it. For this reason, I would suggest to definitely start with a fresh configuration of JabRef (= do a reset of the configuration via `options > preferences > ...`) and create a **backup of your library files** before trying to use them with the newer JabRef version.

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [July 26, 2022, 5:58pm UTC](https://discourse.jabref.org/t/jabref-5-6-word/3451/3 "2022-07-26T17:58:57Z")

</div>

Would be delighted to know how you fared Jean-Yves 🙂

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [July 26, 2022, 6:13pm UTC](https://discourse.jabref.org/t/jabref-5-6-word/3451/4 "2022-07-26T18:13:13Z")

</div>

Btw. using `#word#` can have its uses. This syntax makes use of a very specific JabRef feature called “string constants”. See [The string editor - JabRef](https://docs.jabref.org/setup/stringeditor) and [https://docs.jabref.org/advanced/strings](https://docs.jabref.org/advanced/strings) for how to use strings constants. Probably not what is needed here, though 🙂

Edit: Or is this the feature you wanted to use? Sorry. If so, yes then JabRef replacing all the strings with something else is a challenge of course 😕

---

<div class="post-metadata">

**Author:** ![jbaudais](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@jbaudais](https://discourse.jabref.org/u/jbaudais)\
**Post date:** [July 27, 2022, 8:06am UTC](https://discourse.jabref.org/t/jabref-5-6-word/3451/5 "2022-07-27T08:06:11Z")

</div>

Hi, my vocabulary was wrong: I was #string#. So

1. I added “school” in Options/Preferences/File/“Resolve BiBTeX strings for the following fields”
2. I can’t used find and replace because it’s not inside a field (I can’t remove { or }), so using regular expression with shell command I removed all {# and #} in my bib files  
and it works now.  
Thanks,
