emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* how to escape " in "typewriter" markup
@ 2009-11-26  8:40 Stefan Vollmar
  2009-11-26  9:10 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Vollmar @ 2009-11-26  8:40 UTC (permalink / raw)
  To: mailing-list-org-mode

Hello,

we are using org-mode for software documentation and use the usual convention that commandline input should be set in a "typewriter font".

This works fine in org 6.32 trans:
=somescript -U <input>=

This does not:
=somescript -U "my key" "my value"=
when exporting to HTML this is rendered to normal text including the surrounding "=".

The inverted commas cause the problem. Is there a way to escape them (something like "\"")?
Many thanks in advance.

Warm regards,
 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: how to escape " in "typewriter" markup
  2009-11-26  8:40 how to escape " in "typewriter" markup Stefan Vollmar
@ 2009-11-26  9:10 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-11-26  9:10 UTC (permalink / raw)
  To: Stefan Vollmar; +Cc: mailing-list-org-mode


On Nov 26, 2009, at 9:40 AM, Stefan Vollmar wrote:

> Hello,
>
> we are using org-mode for software documentation and use the usual  
> convention that commandline input should be set in a "typewriter  
> font".
>
> This works fine in org 6.32 trans:
> =somescript -U <input>=
>
> This does not:
> =somescript -U "my key" "my value"=
> when exporting to HTML this is rendered to normal text including the  
> surrounding "=".
>
> The inverted commas cause the problem. Is there a way to escape them  
> (something like "\"")?
> Many thanks in advance.

Hi Stefan,

customize the variable org-emphasis-regexp-components and remove
these two characters

    \"

from the third element.

That should do the trick, but will then no longer allow you to write

   "this is =quoted="

Such are the limitations of ASCII text .. :(

HTH anyway

- Carsten

- Carsten

>
> Warm regards,
> 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
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

- Carsten

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

end of thread, other threads:[~2009-11-26  9:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-26  8:40 how to escape " in "typewriter" markup Stefan Vollmar
2009-11-26  9:10 ` Carsten Dominik

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