[R-pkg-devel] [External] R package submission fails due to using LaTeX functions that have not been implemented for building pdfs (not due to mathjaxr)

Viechtbauer, Wolfgang (SP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Fri Jun 25 20:30:10 CEST 2021


That doesn't seem to work for me (or I am not following this suggestion properly). But putting \if{html}{\eqn{}} before \mjeqn{}{} does. A bit of a hackish solution, but if it works, it works.

Not sure why \mjeqn{}{} at the beginning of a paragraph actually leads to a line break, but it's yet again one of these quirks that is good to document.

Best,
Wolfgang

>-----Original Message-----
>From: Richard M. Heiberger [mailto:rmh using temple.edu]
>Sent: Friday, 25 June, 2021 16:53
>To: Marc Scherstjanoi
>Cc: Viechtbauer, Wolfgang (SP); r-package-devel using r-project.org
>Subject: Re: [External] [R-pkg-devel] R package submission fails due to using
>LaTeX functions that have not been implemented for building pdfs (not due to
>mathjaxr)
>
>> One more question. If I use mjeqn at the beginning of a paragraph it
>automatically sets a line break afterwards.
>> Any idea what I can do to prevent this?
>
>follow it with
>    \vspace*{1ex}
>to back up one line.
>
>Rich
>
>> On Jun 25, 2021, at 07:51, Marc Scherstjanoi <marc.scherstjanoi using thuenen.de>
>wrote:
>>
>> Hi Wolfgang,
>>
>> thank you for this information.
>> I will try with \mjtdeqn and stick to the intended latex functions for building
>the pdf.
>> Moreover, we will bring up the more complicated equations in a vignette pdf.
>>
>> One more question. If I use mjeqn at the beginning of a paragraph it
>automatically sets a line break afterwards.
>> Any idea what I can do to prevent this?
>>
>> Best regards,
>> Marc


More information about the R-package-devel mailing list