On Wed, Feb 29, 2012 at 5:27 PM, Julien Rioux <jri...@physics.utoronto.ca> wrote: > On 29/02/2012 6:11 PM, Andrew Parsloe wrote: >> >> Having discovered to my delight that instant preview works with >> spreadtab tables (users' list posting), I wondered if it might work with >> the special case of biblatex when one has, e.g. >> >> \nocite{*} >> \printbibliography[keyword=foo,keyword=bah, ...] >> >> The \nocite{*} command means biblatex doesn't need to scan the document >> for citations. It is solely interrogating the bib file looking for those >> records with the appropriate keywords. >> >> Sadly it doesn't work. I tried various permutations like including the >> yellow note containing the BibTeX Generated Bibliography statement in >> the preview inset but it made no difference. >> >> Last year Stefano Franchi on one of the lists mentioned that biblatex >> met his needs but that it had been a steep learning curve. I can only >> second that -- I am conscious of having had to make a learning leap just >> to get onto the learning curve. To be able to instantly preview selected >> bib records would be a great help as one struggles to write a >> bibliography style file or format a bibliographic record. Also a lot of >> user list queries arise from `wrong' characters sneaking into bib >> records. Being able to view specific records, highlighted with a >> particular keyword (keyword=testthisrecord?), would be a valuable >> addition to LyX's capabilities. >> >> The trigger for instant preview, would be the \nocite{*} command, >> meaning there is no need to scan the document in LyX for citations; only >> the bibliography file and biblatex are involved. >> >> Andrew >> > > In this changeset: http://www.lyx.org/trac/changeset/39795 > I implemented the support for instant preview of BibTeX-generated > bibliographies. This is part of the development version that will eventually > become LyX 2.1 in the long run. There's a check for "Warning: Citation" in > the log file to determine if a latex rerun is necessary. If biblatex also > emit this warning, it might just work, otherwise this could be tweaked a bit > to make it work.
This is very cool, Julien, I can't wait to try it out. (I am travelling now, but will give it a few stress test later in the week). I am more and more convinced that biblatex is the way to go, and having a live preview would make developing styles or variants thereof much much easier. Cheers, Stefano -- __________________________________________________ Stefano Franchi Associate Research Professor Department of Hispanic Studies Ph: +1 (979) 845-2125 Texas A&M University Fax: +1 (979) 845-6421 College Station, Texas, USA stef...@tamu.edu http://stefano.cleinias.org