Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.53 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.53 KB

Simple LaTeX filter plugin for OmegaT

What is it?

This plugin implements a subset of LaTeX syntax as OmegaT file filter. Translated content is expected to be Unicode encoded.

Since LaTeX commands are numerous and cannot be completely described by the code, the filter uses JSON file for command definitions. End users are free to extend this file to meet their content requirements.

The filter tries to support common LaTeX features making translation process comfortable enough (comparing to internal LaTeX filter in OmegaT) at the same time.

Building

The filter uses Jackson library for reading JSON, while OmegaT started to use Jackson between versions 5.7 and 5.8. You can build the plugin with or without Jackson included depending on OmegaT version you are going to use. Fat version should work with any OmegaT version.

Slim version without Jackson can be built with command:

./gradlew jar 

Fat version with Jackson bundled is created this way:

./gradlew fatJar

After build is complete plugin files can be found in build/libs directory in the source tree.

Install

Copy plugin JAR file into OmegaT user plugin directory:

  • Windows XP: Documents and Settings\<UserName>\Application Data\OmegaT\plugins
  • Windows Vista and later: User\<UserName>\AppData\Roaming\OmegaT\plugins
  • Mac OS X: ~/Library/Preferences/OmegaT/plugins
  • Linux, FreeBSD, Solaris: ~/.omegat/plugins

Configuration

See here.

License

This project is distributed under the GNU general public license version 3 or later.