BC Wiki - LaTeX Document Typesetting

Category: software


Installing LaTeX in Ubuntu 14.04 Trusty Tahr

Just run this from the command prompt:

sudo apt-get install texmaker biber

Launch TexMaker and configure it as follows:

This should work fine, without problems!

Usage Details

Bibtex vs Biber

Special characters will fail if you use the obsolete bibtex backend, as it is pretty much ASCII-only (any UTF-8 in the *.bib makes it explode).

Biber hasn’t been packaged for Precise, so you’ll need to compile from source, retrieve through [tug.org], or find a backport (sourceforge) if you’re using 12.04.

On 12.04, apt-cache show biblatex yields: Config-Version: 1.7-1 Recommends: biber (>= 0.9.6)

Ubuntu 12.04 uses biblatex version 1.7-1; you can verify this by running:

apt-cache show biblatex

According to the biber documentation, the last biber release to support biblatex 1.7 is biber 0.9.9:

…so this should do it: http://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/0.9.9/binaries/Linux/

== References

Blogs that discuss LaTeX

Markdown to TeX to HTML (with PNG equations)

“TeX4ht is a system for converting documents written in TeX/LaTeX/ConTeXt/etc. to HTML, various XML flavors, braille, etc., optionally using MathML.”

TEX4ht: HTML Production

“This document intends to give you a quick introduction to tex4ht, providing instructions on getting it installed and some very basic usage.”

sudo apt install tex4ht

LaTeX/Export To Other Formats

this converts latex formula-by-formula into images:

Passing arguments to htlatex

Doesn't tex4ht and t4ht run in batch mode only? Perhaps you mean the
preceding latex runs. For example htlatex wrapper runs latex 3x and
then tex4ht followed by t4ht. You can pass additional options to latex
run as 5th parameter to htlatex, e.g.:

htlatex filename "" "" "" "-interaction=batchmode"

http://www.cse.ohio-state.edu/~gurari/TeX4ht/mn-commands.html

latexmk

Additional Packages

Many people are recommending the beamer package. Look into this!

Development Ideas

write a Markdown parser that pulls out embedded LaTeX, converts to png with latex2img, renders the Markdown to HTML, and reinserts the images into the html!