• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

修訂b3dbb950373b33fb7bc37d3874f570b2e4c97cc1 (tree)
時間2009-09-20 05:40:16
作者Hans Breuer <hans@breu...>
CommiterHans Breuer

Log Message

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.

Change Summary

差異

--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -643,7 +643,7 @@ app_init (int argc, char **argv)
643643 # endif
644644 /* we always have pixbuf but don't know exactly all it's *few* save formats */
645645 "pixbuf-png), jpg, "
646- "shape, svg, tex, " WMF
646+ "shape, svg, tex (pgf-tex, pstricks-tex), " WMF
647647 "wpg");
648648
649649 GOptionContext *context = NULL;
--- a/plug-ins/pgf/render_pgf.c
+++ b/plug-ins/pgf/render_pgf.c
@@ -1276,5 +1276,7 @@ static const gchar *extensions[] = { "tex", NULL };
12761276 DiaExportFilter pgf_export_filter = {
12771277 N_("LaTeX PGF macros"),
12781278 extensions,
1279- export_pgf
1279+ export_pgf,
1280+ NULL,
1281+ "pgf-tex"
12801282 };
--- a/plug-ins/pstricks/render_pstricks.c
+++ b/plug-ins/pstricks/render_pstricks.c
@@ -986,5 +986,7 @@ static const gchar *extensions[] = { "tex", NULL };
986986 DiaExportFilter pstricks_export_filter = {
987987 N_("TeX PSTricks macros"),
988988 extensions,
989- export_pstricks
989+ export_pstricks,
990+ NULL,
991+ "pstricks-tex"
990992 };