-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtcc.patch
More file actions
36 lines (36 loc) · 1.29 KB
/
tcc.patch
File metadata and controls
36 lines (36 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- om.tmac.orig 2025-03-10 16:09:55.218392400 -0300
+++ om.tmac 2025-03-11 16:02:40.668678000 -0300
@@ -11149,6 +11149,7 @@
. while \\n+[@LEVEL]<=\\n[#LOOP] \
. if \\n[#HEAD_\\n[@LEVEL]_NUM] \
. as $HD_NUM \\n[#HEAD_\\n[@LEVEL]_NUM].
+. chop $HD_NUM
. ie \\n[#TRUNC_TOC_HD_NUM] \
. ds $TOC_HD_NUM \\n[#HEAD_\\n[#LEVEL]_NUM].
. el .ds $TOC_HD_NUM \\*[$HD_NUM]
@@ -11186,7 +11187,7 @@
. as $TOC_HEAD_\\n[#LEVEL]_ITEM "\\*[toc-word-space]
. \}
. PDF_BOOKMARK \
- \\*[PDF_NM] \\n[#LEVEL]+1 \
+ \\*[PDF_NM] \\n[#LEVEL] \
\\*[$PDF_HD_NUM] \\*[$TOC_HEAD_\\n[#LEVEL]_ITEM]
. rm PDF_NM
. rm $PDF_HD_NUM
@@ -15802,7 +15803,7 @@
\w'\\*[$TOC_HD_NUM]'u
. ti -\w'\\*[$TOC_HD_NUM]'u
. pdfhref L -D "\\*[PDFBOOKMARK.NAME]" -E -- \
-\&\\*[$TOC_HD_NUM]\\*[$TOC_HEAD_\\n[#LEVEL]_ITEM]
+\&\\*[$TOC_HD_NUM]\h'\\n[TocDesired]-(\\w'\\*[$TOC_HD_NUM]'/1m)'\ \ \\*[$TOC_HEAD_\\n[#LEVEL]_ITEM]
\!. ll
' in
. di TOC_LEADERS
@@ -20172,6 +20173,7 @@
. if \\n[#SLANT_ON] .nop \\*[SLANTX]
. if \\n[#COLUMNS]=1 .nr #COLUMNS 0
. START
+. sp 1.524c
. if \\n[#PRINT_STYLE]=2 .sp -1
. if '\\*[$LIST_TYPE]'FIGURES' .LIST_OF_FIG
. if '\\*[$LIST_TYPE]'TABLES' .LIST_OF_TBL