-
Notifications
You must be signed in to change notification settings - Fork 22
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
Article Template 2 - knitting error - related to \urlstyle? #1
Comments
I appreciate you having me look at the template again because there was some other weirdness I had left in there that I'm going to fix with a new update (i.e. R Markdown/Pandoc can punish you for commenting out code rather than outright removing it). Re: the issue you raise. That really looks like a LaTeX thing and the nature of the error seems to suggest you may not have whatever LaTeX add-on is responsible for that |
No problem, thanks for taking a look. FWIW, I have updated MikTex and double-checked that the underlying packages that are called by the template are there (I think it is just {url} that pulls that function). I'll fiddle around, thanks again. |
My pleasure. The problem is no one ever credibly accused LaTeX errors of being helpful or informative. :P I did want to note that whereas
|
Yes I think you're right about where that error is throwing from. Somethings taking place between default markdown/pandoc though, because I can knit everything else I've tried, from minimal working examples of templates to previous, more complex published articles. Like you noted, LaTeX isn't exactly helpful in diagnosing, and while in the past I've usually been able to cobble together a solution, at this point I'm not doing so well with this one. Sometimes just coming back in a week will solve it, I'll hope for that! |
Hey @ian-adams, have you figured out the problem? I came across the exact same problem using TinyTeX 2020 that I installed using the tinytex package. I can knit the original article ("first article") template perfectly, but not the article2 template. |
@corneliushennch For my own curiosity, did you install Yihui Xie's Also, that template is really just default Pandoc template + goodies whereas the |
Yes exactly. I just installed I actually just got it to work by myself now after installing the |
Glad that worked. I felt pretty comfortable that it was a LaTeX package issue and not a problem with the template, per se. I'm glad I can at least point to that possibility now when it comes up. Thank you so much! |
Oh my lord, it worked! Thank you @corneliushennch, that's a lifesaver. @svmiller I think you're right about the issue being in the "god knows how large" miktex package that I have used before I started with Thank you very much to both! |
Thanks so much for this fix! I was banging my head against this for a while. |
Trying to knit from the base Article (type 2) template is generating a LaTeX error, that seems to be related to the template itself. This error is not occurring in the Article (type 1) template, or any other non-package templates that I have tried:
Could it be coming from the {url} package, which is included in the {hyperref} package that's loaded in the header?
The text was updated successfully, but these errors were encountered: