Gedit LaTeX Plugin 0.2 RC1 available

I’m happy to announce the first release candidate for the 0.2 branch of the Gedit LaTeX Plugin:

Architecture

This release features a new generic plugin base layer. It abstracts from the details of gedit and gtksourceview providing a clean base for the TeX-specific parts. This new architecture makes it easier to fix bugs and develop new features.

Base

LaTeX

BibTeX

  • rudimentary BibTeX code completion
  • maximum file size for BibTeX parser may be configured (fixes 2149254, 2149189)

And a lot of minor issues have been fixed (2238342, 2031271, 2002630, 1913496, 1911116, 1880327, 1818707, 1820138).

So give it a try and have fun ;)

31 Responses to “Gedit LaTeX Plugin 0.2 RC1 available”

  1. Peter Says:

    You should add the download link:
    http://sourceforge.net/project/showfiles.php?group_id=204144&package_id=243533&release_id=652549

    I will try it now …

    See you,
    Peter.

  2. Michael Says:

    You’re right, I forgot the most important part ;) thanks!

  3. Keb Says:

    How do I install this. The INSTALL file says:

    “Just copy the contents of the ‘plugins’ folder to ‘~/.gnome2/gedit/plugins’
    where ‘~’ is your home directory. You may have to create this folder.”

    But there is no “plugins” folder.

  4. Michael Says:

    The structure has changed in 0.2. You have to copy the ‘GeditLaTeXPlugin’ folder and the ‘GeditLaTeXPlugin.gedit-plugin’ file to ‘~/.gnome2/gedit/plugins’. I forgot to update the INSTALL file accordingly…

  5. Keb Says:

    find . -name “*.gedit-plugin” in the GeditLaTeXPlugin folder returns no GeditLaTeXPlugin.gedit-plugin file..?

  6. Michael Says:

    The structure of the archive is:

    LaTeXPlugin-0.2*.tar.gz
    —GeditLaTeXPlugin
    ——…
    —GeditLaTeXPlugin.gedit-plugin

    So just copy the contents of the archive to your plugins folder.

  7. Keb Says:

    Nice, thanks.. Looks good. I have one question. Is it possible to change the “compile” hotkeys in the prefs? Today they are set to ctrl + alt + n

  8. troll Says:

    first of all thanks for the great improvement form the 1.3 version, it convinced me to finally switch from Kile, which i never really liked as it was not fully gnome compatible…
    Auto-completion works fine, but only if i activate it with the CTRL + SPACE combination… it would not appear with the “\” nor “{“, which is a bit annoying. what could be the reason for that?

  9. Michael Says:

    Hi,

    I simply forgot to “reactivate” that feature after all the changes from 1.3 :) the current SVN version should work as expected again.

    For the tool hotkeys: they will be customizable again in the final version.

    Michael

  10. Phil Says:

    Mahlzeit. Erstmal vielen Dank für das ausgezeichnete Plugin! Ich verwende es seit über einem Jahr, um meine Seminararbeiten in LaTeX mit Gedit zu schreiben. Natürlich habe ich mich über die Weiterentwicklung gefreut und wollte auch gleich 0.2RC1 ausprobieren. Allerdings lässt sich das Plugin nach dem installieren nicht aktivieren, weder die RC, noch die aktuelle SVN-Version.

    Befor die Frage kommt: “Lässt sich nicht aktivieren” heißt, dass es zwar in den Gedit-Preferences erscheit, aber wenn ich das Häkchen setzen will wird es grau und lässt sich nicht mehr anklicken; lediglich der Button “Über dieses Plugin” funktioniert noch.

    Mein System: Ubuntu 8.10 (intrepid)…

    Falls du eine Idee hast, lass es mich wissen. Sonst warte ich einfach auf die nächste Version und mach solange mit 0.13 weiter :-)

    Grüße,
    Phil

  11. John Says:

    Some toolbar buttons are missing (especially the one for accents).

    By the way, this new version is certainly much better than the 0.1.3…

  12. Michael Says:

    Freut mich, dass dir das Plugin gefällt! Damit ich dir weiterhelfen kann:
    – starte gedit in einer Konsole
    – aktiviere das Plugin und
    – melde die Ausgabe zusammen mit einer kurzen Beschreibung unter http://sourceforge.net/tracker/?group_id=204144&atid=988428

    Viele Grüße,
    Michael

  13. Michael Says:

    The accents have moved to the symbols view ;)

  14. Phil Says:

    Hi Michael,

    nochmal ich. Danke für den Hinweis mit dem Kommandozeilenoutput. Ich habe mir das mal angesehen und festgestellt, dass das Bazaar-Plugin zuerst rumspinnt. Dadurch wird offensichtlich Python so durcheinandergebracht, dass sich das LaTeX-Plugin nicht mehr starten ließ. Nachdem ich das Bzr-Plugin deaktiviert habe ging es auf einmal. Oh Wunder :-)

    Ich schicke dir den Output trotzdem nochmal, vielleicht hilft es dir, den Fehler irgendwie abzufangen – man weiß ja nie.
    Keep up the good work! Grüße,
    Phil

  15. Nicolas Wu Says:

    Nice work. It’s a shame that you removed the “Make PDF/DVI/PS” button, since that was really useful — sometimes I like to click buttons instead of resorting to key combinations or menus. I also really liked the fact that those buttons were customisable, so I could launch an appropriate viewer once the document was generated.

    Why is there a spell checker — is there a problem with the one that gedit provides?

  16. Michael Says:

    Yes, I think about bringing back this button (there were some requests during the last few weeks)… The tools are still customizable: you can go to the plugin settings and edit a tool in the “Tools” tab. There you can also change the viewer to be launched.

    The gedit spell checker may not distinguish LaTeX commands from normal text so it is not suited for checking LaTeX markup. That’s why I’m developing this LaTeX spell checker.

    Michael

  17. Michal Says:

    Hello,

    Firstly, thanks for the great work. The 0.2rc1 is way better than the previous 0.1.3 release.

    These are some questions/comments/issues that I would kindly ask to address.

    1/ The sequence ‘\ref{ -> Ctrl+Space’ brings a list of possible targets. Can we have the same for the sequence ‘\eqref{ -> Ctrl+Space’?

    2/ Parsing of user defined commands is great. However, it works only for \newcommand. Can we have the same for \DeclareMathOperator and \DeclareMathOperator* from amsmath?

    3/ There seems to be an issue with the structure of a document in the left pane. Suppose I have the following sections

    \section{ A \& B}
    \section{C}

    In the left pane I see C and C rather than A \& B and C.

    Once again, thank you for the great plugin.
    Michal

  18. Michael Says:

    Hi Michal,

    the the first thing should definitely work, \eqref should propose all labels defined in the document. For the other two thing, I’ve added them to the bug tracker ( https://sourceforge.net/tracker/index.php?func=detail&aid=2644609&group_id=204144&atid=988428 https://sourceforge.net/tracker/index.php?func=detail&aid=2644607&group_id=204144&atid=988431).

    It would save me a lot of time if you could do that on your own in the future :) but thanks for your post and your interest in the plugin!

    Michael

  19. Timm Says:

    Hallo,

    vielen Dank für das tolle Plugin, ich benutze es schon seit einiger Zeit problemlos, doch jetzt stellt sich mir eine Frage: kann das Plugin statt latex auch xelatex verwenden? Ich möchte die Font ändern, und das geht mit xetex am besten.

    Beste Grüße,
    Timm

  20. Michael Says:

    Auf jeden Fall geht das. Du kannst die Profile nach Belieben verändern und statt rubber bzw. LaTeX natürlich auch XeLaTeX verwenden.

    Michael

  21. Neil Mayhew Says:

    I am using Jaunty, with Python 2.6, and I could not enable the plug-in without some changes.

    1. In GeditLaTeXPlugin.gedit-plugin change Module=GeditLaTeXPlugin instead of GeditLaTeXPlugin/src, otherwise python gives an error, “ImportError: Import by filename is not supported.”

    2. In the top level directory, ie in GeditLaTeXPlugin, create __init__.py containing: from src import *

  22. Timm Says:

    Danke, durch Deine Antwort habe ich verstanden, wie es geht. Klappt! :)

  23. Timm Says:

    Kannst Du mir vielleicht noch sagen, wie ich die Kommandozeilen-Ausgabe von xelatex im Plugin sehen kann? Das würde die Fehlersuche in meinen Dokumenten beschleunigen :)

  24. Phil Says:

    weil ich es gerade lese und auch damit arbeite:
    @Timm du kannst die Ausgabe von XeLaTeX sehen, wenn du die Fußleiste in Gedit einschaltest (“Ansicht”→”Fußleiste”, oder Strg+F9), und dort auf den Reiter Tools gehst, dann siehst du die Ausgabe und auch eventuelle Fehlermeldungen.

    XeLaTeX funktioniert einwandfrei :-) … Der einzige Nachteil: Es geht noch nicht mit rubber, d.h. man muss die Bibliographie ab und zu separat durchlaufen lassen, wofür man sich aber auch ein Tool einrichten kann…

    An dieser Stelle nochmal ein herzliches Dankeschön an Michael, für dieses wundervolle Plugin. Besonders begeistert mich, dass in der Fußleiste im Reiter “Issues” nicht nur Syntaxfehler sondern auch Kommentare wie “%TODO …” oder “%FIXME…” berücksichtigt werden (auch dateiübergreifend, bei mehrteiligen Dokumenten)

  25. Timm Says:

    @ Phil: Die Fußleiste hatte ich schon aktiviert, ich bekomme zwar gezeigt, dass ein Fehler vorliegt, aber keinerlei Details, welcher Fehler oder wo. Ich habe XeLaTex als Tool mit

    xelatex –interaction=batchmode “$filename”

    eingebunden. Auch ohne die Interaction-Option bekomme ich in der Fußleiste nicht mehr als eine Zeile ausgegeben, nämlich nur den Befehl mit Haken (hat geklappt) oder rotem Kreis mit Strich (hat nicht geklappt).

    Was mache ich falsch? Danke für eine Antwort!

  26. Timm Says:

    P.S.: Ich nehme alles zurück, es liegt an der Art der Fehler. Meine Probe-Typos wurden nicht angezeigt, jetzt habe ich einen anderen Fehler absichtlich eingefügt und er wurde angezeigt.

    Toll, jetzt bin ich wunschlos glücklich – Danke für den tollen Plugin!

  27. Dimitri Says:

    Hi Michael,
    vielen Dank für das Plugin!

    Was mich beim 0.2 RC1 etwas stört, ist dass du die vordefinierten Gliederungsebenen etwas gekürzt hast. Ich meine: früher gabs z. B. “Section > Subsection > Subsubsection” sowie “Paragraph > Subparagraph”. Die Subsubsections und die Subparagraphs sind in der 0.2 RC1 nicht mehr dabei. War das eine Absicht? Die Subsubsections sind recht häufig.

    Die Schaltflächen “pdf”, “dvi” und “ps” sind leider auch nicht mehr dabei und ich vermisse sie.

  28. Felix Says:

    Moin! Ich bin extrem begeistert! Ich habe bisher Texmaker verwendet und werde jetzt wahrscheinlich umsteigen … wenn ich die Xelatex Umstellung endlich hinkriege.
    Danke schon einmal!

  29. Martin Says:

    Hallo Michael

    ich finde das Plugin toll. Denn GEdit ist einfach der beste Editor ohne Probleme und Schnickschnack. Ich habe aber jetzt ein Problem mit Rubber. Kann ich auch auf eine andere Art mit dem Plugin kompilieren? was für Befehle muss ich da eingeben? ich hätte gerne ein DVI, daraus dann ein PS und aus dem wiederum eine PDF-Datei (brauche es so wegen meinen PSTricks-Sachen). Ist das möglich mit Deinem Plugin?
    Vielen Dank für Deine Bemühungen.

  30. Michael Says:

    Hallo Martin,

    in den Einstellungen des Plugins auf dem Reiter “Tools” lassen sich die Werkzeuge konfigurieren und neue anlegen.

    Michael

  31. Tobias Says:

    Leute, man kann rubber ganz einfach mit xelatex verwenden.

    Einfach die folgende Zeile in den .tex Quelltext einfügen:

    % rubber: set program xelatex

    Keine weiteren Änderungen notwendig. Siehe hier:
    http://www.pps.jussieu.fr/~beffara/soft/rubber/doc_3.html#SEC6

Leave a Reply