GeneralUsing new fonts

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
romik
Posts: 5
Joined: Fri Sep 19, 2008 6:28 pm

Using new fonts

Post by romik »

Guys, I'm working on ubuntu and I'm using Kile + texlive for typesetting. I want to use the greek font gfsartemisia, but I don't know how to install it. Could any of you give me some advices, thank you in advance

P.S. " it's my 1st post here, so hello evceryone

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Using new fonts

Post by Stefan Kottwitz »

Hi Romik,

welcome to the board!
You can get gfsartemisia from CTAN, there are installation instructions.
I'm using Ubuntu and Kile too, I've installed the MiKTeX package manager, so it's just one line for the installation of gfsartemisia:

Code: Select all

sudo mpm --install=gfsartemisia
Stefan
LaTeX.org admin
romik
Posts: 5
Joined: Fri Sep 19, 2008 6:28 pm

Re: Using new fonts

Post by romik »

Thank you very much. But I'm using Texlive instead. Could you please tell me how can I install it with TexLive?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Using new fonts

Post by Stefan Kottwitz »

I'm using TeX Live too, the MiKTeX package manager is just a useful addition for me. Here I've described how it can be installed on Ubuntu Linux.
I assume an upgrade to TeX Live 2008 together with the tlmgr could solve it too, but it's not yet supported by Ubuntu. Then there's still the option to install manually following the instructions on CTAN.

Stefan
LaTeX.org admin
romik
Posts: 5
Joined: Fri Sep 19, 2008 6:28 pm

Re: Using new fonts

Post by romik »

Thank you very much. I tried to install mpm and installed the package. But now new problem arrives:
I get these warnings instead of
./Tex1.tex:0:No file T2Aartemisia.fd. on input line 18.
./Tex1.tex:18: Font shape `T2A/artemisia/m/n' undefined(Font) using `T2A/cmr/m/n' instead on input line 18. Font shape `T2A/artemisia/m/n' undefined(Font) using `T2A/cmr/m/n' instead
./Tex1.tex:20: Font shape `T2A/artemisia/m/sc' undefined(Font) using `T2A/artemisia/m/n' instead on input line 20. Font shape `T2A/artemisia/m/sc' undefined(Font) using `T2A/artemisia/m/n' instead
./Tex1.tex:21: Font shape `T2A/artemisia/bx/sc' undefined(Font) using `T2A/artemisia/m/n' instead on input line 21. Font shape `T2A/artemisia/bx/sc' undefined(Font) using `T2A/artemisia/m/n' instead
./Tex1.tex:22: Font shape `T2A/artemisia/bx/it' undefined(Font) using `T2A/artemisia/m/n' instead on input line 22. Font shape `T2A/artemisia/bx/it' undefined(Font) using `T2A/artemisia/m/n' instead
./Tex1.tex:0: Some font shapes were not available, defaults substituted.

What should I do to get the fonts working right?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Using new fonts

Post by Stefan Kottwitz »

Hi Romik,

perhaps it's an encoding problem. GFS Artemisia supports OT1, T1 and LGR encoding, not T2A afaik.
You can change the encoding by the \fontencoding command.

Stefan
LaTeX.org admin
romik
Posts: 5
Joined: Fri Sep 19, 2008 6:28 pm

Re: Using new fonts

Post by romik »

\documentclass[a4paper,12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,russian]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{color}
\usepackage{cancel}
\pagestyle{empty}
\usepackage{gfsartemisia}
%\usepackage{fix-cm}





\begin{document}
\scshape
\bfseries
\itshape Я Смеюсь
{\large \itshape над MICROGOGOL \newline}
{\huge \itshape {\underline large text}}
\begin{underline}
This will be centered!
\end{underline}

\end{document}


This is what I used for my document. I'm testing different options with it. THough I put the T1 on the userpackage, it still says the same warning. Do you knwo what's wrong with it this time?

If you think that I should change smthing, please modify my code so I could see how right things are done, I'm still a raw newbie in all these things . Thank you very much
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Using new fonts

Post by Stefan Kottwitz »

Hi Romik,

have a look at this topic in a French Ubuntu forum, perhaps the commands there may help.
Btw. you can find the correct syntax for \underline here.

Stefan
LaTeX.org admin
romik
Posts: 5
Joined: Fri Sep 19, 2008 6:28 pm

