***** HOWTO use tex2pdf with LyX *****
The major task of tex2pdf is to provide an easy way to generate PDF from INSIDE
and outside Lyx.
It should handle all the stuff you have to do (e.g. EPS translation,
insertation of extra TeX stuff for pdftex, ...).
**** Install tex2pdf ****
- Download tex2pdf from http://developer.berlios.de/projects/tex2pdf/
- Unpack it with 'tar -xfz FILE'
- Make sure it is executable with 'chmod a+rx tex2pdf'
- Make sure that the first line in the script points to your Perl executable; e.g. '/usr/bin/perl'. For most people the default setting should be fine.
- Move tex2pdf to your binary path, (e.g. /usr/local/bin) , e.g. 'mv tex2pdf /usr/local/bin'.
- Run 'tex2pdf --configure' as the regular user who wants to use it. NOTE: The script refuses to start without prior configuration!
- Have a look at possible command line options with 'tex2pdf --help' **** Set up LyX to use tex2pdf ****
- Choose in the following menu: Edit->Preferences->Converters->Converters 'LaTeX->PDF(pdftex)' and set the 'Converter' field to your tex2pdf executable with all it options and the argument '$$i' at the end: e.g.: / usr/local/bin/tex2pdf $$i
- Confim your changes. Now it should work.
- Report any problems to the tex2pdf list: tex2pdf-devel@lists.berlios.de and/or the lyx-users list.
To use tex2pdf from outside LyX simply call it by 'tex2pdf [OPTIONS] DOCUMENT.lyx' or 'tex2pdf [OPTIONS] DOCUMENT.tex'
