Hi,
I'm writing my thesis and I've encountered a problem using Greek with Babel. Specifically, I've set the encoding to utf8x in order to produce the greek characters directly (not via the latin keyboard), but the problems seems to be with some simple commands that don't seem to work, such as: \textbf, \textit. Well, I can't find my way through. Needless to say, I cannot set the options of the titlesec package, the way I need to for the thesis (e.g. sections in 'bf', subsections in 'it'). Hope someone helps....
I display the document preamble below:
\documentclass[dvips,ps2pdf,singlespacing,twoside]{article}
\usepackage[left=30mm,right=30mm,top=30mm,bottom=30mm]{geometry}
\usepackage[T1]{fontenc}
\usepackage[utf8x]{inputenc}
\usepackage[almostfull]{textcomp}
\usepackage[english,greek]{babel}
\usepackage{pifont}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\sectionmark}[1]{\markright{#1}{}}
\renewcommand{\subsectionmark}[1]{\markright{#1}{}}
\fancyhf{}
\fancyhead[LO]{}
\fancyhead[RO]{\thepage}
\fancyhead[RE]{\it {\nouppercase{\rightmark}}}
\fancyhead[LE]{\thepage}
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}
\usepackage{parallel}
\usepackage{eco}
\usepackage{natbib}
\bibpunct[, ]{(}{)}{;}{a}{}{,}
\usepackage{verbatim}
\usepackage{pstricks}
\usepackage{pst-xkey}
\usepackage{pst-jtree}
\newdimen\dimpuba
\newdimen\dimpubb
\newdimen\dimpubc
\newdimen\dimpubd
\usepackage{pst-tree}
\usepackage{pst-node}
\usepackage{gb4e}
\usepackage{etex}
\usepackage{lettrine}
\usepackage{setspace}
\usepackage{todo}
\usepackage{tipa}
\usepackage{multicol}
\usepackage[normalem]{ulem}
\usepackage{xytree}
\usepackage[all]{xy}
\usepackage{amssymb}
\usepackage{latexsym}
\usepackage[tiny,bf]{titlesec}
\titlelabel{\thetitle.\quad}
\titleformat*{\subsection}{\itshape}
\titleformat*{\subsubsection}{\itshape}
\usepackage[dvips,ps2pdf]{hyperref}
\hypersetup{citecolor=black, filecolor=black, linkcolor=black, urlcolor=black, menucolor=black, bookmarks=black, bookmarkstype=toc, breaklinks=false,pdfborder={0 0 0}}
General ⇒ A problem with Babel
NEW: TikZ book now 40% off at Amazon.com for a short time.

A problem with Babel
Hi,
the problem here is the eco package that redefines the default fonts to use text figures, but the Greek fonts don't contain text figures. If you comment out this package, the problems disappear.
Generally, try to use fewer packages. With this huge number of packages, it is quite likely that something unexpected happens. For example, don't use two different vector graphics bundles in the same document (Xy-pic and PSTricks); they can affect each other in unexpected ways and their output is inconsistent to each other. On the long run (if you haven't drawn your pictures yet), it could be easier to use the modern PGF/TikZ bundle.
the problem here is the eco package that redefines the default fonts to use text figures, but the Greek fonts don't contain text figures. If you comment out this package, the problems disappear.
Generally, try to use fewer packages. With this huge number of packages, it is quite likely that something unexpected happens. For example, don't use two different vector graphics bundles in the same document (Xy-pic and PSTricks); they can affect each other in unexpected ways and their output is inconsistent to each other. On the long run (if you haven't drawn your pictures yet), it could be easier to use the modern PGF/TikZ bundle.
Re: A problem with Babel
Hi,
thank you very much for your answer. Yeap, I found it last night after commenting out every single package to see what the problem was. About the xypic-pstricks, you're totally right; I already get problems. I'm not familiar with the package you mention....thanks, I'll give it a try.
thank you very much for your answer. Yeap, I found it last night after commenting out every single package to see what the problem was. About the xypic-pstricks, you're totally right; I already get problems. I'm not familiar with the package you mention....thanks, I'll give it a try.