sudo apt-get install libqwt5-qt4
sudo apt-get install libqwt5-qt4-dev
Wednesday, June 18, 2014
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.
- Download the package from CTAN (e.g., footmisc.zip).
- 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. - Generate the
.sty
file by runninglatex
on the appropriate source files (e.g.,latex footmisc.ins
andlatex footmisc.dtx
). - 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
), thels-R
file at the root directory of this search path must be updated to make the system aware of the new package.
Friday, June 13, 2014
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
stackoverflow.com/questions/158044/how-to-use-find-to-search-for-files-created-on-a-specific-date
-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}
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}
Subscribe to:
Posts (Atom)