Re: feature request: open a new file in lyx from the shell

2002-01-18 Thread Jean-Marc Lasgouttes
> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes: Dekel> On Fri, Jan 18, 2002 at 10:19:32AM +0100, Jean-Marc Lasgouttes Dekel> wrote: >> > "matthew" == matthew arnison <[EMAIL PROTECTED]> writes: >> matthew> I don't understand that logic. If you have specified a matthew> scalable font

Re: feature request: open a new file in lyx from the shell

2002-01-18 Thread Dekel Tsur
On Fri, Jan 18, 2002 at 10:19:32AM +0100, Jean-Marc Lasgouttes wrote: > > "matthew" == matthew arnison <[EMAIL PROTECTED]> writes: > > matthew> I don't understand that logic. If you have specified a > matthew> scalable font in the box above, why do you need another > matthew> button to confir

Re: feature request: open a new file in lyx from the shell

2002-01-18 Thread Jean-Marc Lasgouttes
> "matthew" == matthew arnison <[EMAIL PROTECTED]> writes: matthew> I don't understand that logic. If you have specified a matthew> scalable font in the box above, why do you need another matthew> button to confirm it? It's confusing. I can see why you might matthew> want it, but in practice,

Re: feature request: open a new file in lyx from the shell

2002-01-18 Thread John Levon
On Fri, Jan 18, 2002 at 03:09:12PM +1100, matthew arnison wrote: > If you think you do still need this second option, wouldn't it be clearer > to split this logic into two separate buttons? Yes IMHO > I mean the whole dialog box needs reworking with a proper font selector, > but that's presumab

Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread matthew arnison
On 17 Jan 2002, Jean-Marc Lasgouttes wrote: > > "matthew" == matthew arnison <[EMAIL PROTECTED]> writes: > > matthew> Then you could ship lyx with a little script that opens new > matthew> documents in a running lyx from the command line. You could > matthew> call it lyxopen or something.

Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread Jules Bean
On Thu, Jan 17, 2002 at 06:47:50AM +, John Levon wrote: > > > command echo "LYXCMD:lyxopen:file-open:$fullpath" \ > > hmm do we require fullpath then ? Even you you don't, the current working directory of the LyX program is unlikely to be that of the shell script... Jules

Re: [PATCH] Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread John Levon
On Thu, Jan 17, 2002 at 11:03:55AM +0100, Jean-Marc Lasgouttes wrote: > But it does not tell people that if they check this they will not be > able to get their nifty truetype fonts to work. And that's a major > shortcoming in my opinion. OK so add "Note that if you deselect this option, truly s

Re: [PATCH] Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread John Levon
On Thu, Jan 17, 2002 at 08:00:48PM +1000, Allan Rae wrote: > If we know what font we are displaying, -*-times- for example, then > won't we be able to ask the server for all the fonts that match and > for a given font size check a list and if none matches exactly and > there is no scalable font i

Re: [PATCH] Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> I know how scalable fonts work. You are not going to be able to John> describe the intracacies of how this works inside the GUI. We John> must make a best-effort attempt instead, and I personally think John> this is clearer. But it doe

Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> As it's written it's perfectly correct: if it's on then bitmap John> fonts can get scaled. If it's not, they won't. If it is on then you can get the urw type 1 font for times, if it is off you can't. Can you see the difference? John>

Re: [PATCH] Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread John Levon
On Thu, Jan 17, 2002 at 10:49:06AM +0100, Jean-Marc Lasgouttes wrote: > This description is wrong IMO. it should rather be 'allow scalable > fonts and resized bitmap fonts', but of course this is too long. I see my other mail. > really think the earlier 'use scalable fonts' was technically exac

