# LaTeXing - Professional Typesetting

An extension for Sublime Text which makes your life
easier and more comfortable while creating your documents.

# New Webspace and support system change

by Chris

This user community is growing and therefore also the requirements for the server, therefore LaTeXing moved finally to a new webspace provider. We are trying to recover everything as fast as possible but if you still find any problem just let us know by dropping us an email at info@latexing.com.

Furthermore the support system now changed to make it more efficient for everyone, please check this page for details.

# Version 1.1

by Chris

This release brings a new building system which can improve the working speed significant and a few minor bugfixes.

## Quick build

By default is LaTeXing used latexmk to typeset a document or project. For a large projects this can take some time even if just one quick pdflatex command would be required to compile the document. For this purpose it is possible to create quick build commands.

Check this tutoral to explore the different possibilies and exact syntax.

## Version 1.1 (2014-03-05)

#### New

New enhanced build system, check here for more details.

#### New

Support for bibentry command of the bibentry package.

#### New

Support for hyperref command of the hyperref package.

#### Improved (#124)

Improved quotes behaviour for r-chunk options (knitr mode).

#### Improved (#122)

Insert \tabularnewline on Shift + Enter

#### Fixed (#118)

A missing bibliography let you still compile the document.

#### Fixed (#128)

Fix keybinding for closing ")" in general LaTeX mode.

#### Fixed

Fix misstake in greek symbols assignment.

#### Fixed

Fix typo in bibtex snippets.

# Version 1.0

by Chris

With this release LaTeXing makes a huge step in the direction of making it more robust and easier compaible with the different system configurations. Here a list of some new features:

## TikZ Preview Mode

Working with TikZ files is sometimes very helpful but can also slow down your build process significant. LaTeXing offers two huge advantages, the first one is you can toggle a "Preview Mode" which will build a PDF right after you made some changes. The second one is that a PDF file of the current figure can be created next to your source file and you can just include it like a ordinary figure afterwords which will save you a lot of typset time afterwards.

Check this tutorial for more details how to use it.

## Check System

This version is using a new system check which makes it more easy and comfortable for you to see what and where LaTeXing can find and use. After running the system check the following view will open and gives you details informations about the individual executables and the used path.

## Executables

You can just adjust the path of the used executable, for example you can set a command without a path but also an absolute path of required. If you having a list with more than one entry, the first successful match will be used.

"executables": {
// Required
"perl": ["perl"],
"latexmk": ["latexmk"],
"pdflatex": ["pdflatex"],
"xelatex": ["xelatex"],
"lualatex": ["lualatex"],
"sublime": ["subl", "sublime_text", "sublime_text.exe"],
// Optional
"kpsewhich": ["kpsewhich"],
"mthelp": ["mthelp"],
"texcount": ["texcount"],
"texdoc": ["texdoc"],
"rscript": ["Rscript"]
}

## Further Features

There are more than 10 new features and further improvments and fixes. Please check the complete change log below for a list of new features, bug fixes, and further improvements.

## Version 1.0 (2013-11-04)

#### New

New "LaTeXing: Fold Section" and "LaTeXing: Fold Environment" command to fold the current section/environment.

#### New (#44)

Fold environments non intendion based, define the supported types in the settings.

#### New (#44)

Fold sections non intendion based, e.g. running this command in a subsection will fold everything until the next subsection include subsubsections.

#### New

New "LaTeXing: Rename Current Environment" command, which allows you to rename the current envioment.

#### New

New "LaTeXing: Toggle Star Environment" command, which allows you to star, unstar the current envioment.

#### New

New check system dialog which should make it more easily to see if LaTeXing can detect the required tools.

#### New

New texcount view for listing the word count per file.

#### New

Provide command to create a command with the current selected word as command name

#### New

Provide command to create an environment with the current selected word as environment name

#### New

TikZ support with live preview, for enhanced syntax highlighting TikZ is required.

#### Improved

Autocomplete of LaTeX command in Knitr mode.

#### Improved

Better use of a custom output directory, using random temporary dictionary is now possible. Please check for the available options.

#### Improved

Change pdf viewer settings structure. The oder is now managed by the settings pdf_viewer_order.

#### Improved

Enhanced citekey format options for all supported reference systems. Check the settings for the available options.

#### Improved

Full Knitr Support in Beamer Class

#### Improved

Make the partial mode more flexiable now. The document will be parsed until begin document or if available until the tag % (PARTIAL).

#### Improved

Use setting "executables" to define all required commands to avoid problems with the path.

#### Fixed

Auto convert url date from Mendeley from YYYY/MM/DD or DD/MM/YY into YYYY-MM-DD.

#### Fixed

Import urldate field from Mendeley.com now.

# Glossaries Support

by Chris

The glossaries package can be used to create glossaries. It supports multiple glossaries, acronyms, and symbols. The setup is sometimes a bit difficult but here we are working throught it how to use it with LaTeXing without loosing any comfort.

Let's consider an example before we talk about the setup in detail.

\documentclass{article}
\usepackage[acronym]{glossaries}

\makeglossaries

\newglossaryentry{sample}{
name={sample},
description={a sample entry}
}

\newacronym[
\glsshortpluralkey=cas,
\glslongpluralkey=contrived acronyms]{aca}{aca}{a contrived acronym}

\begin{document}

A \gls{sample} entry and \gls{aca}. Second use: \gls{aca}.

Plurals: \glspl{sample}. Reset acronym\glsreset{aca}.
First use: \glspl{aca}. Second use: \glspl{aca}.

\printglossaries

\end{document}

.... read the full tutotial on docs.latexing.com.

# Knitr Support

by Chris

## What is Knitr?

knitr is a syntax and an R package that allow you to put R code right in your LaTeX files. This is great for writing scientific articles or reports that use data, because you never loose track of how exactly you arrived at your results. LaTeXing makes it dead simple to use knitr in Sublime Text 3. In this post I would like to introduce you to my knitr setup.

Let’s consider an example before we talk about the setup in detail.

\documentclass{article}

\begin{document}

R can be used as a calculator.

<<calc>>=
5 + 5
@

Knitr integrates R plots into your document.

<<plot_something, fig.width=3.5, fig.height=3.5>>=
plot(1:100, rnorm(100), ylab = "A random value")
@

Knitr integrates R tables into your document.

<<some_table, results='asis'>>=
library(xtable)
xtable(data.frame(a = 1:3, b = 11:13, c = 21:23))
@

\end{document}

.... read the full tutotial written by Severin on docs.latexing.com.