« first day (1548 days earlier)      last day (1882 days later) » 

12:23 PM
1
Q: MO links chopped in gmail pdf viewer

მამუკა ჯიბლაძეCurrently I am preparing the text for a paper (together with two coauthors) where we cite help from MO on two occasions. I am doing this using the cite button. It works correctly both in Acrobat and SumatraPDF, i. e. leads to the correct place when clicked from inside pdf. However when I do it in...

@მამუკაჯიბლაძე I have asked about this in TeX chatroom, but so far it's not clear to me what is the correct way to handle this.
in TeX, LaTeX and Friends, 1 hour ago, by Martin Sleziak
I wonder whether some people around to here would be able to say something to this post on Meta MathOverflow: MO links chopped in gmail pdf viewer.
in TeX, LaTeX and Friends, 1 hour ago, by David Carlisle
@MartinSleziak no idea with just that information, if you made a real example and posted as a question here someone could look into the generated pdf and se what the link annotation says.
in TeX, LaTeX and Friends, 34 mins ago, by Ulrike Fischer
@MartinSleziak that can't work. If you put simply URL: https://mathoverflow.net/q/313198 in a document, then it depends on the pdf viewer how the link is interpreted. The OP needs something like URL: \url{https://mathoverflow.net/q/313198} or should use biblatex and the url field. (and the document should load hyperref.)
We'll see whether there will be some further response in that room.
 
1:00 PM
in TeX, LaTeX and Friends, 43 mins ago, by Martin Sleziak
@UlrikeFischer So does it mean that the bibtex entry generated by the cite button on Stack Exchange sites in incorrect? Should it have something like eprint={\url{https://mathoverflow.net/q/313198}} instead of eprint={https://mathoverflow.net/q/313198}?
in TeX, LaTeX and Friends, 41 mins ago, by Ulrike Fischer
@MartinSleziak depends on if you use biblatex or not. With biblatex the first is wrong and the second okay, without biblatex it depends on the bib-style.
in TeX, LaTeX and Friends, 39 mins ago, by Martin Sleziak
So what is actually the part which is incorrect in the OP's example? Is it this part: note={URL: https://mathoverflow.net/q/313198 (version: 2018-10-19)}?
in TeX, LaTeX and Friends, 7 mins ago, by David Carlisle
@MartinSleziak yes there is nothing there to make a hyperlink, it is just text.
in TeX, LaTeX and Friends, 6 mins ago, by Martin Sleziak
@DavidCarlisle So note={URL: \url{https://mathoverflow.net/q/313198} (version: 2018-10-19)} would be better?
in TeX, LaTeX and Friends, 2 mins ago, by David Carlisle
@MartinSleziak without context impossible to say, that will cause latex to generate latex using \url which is undefined by default but if it is used with a document using hyperref then it will make a link, so having \url is probably what you want but if you are writing a generic tool to make bibliographies that work with any latex document not using hyperref might be what you have to do, and as Ulrike says if the bibliography is being used with biblatex the details are different again.
in TeX, LaTeX and Friends, 2 mins ago, by David Carlisle
@MartinSleziak That is why we always complain about fragments of tex code:-) The details always depend on the full context...
 
 
2 hours later…
2:43 PM
@MartinSleziak I am very grateful for your efforts. I will try to make an mwe and post to tex stackexchange. Let me say however that most likely the problem is with the gmail pdf viewer rather with tex, since the pdf I generate contains correct link, and when I click on it from within either Acrobat or SumatraPDF, everything works correctly. Only when I click in a browser from within the gmail pdf viewer the problem occurs.
 
 
7 hours later…
9:14 PM
I've now got an answer on TeX.SE. I believe it indicates that the amsrefs entry generated by the MO system needs an \url command and the hyperref package to work properly, but I am not sure.
 

« first day (1548 days earlier)      last day (1882 days later) »