Hello Frank,
what you can do straight forward is the following:

\begin{author}\format[HTMLChars]{\author}
\end{author}\begin{editor}\format[HTMLChars]{\editor} \end{editor}

instead of
\editor

in the first case if you have no author but an editor, only your editor
will be printed.

But I assume you do not want to print both if there are authors and
editors. I do not know how to do this, but to be honest, I don't know
whether it makes sense, because nobody can differenciate between authors
and editors in your output.

Wouldn't it be better to differenciate between different types of
publications and use an extra export format for each type (e.g. collections
that have an editor; and books that have an author)?

Greetings
Felix



On 13 November 2013 12:31, Frank Ellebrecht <[email protected]> wrote:

> 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
>
>
>
> ------------------------------------------------------------------------------
> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
> Free app hosting. Or install the open source package on any LAMP server.
> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
> _______________________________________________
> Jabref-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jabref-users
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to