Error Opening Tex file on Debian.

Trying to open tex file by Debian gnome nautlius interface…

The filename “file.tex” indicates that this file is of type “tex document”. The contents of the file indicate that the file is of type “TeX document”. If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for “TeX document”, then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.

Very fussy computer.

… changing the extension doesn’t help.

The filename “file.TeX” indicates that this file is of type “tex document”. The contents of the file indicate that the file is of type “TeX document”. If you open this file, the file might present a security risk to your system.

Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for “TeX document”, then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.

Advertisements

Using GSAS and EXPGUI in debian

EXPGUI is a graphical interface for the GSAS software, allowing structural refinement using the Reitveld technique.

EXPGUI/GSAS can be downloaded in binary form from http://www.ncnr.nist.gov/programs/crystallography/software/downloads.html

You need to install tcl/tk and also blt all of which can be found in debian package repositories. (Or whatever for your system!)

in debian:
apt-get tk8.4 blt

tcl/tk is the scripting language used to write EXPGUI.
failing to install blt will result in the error “Error — Unable to load the BLT package; cannot run liveplot”.

Example script: Making thumbnails

Here is an example script to make jpg thumbnail images from all the jpgs in a directory.

It relies on having the linux ‘convert’ package installed on the machine.


#/bin/sh

for img in `ls *.jpg`
do
convert -sample 25%x25% $img thumb-$img
done