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

BibTex string parser changes string content. #22

Closed
LazyScholar opened this issue Jul 2, 2021 · 0 comments
Closed

BibTex string parser changes string content. #22

LazyScholar opened this issue Jul 2, 2021 · 0 comments

Comments

@LazyScholar
Copy link
Contributor

LazyScholar commented Jul 2, 2021

Parsing BibTex authors fields changes the parsed text sometimes.

E.g.:

@Article{2015Nguyen,
  author    = {Vinh Phu Nguyen and Cosmin Anitescu and St{\'{e}}phane P.A. Bordas and Timon Rabczuk},
  journal   = {Mathematics and Computers in Simulation},
  title     = {Isogeometric analysis: An overview and computer implementation aspects},
  year      = {2015},
  month     = {nov},
  pages     = {89--116},
  volume    = {117},
  doi       = {10.1016/j.matcom.2015.05.008},
  publisher = {Elsevier {BV}},
}

will result in the strings of the authors mutated to:

julia> test["2015Nguyen"].authors
4-element Vector{BibInternal.Name}:
 BibInternal.Name("", "Nguyen", "", "Vinh", " Phu")
 BibInternal.Name("", "Anitescu", "", "Cosmin", "")
 BibInternal.Name("", "Bordas", "", "St\\'{e}}}phane", " P.A.")
 BibInternal.Name("", "Rabczuk", "", "Timon", "")

I had not yet the opportunity to determine the location of the mutation.
The unbalanced curly braces make the string cleaning quite difficult.


Related to ali-ramadhan/DocumenterCitations.jl#11 & Humans-of-Julia/Bibliography.jl#9


Unrelated to the issue: How do you plan to bring in CSL support?
I had a look at it and there are already some non Julia projects.
Do you aim for a Julia-only implementation?
Will you create a own repository for the CSL module (as it will be a quite big task) or do you plan to implement only a subset here in BibParser.jl?


I kinda would try to implement CSL in a own repository as i am job hunting and it would be a good portfolio project .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant