diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-06-10 01:06:19 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-06-10 01:06:19 -0700 |
commit | 33c1d17510290b9cb1e41060bc02b5003f041ba5 (patch) | |
tree | e4e8bf9d2efab43e554a9cac44ee85f1f0175775 | |
parent | 505ffd51098c29e41e9d727fba4693e91adae1e0 (diff) | |
download | txr-33c1d17510290b9cb1e41060bc02b5003f041ba5.tar.gz txr-33c1d17510290b9cb1e41060bc02b5003f041ba5.tar.bz2 txr-33c1d17510290b9cb1e41060bc02b5003f041ba5.zip |
doc: new >< operator.
* txr.1: Implementing new >< operator in the getm macro
syntax. >< foo x bar renders as <foo>x<bar> in the nroff-ed
man output; in HTML and PDF, foo and bar are italicized.
This is put to use in the Built-In Syntactic Places section to
correct the formatting of struct-obj.slot-name.
-rw-r--r-- | txr.1 | 28 |
1 files changed, 23 insertions, 5 deletions
@@ -183,8 +183,17 @@ . shift . \} . el \{\ -. as s \\$1 -. shift +. ie "\\$1"><" \{\ +. shift +. as s \fI<\\$1>\fP\\$2\fI<\\$3>\fP +. shift +. shift +. shift +. \} +. el \{\ +. as s \\$1 +. shift +. \} . \} . \} . \} @@ -224,8 +233,17 @@ . shift . \} . el \{\ -. as s \\$1 -. shift +. ie "\\$1"><" \{\ +. shift +. as s \\f5\\$1\\f4\\$2\f5\\$3\\f4 +. shift +. shift +. shift +. \} +. el \{\ +. as s \\$1 +. shift +. \} . \} . \} . \} @@ -13031,7 +13049,7 @@ defined by \*(TX programs. .mets (errno) .mets (slot < struct-obj << slot-name-valued-form ) .mets (qref < struct-obj << slot-name ) ;; by macro-expansion to (slot ...) -.mets < struct-obj . < slot-name ;; equivalent to qref +.mets >< struct-obj . slot-name ;; equivalent to qref .mets (sock-peer << socket ) .mets (carray-sub < carray >> [ from <> [ to ]]) .mets (sub-buf < buf >> [ from <> [ to ]]) |