From f204d4c2e8bf679e38e5ecb65638f0888a03f0e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Thu, 26 Jul 2018 15:02:44 +0200 Subject: [PATCH] Fix bug in LaTeX renderer --- latex-output/latex-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/latex-output/latex-output.c b/latex-output/latex-output.c index 1f6fd06..2180e25 100644 --- a/latex-output/latex-output.c +++ b/latex-output/latex-output.c @@ -114,7 +114,7 @@ static gboolean write_layer_env(FILE *tex_file, GdkRGBA *color, int layer, GList color->red = inf->color.red; color->green = inf->color.green; color->blue = inf->color.blue; - g_string_printf(buffer, "\\begin{pgfonlayer}{l%d}\n\\ifcreatepdflayers\n\\begin{scope}[ocg={ref=%d, status=visible,name={%s}}]\n\\fi]\n", + g_string_printf(buffer, "\\begin{pgfonlayer}{l%d}\n\\ifcreatepdflayers\n\\begin{scope}[ocg={ref=%d, status=visible,name={%s}}]\n\\fi\n", layer, layer, inf->name); WRITEOUT_BUFFER(buffer); return TRUE;