TeXlipse Config for MacTex: Difference between revisions
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 30: | Line 30: | ||
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'''. | ||
== LaTeX Syntax | == LaTeX Syntax References == | ||
* [https://en.wikibooks.org/wiki/Category:Book:LaTeX LaTeX Book] | * [https://en.wikibooks.org/wiki/Category:Book:LaTeX LaTeX Book] | ||
* [https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings Source Code Listings ] | * [https://en.wikibooks.org/wiki/LaTeX/Source_Code_Listings Source Code Listings ] | ||
* [https://www.tug.org/mactex/src/WelcomeToMacTeX.pdf Welcome To MaxTeX] | |||
* [https://www.latextemplates.com/cat/books Books Templates] | |||
* [https://www.overleaf.com/signup?ref=47faf4ec3a97 Start using Overleaf] | |||
=== Listings/Syntax Highlighting === | |||
* [https://tex.stackexchange.com/questions/53928 Highlighting PHP code in listings] |
Latest revision as of 04:33, 2 January 2018
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 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.
LaTeX Syntax References