slweb

Једноставни генератор статичких веб страна
Дневник | Датотеке | Референце | ПРОЧИТАЈМЕ | ЛИЦЕНЦА

чување 2b5437c3f47c80a988e353ac177f8be0febab43d
родитељ 1e2eab9ead8233529d10d48026fec5816a9216f3
Аутор: Страхиња Радић <contact@strahinja.org>
Датум:   Sun, 22 Aug 2021 16:16:07 +0200

Updated README and index.slw; slweb.c: Added newline to the end of the file

Signed-off-by: Страхиња Радић <contact@strahinja.org>

Diffstat:
MREADME | 4+++-
Mdefs.h | 2+-
Mindex.slw | 5++++-
Minstall.do | 2+-
Mslweb.c | 1+
измењених датотека: 5, додавања: 10(+), брисања: 4(-)

diff --git a/README b/README @@ -12,9 +12,11 @@ transforms custom Markdown-like syntax into HTML. Aside from the obvious (a C compiler, by default GNU C), slweb requires groff(1) and gzip(1) to create and compress documentation. git(1) is, aside from cloning the repository, required to use the directive {git-log}. KaTeX[1] is optionally -used for math mode. +used for math mode. ImageMagick's[2] program identify(1) is optionally used to +determine image sizes and output them as attributes to the <img> tag. [1]: https://katex.org +[2]: https://imagemagick.org Install ------- diff --git a/defs.h b/defs.h @@ -21,7 +21,7 @@ #include "utf8.h" #define PROGRAMNAME "slweb" -#define VERSION "0.3.10" +#define VERSION "0.3.11" #define COPYRIGHTYEAR "2020, 2021" #define MADEBY_URL "https://strahinja.srht.site/slweb/index.html" diff --git a/index.slw b/index.slw @@ -20,7 +20,9 @@ Aside from the obvious (a C compiler, by default **GNU C**), slweb requires **groff**(1) and **gzip**(1) to create and compress documentation. **git**(1) is, aside from cloning the repository, required to use the directive `{git-log}`. $\KaTeX$ ([https://katex.org][katex]) is optionally used for math -mode. +mode. [ImageMagick's][imgmg] program **identify**(1) is optionally used to +determine image sizes and output them as attributes to the `<img>` tag. + ## Install @@ -138,6 +140,7 @@ this program. If not, see &lt;[https://www.gnu.org/licenses/][licen]&gt;. [aredo]: https://github.com/apenwarr/redo [examp]: https://git.sr.ht/~strahinja/slweb/tree/master/item/examples +[imgmg]: https://imagemagick.org [issue]: https://todo.sr.ht/~strahinja/slweb [mtodo]: https://git.sr.ht/~strahinja/slweb/tree/master/item/TODO [katex]: https://katex.org diff --git a/install.do b/install.do @@ -1,5 +1,5 @@ redo-ifchange all -PREFIX=/usr/local +PREFIX=${PREFIX:-/usr/local} BINDIR=$PREFIX/bin DOCDIR=$PREFIX/share/doc/slweb MANDIR=$PREFIX/share/man/man1 diff --git a/slweb.c b/slweb.c @@ -4526,3 +4526,4 @@ main(const int argc, const char** argv) return result; } +