[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2011-04-21 Thread Launchpad Bug Tracker
[Expired for texlive-base (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: texlive-base (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/178173

Title:
  Font problems with .tex files and special (danish) characters

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2011-02-10 Thread Samium Gromoff
I think I'm hitting the same issue on an up-to-date installation of
10.10.

What I did, essentially, is:
  1. install emacs, org-mode, texlive-latex-base, texlive-latex-recommended
  2. create an org file with Cyrillic characters, in UTF-8
  3. request org-export to PDF

Here's what I'm getting for the very first cyrillic character, in the
Shell interaction emacs buffer:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
 restricted \write18 enabled.
entering extended mode
(/home/deepfire/src/pyzzle/doc/documentation.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-texlive/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size11.clo))
(/usr/share/texmf-texlive/tex/latex/base/inputenc.sty
(/usr/share/texmf-texlive/tex/latex/base/utf8.def
(/usr/share/texmf-texlive/tex/latex/base/t1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/ot1enc.dfu)
(/usr/share/texmf-texlive/tex/latex/base/omsenc.dfu)))
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
(/usr/share/texmf-texlive/tex/latex/tools/longtable.sty)
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifpdf.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifvtex.sty)
(/usr/share/texmf-texlive/tex/generic/ifxetex/ifxetex.sty)
(/usr/share/texmf-texlive/tex/latex/oberdiek/hycolor.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/xcolor-patch.sty))
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def)
(/usr/share/texmf-texlive/tex/generic/oberdiek/etexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/infwarerr.sty))
(/usr/share/texmf-texlive/tex/latex/latexconfig/hyperref.cfg)
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/kvsetkeys.sty))
Implicit mode ON; LaTeX internals redefined
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bitset.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/intcalc.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/bigintcalc.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/pdftexcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/ifluatex.sty)
(/usr/share/texmf-texlive/tex/generic/oberdiek/ltxcmds.sty
(/usr/share/texmf-texlive/tex/generic/oberdiek/atbegshi.sty))
*hyperref using default driver hpdftex*
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def) (./documentation.aux)
(/usr/share/texmf-texlive/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty))
(./documentation.out) (./documentation.out)

! Package inputenc Error: Unicode char \u8:Д not set up for use with
LaTeX.

See the inputenc package documentation for explanation.
Type  H return  for immediate help.
 ...  
  
l.17 
 

! Package inputenc Error: Unicode char \u8:о not set up for use with
LaTeX.

... etc

That's what 'locale' says:
deepfire@wintermute:~$ locale
LANG=en_US.utf8
LC_CTYPE=en_US.utf8
LC_NUMERIC=en_US.utf8
LC_TIME=en_US.utf8
LC_COLLATE=en_US.utf8
LC_MONETARY=en_US.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=en_US.utf8
LC_NAME=en_US.utf8
LC_ADDRESS=en_US.utf8
LC_TELEPHONE=en_US.utf8
LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=en_US.utf8
LC_ALL=

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/178173

Title:
  Font problems with .tex files and special (danish) characters

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2010-12-27 Thread Teej
Thank you for taking the time to report this bug and helping to make Ubuntu 
better. We are sorry that we do not always have the capacity to look at all 
reported bugs in a timely manner.
There have been many changes in Ubuntu since the time of the last comment and 
your problem may have been fixed with some of the updates. It would help us a 
lot if you could test the current Ubuntu version (10.10). If you can test it, 
and it is still an issue, we would appreciate if you could upload updated logs 
by running apport-collect bug #, and any other logs that are relevant for 
this particular issue.

