0

I have made my BIB file and I am compiling my project using BIBTEX on TeXStudio. In my particular case, I get an error when the reference entry has the month in the following format:

month = jan,

It should be month = {jan},

I tried searching using regular expressions and can succesfully find my targets but then i dont know how to replace (or add the {mmm}) to my search results. I am searching using the following expression: = \w{3}, which guarantees finding any month acronym and not a three letter word such as surname (Lee, Han, etc)

Is there a way to send the search result as an argument to the Replace box and I can just add the {} around it? instead of looking for each month manually and do the replacing one by one.

Thanks in advance for any help. Cheers!

Tranbi
  • 11,407
  • 6
  • 16
  • 33

1 Answers1

0

Braces are wrong! Don't add them!

With bibtex, you should either write month = jan or month = {1}.

For more information https://tex.stackexchange.com/a/386058/36296

  • Hey thanks a lot for pointing out that. I will see to it. I am exporting my references from Zotero using betterBibtex and that's how it does it. I assumed it was the right way. However I have to give the benefit of the doubt to my university's template since it's not exactly clean and free of errors – Pipintonix Nov 11 '21 at 13:12
  • However, I'd still love to know how can I do what I was asking in the first place – Pipintonix Nov 12 '21 at 01:42