summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgroffdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/groffdown b/groffdown
index f13f96a..60e7721 100755
--- a/groffdown
+++ b/groffdown
@@ -5,7 +5,7 @@ dir=$(dirname "$file")
base="${file%.*}"
-output=$( sed -e '1s/---/\.R1\naccumulate\n\.R2\n\.EQ\ndelim\ $$\n\.EN\n/
+output=$( sed -e '1s/---/\.EQ\ndelim\ $$\n\.EN\n/
s/title:/\.TL\n/
s/author:/\.AU\n/
s/date:/\.ND\n/
@@ -51,5 +51,6 @@ output=$( sed -e '1s/---/\.R1\naccumulate\n\.R2\n\.EQ\ndelim\ $$\n\.EN\n/
# This script will compile the md document into a groff .ms file.
# Good for reviewing compiled .ms text for debugging the ms output
# as you code.
-echo "$output" > "$base".ms
+# echo "$output" > "$base".ms
+echo "$output"
# groff -ms $base.ms -T pdf > $base.pdf