SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

***** 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 ****

  1. Download tex2pdf from http://developer.berlios.de/projects/tex2pdf/
  2. Unpack it with 'tar -xfz FILE'
  3. Make sure it is executable with 'chmod a+rx tex2pdf'
  4. 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.
  5. Move tex2pdf to your binary path, (e.g. /usr/local/bin) , e.g. 'mv tex2pdf /usr/local/bin'.
  6. Run 'tex2pdf --configure' as the regular user who wants to use it. NOTE: The script refuses to start without prior configuration!
  7. Have a look at possible command line options with 'tex2pdf --help' **** Set up LyX to use tex2pdf ****
  8. 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
  9. Confim your changes. Now it should work.
  10. 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'


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.