While trying to add some more format control to the book of abstracts,
I found that this part probably could need some more overhaul:
- This part still seems to use MAKO templates
- The templates in general produce too much white space int the template, making it hard to read for humans
- The TeX code uses a mix of LaTeX and plain TeX mixed together
- It is unclear if all packages in the file are really used.
- Exporting a bundle (tex-file, images if any, fonts) for manual intervention would be a nice bonus.
Atre there already plans to to work on this area, I think at least with some parts I could try to create patches…
Yep, one of the few parts of Indico where nobody felt like moving to Jinja yet. That’s why this stuff is still in
Generally we don’t really care about how the output from templates look like, since usually it’s only processed by a browser. In this particular case - especially once there is an option to download the LaTeX sourcecode for the BoA - we probably should care about it. Any idea if there are libraries that can reformat LaTeX code and clean it up? That’d be better than having hard-to-read templates just to have them generate pretty LaTeX source code.
Any examples? I’m not familiar enough with LaTeX to see the difference tbh.
Already planned for the future: