[gnome-latex] LaTeX commands: create the LaTeX menu with Amtk



commit 06781dcced9cbddd368ac48d6429bce3e48f4dbc
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Apr 28 00:48:58 2020 +0200

    LaTeX commands: create the LaTeX menu with Amtk

 docs/reference/gnome-latex-sections.txt   |   1 +
 src/latex_menu.vala                       | 243 +------------------
 src/liblatexila/latexila-latex-commands.c | 386 +++++++++++++++++++++++-------
 src/liblatexila/latexila-latex-commands.h |   4 +-
 src/main_window.vala                      |   3 +
 src/ui/ui.xml                             | 150 ------------
 6 files changed, 312 insertions(+), 475 deletions(-)
---
diff --git a/docs/reference/gnome-latex-sections.txt b/docs/reference/gnome-latex-sections.txt
index bf3634e..5ffa7c5 100644
--- a/docs/reference/gnome-latex-sections.txt
+++ b/docs/reference/gnome-latex-sections.txt
@@ -150,6 +150,7 @@ latexila_factory_get_type
 latexila_latex_commands_add_action_infos
 latexila_latex_commands_add_actions
 latexila_latex_commands_get_edit_toolbar
+latexila_latex_commands_create_latex_menu
 </SECTION>
 
 <SECTION>
