Question about the GitHub repo, out of curiosity. Did you only start using git in preparation of the open source release?
I don't know PHP. Since your code base looked clean, was hoping to learn some PHP by following along with your git logs, but the beginning of the Ibis universe was only 2 days ago with a very mature code base.
Hey. I started with git since the beginning but wiped out the repo history just before making it public. The commits were all "wip" anyway :D I wasn't sure I'll make it public as I was mainly doing this to generate my eBook.
Pandoc https://pandoc.org is described as a Universal Document Converter. It can convert markdown (and quite a few other formats) into ePubs, PDFs, doc files, etc. If you need to produce eBooks, Pandoc is a more powerful tool. It's been around for quite a while, and it's very well documented.
Epubs are zip files, I wrote PHP code that generates the file using the specification. Use the command line apps that already exists if those do the job but if you want to control exactly how the epub content looks don't be afraid dig a bit.
Yeah that’s what I meant. It seems much more convenient to generate PDF layouts this way than to use standard layout structure like you would with tcpdf or similar.
I know there are a bunch of caveats AKA the browser generally helps renders smarter and some features don’t translate well. But generally I prefer your approach.
PDF is ultimately for paper when you care about how the content fits on each page. A reflowable format will have to at some point be rendered to pages if one is to go to paper, and I can't think of anything better than PDF for storing that rendering.
Sure, once we settle one one specific browser, that might be a good idea for publishing things. I have yet to see a HTML with CSS that renders the same on every browser. (A blank page does not count!)
Unless it is the Pandoc markdown dialect (and perhaps not even then) the fact that it is markdown and not some more powerful language, already tells me, that its use is rather limited. If it was for example rst, it would be actually useful also for technical and scientific documents in general, which have sometimes need of document internal referencing of arbitraty elements, not only headings. Then of course all the other things Pandoc markdown brings, that are more geared towards finding a syntax for citations and footnotes etc. If all of that is not available either, the use is already quite limited.
Question about the GitHub repo, out of curiosity. Did you only start using git in preparation of the open source release?
I don't know PHP. Since your code base looked clean, was hoping to learn some PHP by following along with your git logs, but the beginning of the Ibis universe was only 2 days ago with a very mature code base.