bibtex icon indicating copy to clipboard operation
bibtex copied to clipboard

prettybib does not print strings with \url{} correctly

Open nickng opened this issue 8 years ago • 0 comments

Input bibtex

@article{abcd,
    title  = "Title",
    author = "Doe, John",
    howpublished = {\url{http://example.com/}},
    notes = "\url{https://google.com/}",
}

Output bibtex

@article{abcd,
  title        = "Title",
  author       = "Doe, John",
  howpublished = {\url{http://example.com/}},
  notes        = "\urlhttps://google.com/",
}

The {} of the url macro should not be removed in the notes field. It should either be converted to a {} quote or kept as a special case for "" quote.

nickng avatar Sep 05 '17 18:09 nickng