Tikz code generated by Geogebra will not compile.

sk8rcn shared this problem 4 years ago
Not a Problem

I just drew two simple triangles, with colored edges and vertices.

It will not compile in Sublime Text or in Overleaf.

First, I added the packages to my preamble and then dropped the tikz picture in and it didn't compile. Next, I copied directly the text in the file, and it won't compile either.

Comments (5)

photo
1

No problems on my side with TexMaker.

/25rNALQ1LFcAAAAASUVORK5CYII=

photo
1

Fine also in OverLeaf https://www.overleaf.com/re...

photo
1

@Michael Yep it works fine on overleaf for very simplistic figures and without any kind of LaTeX formulas. When it comes to (almost) real maths that's another story (at least for me). https://www.overleaf.com/re...

Tried also with TeXshop with the same result.

Thx for any kind of hint/help

photo
1

First of all work cleaner. If you run the Overleaf syntax check you will see that you have at least 2 syntax errors in your export. Unfortunately GGb does not warn you if you write wrong LaTeX code.

Secondly you have to set the right compiler for PSTricks to work. Just search the internet a bit there are a ton of hints that PStricks does not work with PDFlatex.

Or thirdly just use Tikz which works with the default pdflatex compiler by default (mostly).

And last but not least without the original source (GGb file) there are less forum members which might be able to help you effectively.

photo
1

Also there are some really good hints from -Loco- here


https://help.geogebra.org/t...

© 2023 International GeoGebra Institute