Open MathewBiddle opened 8 years ago
I'm not certain but I suspect it would be a fair amount of work to output to PDF. I generally try to shy away from PDFs, they aren't machine readable and after writing a parser to read water levels for GLOS from a Army Corps published pdf, I encourage everyone to keep to machine-readable formats.
Second issue has been addressed by latest version.
PDF is a pretty huge spec with lots of quirks, and while it might be possible to go from HTML output to PDF with certain utilities, I've often found that there are inconsistencies when converting various styling elements in the original documents. However, compliance checker recently had a design overhaul, and part of the changes would fairly easily allow LaTeX tables to be generated, (see https://pypi.org/project/tabulate/) so if this is of interest, perhaps create an issue on the main compliance checker repo.
I don't think the pdf output is necessary. I was hoping it could be an easy addition to simplify my correspondence with data providers, but it sounds like it's more difficult than expected. Now that there is an API (https://github.com/ioos/compliance-checker-web/wiki/API), providing json output, it should be easy to write my own formatter, if needed. Thanks for looking into this though!
This is an old issue, but through utilities such as Pandoc, it'd be possible to transform the HTML output to PDF.
Would it be possible for the web compliance checker to output in pdf, as an option? I've been doing this by printing the page to a pdf, but for some reason the color formatting doesn't come through. This makes it difficult for another party to review the recorded output I've provided.
Also, in the Corrective Actions section there is a column for Priority. While I can deduce the a priority of one equates to high, it would be nice for this to be defined somewhere.