Hari, you might be able to easily answer this, but I'm posting this question here in case someone else knows as well...
I'm trying to typeset a document entirely in Greek. Document body, section/chapter headers, everything. I have TeXniscope installed, using teTeX (and relevant packages) installed through macports.
\usepackage[utf8]{inputenc} at the top produces errors for every character in the document, in the form of:
./untitled.tex:50: Package inputenc Error: Unicode char \u8:Δ not set up for us with LaTeX.
etc. I definitely came across this problem before, but I don't remember if I eventually solved it or if I found it couldn't be solved... Anything I can try to resolve this? (or typeset everything in... ugh.. M$ w*rd??)
Thanks,
Constantinos
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Heya Constantinos, On Wed 16 May 2007, at 16 May 16:44, Constantinos Neophytou ♎ wrote:
\usepackage[utf8]{inputenc} at the top produces errors for every character in the document, in the form of:
./untitled.tex:50: Package inputenc Error: Unicode char \u8:Δ not set up for us with LaTeX.
etc. I definitely came across this problem before, but I don't remember if I eventually solved it or if I found it couldn't be solved... Anything I can try to resolve this? (or typeset everything in... ugh.. M$ w*rd??)
I am writing a LaTeX document in UTF8 and \usepackage[utf8]{inputenc} does it for me. Do you have encoding of the file set to UTF8 as well? If not, try File->Re-Open With Encoding -> UTF8
HTH, Jan - --
yes I do, all my files are utf8.
On May 16, 2007, at 9:43 PM, Jan Lehnardt wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Heya Constantinos, On Wed 16 May 2007, at 16 May 16:44, Constantinos Neophytou ♎ wrote:
\usepackage[utf8]{inputenc} at the top produces errors for every character in the document, in the form of:
./untitled.tex:50: Package inputenc Error: Unicode char \u8:Δ not set up for us with LaTeX.
etc. I definitely came across this problem before, but I don't remember if I eventually solved it or if I found it couldn't be solved... Anything I can try to resolve this? (or typeset everything in... ugh.. M$ w*rd??)
I am writing a LaTeX document in UTF8 and \usepackage[utf8]{inputenc} does it for me. Do you have encoding of the file set to UTF8 as well? If not, try File->Re-Open With Encoding -> UTF8
HTH, Jan
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (Darwin)
iD8DBQFGS1Dm7KW8t7uWVrARAgXFAKC4aYe9AaWYQrlTD4W/8BX9/Z3F/wCgzNk+ ZD5Bm5Td/SiQhfnMu5MzXPk= =tLkT -----END PGP SIGNATURE-----
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
According to Jan Lehnardt:
I am writing a LaTeX document in UTF8 and \usepackage[utf8]{inputenc} does it for me. Do you have encoding of the file set to UTF8 as well? If not, try File->Re-Open With Encoding -> UTF8
Here is what I use:
% UTF-8 stuff \usepackage[notipa]{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp}
On May 16, 2007, at 6:58 PM, Ollivier Robert wrote:
According to Jan Lehnardt:
I am writing a LaTeX document in UTF8 and \usepackage[utf8]{inputenc} does it for me. Do you have encoding of the file set to UTF8 as well? If not, try File->Re-Open With Encoding -> UTF8
Here is what I use:
% UTF-8 stuff \usepackage[notipa]{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp}
That indeed seems to do it for the file that Constantinos is working on, once you add the babel stuff for greek. So this preamble would do it (notice the greek option in the documentclass):
\documentclass[a4paper,12pt,greek]{report} % UTF-8 stuff \usepackage[notipa]{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{babel}
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On May 17, 2007, at 3:22 AM, Charilaos Skiadas wrote:
That indeed seems to do it for the file that Constantinos is working on, once you add the babel stuff for greek. So this preamble would do it (notice the greek option in the documentclass):
\documentclass[a4paper,12pt,greek]{report} % UTF-8 stuff \usepackage[notipa]{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{babel}
Indeed, this worked. I have not been able to get xetex to work with this document, but I prefer this methodology. Thanks a lot! Now the only problems I have are definitely latex-only issues... The one that confuses me and I have no idea how to approach is that the (very) few english characters I have in the document (for example in tables as variables) get transliterated into greek characters... is there any prefix I can use to make these characters appear as-is?
On May 18, 2007, at 11:13 AM, Constantinos Neophytou ♎ wrote:
On May 17, 2007, at 3:22 AM, Charilaos Skiadas wrote:
That indeed seems to do it for the file that Constantinos is working on, once you add the babel stuff for greek. So this preamble would do it (notice the greek option in the documentclass):
\documentclass[a4paper,12pt,greek]{report} % UTF-8 stuff \usepackage[notipa]{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{babel}
Indeed, this worked. I have not been able to get xetex to work with this document, but I prefer this methodology. Thanks a lot! Now the only problems I have are definitely latex-only issues... The one that confuses me and I have no idea how to approach is that the (very) few english characters I have in the document (for example in tables as variables) get transliterated into greek characters... is there any prefix I can use to make these characters appear as-is?
Add the word "english" in your list of languages:
\documentclass[a4paper,12pt,greek, english]{report}
And then:
\selectlanguage{english} Hi there! \selectlanguage{greek}
You can even mix more languages if you want ;). The corresponding chapter of the second volume of the LaTeX companion has a lot more info on this, also the babel package documentation probably has a lot more information than you would ever need:
ftp://tug.ctan.org/tex-archive/macros/latex/required/babel/babel.pdf
Haris Skiadas Department of Mathematics and Computer Science Hanover College
sweet!! this is very good to know when working with multiple languages :)
Thanks!!
Constantinos
On May 18, 2007, at 6:27 PM, Charilaos Skiadas wrote:
On May 18, 2007, at 11:13 AM, Constantinos Neophytou ♎ wrote:
On May 17, 2007, at 3:22 AM, Charilaos Skiadas wrote:
That indeed seems to do it for the file that Constantinos is working on, once you add the babel stuff for greek. So this preamble would do it (notice the greek option in the documentclass):
\documentclass[a4paper,12pt,greek]{report} % UTF-8 stuff \usepackage[notipa]{ucs} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{babel}
Indeed, this worked. I have not been able to get xetex to work with this document, but I prefer this methodology. Thanks a lot! Now the only problems I have are definitely latex-only issues... The one that confuses me and I have no idea how to approach is that the (very) few english characters I have in the document (for example in tables as variables) get transliterated into greek characters... is there any prefix I can use to make these characters appear as-is?
Add the word "english" in your list of languages:
\documentclass[a4paper,12pt,greek, english]{report}
And then:
\selectlanguage{english} Hi there! \selectlanguage{greek}
You can even mix more languages if you want ;). The corresponding chapter of the second volume of the LaTeX companion has a lot more info on this, also the babel package documentation probably has a lot more information than you would ever need:
ftp://tug.ctan.org/tex-archive/macros/latex/required/babel/babel.pdf
Haris Skiadas Department of Mathematics and Computer Science Hanover College
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On May 16, 2007, at 10:44 AM, Constantinos Neophytou ♎ wrote:
Hari, you might be able to easily answer this, but I'm posting this question here in case someone else knows as well...
I'm trying to typeset a document entirely in Greek. Document body, section/chapter headers, everything. I have TeXniscope installed, using teTeX (and relevant packages) installed through macports.
\usepackage[utf8]{inputenc} at the top produces errors for every character in the document, in the form of:
./untitled.tex:50: Package inputenc Error: Unicode char \u8:Δ not set up for us with LaTeX.
etc. I definitely came across this problem before, but I don't remember if I eventually solved it or if I found it couldn't be solved... Anything I can try to resolve this? (or typeset everything in... ugh.. M$ w*rd??)
Thanks,
Sorry I don't really have any ideas off the top of my head. But if you send me a sample file, I'll see what I can do. I personally never use anything but ASCII characters in my LaTeX documents. You might also want to ask around in the mactex users list. ( http:// www.esm.psu.edu/mac-tex/mailinglist.shtml, you should also read http://www.esm.psu.edu/mac-tex/ )
Constantinos
Haris Skiadas Department of Mathematics and Computer Science Hanover College
Unfortunate. I'm attaching a sample of the tex document I'm working on... Problem is I don't know if it *should* work or not, i.e. if I should be looking in my system configuration...
On May 16, 2007, at 10:24 PM, Charilaos Skiadas wrote:
On May 16, 2007, at 10:44 AM, Constantinos Neophytou ♎ wrote:
Hari, you might be able to easily answer this, but I'm posting this question here in case someone else knows as well...
I'm trying to typeset a document entirely in Greek. Document body, section/chapter headers, everything. I have TeXniscope installed, using teTeX (and relevant packages) installed through macports.
\usepackage[utf8]{inputenc} at the top produces errors for every character in the document, in the form of:
./untitled.tex:50: Package inputenc Error: Unicode char \u8:Δ not set up for us with LaTeX.
etc. I definitely came across this problem before, but I don't remember if I eventually solved it or if I found it couldn't be solved... Anything I can try to resolve this? (or typeset everything in... ugh.. M$ w*rd??)
Thanks,
Sorry I don't really have any ideas off the top of my head. But if you send me a sample file, I'll see what I can do. I personally never use anything but ASCII characters in my LaTeX documents. You might also want to ask around in the mactex users list. ( http:// www.esm.psu.edu/mac-tex/mailinglist.shtml, you should also read http://www.esm.psu.edu/mac-tex/ )
Constantinos
Haris Skiadas Department of Mathematics and Computer Science Hanover College
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 16. May 2007, at 22:10, Constantinos Neophytou ♎ wrote:
Unfortunate. I'm attaching a sample of the tex document I'm working on... Problem is I don't know if it *should* work or not, i.e. if I should be looking in my system configuration...
Not having looked at the document, but LaTeX only has limited mappings of non-ASCII characters to its own font system, thus even with UTF-8, you’ll find that you can’t use much unicode with latex.
But switching to xetex/xelatex will improve that significantly, since it uses the font (and layout) system of OS X.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wed 16 May 2007, at 16 May 22:24, Allan Odgaard wrote:
But switching to xetex/xelatex will improve that significantly, since it uses the font (and layout) system of OS X.
Beware that this means that you can't use pdflatex's advanced features (like microtype or pdfpages) which is a dealbreaker for me.
Cheers, Jan - --
Yeah I can't compile it either. If you have XeLaTeX installed, you might try to use it. To do that, add the following as the first line in your file:
%!TEX TS-program = xelatex
and remove the inputenc line. I actually don't have xelatex installed personally, so I can't really test this either. But if you have it or install it, then you should be able to make that work. As Allan said, LaTeX is a bit picky about what characters it allows.
Another thing you can do is use the babel file, and write in "greeklish", like in the attached file, which should compile for you just fine. Not ideal I know, though it allows you to easily switch between english and greek text (look at the babel package for more info. Invest in a copy of the LaTeX Companion, 2nd edition, if you don't already have it. If you do, look at chapter 9.)
It should probably not be too difficult to write a small Ruby script to convert from Greek to Greeklish and back, which might make things a bit better, i.e. you could write in Greek and then at the last moment convert things over to Greeklish. Of course we would need to be careful and make sure it skips commands etc. But if XeLaTeX is an option for you, I'd go with that.
Haris Skiadas Department of Mathematics and Computer Science Hanover College
On May 16, 2007, at 4:10 PM, Constantinos Neophytou ♎ wrote:
Unfortunate. I'm attaching a sample of the tex document I'm working on... Problem is I don't know if it *should* work or not, i.e. if I should be looking in my system configuration...
<untitled.tex>
On May 16, 2007, at 10:24 PM, Charilaos Skiadas wrote:
On May 16, 2007, at 10:44 AM, Constantinos Neophytou ♎ wrote:
Hari, you might be able to easily answer this, but I'm posting this question here in case someone else knows as well...
I'm trying to typeset a document entirely in Greek. Document body, section/chapter headers, everything. I have TeXniscope installed, using teTeX (and relevant packages) installed through macports.
\usepackage[utf8]{inputenc} at the top produces errors for every character in the document, in the form of:
./untitled.tex:50: Package inputenc Error: Unicode char \u8:Δ not set up for us with LaTeX.
etc. I definitely came across this problem before, but I don't remember if I eventually solved it or if I found it couldn't be solved... Anything I can try to resolve this? (or typeset everything in... ugh.. M$ w*rd??)
Thanks,
Sorry I don't really have any ideas off the top of my head. But if you send me a sample file, I'll see what I can do. I personally never use anything but ASCII characters in my LaTeX documents. You might also want to ask around in the mactex users list. ( http:// www.esm.psu.edu/mac-tex/mailinglist.shtml, you should also read http://www.esm.psu.edu/mac-tex/ )
Constantinos
Haris Skiadas Department of Mathematics and Computer Science Hanover College