From charlie at stat.umn.edu  Tue Aug 23 01:57:53 2005
From: charlie at stat.umn.edu (Charles Geyer)
Date: Mon, 22 Aug 2005 18:57:53 -0500
Subject: [Rd] bizarre signif stars in Sweave latex
In-Reply-To: <Pine.LNX.4.61.0508220737470.31614@gannet.stats>
References: <mailman.9.1124618400.6983.r-devel@r-project.org>
	<20050821235504.GB32730@stat.umn.edu>
	<Pine.LNX.4.61.0508220737470.31614@gannet.stats>
Message-ID: <20050822235753.GA13762@stat.umn.edu>

On Mon, Aug 22, 2005 at 07:42:21AM +0100, Prof Brian Ripley wrote:
> What locale is this?
> 
> My guess is that this is a UTF-8 locale.

Yes.

    > Sys.getlocale()
    [1] "LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"

> If so, you need to tell latex 
> the input is in UTF-8, which you can do in the current LaTeX release
> (you need 2003/12/01).  As I recall you do this by
> 
> \usepackage[utf8]{inputenc}

Right.  This works.

Silly me.  I fell like the drunk looking for his keys under the lamppost.
Here I was looking for a solution in the R docs, when I should have been
looking in the LaTeX Companion.
-- 
Charles Geyer
Professor, School of Statistics
University of Minnesota
charlie at stat.umn.edu



[Rd] bizarre signif stars in Sweave latex
Charles Geyer