Re: Keeping different floats together

2000-04-18 Thread Kimmo Koli

On Tue, 18 Apr 2000, Herbert Voss wrote:

> Kimmo Koli wrote:
> > So is there a ERT-trick to join a figure and a table float together ?
> 
> if you do not need different captions for figure and table you
> can insert both in one float. latex makes no difference between
> table and figure floats. this is only important if you need
> list of figures or list of tables. you can place them side by side
> (with minipages) or one above the other (hit only return).
But as I'm writing a book figure and table captions are essential. I've
also tried putting these figure and table floats inside a minipage without
success. 

> yes, you're right, but since lyx has this feature you can use
> individual placing by using the options h,t,b or p as very
> first insert in a float: e.g. in tex [!h]. if you want to 
> use this option you need an empty entry in layout->document->
> float placement.
You seem to have missed the end of my message where I said I know about
this trick and actually use it extensively. The big problem is that I use
a lot of subfigures in figure floats and in this case the mentioned
ERT-trick cannot be used anymore. And I guess it is impossible
to extend the ERT-trick to this case. Therefore a real native LyX support
for individual float placement options is absolutely necessary. 

Best regards,
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   Kimmo Koli Helsinki University of Technology 
   [EMAIL PROTECTED]  Electronic Circuit Design Laboratory
   http://www.ecdl.hut.fi/~kimmo  P.O.Box 3000
   Tel:  +358 9 451 2273  FIN-02015 HUT
   Fax:  +358 9 451 2269  Finland 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Re: Lyx-Code style problems.

2000-04-18 Thread Lars Gullik Bjønnes

Ralph Boland <[EMAIL PROTECTED]> writes:

| I need to use Lyx-Code style in a layout that doesn't 
| have it.  So I copied the Lyx-Code style into my layout.
| It works except that multiple spaces are compressed into
| a single space.

You really never need the LyX code envir, and it is planned for
removal from LyX. Unfortunately we don't have a wysiwym replacement
yet, but that will probably be based upon listings.sty.

Lgb



Lyx-Code style problems.

2000-04-18 Thread Ralph Boland

I need to use Lyx-Code style in a layout that doesn't 
have it.  So I copied the Lyx-Code style into my layout.
It works except that multiple spaces are compressed into
a single space.

I experimented and determined that if I modified 
article.layout and amsart.layout to be the same except that
one has the line  

#  \DeclareLaTeXClass{article (AMS)}

and the other has the line


#  \DeclareLaTeXClass{article}

then the article.layout version has multiple spaces in style Lyx-Code
but the amsart.layout version does not.


Could someone explain this?
And explain how I can modify my document class to use
Lyx-Code with multiple spaces?



Note:  I do not have sysadmin privalages so cannot modify
the standard layouts and apparently cannot create a new
one in my .lyx/layouts directory.  I run config and then
check the list of classes in the popup  Layout/document.../class
but the new layout is not listed.  (Yes, I exit lyx and then restart
lyx.)

What I do is modify the standard layouts in my .lyx/layouts directory
to get the layout that I want.  This is crude but gives
me what I need until this can be sorted out.

Hopefully I can create my own layouts when I upgrade.
I  don't see why any of this relates to the problem
I have with Lyx-Code but I thought I should let you
know.

Thanks 

Ralph Boland

Currently I am using  lyx 1.0.4 and will upgrade when 
the next stable version is released in  ???.



Re: Keeping different floats together

2000-04-18 Thread Herbert Voss

Kimmo Koli wrote:
> 
> In my thesis I have several electrical schematics with a table of
> transistor sizes as a table aside. I would like keep these figure and
> table float pairs as closely together as possible. And I do not want to
> use h-placement option as it does not look good enough in a book
> format. Additionally, I have so many floats around compared to
> the lenght of text around that moving these float pairs does not do the
> trick anymore.
> 
> So is there a ERT-trick to join a figure and a table float together ?

if you do not need different captions for figure and table you
can insert both in one float. latex makes no difference between
table and figure floats. this is only important if you need
list of figures or list of tables. you can place them side by side
(with minipages) or one above the other (hit only return).

