Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually protecting text case by "Add {} around selected text" doesn't work #3673

Closed
1 task done
anassal opened this issue Jan 29, 2018 · 4 comments
Closed
1 task done
Labels
entry-editor status: waiting-for-feedback The submitter or other users need to provide more information about the issue ui

Comments

@anassal
Copy link

anassal commented Jan 29, 2018

On:

JabRef 4.1 Windows 8.1 6.3 x86 Java 1.8.0_151
JabRef 4.2-dev Windows 8.1 6.3 x86 Java 1.8.0_151

Steps to reproduce:

  1. Open entry editor
  2. Right click on a field (e.g., title)
  3. Select a text to protect its case, e.g., IEEE.
  4. Right click --> protect items --> Add {} around selected text
  5. Sometimes, {} appear for a moment around the selected text before quickly disappear.
@tobiasdiez tobiasdiez added bug Confirmed bugs or reports that are very likely to be bugs ui bib(la)tex entry-editor and removed bib(la)tex labels Jan 29, 2018
@Siedlerchr
Copy link
Member

Win10 works for me in the latest master. But could be related to that space character problem #3471

@stefan-kolb
Copy link
Member

Thank you for your report 👍
However, I cannot reproduce this behavior on the current master. Can you please try the latest build from http://builds.jabref.org/master.

@stefan-kolb stefan-kolb added status: waiting-for-feedback The submitter or other users need to provide more information about the issue and removed bug Confirmed bugs or reports that are very likely to be bugs labels Feb 6, 2018
@anassal
Copy link
Author

anassal commented Feb 6, 2018

Update: The problem occurred only when the library is saved (automatically in my case) and was because of the all-text-fields[latex_to_unicode] saveAction.

@Comment{jabref-meta: saveActions:enabled;
  all-text-fields[latex_to_unicode]
;} 

Is this the expected/intended behaviour of this saveAction?

@lenhard
Copy link
Member

lenhard commented Feb 6, 2018

@anassal Yes, this is the expected behavior of the safe action. Curly braces are special characters in LaTeX, so they will be removed when LaTeX is converted to Unicode.

If you want to keep the braces in your fields, then you should not apply this save action.

Since we have clarified this, I am closing the issue.

@lenhard lenhard closed this as completed Feb 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
entry-editor status: waiting-for-feedback The submitter or other users need to provide more information about the issue ui
Projects
None yet
Development

No branches or pull requests

5 participants