Sounds like a good plugin.

<no_mail@jetbrains.com> wrote in message
news:32920618.1078859441541.JavaMail.itn@is.intellij.net...

> I'm always working with LaTeX source files. Could you maybe add support for editing LaTeX sources it Idea? > > It's prety easy: > 1) Enviroments \begin{zzz}..\end{zzz} should be treaten in the same way as tags in XML. > > 2) The words starting with \ should be treaten as keywords. > > 3) Curly brackets that enclose more then one line should be collapsable. > > 4) Commands \usepackage{zzz} should be collapsable as commands "import" in java files. > > 5) Autoprocessing of (), {}, [] and  brackets should be available. > > 6) The document structure could be generated. Structure of LaTeX documents is given by following commands: > \part{name}, \chapter{name}, \section{name}, \subsection{name}, \subsubsection{name}, \paragraph{name}, subparagraph{name}. Exact commands are \paragraph[name]{longname}, where longname is optional. > > Compilation of latex files can be easily done using "external tools" in Idea.]]>

I love this idea!

/Michail

I think it's a great idea. Also tie it in to something like GhostView or AcroReader (but you could probably use the SVG plugin) and it would be really hot!

2Dan Hestand:

The best opportunity would be of course to port YAP DVI viewer to Java. It has a feature to connect point in the resulting document to the line in source file, so we could display the region which corresponds to the carret position and vice verse: find the line by doubleclicking on the necessary point.

We could use it as live previewer.

It would make Idea to the best LaTeX IDE ever created.

//Alexander Kuklev, creator of this thread.

Alexander,
Of course Yap DVI viewer is probably a better choice. I never use it, though, I just run pdflatex or a script that punches through to the postscript. The DVI viewer is probably a lighter-weight choice. Maybe in my copious spare time I'll take a stab at this plugin...

Dan Hestand

There is a LaTeX-plugin for Eclipse called eTex. You may find more info here: http://etex.sourceforge.net

But I would much rather use IntelliJ then Eclipse... :)

/Michail

We could adopt YAP (it's opensource MFC C++ programm) to work in container and use it. It would have a big advantage since we would be able to connect output and source. And there is one more reason: it would work much more quickly than pdflatex+acrobat.