[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Markup (=, ~) in word?
From: |
Rainer M Krug |
Subject: |
Re: [O] Markup (=, ~) in word? |
Date: |
Thu, 29 Oct 2015 15:07:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
Göktuğ Kayaalp <address@hidden> writes:
> On Thu, Oct 29 2015 at 2:21:17 pm EEST, Rainer M Krug <address@hidden> wrote:
>> Matt Price <address@hidden> 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: address@hidden
Skype: RMkrug
PGP: 0x0F52F982
signature.asc
Description: PGP signature
Re: [O] Markup (=, ~) in word?, Rasmus, 2015/10/29