Re: indented list

2000-12-05 Thread Herbert Voss

Guenter Milde wrote:
 
 I write a lot of formula and I'd like to explain the ues
 variables in a indented list underneath, something like
e=mc^2
 eEnery
 mmass

put the following in ~/.lyx/layouts as file myLists.inc,
insert in ~/.lyx/layouts/stdclass.layout a line
Input myList.inc
than run on lyx reconfigure and restart lyx. now you can choose
the style "myList"

you can change the values for the margins.

Herbert


# file myList.inc ---
# myList style definition
Style myList
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myList
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MM
  LabelSep  
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM

  #define the environment myList
  Preamble
\newenvironment{myList}[2]%
   
{\begin{list}{}{\leftmargin1cm\rightmargin1cm}\item{}}%
{\end{list}}  
  EndPreamble
End
#---end ---


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: Math labels.

2000-12-05 Thread Herbert Voss

Mario Parra wrote:
 
 Hello,
 
 I have a couple of questions about math labels.
 How can one have lyx label equations using section numbers
 instead of chapter numbers?

\renewcommand\theequation{\arabic{section}-\arabic{equation}}

 Once a math-label has been set, how can one change it? In a
 regular label one can click it and change it in the pop-up menu,
 but I am unable to get this to work in math mode.

put the cursor in the math-box and write a new one.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Questions about SGML

2000-12-05 Thread ben

Hello,

I would like to use the SGML format for its powerful translation
possibilities, and I would like to know if it is possible to define a
new document style (different from the LinuxDoc one)?
Does anyone know some links that would explain how to customise the
sgmltools package, or to customise it through LyX (is it possible?)?

Thanks for your help, even if these questions are not really about LyX.

Bye,
BG.




Buena Vista Social Club

2000-12-05 Thread Matej Cepl

Pokud nekdo mate radi Kubu, spanelstinu, svoji manzelku,
karibskou hudbu (nebo jakoukoli dobrou hudbu), potrebujete
trochu radosti do zivota, nebo mate druhy den advokatske
zkousky, tak Vam velmi vrele doporucuji abyste sli na film "Buena
Vista Social Club". Dost dobry (ale hodne sileny).

Matej



Patch between patch1 and patch2??

2000-12-05 Thread Matej Cepl

See %subj% -- is there anythinling like this?

Matej



Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Rainer Hoffmann

I build a new lyx and start it with src/lyx. Then I go to the preferences menu
and change something
small (e.g. adding an option for dvips). Then I click on save and the appearance
of the document on
the screen changes: All the fonts look smaller, the title is the same size as
standard text. All in all it's different than
before, but I never wanted that! Did I do something wrong?
Now when I close lyx and start it again I get some messages in the terminal
window I didn't have before:
Lyx: Unknown tag '12' [around line 24 of file ~/.lyx/preferences]
Lyx: Unknown tag '00' [around line 24 of file ~/.lyx/preferences]
 (8 more of those) ...
What's that?

Rainer