diff --git a/src/latex_menu.vala b/src/latex_menu.vala
index 33da685..29500df 100644
--- a/src/latex_menu.vala
+++ b/src/latex_menu.vala
@@ -1,7 +1,7 @@
 /*
  * This file is part of GNOME LaTeX.
  *
- * Copyright © 2010-2011, 2017 Sébastien Wilmet
+ * Copyright © 2010-2020 Sébastien Wilmet
  *
  * GNOME LaTeX is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -27,20 +27,6 @@ public class LatexMenu : Gtk.ActionGroup
 
         // LaTeX
         { "Latex", null, "_LaTeX" },
-        { "Sectioning", "sectioning", N_("_Sectioning") },
-        { "References", "references", N_("_References") },
-        { "Environments", "format-justify-center", "_Environments" },
-        { "ListEnvironments", "list-itemize", N_("_List Environments") },
-        { "CharacterSize", "character-size", N_("_Characters Sizes") },
-        { "FontStyles", "bold", N_("_Font Styles") },
-        { "FontFamily", null, N_("_Font Family") },
-        { "FontSeries", null, N_("F_ont Series") },
-        { "FontShape", null, N_("Fo_nt Shape") },
-        { "Tabular", "table", N_("_Tabular") },
-        { "Presentation", "x-office-presentation", "_Presentation" },
-        { "Spacing", null, N_("_Spacing") },
-        { "Accents", null, N_("International _Accents") },
-        { "LatexMisc", null, N_("_Misc") },
 
         // Math
         { "Math", null, N_("_Math") },
@@ -68,233 +54,6 @@ public class LatexMenu : Gtk.ActionGroup
 
         Latexila.latex_commands_add_actions (main_window);
 
-        // LaTeX: Sectioning
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::part",
-            this, "SectioningPart");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::chapter",
-            this, "SectioningChapter");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::section",
-            this, "SectioningSection");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::subsection",
-            this, "SectioningSubsection");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::subsubsection",
-            this, "SectioningSubsubsection");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::paragraph",
-            this, "SectioningParagraph");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::subparagraph",
-            this, "SectioningSubparagraph");
-
-        // LaTeX: References
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::label",
-            this, "ReferencesLabel");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::ref",
-            this, "ReferencesRef");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::pageref",
-            this, "ReferencesPageref");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::index",
-            this, "ReferencesIndex");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::footnote",
-            this, "ReferencesFootnote");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::cite",
-            this, "ReferencesCite");
-
-        // LaTeX: Environments
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::center",
-            this, "EnvCenter");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::flushleft",
-            this, "EnvLeft");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::flushright",
-            this, "EnvRight");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-figure",
-            this, "EnvFigure");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-table",
-            this, "EnvTable");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::quote",
-            this, "EnvQuote");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::quotation",
-            this, "EnvQuotation");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::verse",
-            this, "EnvVerse");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::verbatim",
-            this, "EnvVerbatim");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::minipage",
-            this, "EnvMinipage");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::titlepage",
-            this, "EnvTitlepage");
-
-        // LaTeX: list environments
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-list-env-simple::itemize",
-            this, "ListEnvItemize");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-list-env-simple::enumerate",
-            this, "ListEnvEnumerate");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-list-env-description",
-            this, "ListEnvDescription");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-list-env-list",
-            this, "ListEnvList");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-space::item",
-            this, "ListEnvItem");
-
-        // LaTeX: character sizes
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::tiny",
-            this, "CharacterSizeTiny");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::scriptsize",
-            this, "CharacterSizeScriptsize");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::footnotesize",
-            this, "CharacterSizeFootnotesize");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::small",
-            this, "CharacterSizeSmall");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::normalsize",
-            this, "CharacterSizeNormalsize");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::large",
-            this, "CharacterSizelarge");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::Large",
-            this, "CharacterSizeLarge");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::LARGE",
-            this, "CharacterSizeLARGE");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::huge",
-            this, "CharacterSizehuge");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::Huge",
-            this, "CharacterSizeHuge");
-
-        // LaTeX: font styles
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::textbf",
-            this, "Bold");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::textit",
-            this, "Italic");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::texttt",
-            this, "Typewriter");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::textsl",
-            this, "Slanted");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::textsc",
-            this, "SmallCaps");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::textsf",
-            this, "SansSerif");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::emph",
-            this, "Emph");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::underline",
-            this, "Underline");
-
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::rmfamily",
-            this, "FontFamilyRoman");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::sffamily",
-            this, "FontFamilySansSerif");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::ttfamily",
-            this, "FontFamilyMonospace");
-
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::mdseries",
-            this, "FontSeriesMedium");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::bfseries",
-            this, "FontSeriesBold");
-
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::upshape",
-            this, "FontShapeUpright");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::itshape",
-            this, "FontShapeItalic");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::slshape",
-            this, "FontShapeSlanted");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-char-style::scshape",
-            this, "FontShapeSmallCaps");
-
-        // LaTeX: Tabular
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::tabbing",
-            this, "TabularTabbing");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-tabular-tabular",
-            this, "TabularTabular");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-tabular-multicolumn",
-            this, "TabularMulticolumn");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-space::hline",
-            this, "TabularHline");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-space::vline",
-            this, "TabularVline");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-tabular-cline",
-            this, "TabularCline");
-
-        // LaTeX: Presentation
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-presentation-frame",
-            this, "PresentationFrame");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-presentation-block",
-            this, "PresentationBlock");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-presentation-columns",
-            this, "PresentationColumns");
-
-        // LaTeX: Spacing
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-spacing-new-line",
-            this, "SpacingNewLine");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-newline::newpage",
-            this, "SpacingNewPage");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-newline::linebreak",
-            this, "SpacingLineBreak");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-newline::pagebreak",
-            this, "SpacingPageBreak");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-space::bigskip",
-            this, "SpacingBigSkip");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-space::medskip",
-            this, "SpacingMedSkip");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::hspace",
-            this, "SpacingHSpace");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::vspace",
-            this, "SpacingVSpace");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-space::noindent",
-            this, "SpacingNoIndent");
-
-        // LaTeX: International accents
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('\\'')",
-            this, "Accent0");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('`')",
-            this, "Accent1");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('^')",
-            this, "Accent2");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('\"')",
-            this, "Accent3");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('~')",
-            this, "Accent4");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('=')",
-            this, "Accent5");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('.')",
-            this, "Accent6");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('v')",
-            this, "Accent7");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('u')",
-            this, "Accent8");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('H')",
-            this, "Accent9");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('c')",
-            this, "Accent10");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('k')",
-            this, "Accent11");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('d')",
-            this, "Accent12");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('b')",
-            this, "Accent13");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('r')",
-            this, "Accent14");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces('t')",
-            this, "Accent15");
-
-        // LaTeX: Misc
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::documentclass",
-            this, "LatexDocumentClass");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::usepackage",
-            this, "LatexUsepackage");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-ams-packages",
-            this, "LatexAMS");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::author",
-            this, "LatexAuthor");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::title",
-            this, "LatexTitle");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::document",
-            this, "LatexBeginDocument");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-simple::maketitle",
-            this, "LatexMakeTitle");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-simple::tableofcontents",
-            this, "LatexTableOfContents");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-env-simple::abstract",
-            this, "LatexAbstract");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::includegraphics",
-            this, "LatexIncludeGraphics");
-        Amtk.utils_create_gtk_action (main_window, "win.latex-command-with-braces::input",
-            this, "LatexInput");
-
         // Math Environments
         Amtk.utils_create_gtk_action (main_window, "win.math-command-env-normal",
             this, "MathEnvNormal");
diff --git a/src/liblatexila/latexila-latex-commands.c b/src/liblatexila/latexila-latex-commands.c
index cf76289..7e34e3e 100644
--- a/src/liblatexila/latexila-latex-commands.c
+++ b/src/liblatexila/latexila-latex-commands.c
@@ -1,7 +1,7 @@
 /*
  * This file is part of GNOME LaTeX.
  *
- * Copyright (C) 2017-2018 - Sébastien Wilmet <swilmet gnome org>
+ * Copyright (C) 2017-2020 - Sébastien Wilmet <swilmet gnome org>
  * Copyright (C) 2018 - Robert Griesel <r griesel gmail com>
  *
  * GNOME LaTeX is free software: you can redistribute it and/or modify
@@ -62,6 +62,23 @@ static const AmtkActionInfoEntry action_info_entries_latex_character_sizes[] = {
        { NULL }
 };
 
+/* LaTeX: Tabular */
+static const AmtkActionInfoEntry action_info_entries_latex_tabular[] = {
+       { "win.latex-command-env-simple::tabbing", NULL, "\\begin{ta_bbing}", NULL,
+         N_("Tabbing — \\begin{tabbing}") },
+       { "win.latex-command-tabular-tabular", NULL, "\\begin{_tabular}", NULL,
+         N_("Tabular — \\begin{tabular}") },
+       { "win.latex-command-tabular-multicolumn", NULL, "\\_multicolumn", NULL,
+         N_("Multicolumn — \\multicolumn") },
+       { "win.latex-command-with-space::hline", NULL, "\\_hline", NULL,
+         N_("Horizontal line — \\hline") },
+       { "win.latex-command-with-space::vline", NULL, "\\_vline", NULL,
+         N_("Vertical line — \\vline") },
+       { "win.latex-command-tabular-cline", NULL, "\\_cline", NULL,
+         N_("Horizontal line (columns specified) — \\cline") },
+       { NULL }
+};
+
 /* LaTeX: Presentation */
 static const AmtkActionInfoEntry action_info_entries_latex_presentation[] = {
        { "win.latex-command-presentation-frame", NULL, "\\begin{frame}", NULL,
@@ -73,6 +90,51 @@ static const AmtkActionInfoEntry action_info_entries_latex_presentation[] = {
        { NULL }
 };
 
+/* LaTeX: Spacing */
+static const AmtkActionInfoEntry action_info_entries_latex_spacing[] = {
+       { "win.latex-command-spacing-new-line", NULL, N_("New _Line"), NULL,
+         N_("New Line — \\\\") },
+       { "win.latex-command-with-newline::newpage", NULL, "\\new_page", NULL,
+         N_("New page — \\newpage") },
+       { "win.latex-command-with-newline::linebreak", NULL, "\\l_inebreak", NULL,
+         N_("Line break — \\linebreak") },
+       { "win.latex-command-with-newline::pagebreak", NULL, "\\p_agebreak", NULL,
+         N_("Page break — \\pagebreak") },
+       { "win.latex-command-with-space::bigskip", NULL, "\\_bigskip", NULL,
+         N_("Big skip — \\bigskip") },
+       { "win.latex-command-with-space::medskip", NULL, "\\_medskip", NULL,
+         N_("Medium skip — \\medskip") },
+       { "win.latex-command-with-braces::hspace", NULL, "\\_hspace", NULL,
+         N_("Horizontal space — \\hspace") },
+       { "win.latex-command-with-braces::vspace", NULL, "\\_vspace", NULL,
+         N_("Vertical space — \\vspace") },
+       { "win.latex-command-with-space::noindent", NULL, "\\_noindent", NULL,
+         N_("No paragraph indentation — \\noindent") },
+       { NULL }
+};
+
+/* LaTeX: International accents */
+static const AmtkActionInfoEntry action_info_entries_latex_accents[] = {
+       { "win.latex-command-with-braces('\\'')", "accent0", "\\'", NULL, N_("Acute accent — \\'") },
+       { "win.latex-command-with-braces('`')", "accent1", "\\`", NULL, N_("Grave accent — \\`") },
+       { "win.latex-command-with-braces('^')", "accent2", "\\^", NULL, N_("Circumflex accent — \\^") },
+       { "win.latex-command-with-braces('\"')", "accent3", "\\\"", NULL, N_("Trema — \\\"") },
+       { "win.latex-command-with-braces('~')", "accent4", "\\~", NULL, N_("Tilde — \\~") },
+       { "win.latex-command-with-braces('=')", "accent5", "\\=", NULL, N_("Macron — \\=") },
+       { "win.latex-command-with-braces('.')", "accent6", "\\.", NULL, N_("Dot above — \\.") },
+       { "win.latex-command-with-braces('v')", "accent7", "\\v", NULL, N_("Caron — \\v") },
+       { "win.latex-command-with-braces('u')", "accent8", "\\u", NULL, N_("Breve — \\u") },
+       { "win.latex-command-with-braces('H')", "accent9", "\\H", NULL,
+         N_("Double acute accent — \\H") },
+       { "win.latex-command-with-braces('c')", "accent10", "\\c", NULL, N_("Cedilla — \\c") },
+       { "win.latex-command-with-braces('k')", "accent11", "\\k", NULL, N_("Ogonek — \\k") },
+       { "win.latex-command-with-braces('d')", "accent12", "\\d", NULL, N_("Dot below — \\d") },
+       { "win.latex-command-with-braces('b')", "accent13", "\\b", NULL, N_("Macron below — \\b") },
+       { "win.latex-command-with-braces('r')", "accent14", "\\r", NULL, N_("Ring — \\r") },
+       { "win.latex-command-with-braces('t')", "accent15", "\\t", NULL, N_("Tie — \\t") },
+       { NULL }
+};
+
 /* Math Environments */
 static const AmtkActionInfoEntry action_info_entries_math_environments[] = {
        { "win.math-command-env-normal", NULL, N_("_Mathematical Environment — $…$"),
@@ -108,6 +170,21 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
        {
                /* action, icon, label, accel, tooltip */
 
+               { "no-gaction-latex-sectioning", "sectioning", N_("_Sectioning") },
+               { "no-gaction-latex-references", "references", N_("_References") },
+               { "no-gaction-latex-environments", "format-justify-center", N_("_Environments") },
+               { "no-gaction-latex-list-environments", "list-itemize", N_("_List Environments") },
+               { "no-gaction-latex-character-size", "character-size", N_("_Characters Sizes") },
+               { "no-gaction-latex-font-styles", "bold", N_("_Font Styles") },
+               { "no-gaction-latex-font-family", NULL, N_("_Font Family") },
+               { "no-gaction-latex-font-series", NULL, N_("F_ont Series") },
+               { "no-gaction-latex-font-shape", NULL, N_("Fo_nt Shape") },
+               { "no-gaction-latex-tabular", "table", N_("_Tabular") },
+               { "no-gaction-latex-presentation", "x-office-presentation", N_("_Presentation") },
+               { "no-gaction-latex-spacing", NULL, N_("_Spacing") },
+               { "no-gaction-latex-accents", NULL, N_("International _Accents") },
+               { "no-gaction-latex-misc", NULL, N_("_Misc") },
+
                /* LaTeX: Sectioning */
 
                { "win.latex-command-with-braces::part", NULL, "\\_part", NULL,
@@ -203,62 +280,6 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
                { "win.latex-command-char-style::scshape", "small_caps", "\\s_cshape", NULL,
                  N_("Small Capitals — \\scshape") },
 
-               /* LaTeX: Tabular */
-
-               { "win.latex-command-env-simple::tabbing", NULL, "\\begin{ta_bbing}", NULL,
-                 N_("Tabbing — \\begin{tabbing}") },
-               { "win.latex-command-tabular-tabular", NULL, "\\begin{_tabular}", NULL,
-                 N_("Tabular — \\begin{tabular}") },
-               { "win.latex-command-tabular-multicolumn", NULL, "\\_multicolumn", NULL,
-                 N_("Multicolumn — \\multicolumn") },
-               { "win.latex-command-with-space::hline", NULL, "\\_hline", NULL,
-                 N_("Horizontal line — \\hline") },
-               { "win.latex-command-with-space::vline", NULL, "\\_vline", NULL,
-                 N_("Vertical line — \\vline") },
-               { "win.latex-command-tabular-cline", NULL, "\\_cline", NULL,
-                 N_("Horizontal line (columns specified) — \\cline") },
-
-               /* LaTeX: Spacing */
-
-               { "win.latex-command-spacing-new-line", NULL, N_("New _Line"), NULL,
-                 N_("New Line — \\\\") },
-               { "win.latex-command-with-newline::newpage", NULL, "\\new_page", NULL,
-                 N_("New page — \\newpage") },
-               { "win.latex-command-with-newline::linebreak", NULL, "\\l_inebreak", NULL,
-                 N_("Line break — \\linebreak") },
-               { "win.latex-command-with-newline::pagebreak", NULL, "\\p_agebreak", NULL,
-                 N_("Page break — \\pagebreak") },
-               { "win.latex-command-with-space::bigskip", NULL, "\\_bigskip", NULL,
-                 N_("Big skip — \\bigskip") },
-               { "win.latex-command-with-space::medskip", NULL, "\\_medskip", NULL,
-                 N_("Medium skip — \\medskip") },
-               { "win.latex-command-with-braces::hspace", NULL, "\\_hspace", NULL,
-                 N_("Horizontal space — \\hspace") },
-               { "win.latex-command-with-braces::vspace", NULL, "\\_vspace", NULL,
-                 N_("Vertical space — \\vspace") },
-               { "win.latex-command-with-space::noindent", NULL, "\\_noindent", NULL,
-                 N_("No paragraph indentation — \\noindent") },
-
-               /* LaTeX: International accents */
-
-               { "win.latex-command-with-braces('\\'')", "accent0", "\\'", NULL, N_("Acute accent — \\'") },
-               { "win.latex-command-with-braces('`')", "accent1", "\\`", NULL, N_("Grave accent — \\`") },
-               { "win.latex-command-with-braces('^')", "accent2", "\\^", NULL, N_("Circumflex accent — \\^") 
},
-               { "win.latex-command-with-braces('\"')", "accent3", "\\\"", NULL, N_("Trema — \\\"") },
-               { "win.latex-command-with-braces('~')", "accent4", "\\~", NULL, N_("Tilde — \\~") },
-               { "win.latex-command-with-braces('=')", "accent5", "\\=", NULL, N_("Macron — \\=") },
-               { "win.latex-command-with-braces('.')", "accent6", "\\.", NULL, N_("Dot above — \\.") },
-               { "win.latex-command-with-braces('v')", "accent7", "\\v", NULL, N_("Caron — \\v") },
-               { "win.latex-command-with-braces('u')", "accent8", "\\u", NULL, N_("Breve — \\u") },
-               { "win.latex-command-with-braces('H')", "accent9", "\\H", NULL,
-                 N_("Double acute accent — \\H") },
-               { "win.latex-command-with-braces('c')", "accent10", "\\c", NULL, N_("Cedilla — \\c") },
-               { "win.latex-command-with-braces('k')", "accent11", "\\k", NULL, N_("Ogonek — \\k") },
-               { "win.latex-command-with-braces('d')", "accent12", "\\d", NULL, N_("Dot below — \\d") },
-               { "win.latex-command-with-braces('b')", "accent13", "\\b", NULL, N_("Macron below — \\b") },
-               { "win.latex-command-with-braces('r')", "accent14", "\\r", NULL, N_("Ring — \\r") },
-               { "win.latex-command-with-braces('t')", "accent15", "\\t", NULL, N_("Tie — \\t") },
-
                /* LaTeX: Misc */
 
                { "win.latex-command-with-braces::documentclass", NULL, "\\_documentclass", NULL,
@@ -399,30 +420,15 @@ latexila_latex_commands_add_action_infos (GtkApplication *gtk_app)
        tepl_app = tepl_application_get_from_gtk_application (gtk_app);
        store = tepl_application_get_app_action_info_store (tepl_app);
 
-       amtk_action_info_store_add_entries (store,
-                                           entries,
-                                           G_N_ELEMENTS (entries),
-                                           GETTEXT_PACKAGE);
-
-       amtk_action_info_store_add_entries (store,
-                                           action_info_entries_latex_references,
-                                           -1,
-                                           GETTEXT_PACKAGE);
-
-       amtk_action_info_store_add_entries (store,
-                                           action_info_entries_latex_character_sizes,
-                                           -1,
-                                           GETTEXT_PACKAGE);
-
-       amtk_action_info_store_add_entries (store,
-                                           action_info_entries_latex_presentation,
-                                           -1,
-                                           GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, entries, G_N_ELEMENTS (entries), GETTEXT_PACKAGE);
 
-       amtk_action_info_store_add_entries (store,
-                                           action_info_entries_math_environments,
-                                           -1,
-                                           GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_latex_references, -1, GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_latex_character_sizes, -1, 
GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_latex_tabular, -1, GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_latex_presentation, -1, 
GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_latex_spacing, -1, GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_latex_accents, -1, GETTEXT_PACKAGE);
+       amtk_action_info_store_add_entries (store, action_info_entries_math_environments, -1, 
GETTEXT_PACKAGE);
 }
 
 /* Util functions */
@@ -1461,7 +1467,7 @@ create_tool_item_with_dropdown_menu (GtkApplicationWindow *gtk_window,
 }
 
 static GtkWidget *
-create_submenu_sectioning (void)
+create_submenu_latex_sectioning (void)
 {
        GtkMenuShell *menu;
        AmtkFactory *factory;
@@ -1506,7 +1512,7 @@ latexila_latex_commands_get_edit_toolbar (GtkApplicationWindow *gtk_window)
 
        factory = amtk_factory_new (NULL);
 
-       item = create_tool_item_with_dropdown_menu (gtk_window, "sectioning", _("Sectioning"), 
create_submenu_sectioning ());
+       item = create_tool_item_with_dropdown_menu (gtk_window, "sectioning", _("Sectioning"), 
create_submenu_latex_sectioning ());
        gtk_toolbar_insert (toolbar, item, -1);
 
        menu = amtk_factory_create_simple_menu (factory, action_info_entries_latex_references, -1);
@@ -1555,3 +1561,219 @@ latexila_latex_commands_get_edit_toolbar (GtkApplicationWindow *gtk_window)
 
        return toolbar;
 }
+
+static GtkWidget *
+create_submenu_latex_environments (void)
+{
+       GtkMenuShell *menu;
+       AmtkFactory *factory;
+
+       menu = GTK_MENU_SHELL (gtk_menu_new ());
+
+       factory = amtk_factory_new_with_default_application ();
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::center"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::flushleft"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::flushright"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, "win.latex-command-env-figure"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, "win.latex-command-env-table"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::quote"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::quotation"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::verse"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::verbatim"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::minipage"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::titlepage"));
+       g_object_unref (factory);
+
+       return GTK_WIDGET (menu);
+}
+
+static GtkWidget *
+create_submenu_latex_list_environments (void)
+{
+       GtkMenuShell *menu;
+       AmtkFactory *factory;
+
+       menu = GTK_MENU_SHELL (gtk_menu_new ());
+
+       factory = amtk_factory_new_with_default_application ();
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-list-env-simple::itemize"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-list-env-simple::enumerate"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-list-env-description"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-list-env-list"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-space::item"));
+       g_object_unref (factory);
+
+       return GTK_WIDGET (menu);
+}
+
+static GtkWidget *
+create_submenu_latex_font_styles (void)
+{
+       GtkMenuShell *menu;
+       GtkMenuShell *submenu;
+       GtkWidget *menu_item;
+       AmtkFactory *factory;
+       AmtkFactory *factory_no_gaction;
+
+       menu = GTK_MENU_SHELL (gtk_menu_new ());
+       factory = amtk_factory_new_with_default_application ();
+
+       factory_no_gaction = amtk_factory_new_with_default_application ();
+       amtk_factory_set_default_flags (factory_no_gaction, AMTK_FACTORY_IGNORE_GACTION);
+
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::textbf"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::textit"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::texttt"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::textsl"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::textsc"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::textsf"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::emph"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::underline"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-font-family");
+       submenu = GTK_MENU_SHELL (gtk_menu_new ());
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::rmfamily"));
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::sffamily"));
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::ttfamily"));
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), GTK_WIDGET (submenu));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-font-series");
+       submenu = GTK_MENU_SHELL (gtk_menu_new ());
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::mdseries"));
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::bfseries"));
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), GTK_WIDGET (submenu));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-font-shape");
+       submenu = GTK_MENU_SHELL (gtk_menu_new ());
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::upshape"));
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::itshape"));
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::slshape"));
+       gtk_menu_shell_append (submenu, amtk_factory_create_menu_item (factory, 
"win.latex-command-char-style::scshape"));
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), GTK_WIDGET (submenu));
+       gtk_menu_shell_append (menu, menu_item);
+
+       g_object_unref (factory);
+       g_object_unref (factory_no_gaction);
+
+       return GTK_WIDGET (menu);
+}
+
+static GtkWidget *
+create_submenu_latex_misc (void)
+{
+       GtkMenuShell *menu;
+       AmtkFactory *factory;
+
+       menu = GTK_MENU_SHELL (gtk_menu_new ());
+
+       factory = amtk_factory_new_with_default_application ();
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::documentclass"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::usepackage"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-ams-packages"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::author"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::title"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::document"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-simple::maketitle"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-simple::tableofcontents"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-env-simple::abstract"));
+       gtk_menu_shell_append (menu, gtk_separator_menu_item_new ());
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::includegraphics"));
+       gtk_menu_shell_append (menu, amtk_factory_create_menu_item (factory, 
"win.latex-command-with-braces::input"));
+       g_object_unref (factory);
+
+       return GTK_WIDGET (menu);
+}
+
+/**
+ * latexila_latex_commands_create_latex_menu:
+ * @gtk_window: a #GtkApplicationWindow.
+ *
+ * Returns: (transfer floating): a new #GtkMenu with a lot of LaTeX commands.
+ */
+GtkMenu *
+latexila_latex_commands_create_latex_menu (GtkApplicationWindow *gtk_window)
+{
+       GtkMenuShell *menu;
+       GtkWidget *menu_item;
+       AmtkFactory *factory;
+       AmtkFactory *factory_no_gaction;
+       AmtkApplicationWindow *amtk_window;
+
+       g_return_val_if_fail (GTK_IS_APPLICATION_WINDOW (gtk_window), NULL);
+
+       menu = GTK_MENU_SHELL (gtk_menu_new ());
+
+       factory = amtk_factory_new_with_default_application ();
+
+       factory_no_gaction = amtk_factory_new_with_default_application ();
+       amtk_factory_set_default_flags (factory_no_gaction, AMTK_FACTORY_IGNORE_GACTION);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-sectioning");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), create_submenu_latex_sectioning ());
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-references");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item),
+                                  amtk_factory_create_simple_menu (factory, 
action_info_entries_latex_references, -1));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-environments");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), create_submenu_latex_environments ());
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-list-environments");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), create_submenu_latex_list_environments ());
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-character-size");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item),
+                                  amtk_factory_create_simple_menu (factory, 
action_info_entries_latex_character_sizes, -1));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-font-styles");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), create_submenu_latex_font_styles ());
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-tabular");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item),
+                                  amtk_factory_create_simple_menu (factory, 
action_info_entries_latex_tabular, -1));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-presentation");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item),
+                                  amtk_factory_create_simple_menu (factory, 
action_info_entries_latex_presentation, -1));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-spacing");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item),
+                                  amtk_factory_create_simple_menu (factory, 
action_info_entries_latex_spacing, -1));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-accents");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item),
+                                  amtk_factory_create_simple_menu (factory, 
action_info_entries_latex_accents, -1));
+       gtk_menu_shell_append (menu, menu_item);
+
+       menu_item = amtk_factory_create_menu_item (factory_no_gaction, "no-gaction-latex-misc");
+       gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_item), create_submenu_latex_misc ());
+       gtk_menu_shell_append (menu, menu_item);
+
+       amtk_window = amtk_application_window_get_from_gtk_application_window (gtk_window);
+       amtk_application_window_connect_menu_to_statusbar (amtk_window, menu);
+
+       gtk_widget_show_all (GTK_WIDGET (menu));
+
+       g_object_unref (factory);
+       g_object_unref (factory_no_gaction);
+
+       return GTK_MENU (menu);
+}
diff --git a/src/liblatexila/latexila-latex-commands.h b/src/liblatexila/latexila-latex-commands.h
index 42a7239..929d6e6 100644
--- a/src/liblatexila/latexila-latex-commands.h
+++ b/src/liblatexila/latexila-latex-commands.h
@@ -1,7 +1,7 @@
 /*
  * This file is part of GNOME LaTeX.
  *
- * Copyright (C) 2017-2018 - Sébastien Wilmet <swilmet gnome org>
+ * Copyright (C) 2017-2020 - Sébastien Wilmet <swilmet gnome org>
  *
  * GNOME LaTeX is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -30,6 +30,8 @@ void          latexila_latex_commands_add_actions             (GtkApplicationWindow 
*gtk_window);
 
 GtkToolbar *   latexila_latex_commands_get_edit_toolbar        (GtkApplicationWindow *gtk_window);
 
+GtkMenu *      latexila_latex_commands_create_latex_menu       (GtkApplicationWindow *gtk_window);
+
 G_END_DECLS
 
 #endif /* LATEXILA_LATEX_COMMANDS_H */
