Bypassing Rubber Command in Gedit LaTeX Plugin [Tip]

2008 December 8

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 buy me a soda if this post prevented any headaches! Another way to show your appreciation is to take a gander at these relative ads that I hope you'll be interested in:


Here are some similar posts that you may be interested in:


4 Responses leave one →
  1. 2009 April 26
    newur permalink

    Hi,

    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?

    • 2009 April 26

      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.

  2. 2009 October 24
    BuZZ-dEE permalink

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

    • 2009 October 25

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

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS