Showing posts with label Eclipse Plugins. Show all posts
Showing posts with label Eclipse Plugins. Show all posts

Monday, June 29, 2009

TeXlipse, an Eclipse plugin for LaTeX

TeXlipse is an eclipse plugin for LaTeX that I use. It works pretty well. I have put some basic info on this page about getting started with TeXlipse.

To download, visit http://texlipse.sourceforge.net/

Or on Eclipse -> Help -> Software Updates -> Find and Install -> Search for new features -> New Remote Site -> http://texlipse.sourceforge.net/ (Much easier and recommended way)


The TeXlipse website has a very good documentation on installing and using the plugin.

Installation guide - http://texlipse.sourceforge.net/manual/installation.html
Configuring TeXlipse - http://texlipse.sourceforge.net/manual/configuration.html

(reminder: you need to have a LaTeX distribution already installed, ie, MiKTeX for windows.)

One thing to remember to do after installation/configuration: under Windows -> Preferences -> TeXlipse -> Viewer Settings -> for acroread specify its path and move it up to the top. (so that acroread is the first line). By doing this, when you hit the "Launch the previewer" button, it will show the pdf generated in acroread.


That should get you started.

For more manuals, go to http://texlipse.sourceforge.net/manual/


-도시

Tips on Installing and Using "Eclipse SFTP" for Easier Editing of Remote Files

=====INSTALLATION=====

1. First download the Eclipse SFTP from http://sourceforge.net/project/showfiles.php?group_id=151842 -- Make sure to download both "esftp" and "esftp-lib"


2. Extract the "esftp" into the eclipse folder.

3. Extract the "esftp-lib" into the eclipse/plugins/org.kmem.kosh.sftp_/ directory.

4. Now shutdown eclipse, and run eclipse using the command "eclipse -clean". (Simply restarting eclipse through double-clicking does not work. Need to open up the command prompt, cd into the eclipse directory and do "eclipse.exe -clean" for windows users)

5. If everything went successfully, when you open Eclipse, the menu bar at the top should have a new menu "ESftp".


=====USAGE 1: Downloading to Local Eclipse Project=====

1. Create a new project (or select an existing project). Can be any project.

2. On the menu bar, click "Project" then "Properties". (Do not right-click a project and select properties, as this is not supported by ESFTP).

3. On the "Properties" window, you should see "ESFTP" on the left. Select this and you are at "ESFTP Preferences".

4. Fill in the appropriate information. Here is my example:

server: machine-name.cs.institution-name.edu
port: 22
username: username
timeout: 60
Site Root: /users/name/foldername
(You will want to select "Recurse Directories" if you want to download all directories under the site root)


Click "Test Settings" to test if the information provided is correct.

5. Click OK.

6. Now, right click your eclipse project, then select "ESFTP", then select "Get file from server". This will download all files you have in your site root directory (that you specified in ESFTP preferences)

7. Important: Be sure to "Refresh" (F5) the eclipse project after files have been downloaded. Otherwise the downloaded files do not show up.


=====USAGE 2: Uploading Local File to Server=====

1. Select a file to upload. Right-click-> ESFTP-> "Put File to Server". Or click the "Put File" button below the menu bar.

2. You can upload multiple files by selecting multiple files in your project. (You can select multiple files by holding down the CONTROL button when making a selection). After you have made the selections, you can click the "Put File" button or do right-click-> ESFTP-> "Put File to Server".

3. You can also upload a directory. Select the directory, or the whole project, and right-click->ESFTP->Put File to Server.

Warning: When uploading directories, you must always do a right-click, ESFTP, then "Put File to Server". Using the "Put File" button below the menu bar does not work for directories.


-도시