diff --git a/src/main_window.vala b/src/main_window.vala
index abd4b93..ab99530 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -177,6 +177,9 @@ public class MainWindow : ApplicationWindow
         /* Menu */
 
         Widget menu = _ui_manager.get_widget ("/MainMenu");
+        Gtk.MenuItem latex_menu_item =
+            _ui_manager.get_widget ("/MainMenu/Latex") as Gtk.MenuItem;
+        latex_menu_item.set_submenu (Latexila.latex_commands_create_latex_menu (this));
 
         // Allow the menu to shrink below its minimum width
         Paned menu_paned = new Paned (Orientation.HORIZONTAL);
diff --git a/src/ui/ui.xml b/src/ui/ui.xml
index 8375719..18aab2c 100644
--- a/src/ui/ui.xml
+++ b/src/ui/ui.xml
@@ -91,156 +91,6 @@ along with GNOME LaTeX.  If not, see <http://www.gnu.org/licenses/>.
     </menu>
 
     <menu action="Latex">
-      <menu action="Sectioning">
-        <menuitem action="SectioningPart" />
-        <menuitem action="SectioningChapter" />
-        <separator />
-        <menuitem action="SectioningSection" />
-        <menuitem action="SectioningSubsection" />
-        <menuitem action="SectioningSubsubsection" />
-        <menuitem action="SectioningParagraph" />
-        <menuitem action="SectioningSubparagraph" />
-      </menu>
-
-      <menu action="References">
-        <menuitem action="ReferencesLabel" />
-        <menuitem action="ReferencesRef" />
-        <menuitem action="ReferencesPageref" />
-        <separator />
-        <menuitem action="ReferencesIndex" />
-        <menuitem action="ReferencesFootnote" />
-        <separator />
-        <menuitem action="ReferencesCite" />
-      </menu>
-
-      <menu action="Environments">
-        <menuitem action="EnvCenter" />
-        <menuitem action="EnvLeft" />
-        <menuitem action="EnvRight" />
-        <separator />
-        <menuitem action="EnvFigure" />
-        <menuitem action="EnvTable" />
-        <separator />
-        <menuitem action="EnvQuote" />
-        <menuitem action="EnvQuotation" />
-        <menuitem action="EnvVerse" />
-        <menuitem action="EnvVerbatim" />
-        <separator />
-        <menuitem action="EnvMinipage" />
-        <menuitem action="EnvTitlepage" />
-      </menu>
-
-      <menu action="ListEnvironments">
-        <menuitem action="ListEnvItemize" />
-        <menuitem action="ListEnvEnumerate" />
-        <menuitem action="ListEnvDescription" />
-        <menuitem action="ListEnvList" />
-        <separator />
-        <menuitem action="ListEnvItem" />
-      </menu>
-
-      <menu action="CharacterSize">
-        <menuitem action="CharacterSizeTiny" />
-        <menuitem action="CharacterSizeScriptsize" />
-        <menuitem action="CharacterSizeFootnotesize" />
-        <menuitem action="CharacterSizeSmall" />
-        <menuitem action="CharacterSizeNormalsize" />
-        <menuitem action="CharacterSizelarge" />
-        <menuitem action="CharacterSizeLarge" />
-        <menuitem action="CharacterSizeLARGE" />
-        <menuitem action="CharacterSizehuge" />
-        <menuitem action="CharacterSizeHuge" />
-      </menu>
-
-      <menu action="FontStyles">
-        <menuitem action="Bold" />
-        <menuitem action="Italic" />
-        <menuitem action="Typewriter" />
-        <menuitem action="Slanted" />
-        <menuitem action="SmallCaps" />
-        <menuitem action="SansSerif" />
-        <separator />
-        <menuitem action="Emph" />
-        <separator />
-        <menuitem action="Underline" />
-        <separator />
-        <menu action="FontFamily">
-          <menuitem action="FontFamilyRoman" />
-          <menuitem action="FontFamilySansSerif" />
-          <menuitem action="FontFamilyMonospace" />
-        </menu>
-        <menu action="FontSeries">
-          <menuitem action="FontSeriesMedium" />
-          <menuitem action="FontSeriesBold" />
-        </menu>
-        <menu action="FontShape">
-          <menuitem action="FontShapeUpright" />
-          <menuitem action="FontShapeItalic" />
-          <menuitem action="FontShapeSlanted" />
-          <menuitem action="FontShapeSmallCaps" />
-        </menu>
-      </menu>
-
-      <menu action="Tabular">
-        <menuitem action="TabularTabbing" />
-        <menuitem action="TabularTabular" />
-        <menuitem action="TabularMulticolumn" />
-        <menuitem action="TabularHline" />
-        <menuitem action="TabularVline" />
-        <menuitem action="TabularCline" />
-      </menu>
-
-      <menu action="Presentation">
-        <menuitem action="PresentationFrame" />
-        <menuitem action="PresentationBlock" />
-        <menuitem action="PresentationColumns" />
-      </menu>
-
-      <menu action="Spacing">
-        <menuitem action="SpacingNewLine" />
-        <menuitem action="SpacingNewPage" />
-        <menuitem action="SpacingLineBreak" />
-        <menuitem action="SpacingPageBreak" />
-        <menuitem action="SpacingBigSkip" />
-        <menuitem action="SpacingMedSkip" />
-        <menuitem action="SpacingHSpace" />
-        <menuitem action="SpacingVSpace" />
-        <menuitem action="SpacingNoIndent" />
-      </menu>
-
-      <menu action="Accents">
-        <menuitem action="Accent0" />
-        <menuitem action="Accent1" />
-        <menuitem action="Accent2" />
-        <menuitem action="Accent3" />
-        <menuitem action="Accent4" />
-        <menuitem action="Accent5" />
-        <menuitem action="Accent6" />
-        <menuitem action="Accent7" />
-        <menuitem action="Accent8" />
-        <menuitem action="Accent9" />
-        <menuitem action="Accent10" />
-        <menuitem action="Accent11" />
-        <menuitem action="Accent12" />
-        <menuitem action="Accent13" />
-        <menuitem action="Accent14" />
-        <menuitem action="Accent15" />
-      </menu>
-
-      <menu action="LatexMisc">
-        <menuitem action="LatexDocumentClass" />
-        <menuitem action="LatexUsepackage" />
-        <menuitem action="LatexAMS" />
-        <menuitem action="LatexAuthor" />
-        <menuitem action="LatexTitle" />
-        <menuitem action="LatexBeginDocument" />
-        <menuitem action="LatexMakeTitle" />
-        <menuitem action="LatexTableOfContents" />
-        <menuitem action="LatexAbstract" />
-        <separator />
-        <menuitem action="LatexIncludeGraphics" />
-        <menuitem action="LatexInput" />
-      </menu>
     </menu>
 
     <menu action="Math">



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]