emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Ramesh Nedunchezian <rameshnedunchezian@outlook.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: TexInfo export: Using org-manual.org's `kbd' macro problematic for C-{ and C-} keys
Date: Thu, 15 Apr 2021 23:45:04 +0200	[thread overview]
Message-ID: <874kg7gr33.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <TY2PR0101MB3693871A97FAADB8DBB65B92DA4E9@TY2PR0101MB3693.apcprd01.prod.exchangelabs.com> (Ramesh Nedunchezian's message of "Wed, 14 Apr 2021 14:07:26 +0530")

Hello,

Ramesh Nedunchezian <rameshnedunchezian@outlook.com> writes:

> TexInfo export:  Using org-manual.org's `kbd' problematic for C-{ and C-} keys

I don't think that's true. For example, it handles `C-c {' just fine.
>
> It may not be a problem with the macro as much.  It is possible that I
> am using it wrongly.  How do I get the following snippet DTRT?

Braces are special characters in Texinfo. You need to escape them with
@.

> Here is the org snippet
>
>     - {{{kbd(C-{)}}} (~helm-enlarge-window~) ::
>
>       #+findex: helm-enlarge-window
>
>       #+kindex: C-{

Here, it should be #+kindex: C-@{

>       #+kindex: C-}

Ditto.

Regards,
-- 
Nicolas Goaziou


      reply	other threads:[~2021-04-15 21:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-14  8:37 TexInfo export: Using org-manual.org's `kbd' macro problematic for C-{ and C-} keys Ramesh Nedunchezian
2021-04-15 21:45 ` Nicolas Goaziou [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=874kg7gr33.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rameshnedunchezian@outlook.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).