TeXlipse Config for MacTex: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== Overview == | == Overview == | ||
'''LaTeX''' is a typesetting system that is widely used by the science community for document preparation and publications. The Eclipse [http://projects.eclipse.org/projects/science.texlipse 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 [http://projects.eclipse.org/projects/science.texlipse TeXlipse] provide a compelling alternative to other LaTeX environments. | '''LaTeX''' is a typesetting system that is widely used by the '''science community''' for document preparation and publications. The Eclipse [http://projects.eclipse.org/projects/science.texlipse 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 [http://projects.eclipse.org/projects/science.texlipse TeXlipse] provide a compelling alternative to other LaTeX environments. | ||
# '''Licenses:''' Eclipse Public License 1.0 | # '''Licenses:''' Eclipse Public License 1.0 | ||
Line 11: | Line 11: | ||
== Installing TeXlipse == | == Installing TeXlipse == | ||
Assume that you have already installed [http://www.eclipse.org/ Eclipse] or download it from [http://www.eclipse.org/downloads/eclipse-packages/ Eclipse Packages]. Please find the [http://projects.eclipse.org/projects/science.texlipse TeXlipse] update sites in [http://projects.eclipse.org/projects/science.texlipse/downloads Eclipse TeXlipse Project Page]. | Assume that you have already installed [http://www.eclipse.org/ Eclipse] or download it from [http://www.eclipse.org/downloads/eclipse-packages/ Eclipse Packages]. Please find the [http://projects.eclipse.org/projects/science.texlipse TeXlipse] update sites in [http://projects.eclipse.org/projects/science.texlipse/downloads Eclipse TeXlipse Project Page]. Copy [http://download.eclipse.org/texlipse/2.0.0/ 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 == | == 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. | 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/ | /usr/local/texlive/2017/bin/x86_64-darwin/ | ||
Line 20: | Line 20: | ||
Next configure '''TeXlipse -> Viewer settings''' from '''Eclipse -> Preferences'''. | Next configure '''TeXlipse -> Viewer settings''' from '''Eclipse -> Preferences'''. | ||
Viewer name: itexmac | '''Viewer name:''' itexmac | ||
Viewer Command: /usr/bin/open | '''Viewer Command:''' /usr/bin/open | ||
Viewer Arguments: -a "/Applications/iTeXMac 1.3.15/iTeXMac.app" %file | '''Viewer Arguments:''' -a "/Applications/iTeXMac 1.3.15/iTeXMac.app" %file | ||
== Create a LaTeX project == | == 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. | 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 == | == Building 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 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.
- Licenses: Eclipse Public License 1.0
- 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.
Building 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.