Using new fonts

Post by romik »

Thank you for your help, but it still doesn't work for me :(
Copy the contents of the subdirectory afm in texmf/fonts/afm/GFS/Artemisia/
Copy the contents of the subdirectory doc in texmf/doc/latex/GFS/Artemisia/
Copy the contents of the subdirectory enc in texmf/fonts/enc/dvips/GFS/Artemisia/
Copy the contents of the subdirectory map in texmf/fonts/map/dvips/GFS/Artemisia/
Copy the contents of the subdirectory tex in texmf/tex/latex/GFS/Artemisia/
Copy the contents of the subdirectory tfm in texmf/fonts/tfm/GFS/Artemisia/
Copy the contents of the subdirectory type1 in texmf/fonts/type1/GFS/Artemisia/
Copy the contents of the subdirectory vf in texmf/fonts/vf/GFS/Artemisia/
I've copied those files (since I'm using the texlive the path would be:

/usr/share/texmf-texlive/fonts/afm/
/usr/share/doc/texlive-doc/latex/GFS/Artemisia
/usr/share/texmf-texlive/fonts/enc/dvips/GFS/Artemisia
/usr/share/texmf-texlive/fonts/map/dvips/GFS/Artemisia
/usr/share/texmf-texlive/tex/latex/GFS/Artemisia
/usr/share/texmf-texlive/fonts/tfm/GFSArtemisia
/usr/share/texmf-texlive/fonts/type1/GFS/Artemisia/
/usr/share/texmf-texlive/fonts/vf/GFS/Artemisia/

In your installations updmap.cfg file add the line
Map gfsartemisia.map
Refresh your filename database and the map file database (for example, for
teTEX run mktexlsr (for MikTEX, run initexmf --update-fndb) and then run the
updmap script (as root)).

When I open the updmap.cfg (it is located in /var/lib/texmf/web2c/updmap.cfg) I get these lines :
### This file was automatically generated by update-updmap.
#
# Please do not edit it directly. If you want to add or change
# anything here, please have a look at the files in:
#
# /etc/texmf/updmap.d/
#
# and invoke update-updmap.
#
###
How am I supposed to change it if it is automatically generated? If I change the file manually, won't it be overwritten when smthin reloads?
Still doesn't work
Did as shown in ur french link, yet still the warning remains
I'm wondering if it's me that doesn't think bout that gfsartemisia doesn't support russian?
And, thing happens when i switch the gfsartemisia position
\documentclass[a4paper,12pt]{article}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english,russian]{babel}
\usepackage{gfsartemisia}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
Here it generates an error
/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty:506:Command \iint already defined. ...d{\iint}{\DOTSI\protect\MultiIntegral{2}}
/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty:507:Command \iiint already defined. ...{\iiint}{\DOTSI\protect\MultiIntegral{3}}
/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty:508:Command \iiiint already defined. ...\iiiint}{\DOTSI\protect\MultiIntegral{4}}
/usr/share/texmf-texlive/tex/latex/amsmath/amsmath.sty:509:Command \idotsint already defined. ...dotsint}{\DOTSI\protect\MultiIntegral{0}}
./Tex1.tex:0:No file T2Aartemisia.fd. on input line 19.
./Tex1.tex:19: Font shape `T2A/artemisia/m/n' undefined(Font) using `T2A/cmr/m/n' instead on input line 19. Font shape `T2A/artemisia/m/n' undefined(Font) using `T2A/cmr/m/n' instead
./Tex1.tex:20: Font shape `T2A/artemisia/m/sc' undefined(Font) using `T2A/artemisia/m/n' instead on input line 20. Font shape `T2A/artemisia/m/sc' undefined(Font) using `T2A/artemisia/m/n' instead
./Tex1.tex:21: Font shape `T2A/artemisia/bx/sc' undefined(Font) using `T2A/artemisia/m/n' instead on input line 21. Font shape `T2A/artemisia/bx/sc' undefined(Font) using `T2A/artemisia/m/n' instead
./Tex1.tex:22: Font shape `T2A/artemisia/bx/it' undefined(Font) using `T2A/artemisia/m/n' instead on input line 22. Font shape `T2A/artemisia/bx/it' undefined(Font) using `T2A/artemisia/m/n' instead
./Tex1.tex:0: Some font shapes were not available, defaults substituted.
Post Reply