"Lars Gullik Bjønnes" schrieb:

 The second prerelease of 1.1.6 has been available for some days now,
 and this time it is also announced here and not just on the developers
 list.

 We'd like it a lot if people took the time to test this version, but
 let me come with a stern warning first: The LyX file format has
 changed, so you will have problems of going back to a earlier lyx
 release unless you BACKUP your files. You have been warned.

 We would especially like testing of:
 - the new tabular code
 - the new import/export code
 - the externalinset code

 Also general user views are appreciated.

 From NEWS:

 As with all of the 1.1.x versions of LyX, this release contains a lot
 of new code: in particular, half of the changes described in the
 ChangeLog (which dates back to the 1.1.0 release) describe changes in
 LyX 1.1.6!

 Besides the usual under-the-hood changes, LyX 1.1.6 has many
 new user-visible features. The main visible feature is that the
 GUI-independent branch of development has been merged, as well as code
 from the older development version:

 - many popups have been rewritten to use the new GUI-I scheme. In the
   process they have received a nice cleanup: the Document and Paragraph
   popups now contain in one single place what was previously scattered
   in many places. Similarly, the citation and cross reference popups
   have been overhauled.

 - LyX now has a Preference popup where you can change most of your
   lyxrc settings [Allan, details?]

 - the menus can now be defined in a text file, and they automatically
   display the keyboard bindings associated with commands.

 - it is now possible to provide your own icons for the toolbar.

 - last but not least, work has begun on a KDE and a Gnome frontend for
   LyX. They are not officially supported for this version, but this
   will give you an idea of what is happening.

 Other major changes in 1.1.6 include:

 - the table support has been completely rewritten. It is now a modular
   object (inset), each cell of which owns a (also) newly written text
   inset. This now permits automatic text-wrap inside a tabular
   cell (if you define a width), multiparagraph mode AND setting of
   layouts for the paragraphs (lists inside a tabular cell!). Last but
   not least, a wide tabular now scrolls automatically so that all of it
   is visible without the need to enlarge the window!

   While there are as yet no other new features, they will be now MUCH
   easier to add. It may be that because of being "young" code some
   features may not work right now, but at least it is much
   better than before.

 - new external material inset: this is a new kind of very powerful
   inset which will allow LyX to interface intelligently with external
   applications. Among other good things, it will finally allow you to
   include GIF, JPEG, TIF, PNG, or just about any other raster format
   images in your document. It will even do an approximate ascii
   rendering when you do Ascii export if you have gifscii installed.

 - The code which converts from LyX format to anything else (for
   viewing or exporting purposes) and from anything else to LyX has been
   rewritten. In particular, it is now possible to export to PDF, and to
   import from HTML/MSWord. In fact it's now possible to add new import/export
   formats without recompiling LyX by specifying external programs or scripts
   in lyxrc settings
   (note that the old import/export lyxrc settings no longer work).

 - LyX can do command line exports without opening any GUI components.

 - The multilingual support has been improved. It is now possible to use in a
   document languages with different encodings, e.g. German (iso8859-1) and
   Czech (iso8859-2). Such a document can be viewed on screen using an
   iso10646-1 (Unicode) font. However, it is (currently) not possible to
   have differently encoded languages in the same paragraph.
   The languages and the encodings are defined in text files.

 - Improved support for Hebrew and Arabic (also present in 1.1.5fix2).

 - included files work now with docbook and linuxdoc; new layout
   docbook-book.

 - PSpell library and Aspell spell checker support now included thanks
   largely to Kevin Atkinson (PSpell and Aspell maintainer).

 And finally, there have been 

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Allan Rae

On Wed, 6 Dec 2000, Rainer Hoffmann wrote:

 I build a new lyx and start it with src/lyx. Then I go to the
 preferences menu and change something small (e.g. adding an option for
 dvips). Then I click on save and the appearance of the document on the
 screen changes: All the fonts look smaller, the title is the same size
 as standard text. All in all it's different than before, but I never
 wanted that! Did I do something wrong?

Hmmm... Your screen font settings (probably zoom factor) appears to have
changed however as you say you never altered this then something weird is
happening.  What system are using?   OS, compiler, libraries etc.

 Now when I close lyx and start it again I get some messages in the terminal
 window I didn't have before:
 Lyx: Unknown tag '12' [around line 24 of file ~/.lyx/preferences]
 Lyx: Unknown tag '00' [around line 24 of file ~/.lyx/preferences]
  (8 more of those) ...
 What's that?

I don't know.  Perhaps you could include your preferences file in the next
reply.

Allan.  (ARRae)




Re: indented list

2000-12-05 Thread Herbert Voss

Guenter Milde wrote:
 
 I write a lot of formula and I'd like to explain the ues
 variables in a indented list underneath, something like
e=mc^2
 eEnery
 mmass