** Changed in: texlive-base (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/178173

Title:
  Font problems with .tex files and special (danish) characters

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2010-04-16 Thread RomainWartel
Just to confirm what zpon said, using utf8x fixes the problem (Kile
2.0.83 on Karmic).

\usepackage[utf8x]{inputenc}

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2010-02-16 Thread zpon
I have a similar problem. I have been using LaTeX for years, but since my last 
reinstall of ubuntu, I haven't been able to get it working normally, even files 
that compiled with no problems on my old setup is now giving me the same error.
When the compiler gets to the \section in my file it get the following error:


! Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.

See the inputenc package documentation for explanation.
Type  H return  for immediate help.
 ...  
  
l.1 
   \section{Section title}


I am on Ubuntu 9.10, any help will be appreciated

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2010-02-16 Thread zpon
Update:

I just changed utf8 to utf8x in my preamble file, and now everything
seems to working great again

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2010-02-05 Thread richard laurenson
I am using Lyx which uses texlive, on Ubuntu 9.10. Locality Rome, but US
English by default.

I have one file that compiles Fine... Typed everything myself in Lyx
and it has for language setting UNICODE (ucs -Extended) (utf8x)


Another file, Which I wrote in OO and copied pasted gives the error 
Package inputenc Error: Unicode char \u8:  not set up for use with LaTeX.
 
I exported from OO to .txt  and imported after replacing all the  with plain 
asci in gedit and got this error
Could not find LaTeX command for character '⁠' (code point 0x2060)

This is under UNICODE UTF8 or the extended option above

If I paste the offending text into the working file I get this error
Package ucs Error: Unknown Unicode character 8288 = U+2060,
Description
 by step,”2⁠
  There was no regular shipping service into this part of
Unicode character 8288 = U+2060:
WORD JOINER
Character is not defined in uni-*.def files.
Enter I!RET to define the glyph.


Now For me this is not critical, as I am only playing... but it is curious.
There is this post maybee worth looking at  on topic  
http://ubuntuforums.org/showthread.php?t=669228

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2010-02-05 Thread richard laurenson
Edit:

Hmm... there seems to be a number of non printing characters, field
placings from footnotes or something that have survived as artifacts
when I copy and pasted them I wonder if these are the culprits.


YES they are...
Copy Paste from OO into Lyx, and cpy paste Lyx to OO. Removed all artifacts and 
it compiles nicely.
Cannot see these artifacts in any of my txt editors nor Lyx, only OO as grey 
shades and in MS word07 (wine)  as extra wide spaces when view all characters 
is on, and is not visible at all with Abiword.

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-12-02 Thread Romain Janvier
Confirmed.

I use Ubuntu 9.10 / LANG=fr_FR.UTF-8 with correct header 
(\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}) in my *.tex files and i've got the inputenc error 
(! Package inputenc Error: Unicode char \u8:° not set up for use with LaTeX) 
using texlive.

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-11-09 Thread ferrazrafael
if there is something to do, more info to provide, I will be glade to
help

thanks guys

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-11-08 Thread ferrazrafael
Im having a similar problem in ubuntu 9.10, when I import some .tex
files from windows, generated in texmaker as well, some character like
ã and ç seems to be deleted, but when I put it again, tex live
process them incorrectly puting some other characters instead. I im
using ubuntu is portuguese from brazil, locale pt_br_utf8 and
pt_pt_utf8.


** Changed in: texlive-base (Ubuntu)
   Status: Invalid = Confirmed

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-11-08 Thread Teej
Thanks for updating us with this. Can you confirm what version of
texlive you are using please? Thank you.

** Changed in: texlive-base (Ubuntu)
   Importance: Undecided = Medium

** Changed in: texlive-base (Ubuntu)
   Status: Confirmed = Incomplete

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-11-08 Thread ferrazrafael
im using the last one in 9.10, is texlive 2007.dfsg.2-4ubuntu1

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-11-08 Thread Teej
Great. Thank you for the info, marking Confirmed.

** Changed in: texlive-base (Ubuntu)
   Status: Incomplete = Confirmed

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2009-11-05 Thread Teej
Inactive account, just under 2 years since last comment, and no response from 
submitter.
Closing bug report.

** Changed in: texlive-base (Ubuntu)
   Status: New = Invalid

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-24 Thread Christian Dalbjerg
Dear Norbert

Thanks alot for all your work, its appreciated! When entering locale in ubuntu 
7.10 I get LANG=en_DK.UTF-8, which causes me no problems since kile is set to 
use encoding KDEDefault, which im guessing is refering to what =DK.UTF-8 
is. But when entering locale in ubuntu 8.04 I get LANG=C. Is it then correctly 
understood that the problem arrises because kile is trying to open the files as 
if they were encoded in whatever LANG=C means? And what to do about it? Im not 
sure, but I think the the bug report should be filed against ubuntu in general? 
I mean, it would be nice if kile could autodetect the encoding, but it isn't 
really a bug in kile, more like a feature request. 
I have installed ubuntu 7.10 and 8.04 the exact same way so I don't understand 
why the LANG settings are different. It would be nice if this was changed back 
before final release.
In the meanwhile, which one of the two options do you recommend? The first one 
seems the easiest, is there any reason to prefer the second?

Regards
Christian

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-24 Thread Norbert Preining
Dear Christian,

On Mo, 24 Dez 2007, Christian Dalbjerg wrote:
 Thanks alot for all your work, its appreciated! When entering locale
 in ubuntu 7.10 I get LANG=en_DK.UTF-8, which causes me no problems
 since kile is set to use encoding KDEDefault, which im guessing is
 refering to what =DK.UTF-8 is.

