Compare commits

..

No commits in common. "9b7073604b7cf1f68dc2d47b7de67084973c9989" and "c1a7dce0a34ae3254d63372a3afe4f007ece86eb" have entirely different histories.

View File

@ -70,7 +70,7 @@ static gboolean write_layer_env(FILE *tex_file, GdkRGBA *color, int layer, GList
color->red = inf->color.red; color->red = inf->color.red;
color->green = inf->color.green; color->green = inf->color.green;
color->blue = inf->color.blue; color->blue = inf->color.blue;
g_string_printf(buffer, "\\begin{pgfonlayer}{l%d}\n\\begin{scope}[ocg={ref=%d, status=visible,name=%d}]\n", layer, layer, layer); g_string_printf(buffer, "\\begin{pgfonlayer}{l%d}\n", layer);
WRITEOUT_BUFFER(buffer); WRITEOUT_BUFFER(buffer);
return TRUE; return TRUE;
} }
@ -110,7 +110,7 @@ static void generate_graphics(FILE *tex_file, GList *graphics, GList *linfo, GSt
WRITEOUT_BUFFER(buffer); WRITEOUT_BUFFER(buffer);
} }
g_string_printf(buffer, "\\end{scope}\n\\end{pgfonlayer}\n"); g_string_printf(buffer, "\\end{pgfonlayer}\n");
WRITEOUT_BUFFER(buffer); WRITEOUT_BUFFER(buffer);
} }