Re: [PATCH] Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> str = N_("Allow John> bitmap fonts to be resized. If you are using a bitmap font, John> selecting this option may make some fonts look blocky in LyX. John> Deselecting this option makes LyX use the nearest bitmap font John> size availab

Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread John Levon
On Thu, Jan 17, 2002 at 10:44:52AM +0100, Jean-Marc Lasgouttes wrote: > matthew> Perhaps you could rename this option to "Rescale bitmap > matthew> fonts". > > That's not what it does. It does also allow for using real scalable fonts. I think those three words are the best button-size descript

Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread Jean-Marc Lasgouttes
> "matthew" == matthew arnison <[EMAIL PROTECTED]> writes: matthew> Then you could ship lyx with a little script that opens new matthew> documents in a running lyx from the command line. You could matthew> call it lyxopen or something. Or better add this to LyX itself. matthew> Also a note

[PATCH] Re: feature request: open a new file in lyx from the shell

2002-01-17 Thread John Levon
On Thu, Jan 17, 2002 at 05:18:35PM +1000, Allan Rae wrote: > Actually, the help message that appears when the cursor is over the > checkbox is very misleading. Care to rewrite that as well? best I can do in the limited space (lyx-doc has more ...) thanks john -- "Hey, we could invent a progr

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread Allan Rae
On Thu, 17 Jan 2002, John Levon wrote: > patch attached, I'll commit to the docs after this is applied Actually, the help message that appears when the cursor is over the checkbox is very misleading. Care to rewrite that as well? Allan. (ARRae)

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread John Levon
On Thu, Jan 17, 2002 at 04:57:45PM +1000, Allan Rae wrote: > ie. rename outer_tab to inner_tab (to what it actually is). please :) john -- "Hey, we could invent a programming paradigm where the program is expressed as a series of statements to be executed in a fixed order." - Khendon

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread Allan Rae
On Thu, 17 Jan 2002, John Levon wrote: > oops, didn't mean to include that ( thought I changed outer_tab anyway ??) You did but maybe we should change the names of the tabs because currently we have: prefs_tab outer_tab and maybe that should be: outer_tab

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread John Levon
On Thu, Jan 17, 2002 at 04:40:46PM +1000, Allan Rae wrote: > > On Thu, Jan 17, 2002 at 03:40:55PM +1000, Allan Rae wrote: > > > > > Pick me. So long as it only affects bitmap fonts -- do scalable fonts > > > come in fixed sizes? Or do we handle scalable fonts any differently > > > with this opt

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread John Levon
On Thu, Jan 17, 2002 at 05:38:58PM +1100, matthew arnison wrote: > in which case, that triggers a bug report: the file-open command isn't > documented or even mentioned in Help -> Reference Manual (alteast not in > 1.1.6fix3). The reference manual is sadly out of date, and is likely to remain so

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread Allan Rae
On Thu, 17 Jan 2002, John Levon wrote: > On Thu, Jan 17, 2002 at 03:40:55PM +1000, Allan Rae wrote: > > > Pick me. So long as it only affects bitmap fonts -- do scalable fonts > > come in fixed sizes? Or do we handle scalable fonts any differently > > with this option? > > patch attached, I'll

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread matthew arnison
On Thu, 17 Jan 2002, John Levon wrote: > try > > LYXCMD:hello:file-open:file.lyx that works. thanks! in which case, that triggers a bug report: the file-open command isn't documented or even mentioned in Help -> Reference Manual (alteast not in 1.1.6fix3). > > Then you could ship lyx with a l

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread John Levon
On Thu, Jan 17, 2002 at 03:40:55PM +1000, Allan Rae wrote: > Pick me. So long as it only affects bitmap fonts -- do scalable fonts > come in fixed sizes? Or do we handle scalable fonts any differently > with this option? patch attached, I'll commit to the docs after this is applied thanks joh

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread John Levon
On Thu, Jan 17, 2002 at 03:40:55PM +1000, Allan Rae wrote: > > > Perhaps you could rename this option to "Rescale bitmap fonts". Or inverse > > > > I agree. Who else does ? > > Pick me. So long as it only affects bitmap fonts -- do scalable fonts > come in fixed sizes? Or do we handle scalable

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread Allan Rae
On Thu, 17 Jan 2002, John Levon wrote: [...] > > Perhaps you could rename this option to "Rescale bitmap fonts". Or inverse > > I agree. Who else does ? Pick me. So long as it only affects bitmap fonts -- do scalable fonts come in fixed sizes? Or do we handle scalable fonts any differently with

Re: feature request: open a new file in lyx from the shell

2002-01-16 Thread John Levon
On Wed, Jan 16, 2002 at 06:28:35PM +1100, matthew arnison wrote: > matthewa@focus:~/local/lyx$ echo \ > "LYXCMD:hello:buffer-open:/full/path/to/file.lyx" > lyxpipe.in > > and I still get the File Open dialog. try LYXCMD:hello:file-open:file.lyx > Then you could ship lyx with a little script t