put the following in ~/.lyx/layouts as file myLists.inc,
insert in ~/.lyx/layouts/stdclass.layout a line
Input myList.inc
than run on lyx reconfigure and restart lyx. now you can choose
the style "myList"

you can change the values for the margins.

Herbert


# file myList.inc ---
# myList style definition
Style myList
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myList
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MM
  LabelSep  
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM

  #define the environment myList
  Preamble
\newenvironment{myList}[2]%
   
{\begin{list}{}{\leftmargin1cm\rightmargin1cm}\item{}}%
{\end{list}}  
  EndPreamble
End
#---end ---


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: Math labels.

2000-12-05 Thread Herbert Voss

Mario Parra wrote:
 
 Hello,
 
 I have a couple of questions about math labels.
 How can one have lyx label equations using section numbers
 instead of chapter numbers?

\renewcommand\theequation{\arabic{section}-\arabic{equation}}

 Once a math-label has been set, how can one change it? In a
 regular label one can click it and change it in the pop-up menu,
 but I am unable to get this to work in math mode.

put the cursor in the math-box and write a new one.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Questions about SGML

2000-12-05 Thread ben

Hello,

I would like to use the SGML format for its powerful translation
possibilities, and I would like to know if it is possible to define a
new document style (different from the LinuxDoc one)?
Does anyone know some links that would explain how to customise the
sgmltools package, or to customise it through LyX (is it possible?)?

Thanks for your help, even if these questions are not really about LyX.

Bye,
BG.




Buena Vista Social Club

2000-12-05 Thread Matej Cepl

Pokud nekdo mate radi Kubu, spanelstinu, svoji manzelku,
karibskou hudbu (nebo jakoukoli dobrou hudbu), potrebujete
trochu radosti do zivota, nebo mate druhy den advokatske
zkousky, tak Vam velmi vrele doporucuji abyste sli na film "Buena
Vista Social Club". Dost dobry (ale hodne sileny).

Matej



Patch between patch1 and patch2??

2000-12-05 Thread Matej Cepl

See %subj% -- is there anythinling like this?

Matej



Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Rainer Hoffmann

I build a new lyx and start it with src/lyx. Then I go to the preferences menu
and change something
small (e.g. adding an option for dvips). Then I click on save and the appearance
of the document on
the screen changes: All the fonts look smaller, the title is the same size as
standard text. All in all it's different than
before, but I never wanted that! Did I do something wrong?
Now when I close lyx and start it again I get some messages in the terminal
window I didn't have before:
Lyx: Unknown tag '12' [around line 24 of file ~/.lyx/preferences]
Lyx: Unknown tag '00' [around line 24 of file ~/.lyx/preferences]
 (8 more of those) ...
What's that?

Rainer

