{Solved Thanks}

Would there be any interest? header tags are used to make table of contents, anchor tags create Index entries, all the formatting tags (tables, un-numbered and numbered lists etc) do basic print formatting. All the bold/underline/italic also render to paper. Sort of like a poor man’s TeX.

Has anyone done this?

  • Mike1576218
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    I write business letters in HTML. I have a custom letter.css and a base letter.html+.js that loads individual letters into a template. I have some custom tags for date, address and similar. The individual docs are super clean. I can export compiled html files with embedded css (no js needed) and images that render perfectly and are even smaller then the pdfs I export (print) and those are small too.

    Two downsides. The biggest problem, I didn’t find a way to do proper multi page docs. And especially Firefox has limited print css support.

    Second: everything is crudely hacked together and in no way usable by others…

    maybe chatgpt can rewrite the code better, so I can publish it?