July 13, 2010 at 08:20
filed under   |   7 comments (Leave a comment)


Who is it for

Users who want to write greek documents of any type, but also need to write a lot of english (or generally, use latin alphabet) and/or maths.


This FreeBSD port allows you to write greek documents in LaTeX, with both greektext and latintext, without having to switch between the two with the usual commands greektext, latintext (or any other): you just write greek or latin text.

The port installs postcript fonts created by Angelos Haritsis (Arial, Times, Courier) and uses hyphenation patterns for greek by Regina Mourtou (the semantics) and Stefanos Maganaris (pattern generatation). The patterns were adapted to the Windows ASCII position by G. Moustakides.


The installation procedure is as for any FreeBSD port/package. In summary:

cd /usr/ports/print/latex-auto-greek \
 && make install clean


pkg_add latex-auto-greek
fmtutil-sys --byfmt latex
fmtutil-sys --byfmt pdflatex

Refer to the apropriate section of FreeBSD Handbook for details.


To use it, include the line:


in the preamble of your .tex (see ag-test.tex) like:

\title{Τίτλος latin}

 αβγδέ ΑΒΓΔΈ \it αβγδέ ΑΒΓΔΈ \bf αβγδέ
 ΑΒΓΔΈ \sf αβγδέ ΑΒΓΔΈ \tt αβγδέ ΑΒΓΔΈ\\
 \uppercase{αβγδέ ΑΒΓΔΈ \it αβγδέ}
 αβγδεζηθικλμνξόπρστύφχψώ και


Google code page:

Source at github:

git clone git://

File Description Size
latex-auto-greek-port.tar.gz Port files 2.1 KB
latex-auto-greek-1.0b.tar.gz Port sources 649 KB
latex-auto-greek-1.0b.tbz Binaries 635 KB


Auto-greek should work in windows (MiKTeX or Tex Live) but there is no "official" installer for that. There is a contributed installer from Emmanuel Koukaras that is known to work for at least some Windows + MiKTeX combos. You can get it from google code or here:

File Description Size
Installer.rar Binaries 646 KB


Report issues either here or here.

Related posts:

  1. Greek in LaTeX
  2. Graphs and diagrams in LaTeX
  3. Best books to learn LaTeX
  4. Projects
No tips yet.
Be the first to tip!
Like this post? Tip me with bitcoin!





  1. Alexander Altanis

    on November 30, 2010 at 08:33

    Hello. I am trying to make this font work on debian, so I have to install it by hand.

    I have texlive. I see that even though the package has a texmf-dist folder, debian has simply texmf and texmf-texlive. I copied the files there, and latex (and pdflatex) see auto-greek and don't complain about it missing. However, I can't get the fonts to work, even though I have copied them in texmf-texlive and ran texhash and all the rest of the commands you mention in the Installation section.

    The error I get is this:
    mktexpk: don't know how to create bitmap font for grtimes-p
    kpathsea: Appending font creation commands to missfont.log.
    (see the transcript file for additional information)
    !pdfTeX error: pdflatex (file grtimes-p): Font grtimes-p at 600 not found
    ==> Fatal error occurred, no output PDF file produced!

    $ locate grtimes yields:

    Can you please help?

    PS I am writing in english so that foreign people can benefit from this discussion.


    eelvex Reply:

    I think the correct paths for texlive are:

    texmf/fonts/afm/auto-greek/ for *.afm
    texmf/fonts/tfm/auto-greek/ for *.tfm
    texmf/tex/latex/auto-greek/ for *.fd
    texmf/fonts/type1/auto-greek/ for *.pfb
    texmf/fonts/map/ for *.map

    after copying the files run:
    updmap --enable
    fmtutil --byfmt latex
    fmtutil --byfmt pdflatex

    and hopefully you're good to go.


    Alexander Altanis Reply:

    I installed the package and fonts to the correct directories, and didn't get the same errors as before. However, my output document contained garbage, not greek, and I got this in the .log file:

    Missing character: There is no ­ in font grtimes-b!
    Missing character: There is no in font grtimes-p!
    Missing character: There is no in font grtimes-p!
    Missing character: There is no in font grtimes-p!


    Vasilis Kourtis Reply:

    I am trying to use auto-greek in windows with MiKTeX.
    I get a similar error as yours:

    ("C:\Program Files (x86)\MiKTeX 2.9\tex\latex\base\size10.clo"))
    No file untitled-1.aux.
    (C:\texmf\tex\latex\auto-greek\ot1grtimes.fd) [1{C:/ProgramData/MiKTeX/2.9/pdft
    ex/config/}] (C:\Users\Vasilis\Desktop\untitled-1.aux)Trying to make PK font grtimes-p at 600 DPI...
    Running miktex-makemf.exe...
    miktex-makemf: The grtimes-p source file could not be found.

    Running ttf2pk.exe...
    miktex-makepk: PK font grtimes-p could not be created.
    (see the transcript file for additional information)
    !pdfTeX error: pdflatex.EXE (file grtimes-p): Font grtimes-p at 600 not found
    ==> Fatal error occurred, no output PDF file produced!
    texify: pdflatex failed for some reason (see log file).

    I changed the files us proposed...but I don't know where to run these commands in windows:
    updmap --enable
    fmtutil --byfmt latex
    fmtutil --byfmt pdflatex

    I get the same errors...I also tried to change the encoding of the .tex file to iso-8859-7 but nothing changed!


    Alexander Altanis Reply:

    I got it working after all, by setting the .tex file's encoding to iso-8859-7 instead of UTF-8.


  2. S

    on January 6, 2011 at 17:30

    thank you, very usefull


  3. V

    on May 4, 2011 at 22:49


    I am using OS X 10.6.7 and I have the MacTex distribution of Latex which is based on TeX Live.

    Could you please help me with some instructions on how to install this package on my system?

    Thanks a lot



Real Time Analytics