bash command for pgf tikz export

ponyboss3 shared this question 2 years ago
Answered

Good day.


I'm looking for a way to reduce the number of clicks required to export to pgf tikz code. I came to the idea that a Linux bash terminal can be used for this purpose.


I am confused that in the graphical interface of geogebra it is possible to export the tikz code to pgf, but I did not find the corresponding command in the geogebra launch options. I tried to guess this command and of course "geogebra --export=output.tex test_export.ggb" did not produce output.tex file


I suspect that this is possible through manipulation of Java options for launching geogebra, but I do not understand this, so I ask for help.


Is there a way to create this bash command?


Using ubuntu 20, experimenting with geogebra 5

Comments (4)

photo
1

Sorry, I don't think that's possible with Classic 5, see https://wiki.geogebra.org/e...


You can automate it from JavaScript in the browser with ggbApplet.exportPGF()

photo
1

can i learn more about the ggbApplet.exportPGF() command?

photo
1

how can i do this through the browser?

photo
1

You need JavaScript. See the attached file in my question:https://help.geogebra.org/t....

This is the file:

https://help.geogebra.org/a...

photo
© 2023 International GeoGebra Institute