Wednesday, June 18, 2014

Qwt over Qt4

sudo apt-get install libqwt5-qt4
sudo apt-get install libqwt5-qt4-dev

Manually install a LaTeX package (Debian/Ubuntu Linux)

The following four steps permit manual installation of packages on Debian/Ubuntu (and presumably other Linux) systems.
  1. Download the package from CTAN (e.g., footmisc.zip).
  2. Extract the files and place them in an appropriate directory (e.g., /usr/local/share/texmf/tex/latex/footmisc/). This location is preferable to the main installation tree (/usr/share/texmf-texlive/tex/latex/) as the files are more likely to be preserved during upgrades.
  3. Generate the .sty file by running latex on the appropriate source files (e.g., latex footmisc.ins and latex footmisc.dtx).
  4. Update the ls-R file in this source tree (e.g., cd /usr/local/share/texmf/ ; sudo mktexlsr). Because /usr/local/share/texmf/tex/ is not searched recursively by kpathsea (cf. kpsepath tex), the ls-R file at the root directory of this search path must be updated to make the system aware of the new package.
http://tex.stackexchange.com/questions/38978/how-can-i-manually-install-a-latex-package-debian-ubuntu-linux

Friday, June 13, 2014

matlab nice figure export

http://www.mathworks.com/matlabcentral/fileexchange/23629-export-fig

How to use 'find' to search for files created on a specific date?

Jeromy Anglim wrote a tutorial about this, as late as today. The essence of which is to use -newerXY and ! -newerXY: Example: To find all files modified on the 7th of June, 2006:
$ find . -type f -newermt 2007-06-07 ! -newermt 2007-06-08
To find all files accessed on the 29th of september, 2008:
$ find . -type f -newerat 2008-09-29 ! -newerat 2008-09-30
Or, files which had their permission changed on the same day:
$ find . -type f -newerct 2008-09-29 ! -newerct 2008-09-30
If you don't change permissions on the file, 'c' would normally correspond to the creation date, though.

stackoverflow.com/questions/158044/how-to-use-find-to-search-for-files-created-on-a-specific-date

Tuesday, June 3, 2014

beamer poster - deprecated option

\documentclass[final,hyperref={pdfpagelabels=false}]{beamer}

The "hyperref={pdfpagelabels=false}" is a deprecated option that prevents proper compilation, producing the error:

! Undefined control sequence.
\beamer@frameslide ...duration=}\thispdfpagelabel
                                                  {\insertframenumber } \xde...


remove this option, yielding:

\documentclass[final]{beamer}