Re: math-nonumber fails on Solaris 7

1999-12-21 Thread Jean-Marc Lasgouttes

> "kimmo" == kimmo  <[EMAIL PROTECTED]> writes:

kimmo> Well, I've encountered a strange feature in LyX-1.0.4. We have
kimmo> at work both Hp-workstations with HP-UX 10.20 and
kimmo> Sun-workstations with Solaris 7. In both systems we have
kimmo> compiled LyX-1.0.4 with gcc-2.8.1. However, in Solaris-version
kimmo> in multiline equations the math-nonumber toggle does nothing
kimmo> whereas with HP-UX-version everything works as it should.

Hello,

I tried to make math-nonumber work in multiline equations on digital
unix 4.0f and solaris 2.6 and did not have problems. What happens with
solaris 7? When you type 'M-m S-N', do you get a message on the
minibuffer? Does typing 'math-nonumber' in the minibuffer work?

JMarc



Re: Introduction of a parameterless command in a layout

1999-12-21 Thread Carlos A M dos Santos


You can use "KeepEmpty 1", but the empty {} will still exist. I doesn't
hurts. Example:

# Appendix style definition
Style Appendix
  MarginDynamic
  LatexType Command
  LatexName appendix
  NeedProtect   1
  NextNoIndent  1
  ParSkip   0.4
  TopSep4
  BottomSep 0.8
  ParSep0.8
  Align Block
  AlignPossible Block
  LabelType Static
  KeepEmpty 1
  LabelString   "Appendix"

  # standard font definition
  Font 
Series  Bold
SizeLarge
Color   Blue
  EndFont
End

One thing I'd like to see in LyX is the support for optional parameters
like in

\chapter[Name in toc]{Long, long, long name}

Currently it is possible tu use a trick in the layout setting LabelType to
"Manual".  Other interesting feature would be commands with more than one
parameter like

\foo{bar}{baz}


Casantos

--
Computers make excellent and efficient servants, but I have no wish to
serve under them.  Captain, a starship also runs on loyalty to one
man.  And nothing can replace it or him.
-- Spock, "The Ultimate Computer", stardate 4729.4

On Tue, 21 Dec 1999, Jean-Pierre.Chretien wrote:

> I did not manage to introduce a latex command without parameters in a
> layout
...
> results in
> \foo{}
> in the exported .tex file.
> I'd like to have
> \foo
> without the {}





Re: Introduction of a parameterless command in a layout

1999-12-21 Thread Jean-Pierre.Chretien


>>To: [EMAIL PROTECTED]
>>Subject: Re: Introduction of a parameterless command in a layout
>>From: Jean-Marc Lasgouttes <[EMAIL PROTECTED]>
>>Date: 21 Dec 1999 12:06:41 +0100
>>
>>> "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> 
writes:
>>
>>Jean-Pierre> Hello, I did not manage to introduce a latex command
>>Jean-Pierre> without parameters in a layout, to have in the style manu
>>Jean-Pierre> instead of ERT. Example: Style Foo LatexName foo ... End
>>
>>Jean-Pierre> results in \foo{} in the exported .tex file. I'd like to
>>Jean-Pierre> have \foo without the {}
>>
>>This not very easy indeed, but the {} should not matter if \foo does
>>not take parameters. What do you want to do exactly?
>>
>>JMarc

Sorry to have bothered you and the mailing list readers.
I misinterpreted an error message, \foo{} was all right.

-- 
Jean-Pierre



Re: Introduction of a parameterless command in a layout

1999-12-21 Thread Jean-Marc Lasgouttes

> "Jean-Pierre" == Jean-Pierre Chretien <[EMAIL PROTECTED]> writes:

Jean-Pierre> Hello, I did not manage to introduce a latex command
Jean-Pierre> without parameters in a layout, to have in the style manu
Jean-Pierre> instead of ERT. Example: Style Foo LatexName foo ... End

Jean-Pierre> results in \foo{} in the exported .tex file. I'd like to
Jean-Pierre> have \foo without the {}

This not very easy indeed, but the {} should not matter if \foo does
not take parameters. What do you want to do exactly?

JMarc



Introduction of a parameterless command in a layout

1999-12-21 Thread Jean-Pierre.Chretien


Hello,

I did not manage to introduce a latex command without
parameters in a layout, to have in the style manu
instead of ERT.
Example:
Style  Foo
  LatexNamefoo
   ...
End

results in 
\foo{}
in the exported .tex file.
I'd like to have
\foo
without the {}

lyx-1.0.4, Sun Solaris 2.6

Regards

-- 
Jean-Pierre