πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

7 total messages Started by Adam Funk Thu, 30 Jun 2005 14:51
Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12015
Author: Adam Funk
Date: Thu, 30 Jun 2005 14:51
22 lines
1862 bytes
Until now I've always edited my LaTeX documents with Emacs using the
ISO-Latin-1 encoding.  Recently I needed to put the "ΕΎ" (z with an
inverted circumflex, in case that doesn't show up correctly) in a
BibTeX entry so I decided to try switching the document (not very big
or complicated) to UTF8.

I changed
  \usepackage[latin1]{inputenc}
to
  \usepackage{ucs}
  \usepackage[utf8x]{inputenc}
in the preamble, loaded each file, set Emacs to save in UTF8, and
re-saved each file.  It worked like magic.

But before I do this to my thesis, I'd like to know if it's really that
simple or if there are any pitfalls?  If it matters, my thesis contains
a lot of occurrences of Swedish special characters in \text{...}
commands in math mode.

-- 
Thanks,
Adam
Re: Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12016
Author: Pascal Bourguignon
Date: Thu, 30 Jun 2005 18:44
30 lines
2063 bytes
"Adam Funk" <a24061@yahoo.com> writes:

> Until now I've always edited my LaTeX documents with Emacs using the
> ISO-Latin-1 encoding.  Recently I needed to put the "ž" (z with an
> inverted circumflex, in case that doesn't show up correctly) in a
> BibTeX entry so I decided to try switching the document (not very big
> or complicated) to UTF8.
>
> I changed
>   \usepackage[latin1]{inputenc}
> to
>   \usepackage{ucs}
>   \usepackage[utf8x]{inputenc}
> in the preamble, loaded each file, set Emacs to save in UTF8, and
> re-saved each file.  It worked like magic.
>
> But before I do this to my thesis, I'd like to know if it's really that
> simple or if there are any pitfalls?  If it matters, my thesis contains
> a lot of occurrences of Swedish special characters in \text{...}
> commands in math mode.

Not at all.  Before you do this on your thesis, you want to learn
about the command cp(1).


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
You never feed me.
Perhaps I'll sleep on your face.
That will sure show you.
Re: Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12017
Author: Markus Kuhn
Date: Fri, 01 Jul 2005 08:00
22 lines
1633 bytes
Pascal Bourguignon <pjb@informatimago.com> writes:
|> > I changed
|> >   \usepackage[latin1]{inputenc}
|> > to
|> >   \usepackage{ucs}
|> >   \usepackage[utf8x]{inputenc}
|> > in the preamble, loaded each file, set Emacs to save in UTF8, and
|> > re-saved each file.  It worked like magic.

As long as you use only a ISO 8859 subset of Unicode, using the
complete ucs package is overkill. A simple

  \usepackage[utf8]{inputenc}

will suffice instead on any recent LaTeX installation (e.g., tetex-3.0)
to handle UTF-8 input files. (By the way, it is UTF-8, not UTF8).

Markus

-- 
Markus Kuhn, Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain
Re: Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12018
Author: Adam Funk
Date: Fri, 01 Jul 2005 08:23
13 lines
1553 bytes
Pascal Bourguignon wrote:

> > But before I do this to my thesis, I'd like to know if it's really that
> > simple or if there are any pitfalls?  If it matters, my thesis contains
> > a lot of occurrences of Swedish special characters in \text{...}
> > commands in math mode.
>
> Not at all.  Before you do this on your thesis, you want to learn
> about the command cp(1).

:-)

It's on CVS.
Re: Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12019
Author: Adam Funk
Date: Fri, 01 Jul 2005 08:26
18 lines
1680 bytes
Markus Kuhn wrote:

> As long as you use only a ISO 8859 subset of Unicode, using the
> complete ucs package is overkill. A simple
>
>   \usepackage[utf8]{inputenc}
>
> will suffice instead on any recent LaTeX installation (e.g., tetex-3.0)
> to handle UTF-8 input files. (By the way, it is UTF-8, not UTF8).

I'm only using Western European characters and the occasional Eastern
European one, so I'll try it.

I'll try to remember "[utf8]" but "UTF-8".

-- 
Thanks,
Adam
Re: Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12020
Author: Robin Fairbairns
Date: Fri, 01 Jul 2005 08:57
17 lines
1602 bytes
 "Adam Funk" <a24061@yahoo.com> writes:
>Pascal Bourguignon wrote:
>> > But before I do this to my thesis, I'd like to know if it's really that
>> > simple or if there are any pitfalls?  If it matters, my thesis contains
>> > a lot of occurrences of Swedish special characters in \text{...}
>> > commands in math mode.
>>
>> Not at all.  Before you do this on your thesis, you want to learn
>> about the command cp(1).
>
>:-)
>
>It's on CVS.

oh, goodie.  can we all contribute?
-- 
Robin (http://www.tex.ac.uk/faq) Fairbairns, Cambridge
Re: Pitfalls of switching to {ucs} and [utf8x]{inputenc} ?
#12014
Author: Adam Funk
Date: Fri, 01 Jul 2005 18:20
21 lines
1854 bytes
On Friday 01 July 2005 09:57, Robin Fairbairns wrote:

>  "Adam Funk" <a24061@yahoo.com> writes:
>>Pascal Bourguignon wrote:
>>> > But before I do this to my thesis, I'd like to know if it's really
>>> > that
>>> > simple or if there are any pitfalls?  If it matters, my thesis
>>> > contains a lot of occurrences of Swedish special characters in
>>> > \text{...} commands in math mode.
>>>
>>> Not at all.  Before you do this on your thesis, you want to learn
>>> about the command cp(1).
>>
>>:-)
>>
>>It's on CVS.
> 
> oh, goodie.  can we all contribute?

Depends on how many corrections I have to make!
;-)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads