[Rd] CRAN task views: markdown? better .CSS?
Achim.Zeileis at uibk.ac.at
Thu Jan 31 18:01:30 CET 2013
> CRAN task views are useful, but they seem difficult to write and
> maintain because the XML format is rather limited (no sectioning)
What type of sectioning would you like to have? In the HTML part, you can
use the usual structuring tools like <h*>, <p>, etc. It's not
> and the <packagelist> must be maintained manually.
Yes, but I recently started adding tools to help checking this. Hopefully
I'll also get round to add some more convenience features for this.
> They are also difficult to read because the generated html and .css used
> are extremely basic, giving an overly dense page.
> Is it possible to apply a custom .css to a CTV?
In principle yes. When generating the HTML pages, you can supply the
desired .css file. It defaults to the CRAN_web.css file also used for the
rest of the web area on CRAN.
So when you generate your own web pages on your own server, you can plug
in any .css you like. But as a CRAN user/viewer, I don't think you can
modify the already existing .html pages.
> Are there any markdown-like tools for writing a CTV?
No. When I wrote "ctv" XML seemed to be the natural format to go with.
If I were to write it again today, I might use something different. But so
far XML worked well enough for me.
> Michael Friendly Email: friendly AT yorku DOT ca
> Professor, Psychology Dept. & Chair, Quantitative Methods
> York University Voice: 416 736-2100 x66249 Fax: 416 736-5814
> 4700 Keele Street Web: http://www.datavis.ca
> Toronto, ONT M3J 1P3 CANADA
> R-devel at r-project.org mailing list
More information about the R-devel