From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= Subject: Re: Markup (=, ~) in word? Date: Thu, 29 Oct 2015 17:23:12 +0300 Message-ID: <87d1vxoisv.fsf@gkayaalp.com> References: <87h9l9ojn8.fsf@gkayaalp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrnvo-00021U-5l for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 10:11:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zrnvi-0004XT-Dh for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 10:11:56 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:36391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zrnvi-0004XP-6w for emacs-orgmode@gnu.org; Thu, 29 Oct 2015 10:11:50 -0400 In-Reply-To: (Rainer M. Krug's message of "Thu, 29 Oct 2015 15:07:55 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer M Krug Cc: Org Mode On Thu, Oct 29 2015 at 5:07:55 pm EEST, Rainer M Krug wr= ote: > G=C3=B6ktu=C4=9F Kayaalp writes: > >> On Thu, Oct 29 2015 at 2:21:17 pm EEST, Rainer M Krug = wrote: >>> Matt Price writes: >>> >>>> #+BEGIN_VERBATIM >>>> simASM.=3DSITE=3D.=3DSTRATEGY=3D.=3DBUDGET=3D.=3DFIREREGIME=3D.=3DJOBI= D=3D.=3DARRAYID=3D >>>> #+END_VERBATIM >>> >>> The other way round: >>> >>> I want the text, e.g. =3DSITE=3D 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, You're welcome. Though I'm not that well-versed in Org, I merely use it, maybe someone will have a suggestion that's less-known. -gk > > Rainer > >> >> ,----[ C-h v org-emphasis-regexp-components RET ] >> | org-emphasis-regexp-components is a variable defined in `org.el'. >> | Its value is (" ('\"{" "- .,:!?;'\")}\\" "=20=09 >> | ,\"'" "." 1) >> |=20 >> | 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: >> |=20 >> | pre Chars allowed as prematch. Beginning of line will be all= owed 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. >> |=20 >> | You need to reload Org or to restart Emacs after customizing this. >> |=20 >> | [back] >> `---- >> >>> [...] >> >> [1] http://orgmode.org/worg/dev/org-syntax.html#Emphasis_Markers >> >> Regards, >> -gk --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp. http://gkayaalp.com/