Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Carl Bordum Hansen" <carl@bordum.dk>
To: <gdb-patches@sourceware.org>
Subject: [PATCH 1/2] etc/texi2pod.pl: convert @t{} to C<>
Date: Mon, 16 Sep 2019 22:04:00 -0000	[thread overview]
Message-ID: <BX1RMFNHD09K.2UR7RI8XL51IC@carl-T440p> (raw)

Both are intended to be stylized in a typewriter font.
---

I noticed that this was missing when I was looking into the man page
rendering issue.

 etc/texi2pod.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index b0540338c8..34ba7efd0f 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -375,7 +375,7 @@ sub postprocess
     # Temporary escape for @r.
     s/\@r\{([^\}]*)\}/R<$1>/g;
     s/\@(?:dfn|var|emph|cite|i)\{([^\}]*)\}/I<$1>/g;
-    s/\@(?:code|kbd)\{([^\}]*)\}/C<$1>/g;
+    s/\@(?:code|kbd|t)\{([^\}]*)\}/C<$1>/g;
     s/\@(?:gccoptlist|samp|strong|key|option|env|command|b)\{([^\}]*)\}/B<$1>/g;
     s/\@sc\{([^\}]*)\}/\U$1/g;
     s/\@file\{([^\}]*)\}/F<$1>/g;
-- 
2.17.1


             reply	other threads:[~2019-09-16 22:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16 22:04 Carl Bordum Hansen [this message]
2019-09-17  1:40 ` Simon Marchi
2019-09-17  3:22   ` Simon Marchi
2019-09-17 18:33 ` Tom Tromey
2019-09-17 19:03   ` Simon Marchi
2019-09-17 19:22     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BX1RMFNHD09K.2UR7RI8XL51IC@carl-T440p \
    --to=carl@bordum.dk \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox