From m|kko@korpe|@ @end|ng |rom m@@nm|tt@u@|@|to@@||  Wed Feb 12 10:23:09 2020
From: m|kko@korpe|@ @end|ng |rom m@@nm|tt@u@|@|to@@|| (Korpela Mikko (MML))
Date: Wed, 12 Feb 2020 09:23:09 +0000
Subject: [Rd] PDF generation issue from manual page
Message-ID: <93b4497ff7c7428e854058b9e6ea76e3@C119S212VM022.msvyvi.vaha.local>

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 at r-project.org> Puolesta neonira Arinoem
L?hetetty: tiistai 11. helmikuuta 2020 15.57
Vastaanottaja: r-devel <r-devel at 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{&#x25B6;}}{\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 at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] PDF generation issue from manual page
Korpela Mikko (MML