hi,
i have a little problem with my *.Rd files i write. i have to use very
often the special character "_" and in building the help files it is
no
problem, but when compiling the manual with latex it does not work. so
i replaced all "_" with "\_", now the package manual is nicely build
in
latex, but the html help shows now the "\_" instead of "_".
any ideas?
cheers, jo
"Dipl.-Ing. Johannes Rainer" <johannes.rainer@tugraz.at> writes:
> i have a little problem with my *.Rd files i write. i have to use
very
> often the special character "_" and in building the help files it is
no
> problem, but when compiling the manual with latex it does not work.
so
> i replaced all "_" with "\_", now the package manual is nicely build
in
> latex, but the html help shows now the "\_" instead of "_".
> any ideas?
Assuming the "_"'s appear as part of the code, have you tried wrapping
these in \code{some_var_with_underscores} ? According to the Writing
R Extensions Manual, the \code{} markup should do the right thing.
But I would have expected \_ to work as well.
This is with R 2.1.0 beta ?
+ seth