Revision: 350
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=350&view=rev
Author: frlan
Date: 2008-12-22 22:07:46 +0000 (Mon, 22 Dec 2008)
Log Message:
-----------
GeanyLipsum: Insert lipsum text only when dialog wasn't aborted
Modified Paths:
--------------
trunk/geanylipsum/src/geanylipsum.c
Modified: trunk/geanylipsum/src/geanylipsum.c
===================================================================
--- trunk/geanylipsum/src/geanylipsum.c 2008-12-21 21:09:27 UTC (rev 349)
+++ trunk/geanylipsum/src/geanylipsum.c 2008-12-22 22:07:46 UTC (rev 350)
@@ -130,13 +130,15 @@
// Number of titles/paragraphes etc.
// t.b.d.
gtk_widget_destroy(dialog);
+
+ insert_string(LOREMIPSUM);
}
else
{
gtk_widget_destroy(dialog);
}
- insert_string(LOREMIPSUM);
+
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 347
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=347&view=rev
Author: frlan
Date: 2008-12-21 21:01:48 +0000 (Sun, 21 Dec 2008)
Log Message:
-----------
GeanyLaTeX: Use of /* */ instead of //
Modified Paths:
--------------
trunk/geanylatex/src/geanylatex.c
trunk/geanylatex/src/letters.c
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2008-12-15 19:23:36 UTC (rev 346)
+++ trunk/geanylatex/src/geanylatex.c 2008-12-21 21:01:48 UTC (rev 347)
@@ -216,7 +216,7 @@
gint
count_menu_entries(SubMenuTemplate *tmp, gint categorie)
{
- // TODO: Reset max value to stop before it's too late
+ /* TODO: Reset max value to stop before it's too late */
gint i;
gint count = 0;
if (categorie == -1)
@@ -262,7 +262,7 @@
GtkWidget *sub_menu_cat[categories][2];
GtkWidget *active_submenu = NULL;
- // Creates sub menus based on information from letter.h
+ /* Creates sub menus based on information from letter.h */
for (i = 0; i < categories; i++)
{
if (count_menu_entries(menu_template, i) > 0)
@@ -272,35 +272,36 @@
}
}
- // Searching for all categories
+ /* Searching for all categories */
for (i = 0; i < categories; i++)
{
gboolean split = FALSE;
gboolean last_sub_menu = FALSE;
gboolean sorted = category_name[i].sorted;
- gint local_count = 0; // To check whether we need to build up a new sub sub menu.
+ /* To check whether we need to build up a new sub sub menu. */
+ gint local_count = 0;
gint item_count = count_menu_entries(menu_template, i);
if (item_count < 1)
continue;
- // Default is, not to split anything to make menu not
- // deeper than realy needed.
+ /* Default is, not to split anything to make menu not */
+ /* deeper than realy needed. */
if (item_count > MAX_MENU_ENTRIES)
{
split = TRUE;
}
- // Setting active sub menu to sub menu of category
+ /* Setting active sub menu to sub menu of category */
sub_menu = sub_menu_cat[i][0];
active_submenu = sub_menu;
- // Finding entries for each category
+ /* Finding entries for each category */
for (j = 0; menu_template[j].latex != NULL; j++)
{
if (menu_template[j].cat == i)
{
- // Creates a new sub sub menu if needed
+ /* Creates a new sub sub menu if needed */
if (split == TRUE && (local_count % MAX_MENU_ENTRIES) == 0)
{
gint next_split_point = 0;
@@ -337,7 +338,7 @@
}
}
- // Sets the counter to keep in track if a new submenu needs to be build up
+ /* Sets the counter to keep in track if a new submenu needs to be build up */
local_count = local_count + 1;
character_create_menu_item(sub_menu, g_strconcat(menu_template[j].label, "\t", menu_template[j].latex, NULL), j, callback_function);
}
@@ -415,12 +416,12 @@
GtkTooltips *tooltip = gtk_tooltips_new();
- // Creating and formatting table
+ /* Creating and formatting table */
table = gtk_table_new(2, 6, FALSE);
gtk_table_set_col_spacings(GTK_TABLE(table), 6);
gtk_table_set_row_spacings(GTK_TABLE(table), 6);
- // Documentclass
+ /* Documentclass */
label_documentclass = gtk_label_new(_("Documentclass:"));
documentclass_combobox = gtk_combo_box_new_text();
gtk_tooltips_set_tip(tooltip, documentclass_combobox,
@@ -438,7 +439,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label_documentclass, 0, 1, 0, 1);
gtk_table_attach_defaults(GTK_TABLE(table), documentclass_combobox, 1, 2, 0, 1);
- // Encoding
+ /* Encoding */
label_encoding = gtk_label_new(_("Encoding:"));
encoding_combobox = gtk_combo_box_new_text();
@@ -457,7 +458,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label_encoding, 0, 1, 1, 2);
gtk_table_attach_defaults(GTK_TABLE(table), encoding_combobox, 1, 2, 1, 2);
- // Scriptsize
+ /* Scriptsize */
label_scriptsize = gtk_label_new(_("Fontsize:"));
scriptsize_combobox = gtk_combo_box_new_text();
gtk_tooltips_set_tip(tooltip, scriptsize_combobox,
@@ -473,7 +474,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label_scriptsize, 0, 1, 2, 3);
gtk_table_attach_defaults(GTK_TABLE(table), scriptsize_combobox, 1, 2, 2, 3);
- // Author
+ /* Author */
label_author = gtk_label_new(_("Author:"));
author_textbox = gtk_entry_new();
gtk_tooltips_set_tip(tooltip, author_textbox,
@@ -487,7 +488,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label_author, 0, 1, 3, 4);
gtk_table_attach_defaults(GTK_TABLE(table), author_textbox, 1, 2, 3, 4);
- // Date
+ /* Date */
label_date = gtk_label_new(_("Date:"));
date_textbox = gtk_entry_new();
gtk_tooltips_set_tip(tooltip, date_textbox,
@@ -497,7 +498,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label_date, 0, 1, 4, 5);
gtk_table_attach_defaults(GTK_TABLE(table), date_textbox, 1, 2, 4, 5);
- // Title of the new document
+ /* Title of the new document */
label_title = gtk_label_new(_("Title:"));
title_textbox = gtk_entry_new();
gtk_tooltips_set_tip(tooltip, title_textbox, _("Sets the title of your new document."),
@@ -506,7 +507,7 @@
gtk_table_attach_defaults(GTK_TABLE(table), label_title, 0, 1, 5, 6);
gtk_table_attach_defaults(GTK_TABLE(table), title_textbox, 1, 2, 5, 6);
- // Papersize
+ /* Papersize */
label_papersize = gtk_label_new(_("Paper size:"));
papersize_combobox = gtk_combo_box_new_text();
gtk_tooltips_set_tip(tooltip, papersize_combobox,
@@ -524,7 +525,7 @@
gtk_widget_show_all(table);
- // Building the wizard-dialog and showing it
+ /* Building the wizard-dialog and showing it */
dialog = gtk_dialog_new_with_buttons(_("LaTeX-Wizard"),
GTK_WINDOW(geany->main_widgets->window),
GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL,
Modified: trunk/geanylatex/src/letters.c
===================================================================
--- trunk/geanylatex/src/letters.c 2008-12-15 19:23:36 UTC (rev 346)
+++ trunk/geanylatex/src/letters.c 2008-12-21 21:01:48 UTC (rev 347)
@@ -51,7 +51,7 @@
* AAACCCBBB is valid
* ACABCBACB is _not_ valid and will course trouble */
SubMenuTemplate char_array[] = {
- // Greek characters
+ /* Greek characters */
{GREEK_LETTERS, "Α", "\\Alpha" },
{GREEK_LETTERS, "α", "\\alpha" },
{GREEK_LETTERS, "Β", "\\Beta" },
@@ -106,13 +106,13 @@
{GREEK_LETTERS, "ϒ", "\\upsih" },
{GREEK_LETTERS, "ϖ", "\\piv" },
- // German Umlaute
+ /* German Umlaute */
{GERMAN_LETTERS, "ä","\"a"},
{GERMAN_LETTERS, "ü","\"u"},
{GERMAN_LETTERS, "ö","\"o"},
{GERMAN_LETTERS, "ß","\"s"},
- // Czech characters
+ /* Czech characters */
{MISC_LETTERS, "ě","\\v{e}"},
{MISC_LETTERS, "š","\\v{s}"},
{MISC_LETTERS, "č","\\v[c}"},
@@ -125,7 +125,7 @@
{MISC_LETTERS, "Ř","\\v{R}"},
{MISC_LETTERS, "Ž","\\v{Z}"},
- //// Misc
+ /* Misc */
{MISC_LETTERS, "\\","\\backslash"},
{MISC_LETTERS, "€", "\\euro"},
{ARROW_CHAR, "←", "\\leftarrow" },
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 344
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=344&view=rev
Author: frlan
Date: 2008-12-14 23:11:09 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
GeanyLaTeX: Added a template for LaTeX beamer so it can be used now from wizard dialog
Modified Paths:
--------------
trunk/geanylatex/po/de.po
trunk/geanylatex/po/geanylatex.pot
trunk/geanylatex/src/geanylatex.c
trunk/geanylatex/src/geanylatex.h
Modified: trunk/geanylatex/po/de.po
===================================================================
--- trunk/geanylatex/po/de.po 2008-12-13 10:50:58 UTC (rev 343)
+++ trunk/geanylatex/po/de.po 2008-12-14 23:11:09 UTC (rev 344)
@@ -2,7 +2,7 @@
msgstr ""
"Project-Id-Version: GeanyLaTeX\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-12-03 21:29+0100\n"
+"POT-Creation-Date: 2008-12-15 00:01+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Frank Lanitz <frank(a)frank.uvena.de>\n"
"Language-Team: geany-118n <geany-118n(a)uvena.de>\n"
@@ -74,30 +74,34 @@
msgid "Letter"
msgstr "Brief"
+#: src/geanylatex.c:432
+msgid "Presentation"
+msgstr "Präsentation"
+
#. Encoding
-#: src/geanylatex.c:441
+#: src/geanylatex.c:442
msgid "Encoding:"
msgstr "Zeichensatz:"
-#: src/geanylatex.c:445
+#: src/geanylatex.c:446
msgid "Set the encoding for your new document"
msgstr "Zeichensatz für das neue Dokument"
#. Scriptsize
-#: src/geanylatex.c:460
+#: src/geanylatex.c:461
msgid "Fontsize:"
msgstr "Schriftgröße:"
-#: src/geanylatex.c:463
+#: src/geanylatex.c:464
msgid "Set the default fontsize of your new document"
msgstr "Setzt die Standardschriftgröße für das neue Dokument"
#. Author
-#: src/geanylatex.c:476
+#: src/geanylatex.c:477
msgid "Author:"
msgstr "Autor:"
-#: src/geanylatex.c:479
+#: src/geanylatex.c:480
msgid ""
"Sets the value of the \\author command. In most cases this should be your "
"name"
@@ -105,11 +109,11 @@
"Setzt den Eintrag für den \\author Befehl. Meist sollte hier Ihr Name stehen."
#. Date
-#: src/geanylatex.c:490
+#: src/geanylatex.c:491
msgid "Date:"
msgstr "Datum:"
-#: src/geanylatex.c:493
+#: src/geanylatex.c:494
msgid ""
"Sets the value of the \\date command inside header of your newly created "
"LaTeX-document. Keeping it at \\today is a good decision if you don't need "
@@ -119,35 +123,35 @@
"meisten Fällen sollte \\today eine gute Wahl sein."
#. Title of the new document
-#: src/geanylatex.c:500
+#: src/geanylatex.c:501
msgid "Title:"
msgstr "Titel:"
-#: src/geanylatex.c:502
+#: src/geanylatex.c:503
msgid "Sets the title of your new document."
msgstr "Setzt den Titel für das neue Dokument."
#. Papersize
-#: src/geanylatex.c:509
+#: src/geanylatex.c:510
msgid "Paper size:"
msgstr "Papiergröße:"
-#: src/geanylatex.c:512
+#: src/geanylatex.c:513
msgid "Choose the paper format for the newly created document"
msgstr ""
"Setzt das Papierformat als Argument der Dokumentenklasse für das neue "
"Dokument"
#. Building the wizard-dialog and showing it
-#: src/geanylatex.c:527
+#: src/geanylatex.c:528
msgid "LaTeX-Wizard"
msgstr "LaTeX-Assistent"
-#: src/geanylatex.c:537
+#: src/geanylatex.c:538
msgid "Use KOMA-script classes if possible"
msgstr "Benutze KOMA-Skript wenn möglich"
-#: src/geanylatex.c:540
+#: src/geanylatex.c:541
msgid ""
"Uses the KOMA-script classes by Markus Kohm.\n"
"Keep in mind: To compile your document these classes have to be installed "
@@ -156,11 +160,11 @@
"Wenn diese Option aktiviert ist, werden die KOMA-Skript-Klassen von Markus "
"Kohm genutzt. Sie müssen natürlich dafür installiert sein."
-#: src/geanylatex.c:546
+#: src/geanylatex.c:547
msgid "Use draft mode"
msgstr "Entwurfsmodus benutzen"
-#: src/geanylatex.c:548
+#: src/geanylatex.c:549
msgid ""
"Set the draft flag inside new created documents to get documents with a "
"number of debugging helpers"
@@ -168,63 +172,63 @@
"Setzt die Option draft für die Dokumentenklasse um das neue Dokument mit "
"einer Nummer von kleinen Korrekturhinweisen zu versehen."
-#: src/geanylatex.c:766
+#: src/geanylatex.c:777
msgid "Dear Sir or Madame"
msgstr "Sehr geehrte Damen und Herren"
-#: src/geanylatex.c:767
+#: src/geanylatex.c:778
msgid "With kind regards"
msgstr "Mit freundlichen Grüßen"
-#: src/geanylatex.c:809
+#: src/geanylatex.c:820
msgid "_LaTeX"
msgstr "_LaTeX"
-#: src/geanylatex.c:816
+#: src/geanylatex.c:827
msgid "LaTeX-_Wizard"
msgstr "LaTeX-_Assistent"
-#: src/geanylatex.c:819
+#: src/geanylatex.c:830
msgid "Starts a Wizard to easily create LaTeX-documents"
msgstr "Öffnet einen Assistenten, um einfache LaTeX-Dokumente zu erstellen."
-#: src/geanylatex.c:824
+#: src/geanylatex.c:835
msgid "Insert _Special Character"
msgstr "_Sonderzeichen einfügen"
-#: src/geanylatex.c:826
+#: src/geanylatex.c:837
msgid "Helps to use some not very common letters and signs"
msgstr "Unterstützt bei der Verwendung von seltenen Sonderzeichen"
-#: src/geanylatex.c:833
+#: src/geanylatex.c:844
msgid "Insert _Reference"
msgstr "_Verweis einfügen"
-#: src/geanylatex.c:835
+#: src/geanylatex.c:846
msgid "Inserting references to the document"
msgstr "Eine Referenz in das Dokument einfügen"
-#: src/geanylatex.c:839
+#: src/geanylatex.c:850
msgid "Insert _Label"
msgstr "_Lesezeichen einfügen"
-#: src/geanylatex.c:841
+#: src/geanylatex.c:852
msgid "Helps at inserting labels to a document"
msgstr "Untersützt bei dem Einfügen von Lesezeichen in ein Dokument"
-#: src/geanylatex.c:845
+#: src/geanylatex.c:856
msgid "BibTeX"
msgstr "BibTeX"
-#: src/geanylatex.c:862
+#: src/geanylatex.c:873
msgid "Run LaTeX-Wizard"
msgstr "LaTeX-Assistent starten"
-#: src/geanylatex.c:864
+#: src/geanylatex.c:875
msgid "Insert \\label"
msgstr "\\label einfügen"
-#: src/geanylatex.c:866
+#: src/geanylatex.c:877
msgid "Insert \\ref"
msgstr "\\ref einfügen"
Modified: trunk/geanylatex/po/geanylatex.pot
===================================================================
--- trunk/geanylatex/po/geanylatex.pot 2008-12-13 10:50:58 UTC (rev 343)
+++ trunk/geanylatex/po/geanylatex.pot 2008-12-14 23:11:09 UTC (rev 344)
@@ -8,7 +8,7 @@
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2008-12-03 21:29+0100\n"
+"POT-Creation-Date: 2008-12-15 00:01+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
@@ -77,41 +77,45 @@
msgid "Letter"
msgstr ""
+#: src/geanylatex.c:432
+msgid "Presentation"
+msgstr ""
+
#. Encoding
-#: src/geanylatex.c:441
+#: src/geanylatex.c:442
msgid "Encoding:"
msgstr ""
-#: src/geanylatex.c:445
+#: src/geanylatex.c:446
msgid "Set the encoding for your new document"
msgstr ""
#. Scriptsize
-#: src/geanylatex.c:460
+#: src/geanylatex.c:461
msgid "Fontsize:"
msgstr ""
-#: src/geanylatex.c:463
+#: src/geanylatex.c:464
msgid "Set the default fontsize of your new document"
msgstr ""
#. Author
-#: src/geanylatex.c:476
+#: src/geanylatex.c:477
msgid "Author:"
msgstr ""
-#: src/geanylatex.c:479
+#: src/geanylatex.c:480
msgid ""
"Sets the value of the \\author command. In most cases this should be your "
"name"
msgstr ""
#. Date
-#: src/geanylatex.c:490
+#: src/geanylatex.c:491
msgid "Date:"
msgstr ""
-#: src/geanylatex.c:493
+#: src/geanylatex.c:494
msgid ""
"Sets the value of the \\date command inside header of your newly created "
"LaTeX-document. Keeping it at \\today is a good decision if you don't need "
@@ -119,106 +123,106 @@
msgstr ""
#. Title of the new document
-#: src/geanylatex.c:500
+#: src/geanylatex.c:501
msgid "Title:"
msgstr ""
-#: src/geanylatex.c:502
+#: src/geanylatex.c:503
msgid "Sets the title of your new document."
msgstr ""
#. Papersize
-#: src/geanylatex.c:509
+#: src/geanylatex.c:510
msgid "Paper size:"
msgstr ""
-#: src/geanylatex.c:512
+#: src/geanylatex.c:513
msgid "Choose the paper format for the newly created document"
msgstr ""
#. Building the wizard-dialog and showing it
-#: src/geanylatex.c:527
+#: src/geanylatex.c:528
msgid "LaTeX-Wizard"
msgstr ""
-#: src/geanylatex.c:537
+#: src/geanylatex.c:538
msgid "Use KOMA-script classes if possible"
msgstr ""
-#: src/geanylatex.c:540
+#: src/geanylatex.c:541
msgid ""
"Uses the KOMA-script classes by Markus Kohm.\n"
"Keep in mind: To compile your document these classes have to be installed "
"before."
msgstr ""
-#: src/geanylatex.c:546
+#: src/geanylatex.c:547
msgid "Use draft mode"
msgstr ""
-#: src/geanylatex.c:548
+#: src/geanylatex.c:549
msgid ""
"Set the draft flag inside new created documents to get documents with a "
"number of debugging helpers"
msgstr ""
-#: src/geanylatex.c:766
+#: src/geanylatex.c:777
msgid "Dear Sir or Madame"
msgstr ""
-#: src/geanylatex.c:767
+#: src/geanylatex.c:778
msgid "With kind regards"
msgstr ""
-#: src/geanylatex.c:809
+#: src/geanylatex.c:820
msgid "_LaTeX"
msgstr ""
-#: src/geanylatex.c:816
+#: src/geanylatex.c:827
msgid "LaTeX-_Wizard"
msgstr ""
-#: src/geanylatex.c:819
+#: src/geanylatex.c:830
msgid "Starts a Wizard to easily create LaTeX-documents"
msgstr ""
-#: src/geanylatex.c:824
+#: src/geanylatex.c:835
msgid "Insert _Special Character"
msgstr ""
-#: src/geanylatex.c:826
+#: src/geanylatex.c:837
msgid "Helps to use some not very common letters and signs"
msgstr ""
-#: src/geanylatex.c:833
+#: src/geanylatex.c:844
msgid "Insert _Reference"
msgstr ""
-#: src/geanylatex.c:835
+#: src/geanylatex.c:846
msgid "Inserting references to the document"
msgstr ""
-#: src/geanylatex.c:839
+#: src/geanylatex.c:850
msgid "Insert _Label"
msgstr ""
-#: src/geanylatex.c:841
+#: src/geanylatex.c:852
msgid "Helps at inserting labels to a document"
msgstr ""
-#: src/geanylatex.c:845
+#: src/geanylatex.c:856
msgid "BibTeX"
msgstr ""
-#: src/geanylatex.c:862
+#: src/geanylatex.c:873
msgid "Run LaTeX-Wizard"
msgstr ""
-#: src/geanylatex.c:864
+#: src/geanylatex.c:875
msgid "Insert \\label"
msgstr ""
-#: src/geanylatex.c:866
+#: src/geanylatex.c:877
msgid "Insert \\ref"
msgstr ""
Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c 2008-12-13 10:50:58 UTC (rev 343)
+++ trunk/geanylatex/src/geanylatex.c 2008-12-14 23:11:09 UTC (rev 344)
@@ -429,6 +429,7 @@
gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 1, _("Article"));
gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 2, _("Report"));
gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 3, _("Letter"));
+ gtk_combo_box_insert_text(GTK_COMBO_BOX(documentclass_combobox), 4, _("Presentation"));
gtk_combo_box_set_active(GTK_COMBO_BOX(documentclass_combobox), 0);
@@ -648,6 +649,10 @@
{
documentclass_str = g_utf8_casefold("letter", -1);
}
+ case 4:
+ {
+ documentclass_str = g_utf8_casefold("beamer", -1);
+ }
}
}
else
@@ -674,11 +679,17 @@
documentclass_str = g_utf8_casefold("letter", -1);
break;
}
+ case 4:
+ {
+ documentclass_str = g_utf8_casefold("beamer", -1);
+ }
}
}
if (documentclass_int == 3)
code = g_string_new(TEMPLATE_LATEX_LETTER);
+ else if (documentclass_int == 4)
+ code = g_string_new(TEMPLATE_LATEX_BEAMER);
else
code = g_string_new(TEMPLATE_LATEX);
Modified: trunk/geanylatex/src/geanylatex.h
===================================================================
--- trunk/geanylatex/src/geanylatex.h 2008-12-13 10:50:58 UTC (rev 343)
+++ trunk/geanylatex/src/geanylatex.h 2008-12-14 23:11:09 UTC (rev 344)
@@ -26,7 +26,6 @@
#define GEANYLATEX_H
-
#include "geany.h"
#include "support.h"
#include "plugindata.h"
@@ -80,6 +79,19 @@
\\end{letter}\n\
\\end{document}\n"
+#define TEMPLATE_LATEX_BEAMER "\
+\\documentclass[]{{DOCUMENTCLASS}}\n\
+\\usetheme{default}\
+{ENCODING}\
+{TITLE}\
+{AUTHOR}\
+{DATE}\
+\\begin{document}\n\
+\\frame{\\titlepage}\n\
+\\begin{frame}\n\
+\\end{frame}\n\
+\\end{document}\n"
+
#define create_sub_menu(base_menu, menu, item, title) \
(menu) = gtk_menu_new(); \
(item) = gtk_menu_item_new_with_mnemonic((title)); \
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.