Archives for December, 2008

8
Dec

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!

Switch to our mobile site