-
Notifications
You must be signed in to change notification settings - Fork 15
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
Switch to Apache Velocity for Custom Layouts #392
Comments
Just an additional remark, the keygenerator, OpenOffice/LibreOffice and the custom Preview all rely on our custom bracketed pattern "engine" and on the resulting html. |
https://stackoverflow.com/a/1984458/873282 --> Velocity |
Add Thymeleaf as an option https://www.thymeleaf.org/ |
Other example where the language is used:
|
After doing a bit of research, I found that Thymeleaf was originally designed for web applications, and was particularly better optimized for html than for other text formats. On the other hand, Apache Freemarker seems to be a better alternative because it's not built around web apps and seems to be more versatile. As our use isn't web-related, I wanted to ask you for your opinion. Freemarker's syntax looks pretty easy to get to grips with, and the configuration doesn't seem unusually complex.
Below this conversation there were other arguments in favor of Freemarker. |
@jeanprbt To really judge, two minimal examples have to be build. One for each engine Thymeleaf docs:
Source: https://www.thymeleaf.org/doc/tutorials/3.1/usingthymeleaf.html Thus, I do not follow your argument with "web technologies" |
As usual, the main pros and cons should be gathered in a MADR document |
Context
Our layout files are very strange.
Tasks
Steps:
If possible:
.layout
files to the new format (can be called via the command line)Variants
We could keep both the new engine and the old engine in JabRef and gradually migrate to the new one.
Background/Links
Check whether we could switch to some other export engine. Apache Velocity, yeoman-based, ...
See https://github.com/latextemplates/generator-latex-template/blob/master/docs/adr/0001-use-yeoman.md for options for template generators.
See https://github.com/latextemplates/generator-latex-template/blob/master/generators/app/templates/main.de.tex for the Yeoman syntax.
Refs xJREB/swe-research-methods#1 (comment)
Velocity was chosen at JabRef#11900.
The text was updated successfully, but these errors were encountered: