shithub: epublish

Download patch

ref: f7c2cdeb04780a7fa581b6fcfa985fb160294a1e
parent: 825b7e6424d8bed086c576f79997bf8704143bb8
author: sirjofri <[email protected]>
date: Fri Sep 10 01:51:40 EDT 2021

removes extracted stuff from ms-toc

--- a/sample/mssrc/aaa.ms
+++ b/sample/mssrc/aaa.ms
@@ -18,3 +18,4 @@
 .tm TOC:.vs 25pt
 .tm TOC:.\\}
 .tm TOC:..
+.tm TOC:.LP
--- a/txt2ms
+++ b/txt2ms
@@ -15,8 +15,6 @@
 
 BEGIN {
 	print ".de XS\n.ds LQ \"\"\n.nr |i (\\\\$1i-1i)/3u\n.ie '\\\\$1'0' .tm TOC:.XL \\\\$1 \\\\*(LQ\\\\$2\\\\*(LQ \\\\n%\n.el .tm TOC:.XL \\\\$1 \\\\*(LQ\\h'\\\\n(|iu'\\\\*(SN\\0\\0\\\\$2\\\\*(LQ \\\\n%\n.."
-	print ".tm TOC:.de XL\n.tm TOC:.nr |i \\\\\\\\$1\n.tm TOC:.ta \\\\\\\\n(LLuR\n.tm TOC:.ie \\\\\\\\$1>1 \\\\\n.tm TOC:\\\\{\\\\\n.tm TOC:\\\\\\\\$2 \\\\a\\\\|\\\\|\\\\\\\\$3\n.tm TOC:.vs 15pt\n.tm TOC:.\\\\}\n.tm TOC:.el \\\\\n.tm TOC:\\\\{\\\\\n.tm TOC:\\\\fB\\\\\\\\$2	\\\\|\\\\|\\\\\\\\$3\\\\fR\n.tm TOC:.vs 25pt\n.tm TOC:.\\\\}\n.tm TOC:.."
-	print ".tm TOC:.LP"
 }
 
 firstheader && NR == 1 {