[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 29/35: [sboxes]: Rename strings, macro to fit name space.
From: |
G. Branden Robinson |
Subject: |
[groff] 29/35: [sboxes]: Rename strings, macro to fit name space. |
Date: |
Mon, 25 Oct 2021 03:32:42 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 0ac5a0d075a7bf75bd6be9b887618a10659a2dc7
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 24 18:35:48 2021 +1100
[sboxes]: Rename strings, macro to fit name space.
* contrib/sboxes/sboxes.tmac: Rename strings and macro I introduced so
that they fit Deri's selection within the name space (prefix "bx").
---
contrib/sboxes/ChangeLog | 5 +++++
contrib/sboxes/sboxes.tmac | 16 ++++++++--------
2 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/contrib/sboxes/ChangeLog b/contrib/sboxes/ChangeLog
index 2930d1f..da7b952 100644
--- a/contrib/sboxes/ChangeLog
+++ b/contrib/sboxes/ChangeLog
@@ -1,5 +1,10 @@
2021-10-24 G. Branden Robinson <g.branden.robinson@gmail.com>
+ * sboxes.tmac: Rename strings and macro I introduced so that
+ they fit Deri's selection within the name space (prefix "bx").
+
+2021-10-24 G. Branden Robinson <g.branden.robinson@gmail.com>
+
* sboxes.tmac: Define GSBOX register as 0, then redefine it as 1
only if the output device is `pdf`. (This way a document author
can easily and separately test the presence of the package and
diff --git a/contrib/sboxes/sboxes.tmac b/contrib/sboxes/sboxes.tmac
index e00d9b4..6bfa945 100644
--- a/contrib/sboxes/sboxes.tmac
+++ b/contrib/sboxes/sboxes.tmac
@@ -27,15 +27,15 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. ab groff sboxes macros do not work in compatibility mode; aborting
.
.\" Define a string for use in diagnostic messages.
-.ds sboxes*name sboxes.tmac\"
+.ds bx*name sboxes.tmac\"
.
.if !r GS \
-. ab \*[sboxes*name]: ms macros must be loaded first; aborting
+. ab \*[bx*name]: ms macros must be loaded first; aborting
.
.if (\n[.x]\n[.y] < 123) \{\
-. ds sboxes*msg \*[sboxes*name]: groff 1.23 or later is required,\"
-. as sboxes*msg " but found groff \n[.x].\n[.y]; aborting\"
-. ab \*[sboxes*msg]
+. ds bx*msg \*[bx*name]: groff 1.23 or later is required,\"
+. as bx*msg " but found groff \n[.x].\n[.y]; aborting\"
+. ab \*[bx*msg]
.\}
.
.\" See if already loaded.
@@ -48,8 +48,8 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.
.nr bx@stack 0
.
-.de sboxes*error
-. tm \*[sboxes*name]:\\n[.F]:\\n[.c]: error: \\$*
+.de bx*error
+. tm \*[bx*name]:\\n[.F]:\\n[.c]: error: \\$*
..
.
.\" Define dummy macro if we're not formatting for the pdf device.
@@ -102,7 +102,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. shift 2
. \}
. el \{\
-. sboxes*error ignoring unrecognized BOXSTART parameter '\\$1'
+. bx*error ignoring unrecognized BOXSTART parameter '\\$1'
. shift
. \}
. \}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 29/35: [sboxes]: Rename strings, macro to fit name space.,
G. Branden Robinson <=