Re: writing some new plugins
Zoltán Kovács <[email protected]> Mon, 9 Mar 2026 12:11:49 +0100
| Newsgroups | gmane.editors.texmacs.devel |
|---|---|
| Message-ID | <CACQaL-+AydvtZGQJJPnND-GrcrYojU3rnqDH9V=wws9Mm4iReg@mail.gmail.com> |
--===============5813407740188972109== Content-Type: multipart/alternative; boundary="000000000000c5005e064c9578fe" --000000000000c5005e064c9578fe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Colleagues, I am unsure if this is the correct channel to submit ideas and questions. Meanwhile I worked a *lot* to have a working plugin for GeoGebra, and this is what my current status is: https://matek.hu/zoltan/blog-20260309.php?t=3Dd I'd be happy to learn more about how I can improve all of this. ;-) Best, Zoltan Zolt=C3=A1n Kov=C3=A1cs <[email protected]> ezt =C3=ADrta (id=C5=91pont: 202= 6. febr. 11., Sze, 0:08): > > there are so many items, I cannot figure it out where I should start my >> contributing work. Thanks in advance for giving some hints on this. >> > > Meanwhile I found that the dummy mycas plugin is the way to go. > The file mycas.cpp is not anymore C++ compliant, so this change seems > important (at least for gcc 13.3): > > .../TeXmacs/src/plugins/mycas/src$ *svn diff * > Index: mycas.cpp > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- mycas.cpp (revision 15286) > +++ mycas.cpp (working copy) > @@ -17,12 +17,14 @@ > #include <stdio.h> > #include <stdlib.h> > #include <string.h> > -#include <iostream.h> > +#include <iostream> > > #define DATA_BEGIN ((char) 2) > #define DATA_END ((char) 5) > #define DATA_ESCAPE ((char) 27) > > +using namespace std; > + > static int counter=3D 0; > > void > > Best, Zoltan > --=20 *Dr. Zolt=C3=A1n** Kov=C3=A1cs, MSc* *Private P=C3=A4dagogische Hochschule der Di=C3=B6zese Linzhttps://matek.hu= /zoltan <https://matek.hu/zoltan>* --000000000000c5005e064c9578fe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Dear Colleagues,<div>I am unsure if this is the correct ch= annel to submit ideas and questions.</div><div>Meanwhile I worked a *lot* t= o have a working plugin for GeoGebra, and this is what my current status is= :</div><div><a href=3D"https://matek.hu/zoltan/blog-20260309.php?t=3Dd">htt= ps://matek.hu/zoltan/blog-20260309.php?t=3Dd</a></div><div>I'd be happy= to learn more about how I can improve all of this. ;-)</div><div>Best, Zol= tan</div></div><br><div class=3D"gmail_quote gmail_quote_container"><div di= r=3D"ltr" class=3D"gmail_attr">Zolt=C3=A1n Kov=C3=A1cs <<a href=3D"mailt= o:[email protected]">[email protected]</a>> ezt =C3=ADrta (id=C5=91pont: 2= 026. febr. 11., Sze, 0:08):<br></div><blockquote class=3D"gmail_quote" styl= e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin= g-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_quote"><div><br></div><blo= ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left= :1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>there a= re so many items, I cannot figure it out where I should start my contributi= ng work. Thanks in advance for giving some hints on this.</div></div></bloc= kquote><div><br></div><div>Meanwhile I found that the dummy mycas plugin is= the way=C2=A0to go.</div><div>The file mycas.cpp is not anymore C++ compli= ant, so this change seems important (at least for gcc 13.3):</div><div><br>= </div><div><span style=3D"font-family:monospace"><span style=3D"color:rgb(0= ,0,0)">.../TeXmacs/src/plugins/mycas/src$ <b>svn diff </b></span><br>Index: mycas.cpp <br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D <br>--- mycas.cpp =C2=A0=C2=A0(revision 15286) <br>+++ mycas.cpp =C2=A0=C2=A0(working copy) <br>@@ -17,12 +17,14 @@ <br> #include <stdio.h> <br> #include <stdlib.h> <br> #include <string.h> <br>-#include <iostream.h> <br>+#include <iostream> <br> =C2=A0<br> #define DATA_BEGIN =C2=A0=C2=A0((char) 2) <br> #define DATA_END =C2=A0=C2=A0=C2=A0=C2=A0((char) 5) <br> #define DATA_ESCAPE =C2=A0((char) 27) <br> =C2=A0<br>+using namespace std; <br>+ <br> static int counter=3D 0; <br> =C2=A0<br> void<br> <br></span></div><div>Best, Zoltan<br></div></div><div dir=3D"ltr" class=3D= "gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr"></div></div></div></div= > </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><div dir=3D"ltr"><p class=3D"MsoNormal"><b><span= lang=3D"EN-GB">Dr. Zolt=C3=A1n</span></b><b><span lang=3D"EN-GB">=C2=A0Kov= =C3=A1cs, MSc</span></b><b><u></u><u></u></b></p><p class=3D"MsoNormal"><i>= <span style=3D"color:rgb(31,56,100)">Private P=C3=A4dagogische Hochschule d= er Di=C3=B6zese Linz<br><a href=3D"https://matek.hu/zoltan" target=3D"_blan= k">https://matek.hu/zoltan</a></span></i></p></div></div></div> --000000000000c5005e064c9578fe-- --===============5813407740188972109== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVGV4bWFjcy1k ZXYgbWFpbGluZyBsaXN0ClRleG1hY3MtZGV2QGdudS5vcmcKaHR0cHM6Ly9saXN0cy5nbnUub3Jn L21haWxtYW4vbGlzdGluZm8vdGV4bWFjcy1kZXYK --===============5813407740188972109==--