9

I'm a novice in the world of LaTeX, and I'm struggling to find a simple tutorial on how to to setup texliveonfly as part of TeX Live 2011 in any LaTeX editor.

Is there anyone out there who's got texliveonfly setup on their computer, who could provide a simple step-by-step guide?

  • And yeah, I'm using Ubuntu 11.10. – thunki Apr 2 '12 at 14:34
7

I don't use it normally, but I just tested the following successfully.

texliveonfly must be installed, which it was here. If it isn't installed, you can install it by opening a terminal and typing

sudo tlmgr install texliveonfly

TeXworks

To use this in TeXworks go to Edit --> Preferences, and look under the Typesetting tab. Click the plus-button next to the list of typesetting tools to create a new one. Give it a reasonable name, type texliveonfly in the Program box and add a new argument $fullname by (again) clicking the plus-button. See screenshot below.

To compile your document with this, select in the dropdown-menu and click the green arrow (or Ctrl + T). You can also set this as a default for the document by typing

% !TeX program = TeXliveonthefly

where TeXliveonthefly was the name you gave that typesetting tool.

As mentioned on the CTAN-page, lualatex is used as the default compiler. If you want to use e.g. pdflatex add another argument before $fullname saying --engine=pdflatex.

enter image description here

1

For TeXstudio, the answer is go to Options/Configure TeXstudio/Commands/pdflatex "/bin/texliveonfly" %.tex

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.