alexandervdm / gummi

Simple LaTeX editor
https://gummi.app
MIT License
764 stars 97 forks source link

Biber support #6

Open gilsonolegario opened 9 years ago

gilsonolegario commented 9 years ago

It will be great if Gummi support biber.

I was able to get biber support through a hack in latexmk, modifying the line 73, 84 and 92 of latexmk.c

lmkcmd = g_strdup_printf("latexmk %s %s \"%s\"", flags, outdir, workfile);
lmkcmd = g_strdup_printf("latexmk -xelatex -recorder- %s %s \"%s\"", flags, outdir, workfile);

and (84 & 92)

lmkflags = g_strdup_printf("-e \"\\$pdflatex = 'pdflatex -synctex=1'\" -silent"); 

to

lmkflags = g_strdup_printf("-e \"\\$pdflatex = 'xelatex -synctex=1'\" -silent");

But, of course, this isn't the better solution.

bertvandepoel commented 8 years ago

Might I point some attention to this issue. Currently it is only possible to use biber with gummi when latexmk is used, this is of course not ideal and will confuse new LaTeX users.

As president of a student organisation giving LaTeX workshops, we only teach biber nowadays. So it really is confusing for users looking for the right editor that gummi by default seems to be "broken" when they try basic reference documents we supply.