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
tex export fails to compile with negative sign #86
Comments
Sorry I guess I was hasty. There are a few issues I hit with this code, and I don't think its the negative sign. Here's the error it outputs:
|
hey @ExarchD - thanks for submitting the issue! If adding parentheses fixes the problem, then I think the issue is in fact with the minus sign. I can submit a fix that wraps the exported values in parentheses if so. EDIT: After playing around with this for a bit, it seems the error is with the |
@ExarchD this problem should be fixed now, can you verify? |
Hi, I actually am still getting the same error with negative label locations. Parentheses don't solve the problem. As a minimal example:
compiles but
doesn't. Parentheses don't seem to help. |
@shwinnn i'm sorry to hear you're running into that. I just reproduced the problem but it might take me awhile to find the time to fix this. Until I do, you should be able to use a floating text element to put the label where you want |
A label location of 0 works fine for my diagrams anyway! Thanks for the great tool. |
@shwinnn - this should be fixed now. Could you confirm? |
Hi, Unfortunately, this (error when setting negative labelLocation) is still an issue, but following the discussion https://tex.stackexchange.com/questions/460522/using-fp-package-to-compute-sum-breaks-fp-error-upn-stack-is-empty Hope it helps. |
It seems that negative signs are not friendly in the latex export for labelDistance and labelLocation:
Adding parentheses around the negative values fixed the problem for me.
The text was updated successfully, but these errors were encountered: