Ubuntu :: Matlab Latex Interpreter - Broken Fonts In EPS And PDF
May 27, 2011
Our Matlab users met the problem in Ubuntu while using Latex interpreter in Matlab. Namely, eps and pdf files generation out of Matlab plot outputs plot legend and axes lables incorrectly. All the letters are mixed, impression that character spaces are too dense. We can't blame Matlab, since exactly the same examples with the same Matlab version work fine on CentOS. We tested Ubntu 9.10, 10.4 and 10.10 -- same problem. Matlab version R2010b.
In addition, jpg, png generated with no problems. It's eps and pdf only
Matlab example:
plot(1:1:10)
xlabel('example','Interpreter','latex')
ylabel('ExAmPlE','Interpreter','latex')
a=legend('EXAMPLE example ExAmPle')
set(a,'Interpreter','latex','Fontsize',13)
print -depsc2 figure1
I am attaching a PDF, looks same as eps, but easier to display.
View 9 Replies
ADVERTISEMENT
May 18, 2010
I am currently working on a large document using LATEX and have bumped into a problem. Here is the thing: I write this document in several machines, there is a Mac at school, some Ubuntu based machine, and this Fedora 12 x64 laptop. The thing is that I compile the document periodically on these machines and I WOULD expect the results to be similar, but they are not because the resulting PDF is of inferior quality! (fonts do not look very well when they are zoomed in).
Mac OSX's latex-produced-PDFs are of higher quality than their Linux counterparts. Is there something I can do to fix that? Install an extra package perhaps?
View 11 Replies
View Related
Jul 5, 2010
I am a semi-noob on this and I have problems getting my emacs recognizing .tex as latex and even running latex-mode. Usually when you run latex-mode (M-x : latex-mode) emacs should switch to latex-mode, but nothing happens in my case. The menu bar still show the TeX options, highlighting remains the same etc.
I am running emacs 23.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.10.4), this is on a university system so I don't know much about it.
> uname -a
Linux karakum 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 00:57:09 EST 2010 x86_64 x86_64 x86_64 GNU/Linux.
View 12 Replies
View Related
Dec 30, 2010
In CentOS 5.4 (Final), emacs is displaying characters as little boxes. see attached screen shot. I searched the Web and found others have this same problem with emacs in CentOS 5.4 but have not found any solution. I installed emacs in a base CentOS Amazon EC2 instance as follows:
yum -y groupinstall "GNOME Desktop Environment"
yum -y install emacs
yum -y groupinstall emacs
This issue does not arise for me in Amazon EC2 instances running Red Hat, Fedora, or Ubuntu when I install emacs as I did here. I am not X font savvy
View 1 Replies
View Related
Feb 2, 2011
I'm just texing a little report and I get the following error message: LaTeX Warning: Citation 'tzvp' on page 4 undefined on input line 74 I have made a bibliography in the classic way, i.e.
[Code]....
View 2 Replies
View Related
Jan 15, 2010
I just finished installing a bunch of truetype fonts. After installing them, firefox is displaying "bradybunch" font when I search google.
The font settings are all serif and sans serif in both the system fonts settings and firefox settings.
I am using ubuntu 9.10.
Any idea why this could be happening?
View 1 Replies
View Related
Oct 14, 2010
I would like to use the Adobe Garamond Pro in my text doccument in open office writer. I got a text document where from a friend where it is used so I know that it can. But when I want to edit I cant find it in the fonts dropdown menu.
View 2 Replies
View Related
Jul 3, 2011
I have a folder with over 1500 fonts, I would like to move them to my /usr/share/fonts folder so that they can be used. Some are from Windows, some are just random extras. I've installed the msttcorefonts, but there are quite a few missing that make some wen pages look different.
How can I go about putting the fonts from my folder, into the appropriate /usr/share/fonts folder to be used? And how can I move them all? I can't drag and drop them, and mv FONT_NAME /usr/share/fonts for all of them will take a month or two. Is there a way to elevate my self to be able to just drag and drop them all? And which folder would they need to go into for them to be used in Chrome and Firefox?
View 5 Replies
View Related
Feb 23, 2010
I have just installed openSUSE 11.2 X86_64 on my laptop, I then used KDE to install lots of type 1 fonts for my printer. These get loaded to /usr/local/share/fonts/...These installed fonts are visible to KDE (KWRITE) and GIMP so I assume that the installation was O.K. When I start openOFFICE writer I do not see these fonts. The font selection appears to be the fonts located under /usr/share/fonts. I have not tried other ooo3 components. I assume that they are not going to see the fonts either.
I have searched google and it appears that /usr/local/share/fonts is the correct location for non-packaged fonts. Has anybody any idea what is wrong? I think I could move all the fonts to /usr/share/fonts and ooo3 would work but this seems to break the installation directory structure. I have considered symlinks but I don't like the idea of defining a font twice to Linux and creating the syslinks is more work than reinstalling the fonts if they are lost
View 7 Replies
View Related
Oct 31, 2010
I downloaded a Perl script from off a page on the Internet, and tried to run it. It displayed its source in the web browser. First of all, I am in the cg-bin containing my cgi file and the file permissions are set to 755. I open the Terminal in this folder and run ls, which lists my file called hello.cgi; I run hello.cgi, and get a not found error, and run ./hello.cgi and get source code less comments:
Code:
me@fast:~/Files/Website/perl-dropdown/cgi-bin$ ls
hello.cgi redir.cgi
me@fast:~/Files/Website/perl-dropdown/cgi-bin$ hello.cgi
[code]....
Next I open my Synaptic and search for perl, so I can reinstall it. I find nothing. I navigate to /usr/bin and eventually find perl and perl5.xx as well.
View 4 Replies
View Related
Mar 7, 2011
I have a partially completed interpreter that has first-calss functions and can store scopes in variables. That way it is possible to implement a simple class like this:
Code:
MyClass = func () {
value = 0;
setValue = func (x) value = x;;
[code]....
But what about inheritance, and what if I want to know the type of the object?
View 6 Replies
View Related
Aug 17, 2010
I wrote a script to use egrep to search files for '#!/usr/bin/python' so I could tell what my Python scripts were/where they were. It grabs 'ls' and separates it into an array. It uses ls -F so I can pop anything with a / in it; giving me just files. It then egrep's them. Here's the code.
Code:
#!/usr/bin/python
import commands as com
ls = com.getoutput("ls -F")
ls = ls.split("
[Code]....
When I run all that code in the interpreter, it works. If I run it from Bash (eg ./egrep) it throws me an error like this 'egrep: [Screenshot.png]: No such file or directory' for every file in the directory. Also, it doesn't filter out the directories either.
View 5 Replies
View Related
Jul 25, 2010
I installed openjdk 6. The compiler works fine, but when I try to run the .class file, I get:
Exception in thread "main" java.lang.NoClassDefFoundError: hello/java
Caused by: java.lang.ClassNotFoundException: hello.java
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
[code]...
View 5 Replies
View Related
Nov 12, 2009
I have installed fc11 x86_64 on my machine. When I try to install .bin files, it displays 'ld-linux.so.2 bad elf interpreter no such file or directory' error. I have also installed glibc but it didn't fix the problem.
View 1 Replies
View Related
Jan 22, 2010
I just wanted to install Maya 2010 on Fedora 12 x86_64, but setup alway ends with the following error (right after having started that):
Code:
bash: ./setup: /lib/ld-linux.so.2: bad ELF interpreter
Autodesk recommends Fedora 9 for Maya, but I wanted to give it a try on F12. So before giving up on that one, I've got some questions:
1. What's an ELF interpreter, anyway?
2. Is there any workaround for that problem, or do you have some suggestions on what I might try?
View 3 Replies
View Related
Apr 1, 2010
As some of you know that I am new to this forum. I have another problem that I got stuck on. I have this file called "Fib.rbb" and my instructor told us to write an interpreter program by using Fib.rbb.
"You are to write an interpreter in Perl for Rongs Basic Basic (RBB) as explained in class. The BNF description for RBB and a test file called Fib.rbb are part of the RBB.zip file which is available in the Course Documents folder on blackboard. If you call your interpreter myIntp.pl, you would execute the program via perl myIntp.pl Fib.rbb
Code: Print "A few Fibonacci numbers:"
View 3 Replies
View Related
Nov 5, 2010
I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)i did all the mandatory steps, i am trying to run the installer but i am facing the below:bash: ./runInstaller: /bin/sh: bad interpreter: Permission deniedknowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it
View 4 Replies
View Related
Oct 26, 2010
I am using ubuntu hardy and python 2.6.5 (built from sources). For a custom python packager I need to rebuild python interpreter (python executable). I am new to linux and don't have much knowledge of gcc and other stuff. Here is the process:1. Copy python.c as myapp.c. myapp.c is in the same directory (python2.6.5) in which I have all the required files. 2. Using the syntax from makefile of python sources, here is my first command to produce myapp.o
Code:
gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I. -IInclude -I/home/zeno/installed/Python-2.6.5/Include -fPIC -DPy_BUILD_CORE -c myapp.c -o myapp.o
This produce myapp.o but throws a warning:
Code:
myapp.c:24:2: warning: no newline at end of file
Next is to produce the executable or python interpreter:
Code:
gcc -pthread -Xlinker -export-dynamic -o $@ myapp.o -L. -lpython2.6 -lpthread -ldl -lutil -lm -o myapp
This is causing an error:
Code:
/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
[Code]...
View 1 Replies
View Related
Jul 11, 2011
Starting sshd: /etc/init.d/sshd: /usr/sbin/sshd: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
---------- Post added 07-11-11 at 01:29 AM ----------
and btw i have install al glibc.x86_64
uname -m
x86_64
View 1 Replies
View Related
Mar 25, 2011
i am working with ad hoc network but the problem is not getting any good documentation of how to compile c++ code then how to add the code into Tcl intrepreter and how to work with make file. i want to run my own algorithm using c++ and then want to incorporate it into tcl interpreter and then want to run.
View 2 Replies
View Related
Feb 9, 2011
I have it so that an Env object contains all the variables in the current scope, and the parent scope. You can also save them to variables like objects, and my idea is to use the "." operator to get values from them.
First, how do I assign to them? I currently have it that only a variable name can be assigned to, but you should be able to assign to an "obj.value" expression, too. How do I keep track of what variable to set and still be able to say it in an expression and have it evaluate to the variable?
Second, these object don't really have a "type", they're just containers that contain any values you want under any name you want. How can I, for example, define a primitive "boolean" object and have things like if statements recognize it?
View 14 Replies
View Related
Jul 3, 2011
1. What do I need to set all the fonts to in 11.04 to make them look more like W7 fonts?2. Is there a way I can improve the graphics in WINE? Some very simple games run slow. Is there a way I can change the cursors in wine.
View 3 Replies
View Related
Jun 13, 2010
Would a representative from each Linux distro be kind enough to tell me what the command is for installing the Ruby interpreter in their distro? In Gentoo it is "emerge Ruby".
View 4 Replies
View Related
Jun 30, 2010
I've been running SQL-Ledger on Centos 5.5 (x86_64) for some time. At some point in time I must have done something to either perl or CPAN and I now get the following error in SQL-Ledger.
Not an ARRAY reference at SL/Form.pm line 1047.
Attempt to free unreferenced scalar: SV 0x18034630, Perl interpreter: 0x17363010 during global destruction.
Attempt to free unreferenced scalar: SV 0x18034630, Perl interpreter: 0x17363010 during global destruction
View 6 Replies
View Related
Dec 18, 2010
I am using fedora 14 and after i have installed RealPlayer11GOLD.rpm , i didnot work and it give me the following error
./realplay: /opt/real/RealPlayer/realplay.bin: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
View 14 Replies
View Related
Mar 30, 2010
I'm studying Information Technology and doing Linux as part of it. One of the questions in my text book is: Describe three different ways to start a command line interpreter when using the Gnome desktop of openSUSE Linux. I can't for the life of me make sense out of it.
View 8 Replies
View Related
Sep 2, 2010
If say, I want to read the input given by user at the command prompt and write a code to execute the cmd given then which commands do i use to implement this ( Im writing the code in C )?
View 8 Replies
View Related
Feb 2, 2011
I have a Python script that I run which needs to execute under a special environment, so I would run the program like so from my working directory (~/project/src):
python manage.py shell
This opens up an interactive shell for me to start typing my own commands.I have another set of administrative activities that I would like to house in another directory (~/project/admin). The manage.py is really finicky about running from the working directory. So, to make this whole thing work, I made a script which starts off like so:
#!/usr/bin/python ../src/manage.py shell
There are a couple problems with this. The first is that it doesn't work:
/usr/bin/python: can't open file '"/../src/manage.py" shell': [Errno 2] No such file or directory
How do you specify multiple parameters to the interpreter?How do I change the working directory?
View 2 Replies
View Related
Apr 23, 2010
I am trying to install the open office suite using Add/Remove Software. It however give the following error:
Code:
dejavu-serif-fonts conflicts with dejavu-fonts
dejavu-sans-fonts conflicts with dejavu-fonts
dejavu-sans-mono-fonts conflicts with dejavu-fonts
View 10 Replies
View Related
Feb 7, 2011
I'm trying to install a .sty, .cls, and a .bst (bibtex) file for latex. I'm currently using texlive in Ubuntu 10.10. I have the general idea of where to install these but whenever I try to compile the .tex I get an error that says permission is denied to the .cls file, so I'm not sure what's going on.
I've ran the mktexlsr and everything else, but I still get this problem. If I run sudo pdflatex <filename> I wind up compiling a pdf document that I can't access. Not sure if I have to add permissions to the .sty and .cls files after they've been copied.
Additionally, the .sty and .cls files I'm using aren't in the official texlive distribution so I would definitely need to install them myself.
View 2 Replies
View Related