Skip to content
Back to formatted view

Raw Message

Message-ID: <CAEKh8uj31==e2XAHPC+VfZgvhKADJz9hFav7RFz_11P+yin1bg@mail.gmail.com>
Date: 2023-07-20T19:41:44Z
From: Antoine Fabri
Subject: tools::parseLatex() crashes on "\\verb{}"

Dear r-devel,

I've tried tools::parseLatex() to parse some documentation files, it works
generally well but it  it has some issues when "\\verb{}" is used.

```
tools::parseLatex("\\code{hello}")
# \code{hello}
tools::parseLatex("\\anything{hello}")
# \anything{hello}
tools::parseLatex("\\verb{hello}")
# crashes the session
```

Thanks,

Antoine

	[[alternative HTML version deleted]]