appendices as standalone .Rnw/.tex
minor fixes