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

Export not working when a "+" sign is in a diagram element label #104

Open
SoloWingX opened this issue Jan 28, 2019 · 3 comments
Open

Export not working when a "+" sign is in a diagram element label #104

SoloWingX opened this issue Jan 28, 2019 · 3 comments

Comments

@SoloWingX
Copy link

Hi. I am trying to make diagrams for my project, which I would like to export into PNG format. I am, e.g., trying to make the diagram for inverse beta decay, which has a positron (e^+) in it. When I export to PNG, Windows Photos cannot open the file saying "It looks like we don't support this file format". When I change the e^+ to e^- or e, it works. Then, experimentally changing the W^- boson to W^+ boson also causes this issue. It seems to be centered around the "+" sign.

@SoloWingX SoloWingX changed the title Export not working when a "+" sign is in a diagram element Export not working when a "+" sign is in a diagram element label Jan 28, 2019
@TiDreyer
Copy link

Hi, I'm having the same issue. Both PDF and PNG export create a 33 byte text file that's only containing:

exit status 1

A work around is to use e^{+} instead of just e^+.

@willp240
Copy link

I also have this problem, the work around of using eg e^{+} doesn't work when you save to png or pdf, the label is just empty.

@Nibbos
Copy link

Nibbos commented Feb 22, 2021

Hi.
I would love to use this with my A-level students but the issue still exists with exporting any labels that require a '+' or '-' symbol (e.g. W+ and W- bosons, electrons and positrons, and any other charged fermion).
I have tried the workarounds suggested, e^{+} and e^+, but neither are successful. The first exports the diagram without the required symbol, the second exports a diagram that won't open (both .png and .pdf formats not recognised).
A fix for this would be really useful, please. I would certainly share and recommend this to students and teachers if this could be rectified.
Many thanks in advance.

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

4 participants