Re: help with missing font (Fedora 15)

2011-09-01 Thread Ranjan Maitra
On Thu, 1 Sep 2011 11:30:54 -0500 Paul Flo Williams
 wrote:

> On 09/01/2011 05:00 PM, Ranjan Maitra wrote:
> > On Thu, 1 Sep 2011 10:19:23 -0500 Paul Flo Williams
> >>
> >> What locale are you using?
> >
> > I am sorry that I am a little lost here, but how do I figure this out?
> > Or change the locale, if needed?
> 
> What is displayed when you type 'locale' in the shell (not in R)?
> 
>  From within R, you have the option of stopping "smart" quotes from 
> appearing, which might improve things. Try:
> 
> options(useFancyQuotes = FALSE)
> 
> See help() for more details.
> -- 

Thanks very much! Your comments of earlier set me thinking in a much
more focused manner, and I noticed that my character set on less
(LESSCHARSET) was set at latin1. I had borrowed my .bashrc from some
good Samaritan on the web in ancient times, and modified it to suit my
needs. I never understood what this part did so I let it be.

Removing this offending bit (and setting to nothing) fixed my problem.

I am very grateful to you for pointing me in the correct direction by
your thoughts. 

Many thanks again, and best wishes,
Ranjan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: help with missing font (Fedora 15)

2011-09-01 Thread Paul Flo Williams
On 09/01/2011 05:00 PM, Ranjan Maitra wrote:
> On Thu, 1 Sep 2011 10:19:23 -0500 Paul Flo Williams
>>
>> What locale are you using?
>
> I am sorry that I am a little lost here, but how do I figure this out?
> Or change the locale, if needed?

What is displayed when you type 'locale' in the shell (not in R)?

 From within R, you have the option of stopping "smart" quotes from 
appearing, which might improve things. Try:

options(useFancyQuotes = FALSE)

See help() for more details.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: help with missing font (Fedora 15)

2011-09-01 Thread Ranjan Maitra
On Thu, 1 Sep 2011 10:19:23 -0500 Paul Flo Williams
 wrote:

> On 09/01/2011 03:20 PM, Ranjan Maitra wrote:
> > On Thu, 1 Sep 2011 05:13:35 -0500 Paul Flo Williams
> >
> >> The font issue (seeing<80><98>lm<80><99>) is actually an encoding
> >> issue in the man page you're looking at. It appears that the document
> >> is using Windows curly quotes, which are not at their standard Unicode
> >> positions. This would be a bug in the package that supplies that man page.
> >
> > Possible. But many of these webpages have not changed. Is it possible
> > that previously, I this was not an issue because I was using the
> > Microsoft TrueType Fonts, rather than Liberation now?
> 
> Hmm, I got this bit wrong. Having checked the help page in question, I 
> can see that, on my box, the rendered help page (produced from HTML 
> source) seems to have the bytes:
> 
> E2 80 98 l m E2 80 99
> 
> which is the UTF-8 encoding for U+2018 lm U+2019, so ignore what I said 
> about Windows encodings.
> 
> If there was a locale discrepancy between R and your terminal, I'd 
> expect to see <80><98>lm<80><99> on the display, but your 
> display misses the , which leaves me more confused.
> 
> That *still* means it shouldn't have anything to do with your 
> particular font.
> 
> What locale are you using?

I am sorry that I am a little lost here, but how do I figure this out?
Or change the locale, if needed?

Many thanks again(!!) and best wishes,
Ranjan
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: help with missing font (Fedora 15)

2011-09-01 Thread Paul Flo Williams
On 09/01/2011 03:20 PM, Ranjan Maitra wrote:
> On Thu, 1 Sep 2011 05:13:35 -0500 Paul Flo Williams
>
>> The font issue (seeing<80><98>lm<80><99>) is actually an encoding
>> issue in the man page you're looking at. It appears that the document
>> is using Windows curly quotes, which are not at their standard Unicode
>> positions. This would be a bug in the package that supplies that man page.
>
> Possible. But many of these webpages have not changed. Is it possible
> that previously, I this was not an issue because I was using the
> Microsoft TrueType Fonts, rather than Liberation now?

