Posts with the tag LaTeX

Install the LaTeX Distribution TeX Live on Ubuntu Linux

Install the most important packages using:

sudo apt-get install texlive texlive-latex-extra

optionally also install some German language support packages:

sudo apt-get install texlive-lang-german

If you want the full TeX Live system:

sudo apt-get install texlive-full

Resources

...

Read on

Use pandoc To Convert LaTeX to Markdown

Pandoc is a tool to convert documents from one format to another and it supports quite some formats! You can test it and convert small docs online: http://johnmacfarlane.net/pandoc/try

Supported input formats include

  • markdown,
  • html,
  • latex, and rst.

Note that the rst reader only parses a subset of reStructuredText syntax. (The latex and html input readers...

Read on

Auto refresh PDF as it is being changed

using Preview

http://www.macosxhints.com/article.php?story=2006010200141989

use the following AppleScript and save it as ReloadPreviewDocument.scpt

(*
Reload Preview Document 1.0
By Trevor Harmon <trevor@vocaro.com>

Based in part on the "Checking Accessibility Status" script by Apple.
http://www.apple.com/applescript/uiscripting/01.html
*)

on UIscript_check()
    -- get the <span...

Read on

How I Install LaTeX on Ubuntu Linux

To make it simple, all I do is:

sudo aptitude install texlive-full
...

Read on

Update gedit LaTeX Plugin

This post describes how I updated the gedit LaTeX plugin after I had it installed in an older version previously.

Backup your tools.xml file (definitions of tools to use with the plugin) etc.

cd ~/.gnome2/gedit/plugins
rm -rf GeditLaTeXPlugin
rm -rf GeditLaTeXPlugin.gedit-plugin
cd ~/Downloads/
rm -rf gedit-latex
svn co https://gedit-latex.svn.sourceforge.net/svnroot/gedit-latex/GeditLaTeXPlugin/trunk gedit-latex
cd ~/Downloads/gedit-latex/
chmod +x install.sh
./install.sh

To support the...

Read on

Editors for Vector Graphics: inkscape, dia and xfig

Inkscape

documentation: http://www.inkscape.org/doc/index.php

sudo apt-get install inkscape

dia

sudo apt-get install dia

If you want to create an eps image to use with the LaTeX package psfrag, export the image to eps using ps fonts!

xfig

A great vector graphics tool! http://www.xfig.org/

sudo aptitude install xfig

usermanual: http://xfig.org/userman/

...

Read on

Chinese Input in LaTeX

You need at least:

sudo aptitude install latex-cjk-chinese

or install all chinese related packages:

sudo aptitude install latex-cjk-all

http://ubuntuforums.org/showthread.php?t=350101

\documentclass{article}
\usepackage{CJKutf8}
\begin{document}
\begin{CJK*}{UTF8}{song}
这是一个测试
\end{CJK*} (this is a test)
\end{document}

The above LaTeX code...

Read on

Writer 2 LaTeX

http://www.ooowiki.de/Writer2LaTeX

There is an export plugin for OpenOffice.org Writer application. It uses Java and works for Writer >=v3.1 as Extension. Install like this:

sudo aptitude install openoffice.org-writer2latex

To export a Writer document do: File → Export → As LaTeX 2e ...

...

Read on

Get rid of annoying rubber error: DeprecationWarning: md5 ...

https://bugzilla.redhat.com/show_bug.cgi?id=506053
the patch is: http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=python2.6.patch;att=1;bug=520048

To get rid of the annoying rubber deprecation warning of a deprecated use of the md5 library, open /usr/share/rubber/rubber/util.py and change:

import md5
m = md5.new()

to

import hashlib
m = hashlib<span...

Read on

Calc 2 LaTeX Plugin for OpenOffice.org

http://www.ooowiki.de/Calc2LaTeX
http://calc2latex.sourceforge.net/

update 2011-06-18: For LibreOffice, the extensions can be found on http://libreplanet.org/wiki/Group:OpenOfficeExtensions/List. Calc2LaTeX, however, is not in this list and can still downloaded as before:

Get the extension from http://extensions.services.openoffice.org/project/calc2latex and install by double clicking or do it all on the terminal:

cd ~/Downloads
wget http://extensions.services.openoffice.org/files/1739/0/Calc2LaTeX.oxt
oowriter Calc2LaTeX.oxt
...

Read on

latexdb - a tool to automate document creation using DBs

http://privat.hgesser.com/software/latexdb/
hopefully there will be a version 0.4 soon! (dev. since v.0.3 took 2 years already)

get the package and run the "install" script contained... latexdb-0.3 also needed: python_mysqldb:

sudo apt-get install python-mysqldb
latexdb-0.3 $ sudo ./install
...

Read on

LaTeX and Vector Graphics on Ubuntu 8.04

Vector Graphics

  • inkscape
  • xfig
  • scribus

LaTeX texlive

  • kile
  • lyx

TeXlive

  • ...latex-extra
  • ...latex-recommended
  • ...science
  • ...generic-recommended
  • ...doc-de
  • ...math-extra
  • ...pstricks
  • ...lang-german
  • and all ...-recommended packages

more LaTeX stuff

Read on