From: Mark S. <ms...@ca...> - 2012-01-19 11:17:12
|
this feature was updated and improved in JabRef 2.7.1. The "Custom Export Filters" section help files contains a description, but in summary there are two options: \begin{author&editor} this text appears if there is an author AND editor field.\end{author&editor} \begin{author|editor} this text appears if there is an author OR editor field.\end{author|editor} Hope this helps, Mark > Hi, > > I think you should be able to use a construct like > "\begin{author,editor}; \end{author,editor}" to get text only if both > fields are set. I haven't tested it right not, but I think this > feature was added at some point. > > > Morten > > On 19 January 2012 10:40, Hagen Schwaß > <hag...@st...> wrote: >> Hello, >> >> can anyone help with a workaround for exporting author and/or editor >> field? I'm working on a jabref layout file that should be working in the >> following manner: >> >> \begin{author}\format[...]{\author}\end{author}\begin{editor}\begin{author} >> ; \end{author}\format[...]{editor}\editor\end{editor}: \title >> >> But if auhtor field is empty and editor field is "Gerstmann, H.", output >> looks like >> ; Gerstmann, H.: Some title >> The semicolon should not be there. Does anyone know a workaround? I've >> already tried to solve this issue with an formatter: >> >> \format[PrintIfxoxo]{\begin{author}xo\end{author}\begin{editor}xo\end{editor} >> ; } >> >> But actually the String passed into the formatter is always empty this >> way. >> >> Best regards, >> Hagen >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> Jabref-users mailing list >> Jab...@li... >> https://lists.sourceforge.net/lists/listinfo/jabref-users > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Jabref-users mailing list > Jab...@li... > https://lists.sourceforge.net/lists/listinfo/jabref-users Mark Schenk -- Research Associate Advanced Structures Group Department of Engineering University of Cambridge United Kingdom (e) ms...@ca... (w) http://www2.eng.cam.ac.uk/~ms652/ (t) +44 (0)1223 (3)32666 (m) +44 (0)7815460045 |