Do folding before boxes and apply for .txt input too. - tgtimes - The Gopher Ti… | |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit 79cdcd13e863b43d9a850533fc59fbca84cfb232 | |
parent 1e2c8110d7aa42bff0a5821e2d08d587e5212872 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Tue, 8 Aug 2023 11:50:48 +0200 | |
Do folding before boxes and apply for .txt input too. | |
Diffstat: | |
M Makefile | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
@@ -11,12 +11,12 @@ all: ${tgtimes}.pdf | |
mdfiles=$(wildcard opus${v}/*.md) | |
mdptxtfiles=${mdfiles:.md=.ptxt} | |
.md.ptxt: | |
- cat $< | boxes -d boxquote -p a1 -s 70x | fold -s > $<.ptxt | |
+ cat $< | fold -s | boxes -d boxquote -p a1 -s 70x > $<.ptxt | |
txtfiles=$(filter-out ${tgtimes}.txt, $(wildcard opus${v}/*.txt)) | |
txtptxtfiles=${txtfiles:.txt=.ptxt} | |
.txt.ptxt: | |
- cat $< | fold -s > $<.ptxt | |
+ cat $< | fold -s | boxes -d boxquote -p a1 -s 70x > $<.ptxt | |
rawfiles=$(wildcard opus${v}/*.raw) | |
rawptxtfiles=${rawfiles:.raw=.ptxt} |