I want to use the roboto font for my document. It works nice when I compile it on my development machines. On our continous integration machine (running Jenkins) there is an old distribution of LaTeX on which I do not have influence on. Now I want to decide when to use the roboto package based upon which machine I build it. Can I do this in LaTeX or do I have to use Bash? I was thinking about using hostname for this.
Asked
Active
Viewed 46 times
2
Michael S.
- 524
\usepackage{localfonts}or some such then havelocalfonts.styon your CI machines doing nothing or selecting a font they have, andlocalfonts.styon your machine using whatever font you want – David Carlisle Apr 04 '16 at 12:39\IfFileExists{roboto.sty} { \usepackage[sfdefault,light,condensed]{roboto} }now. Works. – Michael S. Apr 04 '16 at 13:26