”’ 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= […]
Posts Tagged ‘latex’
adding formulas to google docs and presentations workaround
By thomas in google docs, latexA 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: equation, google docs, latex, presentation
install missing latex packages
By thomas in latex, texworksOne 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: apt-file, latex, package management