Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old July 18th, 2007   #1
jadeshade
First Cup of Ubuntu
 
Join Date: Jul 2007
Beans: 2
Using New Fonts in LaTeX/ texlive

I installed texlive-fonts-extra for its (guess what) extra fonts, but I'm having trouble using them. In the .tex file I have the lines:
Code:
\usepackage[T1]{fontenc}
\usepackage{calligra}
so I can use the font 'calligra'. It's listed in the package description from synaptic (so I know it's there). However, when I 'compile' it with pdflatex, it errors out telling me there's no tfm file. Anyone know what to do/ have this problem before (the both of you that use tex)?
jadeshade is offline   Reply With Quote
Old September 5th, 2007   #2
dgriffi
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 1
Re: Using New Fonts in LaTeX/ texlive

I have noticed this problem too. I've submitted a bug report about this. In the meantime, go to http://www.tug.org/svn/texlive/trunk...og&pathrev=945 and grab calligra.sty. Then go to http://tug.ctan.org/tex-archive/fonts/calligra/ and get the two .mf files there. Put these in the same directory as your .tex file or somewhere standard where LaTeX can find it. Then the following test file will work:

\documentclass[12pt,pdftex]{article}
\usepackage[T1]{fontenc}
\usepackage{calligra}
\begin{document}
\calligra
This is a test of a calligraphy font.
\normalfont
\end{document}

Last edited by dgriffi; September 5th, 2007 at 06:47 PM.. Reason: found more info and a workaround
dgriffi is offline   Reply With Quote
Old September 11th, 2007   #3
andresv
5 Cups of Ubuntu
 
Join Date: May 2006
Location: Bogotá
Beans: 26
Ubuntu 9.10 Karmic Koala
Question TexLive and mathabx fonts

I need to use mathabx fonts in my LaTeX documents. mathabx contains many mathematical symbols I need.

TeTeX used to have the package mathabx - I was astonished to see that TexLive does not include mathabx! There is no mention to mathabx in any of the math- or font-related packages in TexLive.



Does anyone know where to find packages that include the mathabx fonts for TexLive?

Thanks!
andresv is offline   Reply With Quote
Old February 27th, 2008   #4
bertram_wooster
5 Cups of Ubuntu
 
Join Date: Apr 2007
Beans: 17
Ubuntu 7.10 Gutsy Gibbon
Re: Using New Fonts in LaTeX/ texlive

This may be a little late, but I will post all the same so others might benefit. I cannot guarantee this will work, but it worked for me.

The package is available here:

http://www-math.univ-poitiers.fr/~ph...t.html#mathabx

You should download the .me package. As for installing it, this is what I tried partly from reading install instructions partly from guesswork. The reason the guesswork is needed is that the file structure for tex changes from install to install.

I located the source branch of tex, For me this was '/usr/share/texmf-texlive/fonts/source' (I have ubuntu 7.10 and I installed tex with apt-get).

To find the source files I ran:

$ locate .mf

This finds all files containing the string '.mf'. The vast majority of these should be in subfolders of the source branch. From here on I shall call this ${TEXMF}/fonts/source, where ${TEXMF} is the root folder for all the other tex files we need.

I chose a suitable location below the level of ${TEXMF}/fonts/source for my .mf files. For me this was in '${TEXMF}/fonts/source/public/mathabx', which I needed to create. I then copied the .mf files from the package source folder to this folder.

Next I created the folder ${TEXMF}/tex/latex/mathabx, and copied the .sty file and the .dcl file there.

Finally I ran the mktexlsr command from the ${TEXMF} folder, and this was enough to compile my paper.

So for those of you who like to copy paste, and assuming your tex folder structure is the same as mine (which it may not be), carry out the following commands (the first sudo command needs a password)

cd /tmp
mkdir mathabx
wget http://www-math.univ-poitiers.fr/~ph...habx.me.tar.gz
tar xzvf mathabx.me.tar.gz
cd /usr/share/texmf-texlive/fonts/source/public
sudo mkdir mathabx
cd mathabx
sudo cp /tmp/mathabx/source/*.mf .
cd /usr/share/texmf-texlive/tex/latex
sudo mkdir mathabx
cd mathabx
sudo cp /tmp/mathabx/texinputs/mathabx.sty .
sudo cp /tmp/mathabx/texinputs/mathabx.dcl .
cd /usr/share/texmf-texlive/
sudo mktexlsr


Then simply go to your own tex files and try to compile, remember you need to include the line:
\usepackage{mathabx}

in your tex preamble.

I found mathabx to be useful for the $\bigcross$ symbol which I use to represent the cartesian product over n indexed sets. The library is large and useful though and I am sure I will dip into it again.

Happy tex-ing.
bertram_wooster is offline   Reply With Quote
Old March 28th, 2008   #5
tqiw
First Cup of Ubuntu
 
Join Date: Jun 2005
Beans: 4
Re: Using New Fonts in LaTeX/ texlive

In your example you don't 'cd' into /tmp/mathabx before extracting so in subsequent steps you need to remove 'mathabx' from any path starting with /tmp/mathabx.
Other than that the instructions worked perfectly for me. I use the package for the \divides and \notdivides binary operators.
Thanks.
tqiw is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:48 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry