Hello, "Berry, Charles" <ccbe...@ucsd.edu> writes:
>> On Jul 5, 2018, at 10:46 AM, William Denton <w...@pobox.com> wrote: >> >> Here's a very simple R command in an inline code block: >> >> # ----- >> What is 1 + 1? src_R{1+1} {{{results(=2=)}}} >> # ----- >> >> Exporting this to PDF we get: >> >> # ----- >> What is 1 + 1? 2 2 > > Or exporting to to latex > > What is 1 + 1? \texttt{2} \texttt{2} > > The results macro gets initialized by `org-macro-initialize-templates' > which is run run before babel, the macro returns `=2=', and babel does > not remove this when it adds the result again. Fixed. Thank you. > Also, shouldn't the docstring for `org-macro-initialize-templates' > mention that "n", "author", "email", "keyword", "results", and "title" > get set? Fixed. Thank you. Regards, -- Nicolas Goaziou