[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TexInfo export: Using org-manual.org's `kbd' macro problematic for C
From: |
Nicolas Goaziou |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
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