"Lars Gullik Bjønnes" schrieb:

 The second prerelease of 1.1.6 has been available for some days now,
 and this time it is also announced here and not just on the developers
 list.

 We'd like it a lot if people took the time to test this version, but
 let me come with a stern warning first: The LyX file format has
 changed, so you will have problems of going back to a earlier lyx
 release unless you BACKUP your files. You have been warned.

 We would especially like testing of:
 - the new tabular code
 - the new import/export code
 - the externalinset code

 Also general user views are appreciated.

 From NEWS:

 As with all of the 1.1.x versions of LyX, this release contains a lot
 of new code: in particular, half of the changes described in the
 ChangeLog (which dates back to the 1.1.0 release) describe changes in
 LyX 1.1.6!

 Besides the usual under-the-hood changes, LyX 1.1.6 has many
 new user-visible features. The main visible feature is that the
 GUI-independent branch of development has been merged, as well as code
 from the older development version:

 - many popups have been rewritten to use the new GUI-I scheme. In the
   process they have received a nice cleanup: the Document and Paragraph
   popups now contain in one single place what was previously scattered
   in many places. Similarly, the citation and cross reference popups
   have been overhauled.

 - LyX now has a Preference popup where you can change most of your
   lyxrc settings [Allan, details?]

 - the menus can now be defined in a text file, and they automatically
   display the keyboard bindings associated with commands.

 - it is now possible to provide your own icons for the toolbar.

 - last but not least, work has begun on a KDE and a Gnome frontend for
   LyX. They are not officially supported for this version, but this
   will give you an idea of what is happening.

 Other major changes in 1.1.6 include:

 - the table support has been completely rewritten. It is now a modular
   object (inset), each cell of which owns a (also) newly written text
   inset. This now permits automatic text-wrap inside a tabular
   cell (if you define a width), multiparagraph mode AND setting of
   layouts for the paragraphs (lists inside a tabular cell!). Last but
   not least, a wide tabular now scrolls automatically so that all of it
   is visible without the need to enlarge the window!

   While there are as yet no other new features, they will be now MUCH
   easier to add. It may be that because of being "young" code some
   features may not work right now, but at least it is much
   better than before.

 - new external material inset: this is a new kind of very powerful
   inset which will allow LyX to interface intelligently with external
   applications. Among other good things, it will finally allow you to
   include GIF, JPEG, TIF, PNG, or just about any other raster format
   images in your document. It will even do an approximate ascii
   rendering when you do Ascii export if you have gifscii installed.

 - The code which converts from LyX format to anything else (for
   viewing or exporting purposes) and from anything else to LyX has been
   rewritten. In particular, it is now possible to export to PDF, and to
   import from HTML/MSWord. In fact it's now possible to add new import/export
   formats without recompiling LyX by specifying external programs or scripts
   in lyxrc settings
   (note that the old import/export lyxrc settings no longer work).

 - LyX can do command line exports without opening any GUI components.

 - The multilingual support has been improved. It is now possible to use in a
   document languages with different encodings, e.g. German (iso8859-1) and
   Czech (iso8859-2). Such a document can be viewed on screen using an
   iso10646-1 (Unicode) font. However, it is (currently) not possible to
   have differently encoded languages in the same paragraph.
   The languages and the encodings are defined in text files.

 - Improved support for Hebrew and Arabic (also present in 1.1.5fix2).

 - included files work now with docbook and linuxdoc; new layout
   docbook-book.

 - PSpell library and Aspell spell checker support now included thanks
   largely to Kevin Atkinson (PSpell and Aspell maintainer).

 And finally, there have been 

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Allan Rae

On Wed, 6 Dec 2000, Rainer Hoffmann wrote:

 I build a new lyx and start it with src/lyx. Then I go to the
 preferences menu and change something small (e.g. adding an option for
 dvips). Then I click on save and the appearance of the document on the
 screen changes: All the fonts look smaller, the title is the same size
 as standard text. All in all it's different than before, but I never
 wanted that! Did I do something wrong?

Hmmm... Your screen font settings (probably zoom factor) appears to have
changed however as you say you never altered this then something weird is
happening.  What system are using?   OS, compiler, libraries etc.

 Now when I close lyx and start it again I get some messages in the terminal
 window I didn't have before:
 Lyx: Unknown tag '12' [around line 24 of file ~/.lyx/preferences]
 Lyx: Unknown tag '00' [around line 24 of file ~/.lyx/preferences]
  (8 more of those) ...
 What's that?

I don't know.  Perhaps you could include your preferences file in the next
reply.

Allan.  (ARRae)




Re: indented list

2000-12-05 Thread Herbert Voss

Guenter Milde wrote:
> 
> I write a lot of formula and I'd like to explain the ues
> variables in a indented list underneath, something like
>e=mc^2
> eEnery
> mmass

put the following in ~/.lyx/layouts as file myLists.inc,
insert in ~/.lyx/layouts/stdclass.layout a line
Input myList.inc
than run on lyx reconfigure and restart lyx. now you can choose
the style "myList"

