Martyn Jago <martyn.j...@btinternet.com> writes: > Martyn Jago <martyn.j...@btinternet.com> writes: > >> Hi, >> >> Andreas Leha <andreas.l...@med.uni-goettingen.de> writes: >> >>> Hi all, >>> >>> I experience unexpected behaviour when an inline source block is not >>> preceded by whitespace. >>> >>> Example: >>> ======================= >>> * Test inline >>> This is a functional inline src_R{print("source block")}. >>> >>> This (src_R{print("here")}) is not. >>> ======================= >>> >>> Regards, >>> Andreas >> >> I can confirm this behaviour and provide a patch to allow for inline >> source blocks to be preceded by punctuation, or, for instance, enclosed >> in parenthesis, as in Andreas' example. Patch is attached for >> consideration. >> >> Best, Martyn > > This is an updated version of the previous patch, with debug noise > removed, and a couple of extra tests. > > Best, Martyn
Hi Martyn, thanks for this patch! It does half the job for me. Now export (or evaluation) already work. But in the export I get a space inserted. I my example, I'd expect "(here)" to appear in the export, but I get "( here)". Best, Andreas