SourceForge has been redesigned. Learn more.

#124 last changes not compiled

Tools (28)

When the tool "Latex -> PDF" is used to save and build a document intermittently it does not compile the last changes (the resulting pdf corresponds to the previous save).
Note that the latex file does get saved.
It usually does not work as expected once every two times.

Note that when saving manually the latex file all works fine.

I can reproduce this with the following steps:
-create a minimal example latex file.
-do not save it and run "Latex->pdf" (Ctrl+Alt+1) => output is correct
-edit the file
-do not save it and run "Latex->pdf" (Ctrl+Alt+1) => output is correct
-edit the file
-do not save it and run "Latex->pdf" (Ctrl+Alt+1) => output does not reflect the last changes


  • Michael Zeising

    Michael Zeising - 2010-06-14

    Which version of the plugin and gedit are you using?

  • Michael Zeising

    Michael Zeising - 2010-06-14
    • assigned_to: nobody --> m_zeising
    • status: open --> open-accepted
  • Marco Pizzocaro

    Marco Pizzocaro - 2010-06-15

    I know I forgot something!

    Gedit is version 2.30.2, under Ubuntu Lucid.
    I have this issue with both the plugin 0.2rc3 and 0.2.

    I have this issue also on another machine, but I think the versions are the same.



  • Nobody/Anonymous

    Hi m_zeizing , I am having the same problem.
    If it is relevant, I am using the 0.2 rc3 version of Gedit LatexPlugin in Ubuntu 10.04.
    My Gedit version is 2.30.2.

  • Nobody/Anonymous

    After my last comment I downloaded the last version and I had the same problem.

  • Leandro

    Leandro - 2010-07-02

    Hi Zeising,

    I am writing this comment just to let you know that after the last automatic Ubuntu update ( 02/07/2010) this problem complete disappear for me.

  • Leandro

    Leandro - 2010-07-02

    :( Stop to works again

  • mikerofone

    mikerofone - 2011-03-21

    My guess is that document saving and compilation are started in parallel, leading to a race condition. While trying to locate another issue, I ran gedit using valgrind, which makes it run horribly slow. If then invoking any tool (Latex->internal PDF in my case), one can see that the compilation sets off and completes before the saving (which takes 5-10 seconds on a larger document) is done.

    To reproduce:
    1) execute "valgrind gedit"
    2) open some tex file (should be some kb in size)
    3) change something
    4) invoke tool without saving before

    Saving completes, then tool is executed. Resulting PDF shows changes from step 3.

    Saving and tool execute simultaneously, tool finishes before saving. PDF reflects old, pre-save state of document.

    Proposed fix:
    First invoke saving in gedit, then process tool after (successful?) completion of saving process.

  • mikerofone

    mikerofone - 2011-03-21

    Sorry, I forgot the version information:

    Arch Linux
    gedit - Version 2.30.4
    latex-plugin version 0.2 (from Arch user Respositories "gedit-latex-plugin 0.2-3")


Log in to post a comment.