Register

Eact Maker - Online eActivity Generator

Topics on released projects. Only the author of a program should start a topic on it.
Member
Posts: 27
Joined: Thu May 10, 2012 11:33 pm
Location: Picardie, France
Calculators: Casio fx-9860GII

Re: Eact Maker - Online eActivity Generator

Postby Ziqumu » Wed Mar 06, 2013 7:31 pm

The subscript function of eact maker replace all alphanumeric characters by small characters that exist in your calculator. There is no greek or small "/" in your calc so it can't write it. If the char is not alphanumeric, it write the normal character (X_α should write Xα, this is a bug thank for your report )
And yes I know there is hudge space between letters I don't think it's possible to find a better way to write in subscript for prizm (tell me if you find it).

I am inspired by the tex syntax, but it is not the purpose to totally support it. An example : function without parameter need a ";" at end because if you write this in tex "\function test" the space doesnt appear, and I don't want to have question every day by person who ask why. (And I can't write automatically the space because if you write "3+\i2" we don't want space here)
So to write alpha, you need to write "\alpha;" I'm thinking to put a "pro" mode to have the possiblity to remove this ";", but it's not the priority.

So yes "\sqrt\frac{a}{b}" does not work, you need to write "\sqrt{\frac{a}{b}}", and this one work well ;)
Image

Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400

Re: Eact Maker - Online eActivity Generator

Postby helder7 » Wed Mar 06, 2013 8:14 pm

I've been looking at the color functions (Marker and Char).
It is possible to use markers not allowed in the editor of the calculator. See the example below:

Image Image

Do not know if it will be easy or not we put this function in generator. This function will also change (increase) the file size in header, etc...

Anyway, the way how the color work is almost known:

spoiler: Show
In files, hex of colors appear at the end of the line (that uses colors) after the text and the align bytes. Layout:

Text|Align bytes|1byte per character to set the color


Each byte (hex) used to set the color of a character, is constituted by two digits:

1º - Marker color number
2º - Character color number

And the color codes:
Black - 0
Blue - 1
Red - 4
Magenta - 5
Green - 2
Cyan - 3
Yellow - 6
White - 7


Now a practical example. Text (with marker red and characters blue):

Text | ??? Align Bytes ???|Color codes (including align)
64 65 6D 6F | 00 00 00 00 | 41 41 41 41 70 70 70 70


Suggested Latex code for editor:
\color{a}{b}{c}
where
a = marker
b = character
c = text

Possible limitations: User should put a new color tag in each row.


Until Monday, I will not have much time to work on this function... :oops: Then I'll see what I can do (but I do not promise success). :mrgreen:

gbl08ma wrote:Now all we need is a WYSIWYG editor so we can see the result of the markup we write right in the web page :)

I found an WYSIWYG editor for LaTeX, MathQuill 0.2 Alpha but I do not know if will be possible to use it in the generator, perhaps Ziqumu can say.
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Member
Posts: 27
Joined: Thu May 10, 2012 11:33 pm
Location: Picardie, France
Calculators: Casio fx-9860GII

Re: Eact Maker - Online eActivity Generator

Postby Ziqumu » Wed Mar 06, 2013 8:28 pm

Good news for the color :) And maybe we can manage to make a align function.

for the WYSIWYG, I will see if it can work, but not this week I don't have time.

Senior Member
Posts: 69
Joined: Sat Feb 02, 2013 4:29 am
Calculators: Casio Cfx Series, Casio fx-CG10

Re: Eact Maker - Online eActivity Generator

Postby nsg » Wed Mar 06, 2013 8:45 pm

Instead of a WYSIWIG, I would much rather have reverse converter -- the one that takes .GxE and outputs .txt file with appropriate markup and utf8 encoding. Would that be easier?

Senior Member
Posts: 141
Joined: Wed May 16, 2012 2:50 pm
Location: Portugal
Calculators: Casio fx-CG20

Re: Eact Maker - Online eActivity Generator

Postby gbl08ma » Wed Mar 06, 2013 8:49 pm

I would like to have the feature nsg suggested too. It is maybe more important than the WYSIWYG.
And when I say a WYSIWYG editor is important, it's not just a mere LaTeX editor - it's also the one that takes account the the calculator's screen and font dimensions.
More or less like a on-page calculator simulator.

