Change default unit for column width

2009-04-17 Thread A B
Hi.
Is it possible to change the default unit for column width from inch
to mm (or something else?)


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 4:53:12 pm A B wrote:
 Hi.
 Is it possible to change the default unit for column width from inch
 to mm (or something else?)

You don't say what OS.  I am running Mandriva Linux in Australia, which is 
metric.  My paper is A4 and my measurements (all defaults at the moment) are 
shown in cm.  You may have whatever is the default for your computer.  Under 
Windows, it is Regional Settings.

HTH,

Doug.




Re: Change default unit for column width

2009-04-17 Thread A B
I use Linux.

2009/4/17 Doug Laidlaw laidl...@hotkey.net.au:
 On Friday 17 April 2009 4:53:12 pm A B wrote:
 Hi.
 Is it possible to change the default unit for column width from inch
 to mm (or something else?)

 You don't say what OS.  I am running Mandriva Linux in Australia, which is
 metric.  My paper is A4 and my measurements (all defaults at the moment) are
 shown in cm.  You may have whatever is the default for your computer.  Under
 Windows, it is Regional Settings.

 HTH,

 Doug.





Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
What is your locale set at?  My /etc/sysconfig/i18n has the line 

LC_MEASUREMENT=en_AU.UTF-8

You should be able to set your locale with administrative tools, or with KDE.

If you are in the States, and want to keep inches for everything else, I don't 
know what you could do.  You may need to compile Lyx (or Latex) specially.

Doug.

On Friday 17 April 2009 5:27:09 pm A B wrote:
 I use Linux.

 2009/4/17 Doug Laidlaw laidl...@hotkey.net.au:
  On Friday 17 April 2009 4:53:12 pm A B wrote:
  Hi.
  Is it possible to change the default unit for column width from inch
  to mm (or something else?)
 
  You don't say what OS.  I am running Mandriva Linux in Australia, which
  is metric.  My paper is A4 and my measurements (all defaults at the
  moment) are shown in cm.  You may have whatever is the default for your
  computer.  Under Windows, it is Regional Settings.
 
  HTH,
 
  Doug.




Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
A B gentosa...@gmail.com writes:

 Hi.
 Is it possible to change the default unit for column width from inch
 to mm (or something else?)

The default width is cm if you use a 'metric' paper size and inch if you
use a paper size from weird countries, like usletter or legal.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 6:27:37 pm Jean-Marc Lasgouttes wrote:
 A B gentosa...@gmail.com writes:
  Hi.
  Is it possible to change the default unit for column width from inch
  to mm (or something else?)

 The default width is cm if you use a 'metric' paper size and inch if you
 use a paper size from weird countries, like usletter or legal.

 JMarc

You've got more courage than I have.  I see that the Universities in the U.S. 
use A4 for convention papers, etc. that need to be exchanged with 
universities in the real - oops, ISO world.  Ideally, those users need both.

I thhought that you might be saying that if I choose US letter, I will get 
inches.  It didn't happen -at least, not without exiting the program, which I 
didn't try.

Doug.


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Doug Laidlaw laidl...@hotkey.net.au writes:
 You've got more courage than I have.  I see that the Universities in the U.S. 
 use A4 for convention papers, etc. that need to be exchanged with 
 universities in the real - oops, ISO world.  Ideally, those users need both.

We had to choose something, actually. But the current solution will
probably be replaced by a Metric/Imperial toggle pref.

 I thhought that you might be saying that if I choose US letter, I will get 
 inches.  It didn't happen -at least, not without exiting the program, which I 
 didn't try.

Actually I was wrong. It depends on the default paper size that one
selects in Preferences.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
  You've got more courage than I have.  I see that the Universities in the
  U.S. use A4 for convention papers, etc. that need to be exchanged with
  universities in the real - oops, ISO world.  Ideally, those users need
  both.

 We had to choose something, actually. But the current solution will
 probably be replaced by a Metric/Imperial toggle pref.

Aren't there some locale settings we can use?

Jürgen


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller sp...@lyx.org writes:

 Jean-Marc Lasgouttes wrote:
  You've got more courage than I have.  I see that the Universities in the
  U.S. use A4 for convention papers, etc. that need to be exchanged with
  universities in the real - oops, ISO world.  Ideally, those users need
  both.

 We had to choose something, actually. But the current solution will
 probably be replaced by a Metric/Imperial toggle pref.

 Aren't there some locale settings we can use?

There is LC_PAPER and LC_MEASUREMENT, but I do not know how to use them.

Also, since Qt 4.4, QLocale has a measurementSystem() method. We could
maybe use that when available.

JMarc


Change default unit for column width

