summaryrefslogtreecommitdiff
path: root/IDEA.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2022-11-23 20:45:21 +0200
committerPaul Buetow <paul@buetow.org>2022-11-23 20:45:21 +0200
commit5bbae36a59881e34fe111c0ee9f44f3907158301 (patch)
tree85d2b8da1f33c327f57def0ba31a178872050a3d /IDEA.md
parent6682bd7c4c45283acdb161765dac58ec034899bd (diff)
parent4c4f379ea616eeec320ec27776c739fadf70d2da (diff)
merge
Diffstat (limited to 'IDEA.md')
-rw-r--r--IDEA.md16
1 files changed, 10 insertions, 6 deletions
diff --git a/IDEA.md b/IDEA.md
index ba70c6a..88a306b 100644
--- a/IDEA.md
+++ b/IDEA.md
@@ -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?