3 ms·
Thank you for the books and the suggestions. I understand the warnings since I did not really provide any information on my project in the post. Essentially, I
by shawnfrostx 4y ago
Thank you for the books and the suggestions. I understand the warnings since I did not really provide any information on my project in the post. Essentially, I am writing a batteries included language to act as a replacement for LaTeX (or at the moment, a small subset of it). I cannot use any existing library since they do not work for my own PL and I do not want to go through PostScript -> PDF since the reason I started this project was because the time delay between saving a .tex file and seeing the output on my pdf reader was becoming very long.
- layer8 4y agoThat’s fine, and I actually applaud avoiding complex dependencies like LaTeX/PostScript. Using a good PDF library might still make sense for your use case, as they generally provide enough low-level support. In particular for handling the COS object system, which you really don’t want to do by hand if you can avoid it. Or you can at least start with using a library to get familiar with the higher-level PDF peculiarities, and only switch to fully hand-written output later when and if you find that necessary.
- shawnfrostx 4y agoOk! I will look into those libraries. Thanks a lot.
- xigoi 4y agoWhy not make it compile to HTML instead? It's much more accessible.
- gettalong 4y agoWhich programming language are you using to write your LaTeX replacement? There are PDF libraries available in most languages (granted, there is wide spectrum of them with respect to how much/good they implement the PDF specification).