parsing bibtex with GKeyFile parser

2012-09-06 Thread Rudra Banerjee
I am thinking of possibility of parsing a bibtex file with gkeyfile parser. bibtex has the structure like: @Book{a, Author="b and q and r, s ", Editor="c", Title="d", } Any idea? or any other way to parse it within C(and gtk)? __

Re: parsing bibtex with GKeyFile parser

2012-09-06 Thread jcupitt
On 6 September 2012 13:01, Rudra Banerjee wrote: > I am thinking of possibility of parsing a bibtex file with gkeyfile > parser. bibtex has the structure like: > @Book{a, > Author="b and q and r, s ", > Editor="c", > Title="d", > } GKeyFile syntax is not much like that. Yo

gscanner example

2012-09-06 Thread Rudra Banerjee
I tried to rewrite the example given in the page http://www.fifi.org/doc/libgtk1.2-doc/faq-html/gtkfaq-8.html so that it can read from a file, but its not. The code that i tried is: #include /* some test text to be fed into the scanner */ /*static const gchar *test_text = ( "ping = 5;\n" "/ *