vendredi 27 décembre 2013

elsarticle: psyr at 12.0pt not loadable: Metric (TFM) file not found for Ubuntu, Mint using Kile

I had this problem while compiling a latex document based on the Elsevier latex article class with kile-texlive

font u/psy/m/n/12=psyr at 12.0pt not loadable metric (tfm) file not found
I found a solution with lof of matters. I share it here! Type in a command windows

sudo apt-get install texlive-fonts-recommended

Hoping that would be helpful for someone.

mardi 26 février 2013

Matlab: plot, imagesc, graphical options don't work.

Graphical options (properties) such as fontsize, font weight and so are not considered, only default graphical properties are displayed in linux ubuntu 10.04+

How to solve this problem?
The solution I propposed here worked for me. 
Since 11.11  release (with update to 10.04 and ..) Ubuntu switch to OpenJDK replacing Oracle (Sun) JDK,JRE.
Since this changing graphical properties in Matlab don't work correctly (in my case). To solve this problem I replace my JDK, JRE from OpenJDK to Oracle JDK using the following 

Preparing your system
First you need to remove openjdk for this run the following command from your terminal
sudo apt-get purge openjdk*
If you installed java 7 from any other PPA and you are having problem with java then you have to do following steps before installing the PPA menctioned here
sudo rm /var/lib/dpkg/info/oracle-java7-installer*
sudo apt-get purge oracle-java7-installer*
sudo rm /etc/apt/sources.list.d/*java*
sudo apt-get update
Install oracle java 7 in ubuntu 12.04
Open the terminal and run the following commands
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
You can check the java version by searching java in dashboard