Συντονιστής: adem1
τα μετέφερα εδώ viewtopic.php?f=23&t=21840&p=226044#p226044
\usepackage{xltxtra}
\usepackage{xgreek}
\usepackage{amsfonts}
\usepackage[iso-8859-7]{inputenc}
\usepackage[english,greek]{babel}
\usepackage{indentfirst}
\usepackage{grmath}
\newcommand{\en}{\selectlanguage{english}}
\newcommand{\gr}{\selectlanguage{greek}}
\setmainfont{}
\DeclareMathOperator{\συν}{συν}
\documentclass[11pt]{article}
%%----------------------------------------------------
% Languages
%%----------------------------------------------------
\usepackage{xgreek}
\usepackage[Greek,Latin]{ucharclasses}
\setTransitionsForGreek{\setlanguage{greek}}{\setlanguage{english}}
%%----------------------------------------------------
% Text fonts
%%----------------------------------------------------
\usepackage{fontspec}
\setmainfont[%
Kerning=On,
Mapping=tex-text,
]{Linux Libertine O}
%%----------------------------------------------------
% Math
%%----------------------------------------------------
\usepackage{amsmath}
\usepackage[math-style=ISO]{unicode-math}
\usepackage{mathtools}
% Math fonts
%\setmathfont{}
%%----------------------------------------------------
% New Math Operators
%%----------------------------------------------------
\DeclareMathOperator{\ημ}{ημ}
\DeclareMathOperator{\συν}{συν}
\begin{document}
Ελληνικά
Englih
\begin{equation}
\συν^2 + \ημ^2 = 1
\end{equation}
\end{document}
\setmainfont[Mapping=tex-text]{GFS Didot}
File 'ucharclasses.sty' not found
\usepackage[Greek,Latin]{ucharclasses}
\setTransitionsForGreek{\setlanguage{greek}}{\setlanguage{english}}
File 'unicode-math.sty' not found
\usepackage[math-style=ISO]{unicode-math}
\usepackage{mathtools}
\documentclass{article}
\usepackage{fontspec}
\setmainfont{Kerkis}
\begin{document}
It's me!
Είμαι και εγώ εδώ!
\end{document}
The program 'xelatex' is currently not installed. You can install it by typing:
sudo apt-get install texlive-xetex
File 'ucharclasses.sty' not found
\usepackage[Greek,Latin]{ucharclasses}
\setTransitionsForGreek{\setlanguage{greek}}{\setlanguage{english}}
\begin{document}
! fontspec error: "font-not-found"!! The font "lmmath-regular.otf" cannot be found.!! See the fontspec documentation for further information.!! For immediate help type H <return>.!
! fontspec error: "font-not-found"!! The font "lmmath-regular.otf" cannot be found.!! See the fontspec documentation for further information.!! For immediate help type H <return>.!
! Cannot use \XeTeXOTcountfeatures with nullfont; not an OpenType Layout font.
! Cannot use \XeTeXOTfeaturetag with nullfont; not an OpenType Layout font.
! Missing = inserted for \ifnum.