On Sun, Apr 24, 2011 at 5:42 PM, Richard Heck <rgh...@comcast.net> wrote:
> On 04/24/2011 08:30 PM, Johannes Wilm wrote: > >> Yes, I wrote a small patch earlier. I thought I would try to refine it and >> develop it more once 2.0 is out the door. The most difficult piece it seems >> to me would be to provide for a failure free switch back and forth from and >> to Biblatex. >> >> I doubt there can be one of those, not in general. BibLaTeX can in > principle provide more cite commands than Natbib does, so the > BibLaTeX-->Natbib conversion can't be undone without lots of special > handling we don't really want to do. Some sort of moderately sensible > conversion is the all there really needs to be---and a warning, when > changing this setting, that what's about to be done can't be undone. > > Ok, if this is not needed, and only natbib->biblatex conversion needs to be provided, then it shouldn't be impossible. > Yes, if that is possible at all. The Lyx-file would have to be >> fundamentally different for biblatex files (all bibliography databases go >> into the header + the bibtex executable may soon no longer work with it). >> >> I haven't looked at this in detail, but it ought to be possible to tell > LyX to do different things in different cases. I imagine some layout-like > thing that contains all the information about what cite commands there are, > what they look like, etc. It can also contain other information about what > bibliography-related commands need to be issued, and where they should be > put. There won't be that many options. > > yes, but to make this 100% user configurable looks like a major undertaking. Just to begin with -- you would need to add the following to syntax.default for biblatex and I'm not even sure that file has a way of handling the lines I commented below (the ones that go on indefinitely): % biblatex supports some natbib and jurabib commands and additionally: \cite[][]{} \cite*[][]{} \Cite[][]{} \citetitle[][]{} \citetitle*[][]{} \citeauthor[][]{} \Citeauthor[][]{} \citeyear[][]{} \citeurl[][]{} \Footcite[][]{} \footfullcite[][]{} \volcite[]{}[]{} \Volcite[]{}[]{} \pvolcite[]{}[]{} \Pvolcite[]{}[]{} \fvolcite[]{}[]{} \Fvolcite[]{}[]{} \tvolcite[]{}[]{} \Tvolcite[]{}[]{} \avolcite[]{}[]{} \Avolcite[]{}[]{} \notecite[]{}[]{} \Notecite[]{}[]{} \pnotecite[]{}[]{} \Pnotecite[]{}[]{} \fnotecite[]{}[]{} \Fnotecite[]{}[]{} \citename[][]{}[]{} \citelist[][]{}[]{} \citefield[][]{}[]{} \textcite[][]{} \Textcite[][]{} \parencite[][]{} \parencite*[][]{} \Parencite[][]{} \autocite[][]{} \autocite*[][]{} \Autocite[][]{} \Autocite*[][]{} \supercite{} \cites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \Cites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \parencites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \Parencites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \footcites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \Footcites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \autocites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \Autocites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \supercites()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}()()[][]{}% Arguments go on indefinitely! \nocite{} \printbibliography[] \RN{} \Rn{} \citereset \citereset* \mancite \pno \ppno \nopp \psq \psqq \bibellipsis \hyphenate \hyphen \nbhyphen \noligature \mknumalph{} \mkbibacro{} \autocap{} > Richard > > > -- Johannes Wilm http://www.johanneswilm.org tel: +1 (520) 399 8880