-
Notifications
You must be signed in to change notification settings - Fork 355
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
DOI overstretching in references #198
Comments
Hey there. Thanks for flagging. I'd guess this is more of a LaTeX issue. I'll do some Stack Overflow research when I get a chance to see if there are some additional settings to be added to get this working there. |
Thanks, I'll try to look into it too this weekend! |
I haven’t been able to test this yet, but can you try adding in this line in place of
|
Hi |
Another option would be to create short URLs using a site like tinyurl or bit.ly as well. You could then have a table referencing what those links go to that is not in the actual references section that has these spacing limitations. |
I think that's a very good idea! I will go over with tinyurl over the problematic ones over the weekend! |
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org whenever possible) and link to this issue. If a reprex is not applicable, recording a short Loom video showing what you are seeing can go a long way in helping to diagnose problems. |
Greetings,
Describe the bug
![image](https://private-user-images.githubusercontent.com/7458009/269939808-0cbfe0ca-3251-4046-aa00-3356cc7dca56.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMyNTI4NzksIm5iZiI6MTcyMzI1MjU3OSwicGF0aCI6Ii83NDU4MDA5LzI2OTkzOTgwOC0wY2JmZTBjYS0zMjUxLTQwNDYtYWEwMC0zMzU2Y2M3ZGNhNTYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MTBUMDExNjE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzcwN2NjM2E4YzQwZGM0ZTVlMjQ4NWYwOTFmNGUzNWRjYTk0MTY3MDAxMWFjNmU4NWVkMGU2ZGNmYjkxNjk5ZSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.gP1Wx8sKJgfXY8rFUcTrExYQnEDkzPoDFzlOUgOIfJU)
I notice some of my references are overstretching the page margins. It seems that bookdown/thesisdown is unsure when to calculate a newline for the DOI URL. It does seem to be okay with splitting the DOI if there is a dash "-" in it but unwilling otherwise (for example ".")
To Reproduce
In screenshot it is this reference that is acting up: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0269439
Expected behavior
I believe all references should fit in the page margin DOI included.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: