Gedit Latex plugin anyone used it?

Dear all
I am trying to compile my latex documents inside gedit. I have installed and enabled the existing plugin for that purpose. Could you please inform what packages are needed and how one compiles and previews pdf files with gedit?

REgards
Alex

On Thu, 10 Jan 2013 18:06:01 +0000, alaios wrote:

> Dear all I am trying to compile my latex documents inside gedit.

Any particular reason why you’re trying to use gedit instead of a full
LaTeX editor like lyx?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

PDF files are normally produced from LaTeX by pdflatex; if it isn’t installed, gedit cannot do anything. Have you installed TeXlive because that includes pdflatex?

On 2013-01-10 19:59, Jim Henderson wrote:
> On Thu, 10 Jan 2013 18:06:01 +0000, alaios wrote:
>
>> Dear all I am trying to compile my latex documents inside gedit.
>
> Any particular reason why you’re trying to use gedit instead of a full
> LaTeX editor like lyx?

LyX is not a latex editor. It uses (internally) a format very similar to
latex, but not latex. It can also include latex “code”.


Cheers/Saludos
Carlos E. R.

On Thu, 10 Jan 2013 22:49:11 +0000, Carlos E. R. wrote:

> On 2013-01-10 19:59, Jim Henderson wrote:
>> On Thu, 10 Jan 2013 18:06:01 +0000, alaios wrote:
>>
>>> Dear all I am trying to compile my latex documents inside gedit.
>>
>> Any particular reason why you’re trying to use gedit instead of a full
>> LaTeX editor like lyx?
>
> LyX is not a latex editor. It uses (internally) a format very similar to
> latex, but not latex. It can also include latex “code”.

Fair enough - it’s close, but not right on. The question still stands -
why use gedit rather than a TeX or LaTeX editor specifically designed for
that purpose?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

On 2013-01-11 00:06, Jim Henderson wrote:
> On Thu, 10 Jan 2013 22:49:11 +0000, Carlos E. R. wrote:
>

> Fair enough - it’s close, but not right on. The question still stands -
> why use gedit rather than a TeX or LaTeX editor specifically designed for
> that purpose?

KDE has kile, I think. Dunno what gnome has, and gedit is what is
available :-?


Cheers/Saludos
Carlos E. R.

On Thu, 10 Jan 2013 23:17:01 +0000, Carlos E. R. wrote:

> On 2013-01-11 00:06, Jim Henderson wrote:
>> On Thu, 10 Jan 2013 22:49:11 +0000, Carlos E. R. wrote:
>>
>>
>> Fair enough - it’s close, but not right on. The question still stands
>> - why use gedit rather than a TeX or LaTeX editor specifically designed
>> for that purpose?
>
> KDE has kile, I think. Dunno what gnome has, and gedit is what is
> available :-?

Well, the question is for the OP, so that’s the answer I’m interested
in. :stuck_out_tongue:

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

i think this should fit the bill

latexila - Integrated LaTeX Environment for the GNOME desktop

Hang on! You need to distinguish between an editor and an IDE. There’s nothing wrong with using gedit as an editor and so before everyone else launches into recommending IDEs (e.g. Kile, Latexila), I thought I’d try to answer your question. You can install it’s plugin for LaTeX via YaST (gedit-plugin-latex) and that may be all you’ll ever need.

If you haven’t installed LaTeX itself, of course you’ll need that too (texlive-latex). It may be worth installing an IDE (Kile for KDE, Latexila for GNOME) anyway because you can be sure all the necessary dependencies will be included and having an IDE can be helpful for troubleshooting. But if you want to use gedit, use gedit: I use Vim, which is even more basic than gedit!

I don’t use gedit so cannot answer confidently. I do know however that Gedit will not compile LaTeX documents without its plugin. The plugin also provides code completion and bibtex file management. You should NOT preview files using pdflatex because there is no inverse-search possibility using a PDF. To preview you should compile (latex filename' not pdflatex filename’) to DVI and use (in your case) xdvi which I gather interfaces nicely with the LaTeX plugin for gedit. Only use pdflatex when you want a PDF, not to preview. There are exceptions to this rule (e.g. if you using beamer/beamerposter) but it applies in most cases.

I downloaded and installed the latexila to help me start using the compilation of tex documents.
I noticed though that it was using latexmk for the documents but I want to use pdflatex.

I am reading some guides now on the pdflatex configuration. Regards to everyone

Alex

Have you looked at the preferences dialog? In any case, once you have the LaTeX source, you could use PDFLaTeX from the command line if you prefer it.

See Creating a PDF document using PDFLATEX

It is possible that latexila expects to use PDFTeX directly rather than going through PDFLaTeX which calls PDFTeX anyway.