Referencia:Formato Archivo
Acceso a Archivos de GeoGebra
Los archivos de GeoGebra tienen la extensión .ggb
(bocetos de GeoGebra) o .ggt
(herramientas de GeoGebra), a los que basta re-nominarlos para que pasen a tener la extensión .zip
. Entonces se los puede abrir fácilmente con cualquier programa para archivos ZIP que los abra como a cualquier otro archivo de extensión .zip
file.
Cuando se exporta una Hoja Dinámica: se crean varios archivos:
- un archivo html (por ejemplo. circular.html) que incluye la hoja dinámica propiamente dicha
- un archivo GGB (por ejemplo. circular.ggb) que incluye la construcción, el boceto de GeoGebra.
- varios archivos JAR (como geogebra.jar) que incluye a GeoGebra y le otorga su tenor interactivo a la hoja dinámica.
Todos estos archivos (por ejemplo. circular.html, circular.ggb y geogebra.jar) deben estar presentes en la misma carpeta (o directorio) para que el boceto funcione dinámicamente. El archivo HTML exportado (por ejemplo. circular.html) puede apreciarse con cualquier navegador de Internet (por ejemplo. Mozilla, Internet Explorer, Safari). Para que el comportamiento de la construcción sea dinámico, el equipo de trabajo debe tener instalado Java (se lo puede bajar desde http://www.java.com gratuitamente). Para trabajar sobre una Hoja Dinámica en uno de los equipos de una red, como la secular por ejemplo, quien administre la red local debe asegurarse de tener Java adecuadamente instalado.
Contenidos
.ggb - Hoja Dinámica GeoGebra
La extensión .ggb
es la usual de archivos de bocetos de GeoGebra. Al cambiar su extensión por .zip
se encontrarán los siguientes archivos después de decomprimirlo ("deszippear"):
geogebra.xml
Este es el archivo en que se almacena toda la información sobre la construcción, en XML. Para más información, consultar el archivo XML reference.
geogebra_thumbanil.png
Esta imagen contiene una pequeña imagen de la construcción guardada en el archivo geogebra.xml
. GeoGebra usa esta imagen para la pre-visualización de archivos que se produce cuando se "Abre.." y "Guarda como.." o en otras situaciones (explorador de archivos del sistema, sistema en línea u otros programa de revisión previa a alzar archivos de GeoGebra).
imágenes
Images used in the construction (included using the GeoGebra Herramienta de Inserta Imagen) or as icons of custom tools are not stored with human-readable filenames, but can easily copied and renamed to be extracted out of GeoGebra files. If there are no images or custom tools in the .ggb
there will be just the geogebra.xml
and geogebra_thumbnail.png
in the .ggb
.
.ggt - Herramientas de GeoGebra
The .ggt
files use the same technique for storage as the .ggb
files, so renaming and unzipping will reveal the following files:
geogebra_macro.xml
This XML stores the main information about the tool. As custom tools are also stored in the normal .ggb
files the structure of the entries in this files are also explained in the XML reference.
imágenes
If there is any special icon assigned to this tool this icon is stored in a sub-folder. Be aware that both the icon and the sub-folder have names not intended to be read by humans, so don't try to make some sense out of it.
Modifying the files
Modifying .ggb
or .ggt
files (namely the .xml
files within them) is clearly a task for the most tech-savvy users of GeoGebra. Whether you want to touch the .xml
because you want to modify something which can't be modified by GeoGebra at the moment, like the definition of a custom tool, or you want to trick GeoGebra or just experiment you should take some tips for your journey:
- Backup your files. It's almost certain that you will break your files sometime if you're modifying the XML definition.
- Read the XML reference to understand what you are doing.
- Be aware that the changes you've made may be lost if you re-save your file within GeoGebra. While it might be possible that GeoGebra understands something unusual while loading it might not save it at all or save it somehow anormal which corrupts the file.
- ZIP all required files at the end using the most standard ZIP options (no encryption etc.) and rename your files back to
.ggb
.