Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Tilde (~) gets converted into space by Whedon when producing Crossref outputs #122

Open
arfon opened this issue Nov 16, 2020 · 1 comment
Labels

Comments

@arfon
Copy link
Member

arfon commented Nov 16, 2020

It looks like ~ in reference URLs are being converted into a space by Whedon. See this Crossref output as an example: https://github.com/openjournals/joss-papers/blob/866dc2bbc88446006e7864331834b7514cda1b17/joss.02685/10.21105.joss.02685.crossref.xml#L104

/ cx openjournals/joss-reviews#2685

@xuanxu
Copy link
Member

xuanxu commented Nov 16, 2020

Note: this is caused by the :latexfilter applied when opening/parsing the bibliography
https://github.com/openjournals/whedon/blob/master/lib/whedon/bibtex_parser.rb#L20

> require 'latex/decode'
 => true 
> LaTeX.decode "https://web.cs.ucdavis.edu/~matloff/matloff/public_html/156/PLN/DESimIntro.pdf"
 => "https://web.cs.ucdavis.edu/ matloff/matloff/public_html/156/PLN/DESimIntro.pdf" 

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

No branches or pull requests

2 participants