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

The reformat code introduce errors in bib files #1027

Closed
dhmoclex opened this issue Oct 7, 2019 · 1 comment · Fixed by #1169
Closed

The reformat code introduce errors in bib files #1027

dhmoclex opened this issue Oct 7, 2019 · 1 comment · Fixed by #1169
Assignees
Labels
bug Deficiencies in TeXiFy behaviour.
Milestone

Comments

@dhmoclex
Copy link

dhmoclex commented Oct 7, 2019

Actions to reproduce

  1. Create a .bib file with content :
@book{DBLP.books.daglib.0076726,
    author = {Peter H. Salus},
    title = {A quarter century of {UNIX}},
    publisher = {Addison-Wesley},
    year = {1994},
    isbn = {978-0-201-54777-1},
    timestamp = {Fri, 29 Apr 2011 18:24:06 +0200},
    biburl = {https://dblp.org/rec/bib/books/daglib/0076726},
    bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP.conf.icse.NewmanFSFFW15,
    author = {Peter Newman and
 Maria Angela Ferrario and
 William Simm and
 Stephen Forshaw and
 Adrian Friday and
 Jon Whittle},
    title = {The Role of Design Thinking and Physical Prototyping in Social Software
 Engineering},
    booktitle = {37th {IEEE/ACM} International Conference on Software Engineering,
 {ICSE} 2015, Florence, Italy, May 16-24, 2015, Volume 2},
    pages = {487--496},
    year = {2015},
    crossref = {DBLP.conf.icse.2015-2},
    url = {https://doi.org/10.1109/ICSE.2015.181},
    doi = {10.1109/ICSE.2015.181},
    timestamp = {Tue, 23 May 2017 01:11:38 +0200},
    biburl = {https://dblp.org/rec/bib/conf/icse/NewmanFSFFW15},
    bibsource = {dblp computer science bibliography, https://dblp.org}
}
  1. Reformat code (with Ctrl+Alt+L for example).

Expected result
Nothing change.

Actual result
The code is updated :

@book{DBLP.books.daglib.0076726,
    author = {Peter H. Salus},
    title = {A quarter century of { UNIX }},
    publisher = {Addison-Wesley},
    year = {1994},
    isbn = {978-0-201-54777-1},
    timestamp = {Fri, 29 Apr 2011 18:24:06 +0200},
    biburl = {https://dblp.org/rec/bib/books/daglib/0076726},
    bibsource = {dblp computer science bibliography, https://dblp.org}
}
@inproceedings{DBLP.conf.icse.NewmanFSFFW15,
    author = {Peter Newman and
 Maria Angela Ferrario and
 William Simm and
 Stephen Forshaw and
 Adrian Friday and
 Jon Whittle},
    title = {The Role of Design Thinking and Physical Prototyping in Social Software
 Engineering},
    booktitle = {37th { IEEE/ACM } International Conference on Software Engineering,
 { ICSE } 2015, Florence, Italy, May 16-24, 2015, Volume 2},
    pages = {487--496},
    year = {2015},
    crossref = {DBLP.conf.icse.2015-2},
    url = {https://doi.org/10.1109/ICSE.2015.181},
    doi = {10.1109/ICSE.2015.181},
    timestamp = {Tue, 23 May 2017 01:11:38 +0200},
    biburl = {https://dblp.org/rec/bib/conf/icse/NewmanFSFFW15},
    bibsource = {dblp computer science bibliography, https://dblp.org}
}

Notice how spaces have been inserted around IEEE/ACM in the booktitle, these spaces are visible in the pdf.

It appears also for value such as author = {Johansson, Ulf and Niklasson, Lars and K{\"o}nig, Rikard} which is problematic.

Great job and thanks by the way !
Sébastien.

@PHPirates
Copy link
Collaborator

Oh that's not good, this might be default behaviour of IJ, we should change that. Thanks for the report!

@PHPirates PHPirates added the bug Deficiencies in TeXiFy behaviour. label Oct 7, 2019
@slideclimb slideclimb self-assigned this Jan 7, 2020
This was referenced Jan 8, 2020
@PHPirates PHPirates added this to the b0.6.8 milestone Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Deficiencies in TeXiFy behaviour.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants