Hello, With this subject header, there was the question about missing a NOT Operator in jabref custom exports (e.g. if you export bibfiles to html to print something explicitly only if some field does NOT exist. http://sourceforge.net/p/jabref/mailman/message/31633293/ (some 8 months ago).
More recently (last month), there was a feature request about the same thing last month by another person. http://sourceforge.net/p/jabref/feature-requests/870/ I have the same problem (need a NOT operator for conditional formatting in custom exports). This problem even occurs even within one and the same entrytype. EXAMPLE Some books have a title and a volume digit, but no maintitle. And other books have volume numbers and a maintitle. Now I want to write 'volume this-and-that' directly after the (book)title (in table column X), only if there is NO maintitle (otherwise, write 'volume bla' after maintitle in table column Y, this part works well with conditional formatting). WORKAROUND: \begin{maintitle}<!--\end{maintitle} If you see this, there is no maintitle \begin{maintitle}-->\end{maintitle} then use htmlcompressor to delete all htmlcomments in the output. I guess this workaround (using conditional htmlcomments) is preferable to some involvement of javascript here (which would not be the next adress) and maybe this is of interest for somebody else too. Greetings, Alex ------------- [Jabref-users] Custom export: NOT operator? From: Frank Ellebrecht <ellebrecht-edv@gm...> - 2013-11-13 11:31:52 Hello, In my custom export filter, if the author field is empty, I would like to print the editor field instead. But I did only find "AND" and "OR" operators, not something like "NOT" or "empty". Is there a way for something like "if not author then print editor"? And if it is not, would it be possible to add such a feature to Jabref? Thank you. Regards, Frank ------------------------------------------------------------------------------ _______________________________________________ Jabref-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jabref-users
