search for: rd2latex

Displaying 20 results from an estimated 23 matches for "rd2latex".

2011 Nov 25
1
Problem with & question about \preformatted in .Rd
...and converted to pdf. I expected from the documentation to get this: \inputencoding{utf8} \HeaderA{test}{test}{test} % \begin{Section}{problems} \begin{alltt}print('\bsl{}\bsl{}\bsl{}\begin\bsl{}\bsl{}\{block\bsl{}\bsl{}\}')\end{alltt} \end{Section} The problem seems to come from tools:::Rd2latex as this R code indicates: library(tools) tools:::Rd2latex(textConnection("\\title{test}\\name{test} \\section{problems}{ \\preformatted{ print('\\\\\\\\\\\\\\\\begin\\\\\\\\\\{block\\\\\\\\\\}') }}")) (the output is the same as from the command line above) I can get the behavio...
2009 Oct 01
2
Rd.sty question: LaTeX expert needed
...ving recently (see "Re: [R] preformatted and '#' in manual pages" in R-help) to a LaTeX problem, and am trying to work out how to fix it. Specifically, the .Rd file he was using had a structure like \dQuote{ ... \preformatted{ line 1 line 2 } } which tools::Rd2latex in R translates to the similar LaTeX code \dQuote{ ... \begin{alltt} line 1 line 2 \end{alltt} } The problem is that the alltt environment (which is a sort of verbatim environment, except macros are allowed) doesn't work when embedded like this in the \dQuote{} macro. G?b...
2023 Feb 05
1
R2HTML doesn't split paragraphs originating from \Sexpr[results=rd]
Hello, Here's an example that renders correctly using Rd2txt / Rd2latex / R CMD Rd2pdf, but has problems under Rd2HTML: \name{foo} \title{foo} \section{foo}{ This should be on a separate paragraph This should be on a separate paragraph This should be on a separate paragraph \Sexpr[stage=render,results=rd]{ paste( rep('Sexpr: This should be on...
2010 May 31
1
R 2.11.1 is released
...not quite monotone in rare cases. (PR#14215) o Rhttpd no longer crashes due to SIGPIPE when the client closes the connection prematurely. (PR#14266) o format.POSIXlt() could cause a stack overflow and crash when used on very long vectors. (PR#14267) o Rd2latex() incorrectly escaped special characters in \usage sections. o mcnemar.test() could alter the levels (dropping unused levels) if passed 'x' and 'y' as factors (reported by Greg Snow). o Rd2pdf sometimes needed a further pdflatex pass to get hyperlinked...
2010 May 31
1
R 2.11.1 is released
...not quite monotone in rare cases. (PR#14215) o Rhttpd no longer crashes due to SIGPIPE when the client closes the connection prematurely. (PR#14266) o format.POSIXlt() could cause a stack overflow and crash when used on very long vectors. (PR#14267) o Rd2latex() incorrectly escaped special characters in \usage sections. o mcnemar.test() could alter the levels (dropping unused levels) if passed 'x' and 'y' as factors (reported by Greg Snow). o Rd2pdf sometimes needed a further pdflatex pass to get hyperlinked...
2009 May 05
0
Rd parsing
...sl{}, which is undesired; the > resulting dvi file (made by R CMD Rd2dvi) looks wrong. > > How do I write the Rd file so as to produce non-escaped > ampersands? I think the way the docs show it should work but there's a bug in the conversion. If you use the new converter tools::Rd2latex, it comes out as expected. So there's a bug in the Perl version of Rdconv, presumably in share/perl/R/Rdconv.pm, and you might want to try to track it down and fix it if you know Perl well enough. An alternative might be some kludge involving \input{}: put the equation in its own file wh...
2009 Jan 28
3
putting match.call to good use
[This email is either empty or too large to be displayed at this time]
2009 Jun 26
0
R 2.9.1 is released
...ptions of items in an Rd file (reported by Mark Bravington), and did not wrap long lists of arguments if they were given in a single item. o stars() would do a partial plot when called with plot = FALSE; it now consistently returns the locations of the stars. o Rd2latex() could not handle empty sections. o old.packages() and hence update.packages() would fail on a repository which contained only one package but with multiple versions of that package. o as.character.Rd() added extra braces when displaying two-argument macros....
2009 Jun 26
0
R 2.9.1 is released
...ptions of items in an Rd file (reported by Mark Bravington), and did not wrap long lists of arguments if they were given in a single item. o stars() would do a partial plot when called with plot = FALSE; it now consistently returns the locations of the stars. o Rd2latex() could not handle empty sections. o old.packages() and hence update.packages() would fail on a repository which contained only one package but with multiple versions of that package. o as.character.Rd() added extra braces when displaying two-argument macros....
2023 Apr 21
0
[Rd] R 4.3.0 is released
...iple lines, thanks to a patch from Duncan Murdoch. Previously, the Rd parser silently ignored everything after the first line. * Plain-text help (tools::Rd2txt()) now preserves an initial blank line for text following description list items. * tools::Rd2HTML() and tools::Rd2latex() no longer split \arguments and \value lists at Rd comments. * tools::Rd2latex() now correctly handles optional text outside \items of argument lists as well as bracketed text at the beginning of sections, e.g., \value{[NULL]}. * as.character(<POSIXt>) now behaves...
2023 Apr 21
0
[Rd] R 4.3.0 is released
...iple lines, thanks to a patch from Duncan Murdoch. Previously, the Rd parser silently ignored everything after the first line. * Plain-text help (tools::Rd2txt()) now preserves an initial blank line for text following description list items. * tools::Rd2HTML() and tools::Rd2latex() no longer split \arguments and \value lists at Rd comments. * tools::Rd2latex() now correctly handles optional text outside \items of argument lists as well as bracketed text at the beginning of sections, e.g., \value{[NULL]}. * as.character(<POSIXt>) now behaves...
2009 Apr 17
0
R 2.9.0 is released
...ersion 1.0 files. o The Rd files created by prompt() and friends are declared to be version 1.1. o \alias now supports the escaping of { as well as of %, and this is recommended. o parse_Rd(), an experimental parser for Rd files, and Rd2txt(), Rd2HTML(), Rd2latex() and Rd2ex(), even more experimental converters, have been added to package 'tools'. o R CMD check runs the package's Rd files through parse_Rd() for a stricter syntax check. This can be suppressed by setting _R_CHECK_RD_PARSE_ to FALSE. o Added m...
2009 Apr 17
0
R 2.9.0 is released
...ersion 1.0 files. o The Rd files created by prompt() and friends are declared to be version 1.1. o \alias now supports the escaping of { as well as of %, and this is recommended. o parse_Rd(), an experimental parser for Rd files, and Rd2txt(), Rd2HTML(), Rd2latex() and Rd2ex(), even more experimental converters, have been added to package 'tools'. o R CMD check runs the package's Rd files through parse_Rd() for a stricter syntax check. This can be suppressed by setting _R_CHECK_RD_PARSE_ to FALSE. o Added m...
2010 Oct 15
0
R 2.12.0 is released
...t displaying the full URL. ? Added \newcommand and \renewcommand tags to the Rd format, to allow user-defined macros. ? New toRd() generic in the tools package to convert objects to fragments of Rd code, and added "fragment" argument to Rd2txt(), Rd2HTML(), and Rd2latex() to support it. ? Directory R_HOME/share/texmf now follows the TDS conventions, so can be set as a texmf tree (?root directory? in MiKTeX parlance). ? S3 generic functions now use correct S4 inheritance when dispatching on an S4 object. See ?Methods, section on ?Methods...
2010 Oct 15
0
R 2.12.0 is released
...t displaying the full URL. ? Added \newcommand and \renewcommand tags to the Rd format, to allow user-defined macros. ? New toRd() generic in the tools package to convert objects to fragments of Rd code, and added "fragment" argument to Rd2txt(), Rd2HTML(), and Rd2latex() to support it. ? Directory R_HOME/share/texmf now follows the TDS conventions, so can be set as a texmf tree (?root directory? in MiKTeX parlance). ? S3 generic functions now use correct S4 inheritance when dispatching on an S4 object. See ?Methods, section on ?Methods...
2009 Oct 26
0
R 2.9.0 is released
...a new parameter, 'outputEncoding', which controls how their output is encoded. o parse_Rd() no longer includes the newline as part of a "%"-style comment. o There have been various bug fixes and code reorganization in the Rd renderers Rd2HTML, Rd2latex, Rd2txt, and Rd2ex. All example files are now created with either ASCII or UTF-8 encoding, and the encoding is only marked in the file if there is any non-UTF-8 code (previously it was marked if the help file had non-ASCII contents, possibly in other sections)....
2009 Oct 26
0
R 2.9.0 is released
...a new parameter, 'outputEncoding', which controls how their output is encoded. o parse_Rd() no longer includes the newline as part of a "%"-style comment. o There have been various bug fixes and code reorganization in the Rd renderers Rd2HTML, Rd2latex, Rd2txt, and Rd2ex. All example files are now created with either ASCII or UTF-8 encoding, and the encoding is only marked in the file if there is any non-UTF-8 code (previously it was marked if the help file had non-ASCII contents, possibly in other sections)....
2009 Oct 26
0
R 2.10.0 is released
...a new parameter, 'outputEncoding', which controls how their output is encoded. o parse_Rd() no longer includes the newline as part of a "%"-style comment. o There have been various bug fixes and code reorganization in the Rd renderers Rd2HTML, Rd2latex, Rd2txt, and Rd2ex. All example files are now created with either ASCII or UTF-8 encoding, and the encoding is only marked in the file if there is any non-UTF-8 code (previously it was marked if the help file had non-ASCII contents, possibly in other sections)....
2009 Oct 26
0
R 2.10.0 is released
...a new parameter, 'outputEncoding', which controls how their output is encoded. o parse_Rd() no longer includes the newline as part of a "%"-style comment. o There have been various bug fixes and code reorganization in the Rd renderers Rd2HTML, Rd2latex, Rd2txt, and Rd2ex. All example files are now created with either ASCII or UTF-8 encoding, and the encoding is only marked in the file if there is any non-UTF-8 code (previously it was marked if the help file had non-ASCII contents, possibly in other sections)....
2019 Apr 26
0
R 3.6.0 is released
...s issues both in evaluating the expressions and in the expanded contents. * R CMD check now lists missing packages separated by commas and with regular quotes such as to be useful as argument in calling install.packages(c(..)); from a suggestion by Marcel Ramos. * tools::Rd2latex() now uses UTF-8 as its default output encoding. * R CMD check now checks line endings of files with extension .hpp and those under inst/include. The check now includes that a non-empty file is terminated with a newline. R CMD build will correct line endings in such files....