Zotfile iterative wildcard

Hi everybody!

I'm migrating to Zotero and I've been delighted with it! A lot to explore, functionalities and what looks to be very user-friendly and customazible.

What I'm trying to accomplish is the following: create an wildcard that instead of "Title" gives me "Short Title" and if there is none defined use "Title".
I tried this, but I believe I'm quite wrong:
{"1":{"default":"title", "title":"shortTitle"}}

I'm willing to create short titles for all the library, if only "shorttitle" can be used, but even that I failed to do.

I'm not programming savvy, making me not to full understand what I can and cannot accomplish with wildcards. I've been searching and trying for myself but no success.

Thanks!
  • edited April 25, 2020
    Just use built in wildcards for this:
    %h|%t

    The vertical bar means “use the first field, then use the second if the first is empty”.
  • Thank you for your quick response!

    I just tested and this means that I have to use Zotfile naming rules instead of the native Zotero, right?

    If my assumption is right I found an obstacle: I was taking advantage of the "creator" wildcard %c, but this has a different output in Zotfile - collection path. I can't seem to find the equivalent on Zotfile, is there a workaround for it?
  • Zotero renaming rules only support creator, title and year. Anything more complex requires Zotfile.

    The Zotfile author %a wildcard should substitute for other creator types I believe.
  • The %a in Zotfile is only for last names of authors, but I will combine it with %d (editor) in a similar fashion, and I believe it solves it.

    Thank you, once again, for your help!
    Cheers

This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.

Sign In or Register to comment.