Posts Tagged ‘latex’

May 10, 2014 0

Python script to extract citation keys from latex files

By in latex, python

”’ Created on May 10, 2014 @author: thomas ”’ import fnmatch import os”’ Created on May 10, 2014 @author: thomas ”’ import fnmatch import os import re if __name__ == ‘__main__’: directory = ‘/home/thomas/Ph.D/Projekter/057 2014-03-10 Database paper/latex-version/databasepaper’ matches = [] for root, dirnames, filenames in os.walk(directory): for filename in fnmatch.filter(filenames, ‘*.tex’): matches.append(os.path.join(root, filename)) print(matches) pattern= […]

Tags: , ,

September 24, 2012 0

adding formulas to google docs and presentations workaround

By in google docs, latex

A far from optimal workaround for adding formulas to google presentations and properly also google docs is to use http://www.codecogs.com/latex/eqneditor.php to construct the formula with latex syntax and load it as an image by adding an image from an URL E.g.: The ugly drawback is that, AFAIK, you are not able to recall the link […]

Tags: , , ,

August 6, 2012 0

install missing latex packages

By in latex, texworks

One way to install missing latex-packages is to find another package in the package repositories that contains the needed .sty file. According to this post (Easy package installation) one approach is to use apt-file the following way: apt-file -x search ‘/textcomp.sty$’ This will report which package contain the needed file and that package can then […]

Tags: , ,