Member
Posts: 27
Joined: Thu May 10, 2012 11:33 pm
Location: Picardie, France
Calculators: Casio fx-9860GII

Re: Eact Maker - Online eActivity Generator

Postby Ziqumu » Wed Mar 06, 2013 9:06 pm

The reverse converter is possible, but it takes time to create (I can't do it before summer if I do it..), and we have other things to do on it, like support anothers format.
Actually you can save the source file to edit it after (save and load button, the format .eam is just a kind of txt with title format and text in utf8 encoding)

For theses two feature : they are no priority, because we prefear support more format before add "hard" features :/ Maybe in some months , but I can't promise it. But The reverse converter has more chance to be done than the WYSIWYG

Senior Member
Posts: 369
Joined: Tue Jan 03, 2012 11:24 pm
Calculators: Casio Afx 1.0, Casio fx-9860GII SD, Casio Classpad 330, Casio fx-CG20, Casio Classpad fx-CP400

Re: Eact Maker - Online eActivity Generator

Postby helder7 » Wed Mar 06, 2013 9:43 pm

Ziqumu wrote:Good news for the color :) And maybe we can manage to make a align function.

Upss, the alignment does not use only "00"... has some special bytes instead of zeros , when using color...
And I have not the faintest idea of how to calculate. :shock:

But the align with "00" for lines (already implemented in the generator) instead of this custom hex works! :P

Ziqumu wrote:The reverse converter is possible, but it takes time to create (I can't do it before summer if I do it..), and we have other things to do on it, like support anothers format.

Yes, more importantly will be add other formats and support more calculators... And only then (MAYBE) create a function to import/parse files (what is more difficult, especially recognize mathematical functions in files)...

gbl08ma wrote:And when I say a WYSIWYG editor is important, it's not just a mere LaTeX editor - it's also the one that takes account the the calculator's screen and font dimensions.
More or less like a on-page calculator simulator.

Juju is creating a prizm font (in omnimaga) from a ahelper font dump... Simulate the text with this font is not difficult. The problem will be the mathematical formulas (again).

But the highest priority as we have said, will be support other files/calculators...
SiO2 + CaCO3 ----------> CaSiO3 + CO2

Member
Posts: 27
Joined: Thu May 10, 2012 11:33 pm
Location: Picardie, France
Calculators: Casio fx-9860GII

Re: Eact Maker - Online eActivity Generator

Postby Ziqumu » Sun Mar 10, 2013 1:40 am

Little update : I just added the note strip.
Image
(and you was right gbl08ma, it's not possible to put a not strip inside another ;) )

Senior Member
Posts: 69
Joined: Sat Feb 02, 2013 4:29 am
Calculators: Casio Cfx Series, Casio fx-CG10

Re: Eact Maker - Online eActivity Generator

Postby nsg » Sun Mar 10, 2013 1:45 am

helder7 and Ziqumu,

as far as you know about eact fromat, is there way to let strips share their memory? Like stat strips has access to same lists as run-matrix strip in the same eAct? Or, to make "calc" segments share its variables with the strips?

I am pretty sure it is not available from the UI, but maybe there is a way to hack the file to make 2 pointers point to the same shared area or something like it.

Member
Posts: 27
Joined: Thu May 10, 2012 11:33 pm
Location: Picardie, France
Calculators: Casio fx-9860GII

Re: Eact Maker - Online eActivity Generator

Postby Ziqumu » Sun Mar 10, 2013 2:41 am

I think it's not possible : when you write a note strip, you write a strip header (giving the title of the strip and the destination program @eact, or @runmat...)
Then you write a "file" like a g1e : just miss the first part from the header and some constant values change.

And I think it's the same operating for all strip : you write a "file" just after the call to the strip. So I don't think you can share this "file". The only possiblity I see, it's to make an addin that edit the g1e file to synchronizes two strips (or the strips with the calc memory). Maybe there is an another way, using bug : sometimes when I do something wrong on the file, if you edit a part of the file another part is edited too, but I don't know where, why and if it's possible and not dangerous to use it.

PreviousNext

Return to Released Projects

Who is online

Users browsing this forum: No registered users and 21 guests