Revision: 2114 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2114&view=re... Author: frlan Date: 2011-07-28 20:35:24 +0000 (Thu, 28 Jul 2011)
Log Message: ----------- GeanyLaTeX: Adding a couple of characters which are used inside LaTeX to special characters menu.
Modified Paths: -------------- trunk/geanylatex/ChangeLog trunk/geanylatex/src/letters.c
Modified: trunk/geanylatex/ChangeLog =================================================================== --- trunk/geanylatex/ChangeLog 2011-07-28 20:20:59 UTC (rev 2113) +++ trunk/geanylatex/ChangeLog 2011-07-28 20:35:24 UTC (rev 2114) @@ -1,6 +1,8 @@ 2011-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Resorting LaTeX menu. + * Adding a couple of characters which are used inside LaTeX to special + characters menu.
2011-04-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
Modified: trunk/geanylatex/src/letters.c =================================================================== --- trunk/geanylatex/src/letters.c 2011-07-28 20:20:59 UTC (rev 2113) +++ trunk/geanylatex/src/letters.c 2011-07-28 20:35:24 UTC (rev 2114) @@ -26,7 +26,8 @@
enum { - GREEK_LETTERS = 0, + LATEX_LETTERS = 0, + GREEK_LETTERS, GERMAN_LETTERS, MISC_LETTERS, ARROW_CHAR, @@ -36,6 +37,7 @@ };
CategoryName glatex_cat_names[] = { + { LATEX_LETTERS, N_("LaTeX letters"), TRUE}, { GREEK_LETTERS, N_("Greek letters"), TRUE}, { GERMAN_LETTERS, N_("German umlauts"), TRUE}, { MISC_LETTERS, N_("Misc"), FALSE}, @@ -51,6 +53,14 @@ * AAACCCBBB is valid * ACABCBACB is _not_ valid and will course trouble */ SubMenuTemplate glatex_char_array[] = { + /* LaTeX characters */ + {LATEX_LETTERS, "$", "\$"}, + {LATEX_LETTERS, "%", "\%"}, + {LATEX_LETTERS, "_", "\_"}, + {LATEX_LETTERS, "}", "\}"}, + {LATEX_LETTERS, "{", "\{"}, + {LATEX_LETTERS, "&", "\&"}, + {LATEX_LETTERS, "#", "\#"}, /* Greek characters */ {GREEK_LETTERS, "Α", "\Alpha" }, {GREEK_LETTERS, "α", "\alpha" },
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org