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

Math in Text elements doesn't work without $ #101

Open
Neurophysics-CFIN opened this issue Nov 5, 2018 · 5 comments
Open

Math in Text elements doesn't work without $ #101

Neurophysics-CFIN opened this issue Nov 5, 2018 · 5 comments

Comments

@Neurophysics-CFIN
Copy link

I cannot open diagrams exported as pdf or png on either Mac or Windows computers.
Apparently they are corrupt.

@AlecAivazis
Copy link
Owner

Hey @sunenj - thanks for reporting this.

Could you please send me the file that you get if you click Save Diagram? It will help me reproduce your problem.

@Neurophysics-CFIN
Copy link
Author

Yes, I've attached three diagrams here.

Archive.zip

I just noted that I could export the supplied Drell-Yan just fine.

@Neurophysics-CFIN
Copy link
Author

Oops didn't mean to close

@AlecAivazis
Copy link
Owner

AlecAivazis commented Nov 5, 2018

Thanks for uploading these. I think have found a workaround for the problem until I can make this behave as expected. In short, Text doesn't assume math mode so if I wrap the content of all of your text elements in $...$ then I am able to save it just fine.

an example diagram 15

Also, idk how often you change this or move stuff around but you might want to consider using a label on the propagators instead of free-positioned text. It will allow you to move the propgators without having to worry about dragging the text along with it.

@Neurophysics-CFIN
Copy link
Author

Ah, I see. Great, and thanks so much for the super fast answer and work around!

@AlecAivazis AlecAivazis changed the title Export files unusable Math in Text elements doesn't work without $ Nov 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants