source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: test new .%R RFC hyperlink formatting (mdoc_html.c rev.
@ 2025-01-19 23:05 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2025-01-19 23:05 UTC (permalink / raw)
  To: source

Log Message:
-----------
test new .%R RFC hyperlink formatting (mdoc_html.c rev. 1.351)

Modified Files:
--------------
    mandoc/regress/mdoc/Rs:
        Makefile

Added Files:
-----------
    mandoc/regress/mdoc/Rs:
        rfc.in
        rfc.out_ascii
        rfc.out_html
        rfc.out_markdown

Revision Data
-------------
--- /dev/null
+++ regress/mdoc/Rs/rfc.out_markdown
@@ -0,0 +1,18 @@
+RS-RFC(1) - General Commands Manual
+
+# NAME
+
+**Rs-RFC** - reference an RFC
+
+# STANDARDS
+
+BEGINTEST
+
+David Waitzman,
+*A Standard for the Transmission of IP Datagrams on Avian Carriers*,
+RFC 1149,
+April 1990.
+
+ENDTEST
+
+OpenBSD - January 19, 2025
Index: Makefile
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/mdoc/Rs/Makefile,v
diff -Lregress/mdoc/Rs/Makefile -Lregress/mdoc/Rs/Makefile -u -p -r1.6 -r1.7
--- regress/mdoc/Rs/Makefile
+++ regress/mdoc/Rs/Makefile
@@ -1,9 +1,9 @@
-# $OpenBSD: Makefile,v 1.12 2020/02/27 01:25:58 schwarze Exp $
+# $OpenBSD: Makefile,v 1.13 2025/01/19 23:01:27 schwarze Exp $
 
-REGRESS_TARGETS	 = allch args break empty paragraph three_authors transp
+REGRESS_TARGETS	 = allch args break empty paragraph three_authors rfc transp
 UTF8_TARGETS	 = allch break empty three_authors
 LINT_TARGETS	 = allch args empty
-HTML_TARGETS	 = paragraph
+HTML_TARGETS	 = paragraph rfc
 
 # groff-1.22.3 defect:
 # - arguments after .Rs cause the macro to be ignored
--- /dev/null
+++ regress/mdoc/Rs/rfc.out_ascii
@@ -0,0 +1,14 @@
+RS-RFC(1)                   General Commands Manual                  RS-RFC(1)
+
+N\bNA\bAM\bME\bE
+     R\bRs\bs-\b-R\bRF\bFC\bC - reference an RFC
+
+S\bST\bTA\bAN\bND\bDA\bAR\bRD\bDS\bS
+     BEGINTEST
+
+     David Waitzman, _\bA _\bS_\bt_\ba_\bn_\bd_\ba_\br_\bd _\bf_\bo_\br _\bt_\bh_\be _\bT_\br_\ba_\bn_\bs_\bm_\bi_\bs_\bs_\bi_\bo_\bn _\bo_\bf _\bI_\bP _\bD_\ba_\bt_\ba_\bg_\br_\ba_\bm_\bs _\bo_\bn _\bA_\bv_\bi_\ba_\bn
+     _\bC_\ba_\br_\br_\bi_\be_\br_\bs, RFC 1149, April 1990.
+
+     ENDTEST
+
+OpenBSD                        January 19, 2025                        OpenBSD
--- /dev/null
+++ regress/mdoc/Rs/rfc.in
@@ -0,0 +1,18 @@
+.\" $OpenBSD: rfc.in,v 1.1 2025/01/19 23:01:27 schwarze Exp $
+.Dd $Mdocdate: January 19 2025 $
+.Dt RS-RFC 1
+.Os
+.Sh NAME
+.Nm Rs-RFC
+.Nd reference an RFC
+.Sh STANDARDS
+BEGINTEST
+.Pp
+.Rs
+.%A David Waitzman
+.%T A Standard for the Transmission of IP Datagrams on Avian Carriers
+.%R RFC 1149
+.%D April 1990
+.Re
+.Pp
+ENDTEST
--- /dev/null
+++ regress/mdoc/Rs/rfc.out_html
@@ -0,0 +1,5 @@
+<p class="Pp"><cite class="Rs"><span class="RsA">David Waitzman</span>,
+    <span class="RsT">A Standard for the Transmission of IP Datagrams on Avian
+    Carriers</span>,
+    <a class="RsR" href="https://www.rfc-editor.org/rfc/rfc1149.html">RFC
+    1149</a>, <span class="RsD">April 1990</span>.</cite></p>
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-01-19 23:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-19 23:05 mandoc: test new .%R RFC hyperlink formatting (mdoc_html.c rev schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).