TexLab

TexLab is a TeX editor based on parallel programming. Contrary to other TeX editors which use a text file as input, TexLab was designed to process small binary document modules. TexLab typesetting engine is implemented by a thread pool to execute MiKTeX [1] commands, such as: LaTeX, XeTeX [2] or pdfTeX. MiKTeX is the version of LaTeX [3] for Microsoft Windows; it consists of a set of tools to process text. Christian Schenk is the creator of MiKTeX, he studied Computer Science at TU Berlin. When Christian owned his first PC, he began working on a fun project; this project eventually became MiKTeX. TexLab interacts with Windows API's and Win32 through a thin level of abstraction provided by the C++ classes of Wintempla. TexLab interacts with MiKTeX commands through Anonymous pipes which is an interprocess communication (IPC) method.

TexLab
Original author(s)Sergio Ledesma
Developer(s)Sergio Ledesma
Stable release
1.9
Written inC++
Operating systemWindows
PlatformWin32
Available inEnglish
TypeFree software
LicenseFree
WebsiteTeXLab website

As LaTeX output is a DVI file, TexLab may require Dvips and DviPdfm to produce PDF documents. This format was designed by David R. Fuchs and was implemented by Donald E. Knuth. This format is used to store documents in a file (similar to DOCX or PDF). To open a DVI file and visualize the document, you can use: YAP,[4] XDVI,[5] WINDVI,[6] etc. Starting version 1.9, TexLab rendering engine is based on Ghostscript which is an interpreter for the PostScript language and PDF.

Document Organization

A LaTeX file is a text file with special control sequences to create documents. These control sequences begin with a backslash and they are used to declared environments.[7][8] LaTeX is mainly used to create scientific documents in many fields such as: mathematics, physics, computer science, optics, etc. Most TeX editors are based on the processing of a text file that includes LaTeX control sequences. On the contrary, TexLab technology is based on a Document Object Model platform to hide part of LaTeX commands complexity. Thus, TexLab does not operate using a .tex file, instead the document is divided in small components. Each component represents a LaTeX environment and can be individually edited and managed. In version 1.8, TexLab help module interacts using Hypertext Transfer Protocol, HTTP, with the Wikibooks to provide contextual help for LaTeX documents.

In LaTeX, a document requires a main text file, and optionally, a set of external files such as images, class files, etc. TexLab file manager technology is responsible to keep the files organized and provide a common interface to interact with the file system of the computer. TexLab file manager technology is also responsible from data exchange with the clipboard and allows pasting directly data from Microsoft Excel, Microsoft Visual Studio, the file system or other applications such as a web browser.

GUI Organization

The original TeXLab GUI had four panels; however, in most recent versions the navigation panel was merged with the PDF view panel. The content panel has remained the same since the first version of TexLab and is used to edit one module of the document at a time. The content panel originally provided spelling support for three languages: English, Spanish and German. However, starting in version 1.9, TexLab dictionary module includes: French, Greek, Italian, Portuguese, Romanian, Russian, Ukrainian, and UK English.

Templates

There are two types of templates: documents templates and equation templates. Document templates are used to start a new document with some pre-defined structure. After the document has been created, it is possible to modify its structure so that the document meets a specific format. In version 1.2, TeXLab provides templates for: articles, Elsevier articles, books, letters, Beamer presentations, proceedings, thesis, and simple documents. Equation templates are used to insert an equation in any type of document. In version 1.9, some new templates were added, these are: homework, IEEE transactions conference, IEEE transactions journal and thesis proposal.

Tools

As LaTeX documents require EPS images, TeXLab provides a set of tools to manipulate images and PDF documents. These tools are based on the poppler library and Sam2p. Poppler is a fork of xpdf which was written by Derek Noonburg; Albert Astals Cid is the current maintainer of Poppler. Sam2p is a command line utility written in ANSI C++ that converts some image formats into Adobe PostScript or PDF files and several other formats.[9] TexLab import/export module is based on Anonymous pipes and Windows processes to interact with Poppler and Sam2p.

Bibliography

There are two environments to manage a bibliography in LaTeX: \bibliography and \thebibliography.[10] A bibliography file is a database file with the extension .bib that can be used to stored bibliography items. The main advantage of using a bibliography file is that it is possible to make a reference from a document to any item in the database. TexLab provides a bibliography database editor to add, remove or edit items in the database. TexLab log and error module interacts using HTTP with Google to provide contextual error information.

File extensions

.tex
TeX or LaTeX file (an ASCII, UTF-8 or UNICODE text file)
.bib
A bibliography database file
.tax
A TexLab document file

See also

References

  1. MiKTeX. Retrieved September, 2018.
  2. XeTeX. Retrieved September, 2018.
  3. LaTeX. Retrieved September, 2018.
  4. Yap. Retrieved September, 2018.
  5. xdvi. Retrieved September, 2018.
  6. WinDvi. Retrieved September, 2018.
  7. LaTeX Environments. Retrieved September, 2018.
  8. List of LaTeX Environments. Retrieved September, 2018.
  9. sam2p. Retrieved September, 2018.
  10. LaTeX Bibliography. Retrieved September, 2018.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.