more or less, =UTF-8, locales consist of
aa[_BB].
aa ... 2 letter language code
BB ... 2(?) letter country code
the _BB is not necessary
 ... character encoding

So that means that your are working with English language in Danemark,
with UTF-8 encoding.

 But when entering locale in ubuntu 8.04 I get LANG=C. Is it then

Ups, well, then everything is though to be in ASCII.

 correctly understood that the problem arrises because kile is trying
 to open the files as if they were encoded in whatever LANG=C means?

ASCII

 And what to do about it? Im not sure, but I think the the bug report
 should be filed against ubuntu in general?

See below ...

 I mean, it would be nice if kile could autodetect the encoding, but it
 isn't really a bug in kile, more like a feature request. 

Right, feature request.

 I have installed ubuntu 7.10 and 8.04 the exact same way so I don't
 understand why the LANG settings are different. It would be nice if
 this was changed back before final release.

Sorry I cannot help you here since I am Debian maintainer and only
helping out on the Ubuntu side a bit. I don't know nothing about the
internals of the installer and why the LOCALE settings weren't done
right. But it is definitely worth a bug report.

 In the meanwhile, which one of the two options do you recommend?
 The first one seems the easiest, is there any reason to prefer the second?

I am not sure about the way to fix it on Ubuntu, but I would suggest:
sudo /usr/sbin/dpkg-reconfigure -plow locales
then select the en_DK.UTF-8 and maybe some others you might have use
for. And AFAIR at the end it should ask you about the default locale for
your system. After that restarting the computer (or restarting the
display manager gdm/kdm/whatever-dm) should give you the right
setting. If not, there might be something saved in your local
configuration files in ~/.?something.

But that is not for me to debug.

I hope that helped a bit

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
And wow! Hey! What's this thing coming towards me very
fast? Very very fast. So big and flat and round, it needs a
big wide sounding word like... ow... ound... round...
ground! That's it! That's a good name - ground!
I wonder if it will be friends with me?
 --- For the sperm whale, it wasn't.
 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-23 Thread Christian Dalbjerg
Dear Norbert

I am sorry for any in inconvenience I have caused with this misplaced 
bugreport. I am aware that the problem is not a 'real' bug in 
kile/texmaker/TeXLive. Still this should not happen, and I suppose that it is 
due to the general setup of the default ubuntu installation of TeXLive. I have 
attaced a  couple of files for you to look at.
By the way, I know almost nothing of character sets and the like. What I know 
is that i can't use my .tex files on some other distributions or on windows, 
and seemingly not on the newest ubuntu either! I thought .tex files were just 
plain ASCII files, and so there should be no problems with compatibilty between 
different systems and platforms. I suppose all this business about 
input-encoding and character sets means I am wrong. How does one ensure ones 
.tex files to be completely adherent to standards and compatible with different 
systems, now and in the future? I should like to be able to read and edit the 
same files in 5 years from now, and to take my files back and forth between 
university my home system without problems of this sort. Could you perhaps 
point me in the direction of ressources which will be able to answer questions 
of this sort, and of character encoding in general? 

Best regards, and a merry christmas to you, 
Christian

** Attachment added: an2opg5.tex
   http://launchpadlibrarian.net/11042500/an2opg5.tex

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-23 Thread Christian Dalbjerg
Here is another file

** Attachment added: elmtalopg2.tex
   http://launchpadlibrarian.net/11042502/elmtalopg2.tex

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-23 Thread Norbert Preining
Hi Christian,

I checked both files and:
- both files are saved in UTF8 encoding
- both files compile fine without any warning on my system

Can you explain what problems you had with these files?

Is it only that kile and texmaker cannot work with them or do you have
problems compiling the files with latex?

On So, 23 Dez 2007, Christian Dalbjerg wrote:
 By the way, I know almost nothing of character sets and the like.
 What I know is that i can't use my .tex files on some other distributions
 or on windows, and seemingly not on the newest ubuntu either! I thought
 .tex files were just plain ASCII files, and so there should be no
 problems with compatibilty between different systems and platforms. 

You CAN use plain ascii files, but if you want to key in characters of
your national script (or mine, or anything else which needs more then
ASCII) you have two options:
- use tex commands for your symbols like \ae \o etc
- use different character encodings

I cannot explain the full details, that would be too long. But your
files are saved in UTF8 which is an international standard and work
quite nice with latex. So no problems here.

As I said, I also could compile the file on my system, and I am sure
that it will work on Windows, too.

So please again, what are the problems you have with these two files?


All the best and a peaceful christmas

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
KINGSTON BAGPUISE (n.)
A forty-year-old sixteen-stone man trying to commit suicide by
jogging.
--- Douglas Adams, The Meaning of Liff

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-23 Thread Christian Dalbjerg
Dear Norbert

Well, my problem is as I described it in the first report: Using ubuntu 8.04 I 
basically have two choices: 
1. Open the files with kile; kile shows æ instead of 'æ', ø instead of 'ø' 
and Ã¥ instead of 'å'. I can compile the files and get the correct output, but 
the .tex file is messed up with strange symbols. This is of course not 
acceptable, as I work with these files on a daily basis. 
2. Open the .tex file with gedit, and copy the code into kile. Now the letters 
display correctly in the editor, but I can't compile the files: I am getting 
errors like the ones posted in the original report.
Of course the problem is not only with the two files I posted here, it applies 
to all my .tex files. There is no problem using ubuntu 7.10, but I would like 
to be able to use my .tex files with the new ubuntu, once released. Also, I 
have experienced the same problem with a stable release of opensuse. 
When you open the files in your editor, do you see the letters displayed 
probably?

I am sorry if it was (is) not clear enough formulated. Please feel free
to ask further questions.

Christian

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 178173] Re: Font problems with .tex files and special (danish) characters

2007-12-23 Thread Norbert Preining
Hi Christian,

On So, 23 Dez 2007, Christian Dalbjerg wrote:
 1. Open the files with kile; kile shows Ã?? instead of 'æ', Ã?? instead of 
 'ø' and Ã¥ instead of 'å'. I can compile the files and get the correct 
 output, but the .tex file is messed up with strange symbols. This is of 
 course not acceptable, as I work with these files on a daily basis. 

Ok, I installed kile and see what is going on. Your ENVIRONMENT is not
set up for UTF8 but for some national encoding, if you enter
locale
on the cmd line of a shell you will see something like
LANG=xx.Y
where the Y is the encoding. Maybe you have as Y
ISO-8859-15
which is ok.

BUT: Your tex files are encoded in utf8. Kile seems to have the problem
that it cannot autodetect the encoding of files automatically.

Now kile opens your file as ISO-8859-15 encoding so that there appear
that strange double letters (because 'æ' is encoded as 2 bytes in utf8).

 2. Open the .tex file with gedit, and copy the code into kile. Now the
letters display correctly in the editor, but I can't compile the files:
I am getting errors like the ones posted in the original report.

gedit CAN auto-detect that encoding so opens your tex files in utf8 and
shows you the right characters. Now when you copy from gedit to kile you
enter a 'æ' in national encoding into the kile file. Now if you save
that and compile it with latex it breaks because you have
\usepackage[utf8]{inputenc}
and the 'æ' in your local encoding is NOT utf8!!


So all this is to be expected, but the problem that kile is too stupid
to autodetect encodings. Maybe this could be filed as a bug report
against kile.

You have the following options, depending on HOW you want to save your
files:

1) you want to use utf8 as default encoding for your tex files
 
  tell kile that files should always be treated as utf8: 
  Settings - Configure Kile
 Editor - Open/Save
   change Encoding to Unicode ( utf8 )

   from now on all files opened in kile will be treated as utf8
   inputenc. So don't forget theusepackage line as above.

2) you switch to iso-8859-15 as default encoding for your tex files

   leave kile alone
   leave gedit alone
   edit your tex files to include
 \usepackage[latin9]{inputenc}   % or latin1
   You should recode your tex files to latin9 with
 recode utf8..recode file.tex
   so that your 'æ' gets translated from utf8 to latin1/9.


I hope that all this is a bit clearer now.

Ah yes, why you did have problems on other computers: You copied the 'æ'
from gedit into kile. kile saved it in your national encoding, but the
tex file specifies inputencoding utf8, thus it breaks on other systems,
too. 

So to sum it up: The real bug is with kile which cannot autodetect the
encoding of files.

Best wishes

Norbert

---
Dr. Norbert Preining [EMAIL PROTECTED]Vienna University of Technology
Debian Developer [EMAIL PROTECTED] Debian TeX Group
gpg DSA: 0x09C5B094  fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
---
FORDSix pints of bitter. And quickly please, the
world's about to end.
BARMAN  Oh yes, sir? Nice weather for it.
 --- Douglas Adams, The Hitchhikers Guide to the Galaxy

-- 
Font problems with .tex files and special (danish) characters
https://bugs.launchpad.net/bugs/178173
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs