Pdf4Eclipse integration with Texlipse

Shortly after explaining how to enable cross-platform access to Texlipse project in the last post, a new project emerged on the Eclipse marketplace called Pdf4Tex and it’s developed by the same people who are behind the excellent Texlipse plug-in for LaTeX editing in Eclipse. They announced it on the Texlipse project webpage a couple of weeks ago:

21.10.2011: Pdf reader for Eclipse

Good news everyone. We developed a new project called Pdf4Eclipse, which is a Pdf reader for Eclipse. It is perfectly usable with TeXlipse since it supports SyncTeX and automatic reload of changed pdf documents.
It will soon also be available from TeXlipse’s update site.

With this plug-in, .pdf files can be double-clicked and viewed in Eclipse, without the need to set up external viewers (which can be quite nasty when accessing the same project from multiple OSs as seen before).

Forward and inverse search enable quick source and output snippet locating.

Continue reading Pdf4Eclipse integration with Texlipse

Texlipse on Ubuntu and OS X

As I wanted to access my Eclipse workspace (synced over Dropbox) from both Ubuntu and OS X, I had to make some additional configuration in order for Texlipse to work. I will explain this procedure in short.

LaTeX executables that come with BasicTeX or MacTeX bundles (links and descriptions) in OS X are installed in a weird path, but this folder is symlinked to /usr/texbin. In Linux they are of course in /usr/bin. The easiest way to overcome this is to make a similar symlink in Linux:

$ sudo ln -s /usr/bin /usr/texbin

and after you’re done simply set /usr/texbin as the bin directory of the TeX distribution in Texlipse preferences – Builder Settings, as is described here.

Half way there, just need to set the previewer…

Continue reading Texlipse on Ubuntu and OS X

Convert LaTeX documents to .odt or .doc (and vice-versa)

An easy way to convert LaTeX documents to .odt or .doc, as recommended by ohsss at Ubuntu Forums here, is via a command-line program tex4ht. You install it (sudo apt-get install tex4ht) and then issue these commands in your terminal:

$ latex document.tex

$ htlatex document.tex

Continue reading Convert LaTeX documents to .odt or .doc (and vice-versa)

Speech recognition helloworld in Python

As shown in this video, this is how you try out the “helloworld” speech recognition using Sphinx from Python in Ubuntu…

$ sudo apt-get install python-pocketsphinx pocketsphinx-hmm-wsj1 pocketsphinx-lm-wsj

And the code (a script called speech_recognition.py, you can download it as a gist) goes as follows (it may be necessary to change paths to your language model and hidden markov model files):

Continue reading Speech recognition helloworld in Python