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):
- Open Gedit (Applications -> Accessories -> Text Editor).
- Open the Plugins Window (Edit -> Preferences -> “Plugins” Tab).
- Scroll down to the “LaTeX Plugin”, select it, and then click on “Configure”.
- Click on the “Build Profiles” tab, select the “PDF” item, and then click the “Edit” button.
- Under “Jobs” type in the following command (with two “-” before “interaction”) and then click the “Add” button when finished:
pdflatex --interaction=nonstopmode "%f"
- 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).