This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

gedit LaTeX Plugin

Home | Download | FAQ | Development

Frequently Asked Questions

What do I need to run the plugin?

How do I install the plugin?

First of all download the latest release of the plugin. It contains a folder and a file that you have to copy to ~/.local/share/gedit/plugins, where ~ is your home directory. You may have to create gedit/plugins if you haven't installed any plugins, yet. After that you may restart gedit and activate the plugin in the settings dialog.

How do I trigger the code completion?

The code completion is triggered either manually by Ctrl + Space or automatically at characters like "\", "{" and "[".

The build never finishes when I use my custom build profile. What went wrong?

If you add your own tools, please remember to run all commands in batch mode so that they don't stop and ask something on the console. For the latex command you just have to add -interaction batchmode.

How do I use the inverse search in DVI files?

Per default there is a tool called LaTeX → DVI (Source Specials). If you don't see this tool, just add the following to your tools.xml:

<tool description="Create a DVI with source specials from LaTeX source" extensions=".tex" id="99" label="LaTeX &#8594; DVI (Source Specials)">
  <job mustSucceed="true" postProcessor="LaTeXPostProcessor">
    latex -interaction batchmode -src "$filename"
  </job>
  <job mustSucceed="true" postProcessor="LaTeXPostProcessor">
    latex -interaction batchmode -src "$filename"
  </job>
  <job mustSucceed="true" postProcessor="GenericPostProcessor">
    xdvi -unique -s 6 -bg white -editor gedit "$shortname.dvi"
  </job>
</tool>

When you build your document using this tool, the output is opened in xdvi. If you hold <Ctrl> and left-click on an area in the output then gedit jumps to the according line in the LaTeX source.

If you want to use rubber you need to

Why do I get errors if I use whitespaces in filenames?

This is a bug in rubber. Robert McNees has contributed a patch ( rubber-1.1-spaces.patch ) for rubber 1.1 as a workaround. Apply it to rubber-1.1/src/rules/latex/__init__.py.


2024-10-23 10:58