作図ソフト dia の改良版
修訂 | b3dbb950373b33fb7bc37d3874f570b2e4c97cc1 (tree) |
---|---|
時間 | 2009-09-20 05:40:16 |
作者 | Hans Breuer <hans@breu...> |
Commiter | Hans Breuer |
Bug #581868 - dia -t tex file.dia export
Unique names for 'pgf-tex' and 'pstricks-tex' to allow
to select the filter to use when both tex exporters
are active.
@@ -643,7 +643,7 @@ app_init (int argc, char **argv) | ||
643 | 643 | # endif |
644 | 644 | /* we always have pixbuf but don't know exactly all it's *few* save formats */ |
645 | 645 | "pixbuf-png), jpg, " |
646 | - "shape, svg, tex, " WMF | |
646 | + "shape, svg, tex (pgf-tex, pstricks-tex), " WMF | |
647 | 647 | "wpg"); |
648 | 648 | |
649 | 649 | GOptionContext *context = NULL; |
@@ -1276,5 +1276,7 @@ static const gchar *extensions[] = { "tex", NULL }; | ||
1276 | 1276 | DiaExportFilter pgf_export_filter = { |
1277 | 1277 | N_("LaTeX PGF macros"), |
1278 | 1278 | extensions, |
1279 | - export_pgf | |
1279 | + export_pgf, | |
1280 | + NULL, | |
1281 | + "pgf-tex" | |
1280 | 1282 | }; |
@@ -986,5 +986,7 @@ static const gchar *extensions[] = { "tex", NULL }; | ||
986 | 986 | DiaExportFilter pstricks_export_filter = { |
987 | 987 | N_("TeX PSTricks macros"), |
988 | 988 | extensions, |
989 | - export_pstricks | |
989 | + export_pstricks, | |
990 | + NULL, | |
991 | + "pstricks-tex" | |
990 | 992 | }; |