diff options
| author | Paul Buetow <paul@buetow.org> | 2022-07-03 09:37:10 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-07-03 09:37:10 +0300 |
| commit | 022692152da3cda49dc11720a328afb787421e62 (patch) | |
| tree | e265f5f715bb48fd13b5e0ae2aacaf3e3d096b51 /IDEA.md | |
| parent | 48e4ffe00e473629445ba52e93186dfa8f93c121 (diff) | |
update docs
Diffstat (limited to 'IDEA.md')
| -rw-r--r-- | IDEA.md | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -1,10 +1,8 @@ # IDEAs -## Parallel job processing queue +## Templating -Currently, in order to speed up, Gemtexter forks on certain functions and loops and joins (via `wait`) on the sub-processes. This however can be a problem once a user max process limit is reached. - -Use s.t. like `pgrep -c -P$$` to determine how many sub-processes are already active and wait for new forks until a lower limit is reached. +Templating of .gmi files (e.g. insert %%TOC%% to Gemtext files as well). Could also template common .gmi page headers and footers. Could also insert bash code here. ## Also generate a PDF book @@ -12,7 +10,13 @@ I could use pandoc for this (convert from Markdown to PDF). This works on Fedora ``` sudo dnf install pandoc wkhtmltopdf -pandoc FOO.md --pdf-engine=wkhtmltopdf --output FOO.pdf +pandoc **/*.md --pdf-engine=wkhtmltopdf --output foo.zone.pdf ``` -The Texlive PDF Engine doesn't work due to missing fonts on Fedora, and there aren't any packages providing the missing fonts. +There will be some more scripting required to get the page order and ToC correct. + +## More ideas + +* Automatic ToC generation. +* Sitemap generation. +* More output formats. Gopher? Groff? Plain text? PDF via Pandoc? .sh with interactive menus? |