you can change the values for the margins.

Herbert


# file myList.inc ---
# myList style definition
Style myList
  MarginFirst_Dynamic
  LatexType List_Environment
  LatexName myList
  NextNoIndent  1
  LeftMarginMMM
  RightMargin   MMM
  ParIndent MM
  LabelSep  
  ParSkip   0.4
  ItemSep   0.2
  TopSep0.7
  BottomSep 0.7
  ParSep0.3
  Align Block
  AlignPossible Block, Left
  LabelType Manual
  LabelString   MM

  #define the environment myList
  Preamble
\newenvironment{myList}[2]%
   
{\begin{list}{}{\leftmargin1cm\rightmargin1cm}\item{}}%
{\end{list}}  
  EndPreamble
End
#---end ---


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Re: Math labels.

2000-12-05 Thread Herbert Voss

Mario Parra wrote:
> 
> Hello,
> 
> I have a couple of questions about math labels.
> How can one have lyx label equations using section numbers
> instead of chapter numbers?

\renewcommand\theequation{\arabic{section}-\arabic{equation}}

> Once a math-label has been set, how can one change it? In a
> regular label one can click it and change it in the pop-up menu,
> but I am unable to get this to work in math mode.

put the cursor in the math-box and write a new one.

Herbert


-- 
[EMAIL PROTECTED]
http://perce.de/lyx/



Questions about SGML

2000-12-05 Thread ben

Hello,

I would like to use the SGML format for its powerful translation
possibilities, and I would like to know if it is possible to define a
new document style (different from the LinuxDoc one)?
Does anyone know some links that would explain how to customise the
sgmltools package, or to customise it through LyX (is it possible?)?

Thanks for your help, even if these questions are not really about LyX.

Bye,
BG.




Buena Vista Social Club

2000-12-05 Thread Matej Cepl

Pokud nekdo mate radi Kubu, spanelstinu, svoji manzelku,
karibskou hudbu (nebo jakoukoli dobrou hudbu), potrebujete
trochu radosti do zivota, nebo mate druhy den advokatske
zkousky, tak Vam velmi vrele doporucuji abyste sli na film "Buena
Vista Social Club". Dost dobry (ale hodne sileny).

Matej



Patch between patch1 and patch2??

2000-12-05 Thread Matej Cepl

See %subj% -- is there anythinling like this?

Matej



Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Rainer Hoffmann

I build a new lyx and start it with src/lyx. Then I go to the preferences menu
and change something
small (e.g. adding an option for dvips). Then I click on save and the appearance
of the document on
the screen changes: All the fonts look smaller, the title is the same size as
standard text. All in all it's different than
before, but I never wanted that! Did I do something wrong?
Now when I close lyx and start it again I get some messages in the terminal
window I didn't have before:
Lyx: Unknown tag '12' [around line 24 of file ~/.lyx/preferences]
Lyx: Unknown tag '00' [around line 24 of file ~/.lyx/preferences]
 (8 more of those) ...
What's that?

Rainer

"Lars Gullik Bjønnes" schrieb:

