[Rd] PDF generation issue from manual page
Korpela Mikko (MML)
m|kko@korpe|@ @end|ng |rom m@@nm|tt@u@|@|to@@||
Wed Feb 12 10:23:09 CET 2020
Hi Neonira!
The \blacktriangleright macro is defined in LaTeX package "amssymb". According to Writing R Extensions (section 2.6 Mathematics), "only basic LaTeX can be used, there being no provision to specify LaTeX style files such as the AMS extensions" (in Rd files).
Best,
- Mikko
-----Alkuperäinen viesti-----
Lähettäjä: R-devel <r-devel-bounces using r-project.org> Puolesta neonira Arinoem
Lähetetty: tiistai 11. helmikuuta 2020 15.57
Vastaanottaja: r-devel <r-devel using r-project.org>
Aihe: [Rd] PDF generation issue from manual page
Hi R gurus
Got an issue risen by CRAN about using unknown characters from Latex.
Here is the error message
*Check: PDF version of manual, Result: WARNING LaTeX errors when creating
PDF version. This typically indicates Rd problems. LaTeX errors found:
! Undefined control sequence. <recently read> \blacktriangleright *
* l.237 STRATUM $\blacktriangleright
$ LAYER\_3 ! Undefined control sequence. <recently read>
\blacktriangleright *
* l.239 PHASING $\blacktriangleright
$ RUN ! Undefined control sequence. <recently read> \blacktriangleright
*
* l.241 INTENT $\blacktriangleright
$ FEEDBACK*
I understand that the \blacktriangleright is an unknown control sequence from latex ... and that sounds strange to me, as I uses it often in vignettes without any issue so far.
In the incriminated manual page, the code generating this sequence is the following
*\ifelse{latex}{\out{$\blacktriangleright$}}{\ifelse{html}{\out{▶}}{\u25b6}}*
I am wondering what is wrong and how to circumvent such issue.
Yours ideas and hints welcome
Best.
Neonira
[[alternative HTML version deleted]]
______________________________________________
R-devel using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
More information about the R-devel
mailing list