2009-04-17 Thread A B
Hi.
Is it possible to change the default unit for column width from inch
to mm (or something else?)


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 4:53:12 pm A B wrote:
 Hi.
 Is it possible to change the default unit for column width from inch
 to mm (or something else?)

You don't say what OS.  I am running Mandriva Linux in Australia, which is 
metric.  My paper is A4 and my measurements (all defaults at the moment) are 
shown in cm.  You may have whatever is the default for your computer.  Under 
Windows, it is Regional Settings.

HTH,

Doug.




Re: Change default unit for column width

2009-04-17 Thread A B
I use Linux.

2009/4/17 Doug Laidlaw laidl...@hotkey.net.au:
 On Friday 17 April 2009 4:53:12 pm A B wrote:
 Hi.
 Is it possible to change the default unit for column width from inch
 to mm (or something else?)

 You don't say what OS.  I am running Mandriva Linux in Australia, which is
 metric.  My paper is A4 and my measurements (all defaults at the moment) are
 shown in cm.  You may have whatever is the default for your computer.  Under
 Windows, it is Regional Settings.

 HTH,

 Doug.





Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
What is your locale set at?  My /etc/sysconfig/i18n has the line 

LC_MEASUREMENT=en_AU.UTF-8

You should be able to set your locale with administrative tools, or with KDE.

If you are in the States, and want to keep inches for everything else, I don't 
know what you could do.  You may need to compile Lyx (or Latex) specially.

Doug.

On Friday 17 April 2009 5:27:09 pm A B wrote:
 I use Linux.

 2009/4/17 Doug Laidlaw laidl...@hotkey.net.au:
  On Friday 17 April 2009 4:53:12 pm A B wrote:
  Hi.
  Is it possible to change the default unit for column width from inch
  to mm (or something else?)
 
  You don't say what OS.  I am running Mandriva Linux in Australia, which
  is metric.  My paper is A4 and my measurements (all defaults at the
  moment) are shown in cm.  You may have whatever is the default for your
  computer.  Under Windows, it is Regional Settings.
 
  HTH,
 
  Doug.




Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
A B gentosa...@gmail.com writes:

 Hi.
 Is it possible to change the default unit for column width from inch
 to mm (or something else?)

The default width is cm if you use a 'metric' paper size and inch if you
use a paper size from weird countries, like usletter or legal.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 6:27:37 pm Jean-Marc Lasgouttes wrote:
 A B gentosa...@gmail.com writes:
  Hi.
  Is it possible to change the default unit for column width from inch
  to mm (or something else?)

 The default width is cm if you use a 'metric' paper size and inch if you
 use a paper size from weird countries, like usletter or legal.

 JMarc

You've got more courage than I have.  I see that the Universities in the U.S. 
use A4 for convention papers, etc. that need to be exchanged with 
universities in the real - oops, ISO world.  Ideally, those users need both.

I thhought that you might be saying that if I choose US letter, I will get 
inches.  It didn't happen -at least, not without exiting the program, which I 
didn't try.

Doug.


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Doug Laidlaw laidl...@hotkey.net.au writes:
 You've got more courage than I have.  I see that the Universities in the U.S. 
 use A4 for convention papers, etc. that need to be exchanged with 
 universities in the real - oops, ISO world.  Ideally, those users need both.

We had to choose something, actually. But the current solution will
probably be replaced by a Metric/Imperial toggle pref.

 I thhought that you might be saying that if I choose US letter, I will get 
 inches.  It didn't happen -at least, not without exiting the program, which I 
 didn't try.

Actually I was wrong. It depends on the default paper size that one
selects in Preferences.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
  You've got more courage than I have.  I see that the Universities in the
  U.S. use A4 for convention papers, etc. that need to be exchanged with
  universities in the real - oops, ISO world.  Ideally, those users need
  both.

 We had to choose something, actually. But the current solution will
 probably be replaced by a Metric/Imperial toggle pref.

Aren't there some locale settings we can use?

Jürgen


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller sp...@lyx.org writes:

 Jean-Marc Lasgouttes wrote:
  You've got more courage than I have.  I see that the Universities in the
  U.S. use A4 for convention papers, etc. that need to be exchanged with
  universities in the real - oops, ISO world.  Ideally, those users need
  both.

 We had to choose something, actually. But the current solution will
 probably be replaced by a Metric/Imperial toggle pref.

 Aren't there some locale settings we can use?

There is LC_PAPER and LC_MEASUREMENT, but I do not know how to use them.

Also, since Qt 4.4, QLocale has a measurementSystem() method. We could
maybe use that when available.

JMarc


Change default unit for column width

2009-04-17 Thread A B
Hi.
Is it possible to change the default unit for column width from inch
to mm (or something else?)


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 4:53:12 pm A B wrote:
> Hi.
> Is it possible to change the default unit for column width from inch
> to mm (or something else?)

