[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: [mom]: Prepend chapter numbers to endnotes' pdf link and
From: |
Peter Schaffter |
Subject: |
[groff] 01/01: [mom]: Prepend chapter numbers to endnotes' pdf link and target numbers |
Date: |
Fri, 8 Nov 2024 12:14:22 -0500 (EST) |
PTPi pushed a commit to branch master
in repository groff.
commit 8915d5b158ce2869fb68f0100e0fd34f961cd366
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Fri Nov 8 12:12:11 2024 -0500
[mom]: Prepend chapter numbers to endnotes' pdf link and target numbers
Brain fart. I neglected this in my previous commit.
---
contrib/mom/om.tmac | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index 62711b0b5..b0b5d4c88 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -14970,14 +14970,14 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
. \}
.\" Vertical raise amount here is more than when the same string is printed in
.\" the endnotes so bottom of number aligns with top of bowl.
-. PDF_TARGET EN-\\n+[#EN_NUMBER]-body
+. PDF_TARGET EN-\\n[#CH_NUM]\\n+[#EN_NUMBER]-body
. PDF_LINK \
-EN-\\n[#EN_NUMBER] SUFFIX \c
"\s-2\v'-\\n[#DOC_LEAD]u/5u'\\n[#EN_NUMBER]\v'+\\n[#DOC_LEAD]u/5u'\s+2\c"
+EN-\\n[#CH_NUM]\\n[#EN_NUMBER] SUFFIX \c
"\s-2\v'-\\n[#DOC_LEAD]u/5u'\\n[#EN_NUMBER]\v'+\\n[#DOC_LEAD]u/5u'\s+2\c"
. \}
. if \\n[#PRINT_STYLE]=2 \{\
-. PDF_TARGET EN-\\n+[#EN_NUMBER]-body
+. PDF_TARGET EN-\\n[#CH_NUM]\\n+[#EN_NUMBER]-body
. PDF_LINK \
-EN-\\n[#EN_NUMBER] SUFFIX \c "\*[SUP]\\n[#EN_NUMBER]\*[SUPX]"
+EN-\\n[#CH_NUM]\\n[#EN_NUMBER] SUFFIX \c "\*[SUP]\\n[#EN_NUMBER]\*[SUPX]"
. \}
. \}
. el \{\
@@ -15128,13 +15128,13 @@ EN-\\n[#EN_NUMBER] SUFFIX \c
"\*[SUP]\\n[#EN_NUMBER]\*[SUPX]"
. ie \\n[#PRINT_STYLE]=1 \{\
.\" Vertical raise amount here is less than when the same string is printed in
.\" the body of the text because number precedes a cap.
-. PDF_TARGET EN-\\n[#EN_NUMBER]
+. PDF_TARGET EN-\\n[#CH_NUM]\\n[#EN_NUMBER]
. PDF_LINK \
-EN-\\n[#EN_NUMBER]-body
\s-2\v'-\\n[#DOC_LEAD]u/7u'\\n[#EN_NUMBER]\|\v'+\\n[#DOC_LEAD]u/7u'\s+2
+EN-\\n[#CH_NUM]\\n[#EN_NUMBER]-body
\s-2\v'-\\n[#DOC_LEAD]u/7u'\\n[#EN_NUMBER]\|\v'+\\n[#DOC_LEAD]u/7u'\s+2
. \}
. el \{\
-. PDF_TARGET EN-\\n[#EN_NUMBER]
-. PDF_LINK EN-\\n[#EN_NUMBER]-body
\E*[SUP]\\n[#EN_NUMBER]\E*[SUPX]\h'.15m'
+. PDF_TARGET EN-\\n[#CH_NUM]\\n[#EN_NUMBER]
+. PDF_LINK EN-\\n[#CH_NUM]\\n[#EN_NUMBER]-body
\E*[SUP]\\n[#EN_NUMBER]\E*[SUPX]\h'.15m'
. \}
. \}
. EOL
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: [mom]: Prepend chapter numbers to endnotes' pdf link and target numbers,
Peter Schaffter <=