Skip to content
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

Equations in html vignettes do not render properly in Rstudio browser #2253

Open
jthaman opened this issue Feb 22, 2018 · 3 comments
Open

Equations in html vignettes do not render properly in Rstudio browser #2253

jthaman opened this issue Feb 22, 2018 · 3 comments
Labels

Comments

@jthaman
Copy link

@jthaman jthaman commented Feb 22, 2018

System details

RStudio Edition : Desktop
RStudio Version : 1.0.153
OS Version      : Ubuntu 17.10
R Version       :  3.4.2

Steps to reproduce the problem

install.packages("ciTools")
library(ciTools)
??ciTools

Then click on the first vignette in the Rstudio browser window.

Describe the problem in detail

I'm having an issue viewing equations in the Rstudio browser. When I load my package vignette in Firefox, MathJax does it's thing and it looks great, but when I open my vignette in Rstudio, the equations are rendered as raw latex.

Describe the behavior you expected

Expecting the latex equations to render correctly. Is this a limitation of Rstudio or a problem with my package? My vignettes are using html_vignette output

@ronblum
Copy link

@ronblum ronblum commented Feb 22, 2018

@jthaman Can you provide a screenshot of what you're seeing? I tried reproducing it using the steps you provided, but the Vignettes are rendering OK for me. Also, you might consider upgrading to the current release of RStudio Desktop, available at https://www.rstudio.com/products/rstudio/download/ if possible.

@jthaman
Copy link
Author

@jthaman jthaman commented Feb 23, 2018

Sure, here is a pic of what I'm seeing in the Rstudio browser. This pic is on Windows 7 with the latest R and Rstudio (I just downloaded them tonight). It's the same as what I see on my ubuntu computer. I have also tried this on a Mac and observe the same result. What does it look like on your computer?

capture

@ronblum
Copy link

@ronblum ronblum commented Feb 23, 2018

I see a current failure on RStudio Desktop 1.2.358 on Ubuntu 16.04.3 (also RStudio Desktop 1.1.423). The rest of the environments I checked work in 1.2.35x, the latest development/test daily builds. So, I'll mark this is an issue to review for the current development cycle. Thank you for raising this!

Fail
Ubuntu 16.04: 1.1.423 & 1.2.358
Ubuntu 17.10: 1.1.423
Windows 10: 1.1.423

Pass:
All other 1.1.423 & 1.2.358 on the Ubuntu 16.04 & 17.10, Windows 10, MacOS 10.12.6, and Fedora 27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.