> Addional question:
> When a REAL method to control the placement options of the floats
> individually appears in LyX ? The global float placement options in
> the document layout is just not good enough as empty defaults are
> usually the best anyway. So this option is more or less a waste of space
> in the document layout popup.

yes, you're right, but since lyx has this feature you can use
individual placing by using the options h,t,b or p as very
first insert in a float: e.g. in tex [!h]. if you want to 
use this option you need an empty entry in layout->document->
float placement.

hope this helps
Herbert

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



Problem linking lyx

2000-04-18 Thread sdteffen

Hello All,
I've a problem linking lyx 1.14:

support/.libs/libsupport.a(LRegex.o): In function `vector, __default_alloc_template >::insert_aux(pair *, pair const &)':
/usr/include/g++/stl_uninitialized.h(.text+0x53): undefined reference to
`regcomp(re_pattern_buffer *, char const *, int)'   

My system is SuSE 6.3.

Thank You

Steffen



Keeping different floats together

2000-04-18 Thread Kimmo Koli

In my thesis I have several electrical schematics with a table of  
transistor sizes as a table aside. I would like keep these figure and
table float pairs as closely together as possible. And I do not want to
use h-placement option as it does not look good enough in a book
format. Additionally, I have so many floats around compared to
the lenght of text around that moving these float pairs does not do the
trick anymore.

So is there a ERT-trick to join a figure and a table float together ?

Addional question: 
When a REAL method to control the placement options of the floats
individually appears in LyX ? The global float placement options in
the document layout is just not good enough as empty defaults are
usually the best anyway. So this option is more or less a waste of space
in the document layout popup.

I've complained about this several times to this list over the years and
nothing has happened so far. Therefoer I also know about the ERT-trick
to overcome the problem. Unfortunately it does not work with subfigures
and unfortunately I'm using them extensively. At least to me and to
several other LyX-users I know this it the most missed feature in this
otherwise excellent program.

Best regards,
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
   Kimmo Koli Helsinki University of Technology 
   [EMAIL PROTECTED]  Electronic Circuit Design Laboratory
   http://www.ecdl.hut.fi/~kimmo  P.O.Box 3000
   Tel:  +358 9 451 2273  FIN-02015 HUT
   Fax:  +358 9 451 2269  Finland 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=




Re: Lyx for windows 95 - Install questions

2000-04-18 Thread Claus Hentschel

Jean-Marc Lasgouttes wrote:
> Sheldon> I have been trying to use the Windows 95 port of lyx but I
> Sheldon> can't seem to overcome several install problems. Maybe some
> Sheldon> one on the list has a solution.
> 
> Sheldon> First, when I run the runconfigure.bat it looks for LaTeX2e
> Sheldon> then latex. The final result is a line "latex...unusable" I
> Sheldon> have tried this with miktex and fptex. Neither includes
> Sheldon> LaTeX2e file. What is the fix so that these are recognized.
> Sheldon> At the present fptex is installed and the latex is on the
> Sheldon> path.
> 
> Sheldon> Second, where does ispell need to be installed? The
> Sheldon> runconfigure comes up "ispell...no" Ispell is on the path.
> Sheldon> How do I get it to see Ispell?
> 
> I think we still have problems with these scripts under windows when
> the paths where the programs are contain spaces. Is this your case?
> 
Have a look on http://www.fh-hannover.de/mbau/tim/hentschel/lyx/index.htm
There I have described how to install Lyx with ispell and more!

Regards
Claus





Re: Windows port-anyway to work around the path?

2000-04-18 Thread Claus Hentschel

> On the windows port is there a work around for problems with the path
> statement?  As an example could I alter lyxrc.example to tell lyx that
> latex is located on drive E.
>
> Example
>
> \latex_command file://E/tex/bin/win32/latex
>
It is better to set the PATH correctly before starting LyX (in the batch
file runlyx.bat or in autoexec.bat system wide).

Regards
Claus