Skip to content

Spurious spaces inserted with curly braces #12

@simonbyrne

Description

@simonbyrne

This suffers the same problem as Humans-of-Julia/BibParser.jl#5 (which is not surprising, as BibParser.jl uses the same code):

julia> using BibTeX

julia> bibtex = """@article{Heun1900,
          title = {Neue Methoden zur approximativen Integration der
          Differentialgleichungen einer unabh\\\"{a}ngigen Ver\\\"{a}nderlichen},
          author = {Heun, Karl},
          journal = {Z. Math. Phys},
          volume = {45},
          pages = {23--38},
          year = {1900},
       }""";

julia> preamble, result = parse_bibtex(bibtex)
("", Dict("Heun1900" => Dict("volume" => "45","author" => "Heun , Karl","pages" => "23--38","journal" => "Z. Math. Phys","year" => "1900","title" => "Neue Methoden zur approximativen Integration der Differentialgleichungen einer unabh\\ \" { a } ngigen Ver\\ \" { a } nderlichen","type" => "article")))

julia> result["Heun1900"]["title"]
"Neue Methoden zur approximativen Integration der Differentialgleichungen einer unabh\\ \" { a } ngigen Ver\\ \" { a } nderlichen"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions