Bypassing Rubber Command in Gedit LaTeX Plugin [Tip]

This tip is for those, like me, who are having troubles getting the Gedit LaTex Plugin to function properly with Rubber.  The original problem is that an error will occur if you use whitespaces in your file names and folders.  It’s a known bug and is documented in the FAQ of the Gedit LaTeXPlugin homepage.  There is a patch for this, and if you havn’t tried to apply it yet, you should try.  If you’d rather not waste your time and/or the patch isn’t doing it for you (like in my case with Fedora 10), then you can completely bypass the command that causes the error in the first place.  So, here’s how (with a screenshot for reference):

  1. Open Gedit (Applications -> Accessories -> Text Editor).
  2. Open the Plugins Window (Edit -> Preferences -> “Plugins” Tab).
  3. Scroll down to the “LaTeX Plugin”, select it, and then click on “Configure”.
  4. Click on the “Build Profiles” tab, select the “PDF” item, and then click the “Edit” button.
  5. Under “Jobs” type in the following command (with two “-” before “interaction”) and then click the “Add” button when finished:
    • pdflatex --interaction=nonstopmode "%f"
  6. Use the “Delete” button to delete the rubber -f -s –inplace -d “%f” command.  (You can chose to keep this as long as it is on the bottom of the list and you don’t mind your document being processed twice).
  7. Enjoy!

Feel free to donate if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that you may be interested in:

There's 4 Comments So Far

  • newur
    April 26th, 2009 at 9:41 am


    have the same problem here. Official patch didn’t work so I was glade to find this. But unfortunaly it didn’t work, too. Whats confusing me most, I can’t change the rank of the list and after restartind gedit, all changes are gone.
    Any ideas?

  • SendDerek
    April 26th, 2009 at 10:32 am

    If I remember correctly, I had problems when I tried to prioritize the commands. I ended up deleting the old command entirely and replacing it with the one I specified above. I keep this page in the back of my mind just in case I need the other command again.

    I didn’t have a problem with my changes not being persistent though, so I don’t know what to say about that one.

  • BuZZ-dEE
    October 24th, 2009 at 12:34 pm

    this doesn’t work for me:
    pdflatex –interaction=nonstopmode “%f”

  • SendDerek
    October 25th, 2009 at 11:19 pm

    Make sure there are two “dashes” before “interaction”. WordPress goofs this up. Remove all spaces in the following: “- – interaction = nonstopmode”.

Share your thoughts, leave a comment!