Re: GtkSourceView and LaTeX?



On Fri, 2004-01-09 at 21:35, Martin Klaffenboeck wrote:
> Am 09.01.2004 20:55:04 schrieb(en) Germán Poó Caamaño:
> > El vie, 09-01-2004 a las 16:51, Martin Klaffenboeck escribió:
> > > Hello,
> > >
> > > I want to create a GtkSourceView (and buffer) for LaTeX
> > highlighting.
> > >
> > > What are the steps what I have to do?  Is there anywhere a tutorial
> > or
> > > howto or something?  Or can you tell me here what to do?
> > 
> > There is one.  At least in my debian (sid) box reside on:
> > /usr/share/gtksourceview-1.0/language-specs/latex.lang
> 
> Thanks for your answer, but the question is more:  How must my source  
> code (in c) look like?
> 
> Any tutorials or examples for this?

I don't know of any tutorials, but you could look at a recent version of
the gedit source to see how gtksourceview is used:

ftp://ftp.gnome.org/mirror/gnome.org/desktop/2.4/2.4.1/sources/gedit-2.4.1.tar.gz

Grep gtk_source in the ./gedit-2.4.1/gedit/ directory once you have
downloaded and unpacked the source.

Keith.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]