You don't say what OS.  I am running Mandriva Linux in Australia, which is 
metric.  My paper is A4 and my measurements (all defaults at the moment) are 
shown in cm.  You may have whatever is the default for your computer.  Under 
Windows, it is "Regional Settings."

HTH,

Doug.




Re: Change default unit for column width

2009-04-17 Thread A B
I use Linux.

2009/4/17 Doug Laidlaw <laidl...@hotkey.net.au>:
> On Friday 17 April 2009 4:53:12 pm A B wrote:
>> Hi.
>> Is it possible to change the default unit for column width from inch
>> to mm (or something else?)
>
> You don't say what OS.  I am running Mandriva Linux in Australia, which is
> metric.  My paper is A4 and my measurements (all defaults at the moment) are
> shown in cm.  You may have whatever is the default for your computer.  Under
> Windows, it is "Regional Settings."
>
> HTH,
>
> Doug.
>
>
>


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
What is your locale set at?  My /etc/sysconfig/i18n has the line 

LC_MEASUREMENT=en_AU.UTF-8

You should be able to set your locale with administrative tools, or with KDE.

If you are in the States, and want to keep inches for everything else, I don't 
know what you could do.  You may need to compile Lyx (or Latex) specially.

Doug.

On Friday 17 April 2009 5:27:09 pm A B wrote:
> I use Linux.
>
> 2009/4/17 Doug Laidlaw <laidl...@hotkey.net.au>:
> > On Friday 17 April 2009 4:53:12 pm A B wrote:
> >> Hi.
> >> Is it possible to change the default unit for column width from inch
> >> to mm (or something else?)
> >
> > You don't say what OS.  I am running Mandriva Linux in Australia, which
> > is metric.  My paper is A4 and my measurements (all defaults at the
> > moment) are shown in cm.  You may have whatever is the default for your
> > computer.  Under Windows, it is "Regional Settings."
> >
> > HTH,
> >
> > Doug.




Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
A B <gentosa...@gmail.com> writes:

> Hi.
> Is it possible to change the default unit for column width from inch
> to mm (or something else?)

The default width is cm if you use a 'metric' paper size and inch if you
use a paper size from weird countries, like usletter or legal.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Doug Laidlaw
On Friday 17 April 2009 6:27:37 pm Jean-Marc Lasgouttes wrote:
> A B <gentosa...@gmail.com> writes:
> > Hi.
> > Is it possible to change the default unit for column width from inch
> > to mm (or something else?)
>
> The default width is cm if you use a 'metric' paper size and inch if you
> use a paper size from weird countries, like usletter or legal.
>
> JMarc

You've got more courage than I have.  I see that the Universities in the U.S. 
use A4 for convention papers, etc. that need to be exchanged with 
universities in the real - oops, ISO world.  Ideally, those users need both.

I thhought that you might be saying that if I choose US letter, I will get 
inches.  It didn't happen -at least, not without exiting the program, which I 
didn't try.

Doug.


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Doug Laidlaw  writes:
> You've got more courage than I have.  I see that the Universities in the U.S. 
> use A4 for convention papers, etc. that need to be exchanged with 
> universities in the real - oops, ISO world.  Ideally, those users need both.

We had to choose something, actually. But the current solution will
probably be replaced by a Metric/Imperial toggle pref.

> I thhought that you might be saying that if I choose US letter, I will get 
> inches.  It didn't happen -at least, not without exiting the program, which I 
> didn't try.

Actually I was wrong. It depends on the default paper size that one
selects in Preferences.

JMarc


Re: Change default unit for column width

2009-04-17 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote:
> > You've got more courage than I have.  I see that the Universities in the
> > U.S. use A4 for convention papers, etc. that need to be exchanged with
> > universities in the real - oops, ISO world.  Ideally, those users need
> > both.
>
> We had to choose something, actually. But the current solution will
> probably be replaced by a Metric/Imperial toggle pref.

Aren't there some locale settings we can use?

Jürgen


Re: Change default unit for column width

2009-04-17 Thread Jean-Marc Lasgouttes
Jürgen Spitzmüller  writes:

> Jean-Marc Lasgouttes wrote:
>> > You've got more courage than I have.  I see that the Universities in the
>> > U.S. use A4 for convention papers, etc. that need to be exchanged with
>> > universities in the real - oops, ISO world.  Ideally, those users need
>> > both.
>>
>> We had to choose something, actually. But the current solution will
>> probably be replaced by a Metric/Imperial toggle pref.
>
> Aren't there some locale settings we can use?

There is LC_PAPER and LC_MEASUREMENT, but I do not know how to use them.

Also, since Qt 4.4, QLocale has a measurementSystem() method. We could
maybe use that when available.

JMarc