* Delimiting TeX-fragments
@ 2009-06-23 7:21 Stefan Vollmar
2009-06-23 11:53 ` Carsten Dominik
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Vollmar @ 2009-06-23 7:21 UTC (permalink / raw)
To: emacs-orgmode
Hello,
in a software documentation we want to refer to menu entries like this:
[menu][arrow right][menu entry]
no spaces between the text and the arrow.
(usually, we would use a syntax like
"menu:menu entry"
but this is interpreted by org as an internal link?)
We find that:
(1) File\rarrOpen
does not work: \rarr is not recognized
(2) File\rarr Open
leaves a blank space before the "Open"
(3) Datei\rarrÖffnen
works as expected - but only if \rarr is followed by a special
character like an Umlaut
This leads to the more general question on how to deliminate a Tex-
like fragment without "side effects". It is also important for
inserting non-breaking space as
(4) Do\nbsp Not\nbsp Break
will not work because of the additional spaces (is there a better way
to insert "nbsp"?).
(5) \alpha\nbsp\beta
does work as expected
Many thanks in advance,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: vollmar@nf.mpg.de http://www.nf.mpg.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Delimiting TeX-fragments
2009-06-23 7:21 Delimiting TeX-fragments Stefan Vollmar
@ 2009-06-23 11:53 ` Carsten Dominik
0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-06-23 11:53 UTC (permalink / raw)
To: Stefan Vollmar; +Cc: emacs-orgmode
Hi Stefan,
this is a difficult problem, I would use
File\mbox{$\rarr$}Open
or so. Org-mode does protect macros with an argument entirely.
However, this will not work well for HTML export - but maybe you
only need LaTeX?????
- Carsten
On Jun 23, 2009, at 9:21 AM, Stefan Vollmar wrote:
> Hello,
>
> in a software documentation we want to refer to menu entries like
> this:
>
> [menu][arrow right][menu entry]
>
> no spaces between the text and the arrow.
>
> (usually, we would use a syntax like
> "menu:menu entry"
> but this is interpreted by org as an internal link?)
>
> We find that:
>
> (1) File\rarrOpen
> does not work: \rarr is not recognized
>
> (2) File\rarr Open
> leaves a blank space before the "Open"
>
> (3) Datei\rarrÖffnen
> works as expected - but only if \rarr is followed by a special
> character like an Umlaut
>
> This leads to the more general question on how to deliminate a Tex-
> like fragment without "side effects". It is also important for
> inserting non-breaking space as
>
> (4) Do\nbsp Not\nbsp Break
> will not work because of the additional spaces (is there a better
> way to insert "nbsp"?).
>
> (5) \alpha\nbsp\beta
> does work as expected
>
> Many thanks in advance,
> Stefan
> --
> Dr. Stefan Vollmar, Dipl.-Phys.
> Max-Planck-Institut für neurologische Forschung
> Gleuelerstr. 50, 50931 Köln, Germany
> Tel.: +49-221-4726-213 FAX +49-221-4726-298
> Tel.: +49-221-478-5713 Mobile: 0160-93874279
> Email: vollmar@nf.mpg.de http://www.nf.mpg.de
>
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-06-23 11:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 7:21 Delimiting TeX-fragments Stefan Vollmar
2009-06-23 11:53 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.