IACR / latex-submit

Web server to receive uploaded LaTeX and execute it in a docker container.
GNU Affero General Public License v3.0
11 stars 0 forks source link

Major change with latex log parser. #38

Closed kmccurley closed 1 year ago

kmccurley commented 1 year ago

The list of things in this change is long:

  1. remove silence package from Dockerfile
  2. add log_parser.py and log_parser_test.py for parsing a log file.
  3. add parsed log components in compilation.py
  4. add -recorder option on latexmk so that it keeps better track of which file is open for better logging.
  5. optional texmf.cnf to make log lines not wrap at 79 characters. At the moment we're not using it.
  6. remove '.' as an accepted character in DOIs.
  7. change error_log and warning_log in Compilation to be structured elements instead of strings. This means we have to discard old compilations.
  8. modify Discussion element in db_models to add source file and source file line. This is a schema change.
  9. add extra test for removing comments from abstract (test for \iffalse)
  10. change UI for uploaded papers so that warnings and errors can be clicked on to show where they occurred in the log, the PDF, and the source files. The PDF navigation only works on chrome-based browsers at the moment, since control of the PDF viewer is nonstandard.