Hmm, I got this bit wrong. Having checked the help page in question, I 
can see that, on my box, the rendered help page (produced from HTML 
source) seems to have the bytes:

E2 80 98 l m E2 80 99

which is the UTF-8 encoding for U+2018 lm U+2019, so ignore what I said 
about Windows encodings.

If there was a locale discrepancy between R and your terminal, I'd 
expect to see <80><98>lm<80><99> on the display, but your 
display misses the , which leaves me more confused.

That *still* means it shouldn't have anything to do with your 
particular font.

What locale are you using?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: help with missing font (Fedora 15)

2011-09-01 Thread Ranjan Maitra
On Thu, 1 Sep 2011 05:13:35 -0500 Paul Flo Williams
 wrote:

> On 09/01/2011 02:36 AM, Ranjan Maitra wrote:
> >
> > I am missing a font (for a while) but I can not figure out what it is.
> > Basically, I get something like this on my help pages when using R.:
> >
> >
> >1 lmpackage:statsR
> >Documentatio
> >1 n 2
> >3 Fitting Linear Models
> >4
> >5 Description:
> >6
> >7<80><98>lm<80><99>  is used to fit linear models.  It can be us
> >7 ed to carry out
> >8  regression, single stratum analysis of variance and analysis 
> > of
> >9  covariance (although<80><98>aov<80><99>  may provide a more co
> >9 nvenient interface
> >   10  for these).
> >   11
> > .
> >
> > Can I get rid of those line numbers? This did not happen for me
> > before, from what I recall.
> 
> You haven't said exactly what you typed to get this output, 

I used help(lm) within R.



but if you 
> have line numbers when using man, you've asked for line numbers from 
> the pager that man uses, called "less". I think that typing
> 
> echo $LESS
> 
> will show that you've got the "-N" option set. unset LESS to stop this 
> happening. If this isn't the case, then you may have the MANPAGER 
> variable set to something like "/usr/bin/less -N". man man for details.

Thanks very much for these detailed explanations! This really makes
sense. 

> The font issue (seeing <80><98>lm<80><99>) is actually an encoding 
> issue in the man page you're looking at. It appears that the document 
> is using Windows curly quotes, which are not at their standard Unicode 
> positions. This would be a bug in the package that supplies that man page.

Possible. But many of these webpages have not changed. Is it possible
that previously, I this was not an issue because I was using the
Microsoft TrueType Fonts, rather than Liberation now?

Thanks again for the help!

Best wishes,
Ranjan

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Re: help with missing font (Fedora 15)

2011-09-01 Thread Paul Flo Williams
On 09/01/2011 02:36 AM, Ranjan Maitra wrote:
>
> I am missing a font (for a while) but I can not figure out what it is.
> Basically, I get something like this on my help pages when using R.:
>
>
>1 lmpackage:statsR
>Documentatio
>1 n 2
>3 Fitting Linear Models
>4
>5 Description:
>6
>7<80><98>lm<80><99>  is used to fit linear models.  It can be us
>7 ed to carry out
>8  regression, single stratum analysis of variance and analysis of
>9  covariance (although<80><98>aov<80><99>  may provide a more co
>9 nvenient interface
>   10  for these).
>   11
> .
>
> Can I get rid of those line numbers? This did not happen for me
> before, from what I recall.

You haven't said exactly what you typed to get this output, but if you 
have line numbers when using man, you've asked for line numbers from 
the pager that man uses, called "less". I think that typing

echo $LESS

will show that you've got the "-N" option set. unset LESS to stop this 
happening. If this isn't the case, then you may have the MANPAGER 
variable set to something like "/usr/bin/less -N". man man for details.

The font issue (seeing <80><98>lm<80><99>) is actually an encoding 
issue in the man page you're looking at. It appears that the document 
is using Windows curly quotes, which are not at their standard Unicode 
positions. This would be a bug in the package that supplies that man page.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines