Commit Graph

41 Commits (master)

Author SHA1 Message Date
Anders Damsgaard e56e6e57aa Makefile: do not hardcode optimization and linker flags
Adhere to git://bitreich.org/bitreich-style/c/makefile-guideline.txt

71 * $CFLAGS: do not hard-code optimization flags like (-O2) or diagnostic flags
72   such as -Wall, -Wextra, -pedantic. Even more importantly, do not
73   specify unportable compiler flags.
74
75 * $LDFLAGS: do not hard-code linker flags like -s (symbol stripping) or -g,
76   -static or such flags.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2021-06-14 12:31:37 +02:00
Christoph Lohmann e0d87452da Add pptx2md converter. 2021-06-13 14:41:14 +02:00
Christoph Lohmann ad95b9aa56 Only allo a-zA-Z0-9_ in filenames.
Thanks Od1n for reporting this.
2021-06-13 14:00:52 +02:00
parazyd d56297fed5 Implement strlcpy to avoid entire libbsd dependency on Linux.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-05-05 12:53:09 +02:00
Christoph Lohmann 9d9bd91369 Make enscript support at least some UTF-8. 2020-05-02 15:04:39 +02:00
Christoph Lohmann dd0a478f3e Add new backslash escaping to manpage. 2020-04-29 19:35:27 +02:00
Christoph Lohmann 30d28168eb Change hello.md to the new syntax and more examples. 2020-04-29 19:30:31 +02:00
Hiltjo Posthuma 44f42507f8 fprintunderline: small optimization
Don't run utf8strlen potentially for each character.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:27:40 +02:00
Christoph Lohmann 0e58fcdb30 Add escape possibility for everything. 2020-04-29 19:21:25 +02:00
Christoph Lohmann e1ccb875a3 Add Linux glibc way of things. 2020-04-29 19:11:34 +02:00
Hiltjo Posthuma dfe08ef1dd mostly style fixes
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma 652effdccb dont override PATH_MAX, include limits.h
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma ed63e58c93 fix a regression with printing bulletpoints
regression input: "***test***"

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma 36fb3f983b md2point.1: minor fixes
- remove unneeded paragraph after new section.
- remove trailing spaces.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma 09e08cd095 Makefile: use DESTDIR, make directories if they do not exist
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Hiltjo Posthuma 30eef86b7a use int for return type of fgetc
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 19:01:01 +02:00
Christoph Lohmann a424583e26 Add config.mk. 2020-04-29 16:37:20 +02:00
Christoph Lohmann a20dcaafee Update README to new state. 2020-04-29 16:36:49 +02:00
Christoph Lohmann c406e1ed7f Add config.mk and Linux support. 2020-04-29 16:33:09 +02:00
Christoph Lohmann bf151fea8f Add LICENSE hint to Makefile. 2020-04-29 16:15:34 +02:00
Christoph Lohmann 9a7b5aa0d1 Add adc to LICENSE. 2020-04-29 16:15:05 +02:00
Anders Damsgaard d8eed1a767 Rewrite md2point in c and add minimal manpage
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-29 16:12:35 +02:00
Anders Damsgaard fd83f17fab Avoid appending to preexisting files
Previously, multiple md2point calls required manually removing
output text files between calls as content was always appended to
the output file. This is no longer the case with this commit, as
output files are cleared on first write.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-26 11:14:26 +02:00
Anders Damsgaard 1d4661b2ba Allow slide breaks with #pause
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2020-04-26 11:13:57 +02:00
Christoph Lohmann a95572477b Remove space in utf8expr URI. 2019-11-09 20:43:53 +01:00
Christoph Lohmann dc9a06463c Remove unnecessary remark in LICENSE. 2019-11-09 20:39:21 +01:00
Stefan Hagen e781477a32 Adding makefile
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2019-11-09 20:16:24 +01:00
Christoph Lohmann 7cf961edb5 Shorten point2pdf.
Thanks to Gerrit Meyerheim <gerrit.meyerheim@pernixmail.de>
2018-08-26 10:27:34 +02:00
Christoph Lohmann 809dd8d7ee Remove uneeded colors, fix point replacement issue.
Thanks to Gerrit Meyerheim <gerrit.meyerheim@pernixmail.de> !
2018-08-26 10:05:35 +02:00
Solene Rapenne 4c5d14714b Fix tab replacements with non-gnu sed
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2018-08-13 10:31:42 +02:00
trqx@goat.si 58e580f216 add requirements to README
Signed-off-by: Christoph Lohmann <20h@r-36.net>
2018-08-13 10:30:31 +02:00
Christoph Lohmann 59ccbc5ce8 Fix md2point title and filename generation. 2018-07-22 18:00:39 +02:00
Christoph Lohmann c9cabf1139 Fix dir2point for empty rm. 2018-07-22 17:53:14 +02:00
Christoph Lohmann 1299c159e7 Rename dir2catpoint to dir2point, to follow other naming. 2018-06-24 18:42:53 +02:00
Christoph Lohmann 48eb525c32 Add dir2catpoint, for presenting a directory content easily. 2018-06-24 18:32:24 +02:00
Christoph Lohmann e770be3082 Year bump. 2018-01-24 17:06:25 +01:00
Christoph Lohmann 8cef108616 Fixing a spelling error. 2017-03-25 12:35:38 +01:00
Christoph Lohmann 2fd2eefb68 Add how to get the catpoint from its origin git repository. 2014-01-21 14:01:13 +01:00
Christoph Lohmann 4ad1da8099 Removing the old catpoint version. 2014-01-21 13:59:42 +01:00
Christoph Lohmann 21c9fbd191 Add a description and an example for a presentation. 2014-01-21 09:31:45 +01:00
Christoph Lohmann 6595feb811 Initial commit. 2014-01-21 09:25:03 +01:00