> The second prerelease of 1.1.6 has been available for some days now,
> and this time it is also announced here and not just on the developers
> list.
>
> We'd like it a lot if people took the time to test this version, but
> let me come with a stern warning first: The LyX file format has
> changed, so you will have problems of going back to a earlier lyx
> release unless you BACKUP your files. You have been warned.
>
> We would especially like testing of:
> - the new tabular code
> - the new import/export code
> - the externalinset code
>
> Also general user views are appreciated.
>
> >From NEWS:
>
> As with all of the 1.1.x versions of LyX, this release contains a lot
> of new code: in particular, half of the changes described in the
> ChangeLog (which dates back to the 1.1.0 release) describe changes in
> LyX 1.1.6!
>
> Besides the usual under-the-hood changes, LyX 1.1.6 has many
> new user-visible features. The main visible feature is that the
> GUI-independent branch of development has been merged, as well as code
> from the older development version:
>
> - many popups have been rewritten to use the new GUI-I scheme. In the
>   process they have received a nice cleanup: the Document and Paragraph
>   popups now contain in one single place what was previously scattered
>   in many places. Similarly, the citation and cross reference popups
>   have been overhauled.
>
> - LyX now has a Preference popup where you can change most of your
>   lyxrc settings [Allan, details?]
>
> - the menus can now be defined in a text file, and they automatically
>   display the keyboard bindings associated with commands.
>
> - it is now possible to provide your own icons for the toolbar.
>
> - last but not least, work has begun on a KDE and a Gnome frontend for
>   LyX. They are not officially supported for this version, but this
>   will give you an idea of what is happening.
>
> Other major changes in 1.1.6 include:
>
> - the table support has been completely rewritten. It is now a modular
>   object (inset), each cell of which owns a (also) newly written text
>   inset. This now permits automatic text-wrap inside a tabular
>   cell (if you define a width), multiparagraph mode AND setting of
>   layouts for the paragraphs (lists inside a tabular cell!). Last but
>   not least, a wide tabular now scrolls automatically so that all of it
>   is visible without the need to enlarge the window!
>
>   While there are as yet no other new features, they will be now MUCH
>   easier to add. It may be that because of being "young" code some
>   features may not work right now, but at least it is much
>   better than before.
>
> - new external material inset: this is a new kind of very powerful
>   inset which will allow LyX to interface intelligently with external
>   applications. Among other good things, it will finally allow you to
>   include GIF, JPEG, TIF, PNG, or just about any other raster format
>   images in your document. It will even do an approximate ascii
>   rendering when you do Ascii export if you have gifscii installed.
>
> - The code which converts from LyX format to anything else (for
>   viewing or exporting purposes) and from anything else to LyX has been
>   rewritten. In particular, it is now possible to export to PDF, and to
>   import from HTML/MSWord. In fact it's now possible to add new import/export
>   formats without recompiling LyX by specifying external programs or scripts
>   in lyxrc settings
>   (note that the old import/export lyxrc settings no longer work).
>
> - LyX can do command line exports without opening any GUI components.
>
> - The multilingual support has been improved. It is now possible to use in a
>   document languages with different encodings, e.g. German (iso8859-1) and
>   Czech (iso8859-2). Such a document can be viewed on screen using an
>   iso10646-1 (Unicode) font. However, it is (currently) not possible to
>   have differently encoded languages in the same paragraph.
>   The languages and the encodings are defined in text files.
>
> - Improved support for Hebrew and Arabic (also present in 1.1.5fix2).
>
> - included files work now with docbook and linuxdoc; new layout
>   docbook-book.
>
> - PSpell library and Aspell spell checker support now included thanks

Re: announce lyx-1.1.6pre2; Preferences menu

2000-12-05 Thread Allan Rae

On Wed, 6 Dec 2000, Rainer Hoffmann wrote:

> I build a new lyx and start it with src/lyx. Then I go to the
> preferences menu and change something small (e.g. adding an option for
> dvips). Then I click on save and the appearance of the document on the
> screen changes: All the fonts look smaller, the title is the same size
> as standard text. All in all it's different than before, but I never
> wanted that! Did I do something wrong?

Hmmm... Your screen font settings (probably zoom factor) appears to have
changed however as you say you never altered this then something weird is
happening.  What system are using?   OS, compiler, libraries etc.

> Now when I close lyx and start it again I get some messages in the terminal
> window I didn't have before:
> Lyx: Unknown tag '12' [around line 24 of file ~/.lyx/preferences]
> Lyx: Unknown tag '00' [around line 24 of file ~/.lyx/preferences]
>  (8 more of those) ...
> What's that?

I don't know.  Perhaps you could include your preferences file in the next
reply.

Allan.  (ARRae)