emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* TexInfo export: Using org-manual.org's `kbd' macro problematic for C-{ and C-} keys
@ 2021-04-14  8:37 Ramesh Nedunchezian
  2021-04-15 21:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Ramesh Nedunchezian @ 2021-04-14  8:37 UTC (permalink / raw)
  To: emacs-orgmode


As you already know, I am working on creating a info manual for Emacs'
Helm library.  I ran in to a new issue today.

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

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?

Here is the org snippet

    - {{{kbd(C-{)}}} (~helm-enlarge-window~) ::

      #+findex: helm-enlarge-window

      #+kindex: C-{

      Enlarge helm window.

    - {{{kbd(C-})}}} (~helm-narrow-window~) ::

      #+findex: helm-narrow-window

      #+kindex: C-}

      Narrow helm window.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TexInfo export: Using org-manual.org's `kbd' macro problematic for C-{ and C-} keys
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-04-15 21:45 UTC (permalink / raw)
  To: Ramesh Nedunchezian; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-15 21:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).