conig / revise

R package for writing revise and resubmits

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_revision escaping $ leading to formula failure

pdparker opened this issue · comments

When a chunk has a formula, get_revision seems to escape $ signs e.g. from the knited tex file:

`$$

\beta = B \times \frac{SD_x}{IQR_y}

$$`

I can't replicate this one:

From my manuscript:

<span id = "form">

$$beta = B \times \frac{SD_x}{IQR_y}$$

</span>

From my letter:

r get_revision("form")

Output:

image

I did note separating the $$ from the formula caused issues in the papaja letter. That may be the issue, can you just do it all on the one line?