-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Name Formatters are not found #3531
Comments
Thanks for reporting! The syntax for custom formatters has changed to more consistent within JabRef. Have a look this link which roughly describes your use case http://discourse.jabref.org/t/file-rename-feature-broken-in-4-1/982/2 When you adapt the syntax, hopefully your workflow works again. |
Closing this due to inactivity. Feel free to reopen if the issue persists. |
Hi, To me, it is not obvious how the link lenhard provided works for the custom export filters. If that is the case, does it mean the online documentation on the feature is completely outdated? This does not seem to be true; everything else apparently works fine, except for specifying custom name formatters. I've experienced the problem with versions 3.8.2 and 4.3.1 on Windows 7 and 10 (64 bit). The syntax works on version 2.7 on the same devices. |
I'm somewhat confused by the documentation and the actual code. Can you please post the example that works in 2.7 but fails in the later versions. Thanks. |
Thanks for quick response, and sorry if my documentation was confusing.
This procedure works in 2.7, and the exported file should contain a list of formatted author names (provided they exist). When running this in 3.8.2 or 4.3.1, the exported file contains strings "[Formatter not found: DCA]", and the author names are not formatted. Also, a custom name formatter specified as above could be used in entry preview (Options > Preferences > Entry preview) in 2.7, but cannot in the newer versions. I hope the above makes some sense. Thank you. |
Thanks for the detailed description. I was not confused by your report but by our documentation. For example, I couldn't find out how to specify the custom name formatter. It would be very helpful if you could improve the documentation in this regard (e.g. by adding the above steps). Just edit the file directly at https://github.com/JabRef/help.jabref.org/edit/gh-pages/en/CustomExports.md . The bug should be fixed now in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
i find the bug in preview with JabRef 5.0--2020-03-06--2e6f433 on windows: |
JabRef version JabRef 4.1-dev--snapshot--2017-12-08--master--6f39151a7 on Windows 7x64 with Java jre1.8.0_151
Steps to reproduce:
[AWT-EventQueue-0] WARN org.jabref.logic.exporter.ExportFormat - the following formatters could not be found: DCA
The created output file shows before every author [Formatter not found: DCA]
The same result is received using the GUI via File -> Export
With JabRef Verion 2.9 this was never a problem.
Details
layoutfile datacite.layout contains only the following line causing the error
\format[DCA]{\author}
The name formater too is absolutely simple
Formater Name = DCA
Format string = {ll}, {f.}
The text was updated successfully, but these errors were encountered: