openjournals / openjournals/joss

Special characters in names of authors and Bibtex export

Open
#1,069 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement:author enhancement:meta enhancement:reader
Dominant language
Ruby
Stars
1.9k
Forks
216
Avg merge
30m
Merged PRs (30d)
6

Description

Steps to reproduce

Clicking copy bibtex from https://joss.theoj.org/papers/10.21105/joss.03061# provides:

@article{Jaud2022,
  doi = {10.21105/joss.03061},
  url = {https://doi.org/10.21105/joss.03061},
  year = {2022},
  publisher = {The Open Journal},
  volume = {7},
  number = {72},
  pages = {3061},
  author = {Jaud, Štefan and Hecht, Helge and Schlenger, Jonas and Amann, Julian},
  % author = {Štefan Jaud and Helge Hecht and Jonas Schlenger and Julian Amann}, <-- originally copied
  title = {TUM Open Infra Platform: an open source package for simultaneous viewing and analysis of digital models in the civil engineering domain},
  journal = {Journal of Open Source Software}
}

(I've changed the order of first and last names from the original, so that BibTeX correctly shortens first names.)

When compiling, this produces an error

LaTeX Error: Invalid UTF-8 byte sequence (.). [.]

with

Å.~Jaud, H.~Hecht, J.~Schlenger, and J.~Amann.

being the corresponding line in the .bbl file.

Problem

Notice the Š in the authors list, first author. A LaTeX style syntax that works, is \v{S}.

I have no idea how to approach such scenarios:

  • is there a simple setting I'm missing in my LaTeX projects? (preferable)
  • does JOSS need a different approach with this?

Related: https://github.com/openjournals/openjournals-draft-action/issues/12

Workaround

My current solution is to simply exchange the character with the correct syntax, However, no manual work would be preferable.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem using the “copy bibtex” output for the paper at the URL in the issue, then compare it with the LaTeX compilation error and the related draft-action issue. Done means BibTeX output containing characters such as Š compiles successfully without manual replacement.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.