Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-04 Thread Rolf Turner
On Wed, 3 Mar 2021 22:25:59 -0800 Ott Toomet wrote: > As I read the docs (a few months ago though), you are supposed to > include the pdf and encouraged to include sources, but the process to > get pdf from source may depend on your private > libraries/data/software, and is not replicated on CR

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-04 Thread Rolf Turner
On Thu, 4 Mar 2021 07:39:31 +0100 Göran Broström wrote: > Hi Rolf, > > On 2021-03-04 03:51, Rolf Turner wrote: > > > > I am trying to create a vignette in a package (basically just using > > LaTeX code; no R calculations or data are involved). > > > > The LaTeX code involves the use of the al

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-04 Thread Rolf Turner
On Wed, 3 Mar 2021 21:36:23 -0800 Henrik Bengtsson wrote: > The R.rsp has a vignette engine for plain LaTeX sources. See > https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-LaTeX_vignettes.pdf > for how. It's straightforward. Maybe that helps. Indeed. It looks admirably compre

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Göran Broström
Hi Rolf, On 2021-03-04 03:51, Rolf Turner wrote: I am trying to create a vignette in a package (basically just using LaTeX code; no R calculations or data are involved). The LaTeX code involves the use of the align* environment from the amsmath package. When I try to run Sweave() on the *.R

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Ott Toomet
As I read the docs (a few months ago though), you are supposed to include the pdf and encouraged to include sources, but the process to get pdf from source may depend on your private libraries/data/software, and is not replicated on CRAN checks. This seemed to work for me as my vignette includes a

Re: [R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Henrik Bengtsson
The R.rsp has a vignette engine for plain LaTeX sources. See https://cran.r-project.org/web/packages/R.rsp/vignettes/R_packages-LaTeX_vignettes.pdf for how. It's straightforward. Maybe that helps. Henrik On Wed, Mar 3, 2021, 18:51 Rolf Turner wrote: > > I am trying to create a vignette in a pac

[R-pkg-devel] Using the amsmath package in a vignette.

2021-03-03 Thread Rolf Turner
I am trying to create a vignette in a package (basically just using LaTeX code; no R calculations or data are involved). The LaTeX code involves the use of the align* environment from the amsmath package. When I try to run Sweave() on the *.Rnw file I get a corresponding *.tex file, but then wh