pythontex icon indicating copy to clipboard operation
pythontex copied to clipboard

`.pytxcode` needs to be more robust

Open gpoore opened this issue 8 years ago • 0 comments

In some cases, code can be written to the .pytxcode after the settings have been written. This causes errors, because parsing assumes that settings are last. The new, upcoming format for .pytxcode should allow content in an arbitrary order, unless the order can absolutely be guaranteed (which is unlikely).

Example case here. In this case, and similar cases seen in the past, a \clearpage was sufficient. But in principle there might be a way to break that under some conditions.

gpoore avatar Jul 07 '15 01:07 gpoore