-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
LaTeX macro dependency parsing? #480
Comments
I think this is too "external". Imagine you write to a file, does Pluto need to check that file's |
Haha, you and I updated our comments approximately simultaneously to suggest the same thing. |
I don't know exactly how Pluto works. But my tall-order suggestion is to parse LaTeX macro dependency the same way it does for Julia variable dependency. So, yes? I suppose? The short-order suggestion we both have of updating all |
One issue I see with my tall-order suggestion is, suppose Julia detects dependency order of three cells let's call A, B, and C, in that order. But for LaTeX macros it detects dependency in the reverse order, C, B, then A. Would that be an issue? |
It's a good suggestion, but currently not worth our efforts to work on this. It's just one of the many many possible side effects that code can have, and we don't have a mechanism for tracking those. |
Suppose one cell has
then my second cell has
If I update my first cell to
md"\newcommand{\R}{\mathbb{R}^2}``"
then upon saving, can the second cell update its content based on the LaTeX macro update?
Would this be hard/long to implement? I think it would be an extra layer of work and parsing alongside what it already does for Julia cell dependency parsing. Otherwise, just update all text fields which as a suggestion feels silly.
The text was updated successfully, but these errors were encountered: