Closed abusse closed 5 years ago
AnnotateSyntax
is a symbol from dependency package SyntaxAnnotations`
. The fact that CellsToTeX`Private`AnnotateSyntax
appears in error message means that SyntaxAnnotations`
was not properly loaded.
What code do you use to load CellsToTeX`
package?
Do you get any error messages when loading the package, like Get::noopen: Cannot open SyntaxAnnotations`.
, or Needs::nocont: Context SyntaxAnnotations` was not created when Needs was evaluated.
?
I used Needs["CellsToTeX`"]
to load the package and that does not give my any errors.
What does Names@"SyntaxAnnotations`*"
output after evaluating Needs["CellsToTeX`"]
?
The output is {"SyntaxAnnotations`AnnotateSyntax"}
Which version of Mathematica are you using? Do you get the same error if, on clean kernel, you load package directly from repository using:
Import["https://raw.githubusercontent.com/jkuczm/MathematicaCellsToTeX/master/NoInstall.m"]
Note that 1
is not a valid box, so even if everything works correctly you should still get unsupported box exception, but the reported invalid box should be 1
not CellsToTeX`Private`AnnotateSyntax[1,...
That works, thank you! I just used 1
as box as it seemed the simplest to me after trying more complex examples.
If package works when loaded directly from repository, then it seems that something went wrong with your local installation of package. Try reinstalling it.
Hi,
I'm getting an unsupported box exception for every input no matter how simple it is. For example
results in
I read in another issue that, naturally, not all box types are supported, however as I'm not able to get even the simplest example working I'm guessing this is not the issue here. I have already tried several different inputs always resulting in an exception.