r - Rd2pdf - special (and German) characters -
yesterday used rd2pdf convert documentation of r package pdf , discovered special characters '§' , german umlauts (ä, ö, ü) not displayed. i'm using debian 7 , have texlive installation - latex documents use packages 'ngerman' display special german characters ä, ö , ü , ß. so, rd2pdf uses whole latex thing, question is:
is there way include these additional packages enable rd2pdf displaying these special characters?
thanks in advance!
the following works on ubuntu 14.04 system:
r cmd rd2pdf --encoding=utf-8 file.rd
see command-line text
r cmd rd2pdf --help
...
the rd sources assumed ascii unless contain \encoding declarations (which take priority) or --encoding supplied or if using package sources, if package description file has encoding field. output encoding defaults package encoding 'utf-8'.
Comments
Post a Comment