Skip to content

A quick way to get labels and titles out of BiBTeX files. A work in progress

License

Notifications You must be signed in to change notification settings

ThiefMD/BiBtex-vala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lazy Parser for BibTex files

This is used for auto-complete/right-click inserting of citations in ThiefMD.

Usage

public class BibtexTest {
    public static void main () {
        // Set file
        BibTex.Parser parser = new BibTex.Parser ("test.bib");
        // Parse
        parser.parse_file ();

        // Print labels and titles
        foreach (var label in parser.get_labels ()) {
            print ("%s - %s\n", label, parser.get_title (label));
        }
    }
}

About

A quick way to get labels and titles out of BiBTeX files. A work in progress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published