Orbiter-Forum  

Go Back   Orbiter-Forum > Projects > Site Support > Question
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

math environment length limitation Issue Tools
issueid=1297 10-19-2016 11:25 AM
Orbiter Founder
math environment length limitation
Can the 400-character limit for math environments be increased?

Is there a length limitation for the content of math blocks?
I just came across this:

Quote:
[LaTeX Error: String is too long (428, limit 400)]
400 seems awfully tight if you want to generate a more complex equation.

Also I just discovered that the math tag supports picture environments. Latex pictures would be a neat way to generate quick inline graphics, but the 400 char limit makes it useless.

I don't really see why there should be a limit at all.

For reference, here is the code that produced the above error message:

Code:
[ math ]
\setlength{\unitlength}{1mm}
\begin{picture}(100,100)(50,50)
\put(-20,-20){\line(1,0){40}}
\put(20,-20){\line(0,1){40}}
\put(20,20){\line(-1,0){40}}
\put(-20,20){\line(0,-1){40}}
\put(0,0){\circle*{2}}
\put(0,20){\circle*{2}}
\put(-20,-20){\circle*{2}}
\put(20,-20){\circle*{2}}
\put(0,0){\line(0,1){25}}
\put(0,0){\line(-1,-1){25}}
\put(0,0){\line(1,-1){25}}
\multiput(0,0)(0,-2){12}{\line(0,-1){1}}
\end{picture}
[ /math ]
Edit: Actually, looking at the error message it looks more like a genuine LaTeX error than a board issue. Maybe the problem is the way the math code is passed to the LaTeX compiler by the board?
Issue Details
Issue Type Question
Project Site Support
Status Question
Priority 5 - Medium
Unknown
(none)
Users who question this issue 0
Users who do not question this issue 0
Assigned Users (none)
Tags (none)

10-19-2016 11:40 AM
Certain Super User
 
Why are you using it in that order of nesting? I can't really see a mathematical formula in your code that requires to be translated. The picture environment itself should be good enough there.
Reply
10-19-2016 11:58 AM
Orbiter Founder
 
Not sure I follow. There is no formula, but a latex picture. Surely this still needs to be run through a latex compiler, so requires math tags? Am I missing something?
Reply
10-20-2016 12:21 PM
Certain Super User
 
Quote:
Originally Posted by martins
 Not sure I follow. There is no formula, but a latex picture. Surely this still needs to be run through a latex compiler, so requires math tags? Am I missing something?

AAAAAAAAh.... Sorry, it was late and I wasn't really realizing it is about the math-tag of O-F. I thought you mean one of the many alternative short-hand syntax for a math environment in Latex.

In that case, you could be simply having problems, because the plugin only allows a subset of Latex. I remember some of the more graphical elements of Latex are not working because the required packages are not installed, referenced or supported.

A possibility to also render picture environments in latex could be nice sometimes.
Reply
Reply

Issue Tools
Subscribe to this issue

All times are GMT. The time now is 01:07 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright 2007 - 2012, Orbiter-Forum.com. All rights reserved.