emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer M Krug <Rainer@krugs.de>
To: "Göktuğ Kayaalp" <self@gkayaalp.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Markup (=, ~) in word?
Date: Thu, 29 Oct 2015 15:07:55 +0100	[thread overview]
Message-ID: <m2y4elahtw.fsf@krugs.de> (raw)
In-Reply-To: <87h9l9ojn8.fsf@gkayaalp.com> ("Göktuğ Kayaalp"'s message of "Thu, 29 Oct 2015 17:04:59 +0300")

[-- Attachment #1: Type: text/plain, Size: 2655 bytes --]

Göktuğ Kayaalp <self@gkayaalp.com> writes:

> On Thu, Oct 29 2015 at  2:21:17 pm EEST, Rainer M Krug <Rainer@krugs.de> wrote:
>> Matt Price <moptop99@gmail.com> writes:
>>
>>> #+BEGIN_VERBATIM
>>> simASM.=SITE=.=STRATEGY=.=BUDGET=.=FIREREGIME=.=JOBID=.=ARRAYID=
>>> #+END_VERBATIM
>>
>> The other way round:
>>
>> I want the text, e.g. =SITE= as the markup, and not the whole text as
>> verbatim - sorry for not being clear about what I want.
>>
>> Rainer
>>
>
> AFAIK that is  impossible out of the box, Org  does not allow inter-word
> markup,  as there  is no  escaping in  the syntax.   In the  thread with
> subject  *Some  projects* on  this  list  they  talk also  about  adding
> escaping.  You can still add some inline LaTeX for that though, I think,
> or  maybe you  can  tweak  `org-emphasis-regexp-components', (also,  see
> [1]):

Thanks a lot for confirming my suspicion,

Rainer

>
> ,----[ C-h v org-emphasis-regexp-components RET ]
> | org-emphasis-regexp-components is a variable defined in `org.el'.
> | Its value is (" 	('\"{" "- 	.,:!?;'\")}\\" " 	
> | ,\"'" "." 1)
> | 
> | Documentation:
> | Components used to build the regular expression for emphasis.
> | This is a list with five entries.  Terminology:  In an emphasis string
> | like " *strong word* ", we call the initial space PREMATCH, the final
> | space POSTMATCH, the stars MARKERS, "s" and "d" are BORDER characters
> | and "trong wor" is the body.  The different components in this variable
> | specify what is allowed/forbidden in each part:
> | 
> | pre          Chars allowed as prematch.  Beginning of line will be allowed too.
> | post         Chars allowed as postmatch.  End of line will be allowed too.
> | border       The chars *forbidden* as border characters.
> | body-regexp  A regexp like "." to match a body character.  Don't use
> |              non-shy groups here, and don't allow newline here.
> | newline      The maximum number of newlines allowed in an emphasis exp.
> | 
> | You need to reload Org or to restart Emacs after customizing this.
> | 
> | [back]
> `----
>
>> [...]
>
> [1] http://orgmode.org/worg/dev/org-syntax.html#Emphasis_Markers
>
> Regards,
> -gk

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

  reply	other threads:[~2015-10-29 14:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-29 11:06 Markup (=, ~) in word? Rainer M Krug
2015-10-29 11:11 ` Matt Price
2015-10-29 11:21   ` Rainer M Krug
2015-10-29 14:04     ` Göktuğ Kayaalp
2015-10-29 14:07       ` Rainer M Krug [this message]
2015-10-29 14:23         ` Göktuğ Kayaalp
2015-10-29 17:08     ` Charles C. Berry
2015-10-29 18:26       ` Rainer M Krug
2015-10-29 20:40 ` Rasmus
2015-10-30  9:24   ` Rainer M Krug

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=m2y4elahtw.fsf@krugs.de \
    --to=rainer@krugs.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=self@gkayaalp.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).