TeXlipse Config for MacTex: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 27: Line 27:
To create your '''first LaTeX project''', right click inside the '''Package Explorer''' and choose '''New -> Project…''' and in the dialog select '''TeXlipse -> LaTeX Project'''. On the next screen, enter a project name and the language code and choose the output format pdf. The builds commands should automatically switch to '''pdflatex'''. The article template is a good starting point.
To create your '''first LaTeX project''', right click inside the '''Package Explorer''' and choose '''New -> Project…''' and in the dialog select '''TeXlipse -> LaTeX Project'''. On the next screen, enter a project name and the language code and choose the output format pdf. The builds commands should automatically switch to '''pdflatex'''. The article template is a good starting point.


== Building LaTeX to PDF ==
== Build LaTeX to PDF ==
To build the PDF, simply make changes to a '''.tex''' file and save it. Eclipse will automatically trigger a '''PDF build''' on every document save action. You can view the output in the console. To view the PDF, use the shortcut '''⌘ + 4'''.
To build the PDF, simply make changes to a '''.tex''' file and save it. Eclipse will automatically trigger a '''PDF build''' on every document save action. You can view the output in the console. To view the PDF, use the shortcut '''⌘ + 4'''.

Revision as of 09:02, 22 December 2017

Overview

LaTeX is a typesetting system that is widely used by the science community for document preparation and publications. The Eclipse TeXlipse project provides an Eclipse extension to support LaTex projects, so that document preparation can be incorporated into the normal Eclipse development activities. General LaTeX users will also find the advanced editing and automatic document generation features of TeXlipse provide a compelling alternative to other LaTeX environments.

  1. Licenses: Eclipse Public License 1.0
  2. Latest Releases: From January 22nd, 2017 to October 18th, 2017

MacTex

MacTex is the recommended LaTeX distribution to install on MacOS Sierra or High Sierra. It's 3.14 GB Software and takes 5GB+. Although it's a heavy size of software but complete solution for beginner. If you are professional and aware about it's size then your can install from Smaller or from MacTeX


Installing TeXlipse

Assume that you have already installed Eclipse or download it from Eclipse Packages. Please find the TeXlipse update sites in Eclipse TeXlipse Project Page. Copy update site link and paste it in to Eclipse Menu Help -> Install New Software ... or you can install it from Eclipse Menu Help -> Eclipse Marketplace ...

TeXlipse Settings

After having successful installation please configure TeXlipse -> Builder Settings from Eclipse -> Preferences. Here the paths to the MacTex binaries have to be set.

/usr/local/texlive/2017/bin/x86_64-darwin/

Next configure TeXlipse -> Viewer settings from Eclipse -> Preferences.

Viewer name: itexmac
Viewer Command: /usr/bin/open
Viewer Arguments: -a "/Applications/iTeXMac 1.3.15/iTeXMac.app" %file

Create a LaTeX project

To create your first LaTeX project, right click inside the Package Explorer and choose New -> Project… and in the dialog select TeXlipse -> LaTeX Project. On the next screen, enter a project name and the language code and choose the output format pdf. The builds commands should automatically switch to pdflatex. The article template is a good starting point.

Build LaTeX to PDF

To build the PDF, simply make changes to a .tex file and save it. Eclipse will automatically trigger a PDF build on every document save action. You can view the output in the console. To view the PDF, use the shortcut ⌘ + 4.