FAQ: Difference between revisions

From iMath
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
'''Q: Will iMath work in LibreOffice on Windows platform?'''
'''Q: Will iMath work in LibreOffice on Windows platform?'''


A: Yes, current version of iMath (2.0.0) is working on Windows platform. Note that MS Visual C++ 2010 redistributable is required for it to work properly.
A: Yes, the current version of iMath (from 2.0.0 upwards) now works on the Windows platform. Note that MS Visual C++ 2010 redistributable is required for it to work properly.




'''Q: Is it possible to make definitions using "," instead of "."?'''
'''Q: Is it possible to make definitions using "," instead of "."?'''


A: No, because the "," is also used to separate arguments to commands. The problem will probably be solved in the next version of iMath.
A: No, because the "," is also used to separate arguments to commands. But if your locale is set accordingly, iMath will convert the "." to a "," automatically when printing your formulas




'''Q: How to include *.imath file in the document?'''
'''Q: How do I include a *.imath file in the document?'''


A: Go to File->Properties->User defined properties->Include file *.imath, or use this line in iFormula ''%%ii READFILE {"*.imath"}''. For example, we have created 1.imath file in some directory, after READFILE full path must be given. Here are examples of proper lines under Windows and Ubuntu.
A: Go to File->Properties->User defined properties->Include file *.imath, or use this line in iFormula <code>%%ii READFILE {"*.imath"}</code>. For example, if you have created 1.imath file in some directory, after READFILE the full path must be given. Here are examples of proper lines under Windows and Ubuntu.


Windows: ''%%ii READFILE {"C:/Document/1.imath"}''
Windows: <code>%%ii READFILE {"C:/Document/1.imath"}</code>


Ubuntu: ''%%ii READFILE {"/home/user/Documents/1.imath"}''
Ubuntu: <code>%%ii READFILE {"/home/user/Documents/1.imath"}</code>




'''Q: There is nothing under File->Properties->User defined properties, why is that?'''
'''Q: There is nothing under File->Properties->User defined properties, why is that?'''


A: It happens while working on a new document, the user defined properties will appear after saving that document and reloading it.  
A: This happens while working on a new document, the user defined properties will appear after saving that document and reloading it.  




'''Q: Is it possible to clear only chosen equations?'''
'''Q: Is it possible to clear only chosen equations?'''


A: You can clear equations by label (select it and choose Edit - Clear from the menu), or use this line in iFormula ''%%ii DELETE{#equation_label#}''
A: You can clear equations by label (select it and choose Edit - Clear from the menu), or use this line in a formula <code>%%ii DELETE{#equation_label#}</code>. A list of labels is also possible.




'''Q: The iFormula and standard formula are placed differently from the left margin, is there a fast way to unify them?'''
'''Q: The iFormula and standard formula are placed differently from the left margin, is there a fast way to unify them?'''


A: There is no fast way to do this. Each formula would have to be manually edited. It's happening because standard formula is created with 2mm left margin (right-click -> Object to see these margins), while iFormula is created with 0mm margin.
A: There is no fast way to do this. Each formula would have to be manually edited. This happens because the standard formula is created with 2mm left margin (right-click -> Object to see these margins), while iFormula is created with 0mm margin.




'''Q: I have an equation x = 100 m. How do I tell iMath that the value is in meters?'''
'''Q: I have an equation <code>x = 100 m</code>. How do I tell iMath that the value is in meters?'''


A: In the new iFormula dialog write this ''x=100 "m"'' . The "m" tells iMath that the value is in meters. This will only work if you have included the units.imath file with File->Properties->User defined properties->Include file units.imath
A: In the new iFormula dialog write this <code>x=100 "m"</code> . The "m" tells iMath that the value is in meters. This will only work if you have included the units.imath file with File->Properties->User defined properties->Include file units.imath




'''Q: How to hide equation?'''
'''Q: How do I hide an equation?'''


A: Select the formula and choose iMath->Edit->Hide/show , alternatively put * after EQDEF.
A: Select the formula and choose iMath->Edit->Hide/show , alternatively put * after EQDEF.


'''Q: Is it possible to hide units after evaluation?'''
'''Q: Is it possible to hide units after evaluation?'''


A: Yes, in evaluation formula use NUMVAL instead of VAL.
A: Yes, in evaluation formula use NUMVAL instead of VAL.
'''Q: It's such a hassle to type <code>differential(x)</code> all the time. Can't this be shorter, like <code>d(x)</code>?
A: Just define a short-cut function yourself, e.g.
<code>%%ii FUNCTION {{expand}, d, y_{_y_}}
%%ii @3@ FUNCDEF* d(y_{_y_}) = differential(y_{_y_})
</code>

Revision as of 14:45, 12 April 2014

Q: Will iMath work in LibreOffice on Windows platform?

A: Yes, the current version of iMath (from 2.0.0 upwards) now works on the Windows platform. Note that MS Visual C++ 2010 redistributable is required for it to work properly.


Q: Is it possible to make definitions using "," instead of "."?

A: No, because the "," is also used to separate arguments to commands. But if your locale is set accordingly, iMath will convert the "." to a "," automatically when printing your formulas


Q: How do I include a *.imath file in the document?

A: Go to File->Properties->User defined properties->Include file *.imath, or use this line in iFormula %%ii READFILE {"*.imath"}. For example, if you have created 1.imath file in some directory, after READFILE the full path must be given. Here are examples of proper lines under Windows and Ubuntu.

Windows: %%ii READFILE {"C:/Document/1.imath"}

Ubuntu: %%ii READFILE {"/home/user/Documents/1.imath"}


Q: There is nothing under File->Properties->User defined properties, why is that?

A: This happens while working on a new document, the user defined properties will appear after saving that document and reloading it.


Q: Is it possible to clear only chosen equations?

A: You can clear equations by label (select it and choose Edit - Clear from the menu), or use this line in a formula %%ii DELETE{#equation_label#}. A list of labels is also possible.


Q: The iFormula and standard formula are placed differently from the left margin, is there a fast way to unify them?

A: There is no fast way to do this. Each formula would have to be manually edited. This happens because the standard formula is created with 2mm left margin (right-click -> Object to see these margins), while iFormula is created with 0mm margin.


Q: I have an equation x = 100 m. How do I tell iMath that the value is in meters?

A: In the new iFormula dialog write this x=100 "m" . The "m" tells iMath that the value is in meters. This will only work if you have included the units.imath file with File->Properties->User defined properties->Include file units.imath


Q: How do I hide an equation?

A: Select the formula and choose iMath->Edit->Hide/show , alternatively put * after EQDEF.

Q: Is it possible to hide units after evaluation?

A: Yes, in evaluation formula use NUMVAL instead of VAL.

Q: It's such a hassle to type differential(x) all the time. Can't this be shorter, like d(x)?

A: Just define a short-cut function yourself, e.g.

%%ii FUNCTION {{expand}, d, y_{_y_}}

%%ii @3@ FUNCDEF* d(y_{_y_}) = differential(y_{_y_})