Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)

2002-04-26 Thread Jürgen Spitzmüller

Jan Ulrich Hasecke wrote:
 \bind_file /usr/share/lyx/bind/emacs.bind

 Without it everything goes fine.

 How can I now use emacs.bind?

If you do not have a modified bind file in your home (/.lyx) directory, 
entering just emacs.bind into Pref-Look'n'Feel-Interface-bind file 
should do it.

Juergen.



Re: font sizes of entries in a table

2002-04-26 Thread Guenter Milde

On Fri, 26 Apr 2002 01:01:10 -0400 wrote Nirmal Govind [EMAIL PROTECTED]:

 Hi,
 
 Is there a way by which I can change the font size of multiple entries in a 
 table in an efficient way? Right now, I'm selecting the text in each cell 
 and then doing Layout-Character and changing the font. This is a bit 
 tedious if the table has a large number of entries.

Exactly :-(

In 1.1.6 there is no other simple and nice way. However, you can

a) use ERT: put 
{\small
before the table and
}
behind  

b) use the text editor of your choice and change the *.lyx source. This
   might be rather complicated, maybe doing one change by hand and looking
   at the differences in the lyx source might help to find an (maybe regex)
   replace command for your editor. Reload the changed file with
   FileRestore (^R).
   
Hope this helps

Guenter   

--
[EMAIL PROTECTED]




Re: font sizes of entries in a table

2002-04-26 Thread Guenter Milde

On Fri, 26 Apr 2002 01:01:10 -0400 wrote Nirmal Govind [EMAIL PROTECTED]:

 Hi,
 
 Is there a way by which I can change the font size of multiple entries in a 
 table in an efficient way? Right now, I'm selecting the text in each cell 
 and then doing Layout-Character and changing the font. This is a bit 
 tedious if the table has a large number of entries.

Exactly :-(

In 1.1.6 there is no other simple and nice way. However, you can

a) use ERT: put 
{\small
before the table and
}
behind  

b) use the text editor of your choice and change the *.lyx source. This
   might be rather complicated, maybe doing one change by hand and looking
   at the differences in the lyx source might help to find an (maybe regex)
   replace command for your editor. Reload the changed file with
   FileRestore (^R).
   
Hope this helps

Guenter   

--
[EMAIL PROTECTED]




Re: font sizes of entries in a table

2002-04-26 Thread Guenter Milde

On Fri, 26 Apr 2002 01:01:10 -0400 wrote Nirmal Govind [EMAIL PROTECTED]:

 Is there a way by which I can change the font size of multiple entries in a 
 table in an efficient way? Right now, I'm selecting the text in each cell 
 and then doing Layout-Character and changing the font. This is a bit 
 tedious if the table has a large number of entries.

In 1.1.6 there is no other simple and nice way :-(. However, you can

a) use ERT: put 
{\small
before the table and
}
behind  

b) use the text editor of your choice and change the *.lyx source. This
   might be rather complicated, maybe doing one change by hand and looking
   at the differences in the lyx source might help to find an (maybe regex)
   replace command for your editor. Reload the changed file with
   FileRestore (^R).
   
Hope this helps

Guenter   

--
[EMAIL PROTECTED]




Re: Re: LyX layout files

2002-04-26 Thread Guenter Milde

On Thu, 25 Apr 2002 17:37:30 +0100 (BST) wrote Sarah Mount [EMAIL PROTECTED]:

 On Thu, 25 Apr 2002, Herbert Voss wrote:
 
  Sarah Mount wrote:
  
   OK, I'm trying to make sure all my section headings, abstract, title 
   authors are in a size 10 font.  I've got a .layout file that's reproduced
   below, but it doesn't seem to make any difference at all.

For me, it made a difference (displaying all in normal size in LyX)

  the layout file is only (!) for the lyx-view and has nothing(!) to do
  with the latex output. when it's the same it's fine, when not ...

There is an option, however to have the layout file also changing the way
LaTeX works: The 
  Preamble 
  EndPreamble 
pair. Everything inbetween will be written to the latex preamble when LyX
exports to latex (or runs latex to get dvi/ps/pdf).

  if you want to change only for one document the chapter/sections/..
  titles, than use in preamble for example:
  
  \usepackage{sectsty}
  \allsectionsfont{\small}
 
  if you want it for all docs than it makes sense to write an own
  lyx-layout to get more wysiwig.

Or you combine this with your already existing layout file and get the
attached article_with_normalsized_headings.layout. 
(Works fine here, except Title and Author size (don't know the correct latex
commands/options there)

Günter

--
[EMAIL PROTECTED]




article_with_normalsized_headings.layout
Description: Binary data


Re: Re: Re: Inserting gnutella tables inside LyX ?

2002-04-26 Thread Guenter Milde

On 25 Apr 2002 12:34:22 +0200 wrote Jerome Oufella [EMAIL PROTECTED]:

 Sorry, I was meaning gnumeric, of course :-).
 Thanks for all those advices, but importing from standard CSV would not
 be affordable for my usage, since my goal was to keep gnumeric's table
 format (colors, backgrounds, etc).


 I wonder if cleaning gnumeric's latex output would keep those stuff.

I doubt that gnumerics latex export will keep colors etc. Maybe you can
experiment with the gnumeric output in pure latex before trying to get it
into lyx. 

Once upon a time I managed to make something halvway usefull out of the
gnumeric latex output (even got it to reLyX) --- but I did not manage to
automatize this task. I suppose inserting the table as an eps might be
easier.


 Wouldnt it be easyer to build a lyx output filter for gnumeric ?

Try to ask this at the gnumric list. I suppose it will be easier to convince
them to write a good latex2e output filter and then relyx. Another option
would be an xml import for LyX (as gnumerics own format is gnuzipped xml).
 
Guenter

--
[EMAIL PROTECTED]




Re: How do I have a. the numbering continue after changing styles or b.............

2002-04-26 Thread Guenter Milde

On Thu, 25 Apr 2002 17:18:49 +1000 wrote Guru - [EMAIL PROTECTED]:

 How do I have a. the numbering continue after changing styles or b. Have 
 styles within a style.???
 
 NOTE: I have attached a LyX document of what I am trying to dohow would 
 I have this done automatically instead of manually?
 NOTE: I am still new at Lyx (I've read 2 of the manuals ... not all of them) 
 and have used LyX a little bit..I'm learning :)...

The recipe is nesting (Look for nesting in the HelpUser Guide)

Changing the enumeration style is rather tricky and needs Latex commands
(evil red text: ERT). A good book on latex (e.g. the LaTeX compagnion) helps
a lot.

Changing the itemize bullets style is possible from within LyX (search the
layout menu)

Another idea would be to make the toplevel enumeration (with the bold text)
subsubheadings. (Some tricky latex style option/ latex class will surely
allow to change the numbering from 1.1.3 to 3. (and so on)

The the attachment for a proposal

Guenter

--
[EMAIL PROTECTED]




nested-enumerates.lyx
Description: Binary data


Re: Suppressing the date in article format?

2002-04-26 Thread Peter Mayr

Oliver Margraf wrote:
 Hi,
 
 after looking throught the help at lyx.org, I have a question which may 
 be a silly one: is there a way to suppress the date in the 'article' 
 class or at least an option where you can configure the placement of the 
 date?
 Thanks in advance.

Hi,

I just recalled the same question answered on friday (see below), hope 
this helps

have a nice day,

Peter

Am Freitag, 19. April 2002 18:47 schrieb José Luis Gómez Dans:

  On Friday 19 April 2002 17:38, Christian Beermann wrote:

   Hello,
  
   I use the comascript article class for an document, but I dont to
   have the date displayed after the title is there any way to
   delete it ?

 
   Don't know if any other way is available, but if you put in the
  preamble
   \date {}
  you're done :-)
  Jose






Re: How do I have a. the numbering continue after changing styles or b.............

2002-04-26 Thread Dekel Tsur

On Thu, Apr 25, 2002 at 05:18:49PM +1000, Guru - wrote:
 How do I have a. the numbering continue after changing styles or b. Have 
 styles within a style.???
 
 NOTE: I have attached a LyX document of what I am trying to dohow would 
 I have this done automatically instead of manually?
 NOTE: I am still new at Lyx (I've read 2 of the manuals ... not all of them) 
 and have used LyX a little bit..I'm learning :)...
 
 What I am trying to do was: Have an enumerate field then within that field 
 have a description or standard field but once I leave the standard field and 
 switch back to enumerate field have the numbering continue

Read section Nesting Environments in the user's guide.



Re: fitting math within the page text width

2002-04-26 Thread Dekel Tsur

On Thu, Apr 25, 2002 at 12:54:01PM -0400, Nirmal Govind wrote:
 Hi,
 
 While typing in the math mode, the math text goes into the region which is 
 supposed to be the margin (doesn't stay within textwidth). Hence, the text 
 part of the document is within the textwidth whereas the math part goes 
 beyond this and into the margins. Any way to make the math characters 
 either wrap around or automatically move the whole math box to the next 
 line (assuming that the math box isn't longer than textwidth it should fit 
 within textwidth on the new line).

Latex does break math equations, but it can only break at relation symbols
(e.g. ) or at binary operators (e.g. +,-).
If you want to avoid text that goes into the margins, put \sloppy in the
preamble (note that this can create a lot of space between words).



Problems compiling lyx1.2.0pre4

2002-04-26 Thread Juan Ramón Rico

Hi I tray to compile.

output ./configure
---
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:warnings assertions included-libsigc 
xforms-image-loader
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (2.95.4)
  C++ Compiler flags: -g -O -fno-exceptions -W -Wall
  Linker flags:  
  Frontend:   xforms
libXpm version:   4.11
libforms version: 0.89.5
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
---
output make
---
Making all in config
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
Making all in intl
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
gcc -c -DLOCALEDIR=\/usr/local/share/locale\ 
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I. 
-I../int
l -isystem /usr/X11R6/include -g -O2  intl-compat.c
gcc -c -DLOCALEDIR=\/usr/local/share/locale\ 
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I. 
-I../int
l -isystem /usr/X11R6/include -g -O2  bindtextdom.c
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h:391: warning: `strchr' redefined
../src/config.h:418: warning: this is the location of the previous 
definition
In file included from bindtextdom.c:25:
/usr/include/string.h:242: conflicting types for `bcopy'
/usr/include/string.h:42: previous declaration of `bcopy'
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h: In function `__strsep_1c':
/usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch 
in cond
itional expression
make[1]: *** [bindtextdom.o] Error 1
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
make: *** [all-recursive] Error 1

-- 


What's going on?

Thank's in advanced.






Problems compiling Lyx1.2.0pre4

2002-04-26 Thread Juan Ramón Rico

Hi I tray to compile.

output ./configure
---
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:warnings assertions included-libsigc
xforms-image-loader
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (2.95.4)
  C++ Compiler flags: -g -O -fno-exceptions -W -Wall
  Linker flags:
  Frontend:   xforms
libXpm version:   4.11
libforms version: 0.89.5
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
---
output make
---
Making all in config
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
Making all in intl
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
gcc -c -DLOCALEDIR=\/usr/local/share/locale\
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I.
-I../int
l -isystem /usr/X11R6/include -g -O2  intl-compat.c
gcc -c -DLOCALEDIR=\/usr/local/share/locale\
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I.
-I../int
l -isystem /usr/X11R6/include -g -O2  bindtextdom.c
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h:391: warning: `strchr' redefined
../src/config.h:418: warning: this is the location of the previous
definition
In file included from bindtextdom.c:25:
/usr/include/string.h:242: conflicting types for `bcopy'
/usr/include/string.h:42: previous declaration of `bcopy'
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h: In function `__strsep_1c':
/usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch
in cond
itional expression
make[1]: *** [bindtextdom.o] Error 1
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
make: *** [all-recursive] Error 1

--


What's going on?

Thank's in advanced.


Juan Ramón.






Re: XpmColorFailed

2002-04-26 Thread Angus Leeming

H. For some reason I had unsubscribed myselff from the lyx-users list. I 
must have wanted some peace and quiet ;-)

Allow me to introduce myself: I'm the guy who's responsible for 1.2's 
graphics support. Before you reach for the reply button and deluge me with 
complaints, read on. I should be able to provide you with explanations and 
work arounds for most of your problems.

I've just had a look at the users-archive. This is illuminating:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg18828.html
Re: images in pre-1.2.0 LyX docs
--
I  have run lyx -dbg any and open the UserGuide, the eps file is black.
the message:

Image conversion succeeded.
Loading image.
In LookupColor [rgb_db.c 210] can't handle color #0811
In LookupColor [rgb_db.c 210] can't handle color #614d
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : Done Reading xpm
Image loading succeeded.

my xforms 0.89-320

Wayan
--
For those who don't know anything about LyX's internals, a brief description. 
LyX has two possible image loaders. Which one you use will depend on your 
version of the xforms library. 

Those of you with a sufficiently modern version of the xforms library 
(0.89.X where X = 5 I believe) will be using an image loader based on the 
sophisticated routines supplied by xforms. We'll call that the xforms-based 
image loader.

The rest of you will be using a far less sophisticated image loader based on 
the libXPM library. I wrote it; it's crappy, but it should allow you to see a 
rough representation of what will appear in your documents. Don't tell me 
it's crappy; I know that already. Moreover, it's going to go the way of the 
dodo, so we won't put t much effort into making it more wonderful. We'll 
call this the libXpm-based image loader.

From the messages Wayan has posted above, I deduce that he's using the 
xforms-based image loader. So, I'm intrigued by his problems because I didn't 
realise that there were any! The problem stems from the colour definition in 
the XPM files: xforms can't cope with such 16 char definitions, as Herbert 
Voss has pointed out already. It can cope with colours that are 4, 7, 10 and 
13 chars. For that matter, the libXpm-based loader couldn't cope with this 
either.

So, the question is, how did you create such an XPM file, Wayan?

Run 
lyx -dbg  graphics
and the script that LyX used to convert your EPS file to XPM will be 
displayed on the console.

Can we provide a work-around? Well, for those of you using the xforms-based 
load, yes we can. Again, 
lyx -dbg  graphics
is your friend here. You should discover that you can load a host of graphics 
formats directly, rather than have to convert everything to XPM format.

This is important info for you, because it means that you can scrap all those 
???-XPM converters that are defined in /usr/local/share/lyx/lyxrc.defaults 
(or where ever you have placed this file). You'll have to use a text editor 
to do this I'm afraid; you can't delete these system-wide preferences using 
the preferences dialog. XPM is a very inefficient format to store large 
images; it wasn't designed for such stuff. Moreover, some converters to XPM 
format create non-standard colour definitions that Wayan for one is 
disovering can't be loaded.

In place of these ???-XPM converters, you'll need to define converters for 
those graphics formats you use that can't be loaded direct. An example here 
is EPS. Here I convert EPS files to PPM format using
\converter eps ppm convert $$i PPM:$$o 

(Add this directly to your /usr/local/share/lyx/lyxrc.defaults or to your 
$HOME/.lyx/preferences file or use the Preferences dialog to add it to 
$HOME/.lyx/preferences).

This will enable you to load EPS files much more quickly (because PPM is a 
more efficient file format than XPM). It will also resolve Wayan's problems.

Hope that this info helps,
Angus



WYSIWYG mathematical symbols in LyX

2002-04-26 Thread Angus Leeming

Dear all,

(Kees read on. There's sone new info for you at the bottom...)

one of the things that LyX 1.2 can do for you is display most of the 
mathematical symbols you'll ever use in a WYSIWYG way. However, you'll need 
to first perform a little magic with your font path.

On Friday 26 April 2002 12:22 pm, C. van Wijk wrote:
The strange thing is when I try to insert an epsilon from within the
math panel there is a greek epsilon available. So why isn't it
displayed in the formula as well?
  
   This is a \varepsilon.
  
   However, \epsilon should be displayed as well. Do the other AMS symbols
   show properly?

To display \epsilon and any of the AMS symbols like \sqcup and 
\blacktriangledown you'll need to tell the font server where to find these 
fonts.

Look in /usr/local/share/lyx, or wherever you have installed the lyx support 
stuff. You'll find a directory xfonts containing symbolic links to a number 
of fonts used by LyX (if you have them installed). If you have them, then you 
should check whether this directory is in your font path. Type
xset -q
at the console. Here I get
[snip]

Font Path:
/usr/local/share/lyx/xfonts,/usr/lib/X11/fonts/decwin/100dpi/,/usr/lib/X11/fo
nts/100dpi/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fo
nts/Type1Adobe/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/
X11/fonts/user/100dpi/,/usr/lib/X11/fonts/user/misc/,/usr/dt/config/xfonts/C/,

Note the all important /usr/local/share/lyx/xfonts.

To add the equivalent to your font path, if it isn't already there, type
xset +fp PATH_TO_YOUR_LYX_FONTS_DIR

Unfortunately, I understand that this magic will not work if you are running 
LyX remotely. Sorry!

On Friday 26 April 2002 12:22 pm, C. van Wijk wrote:
 Isn't it possible for lyx to do a 'xset +fp PATH_TO_YOUR_LYX_FONTS_DIR'
 when starting?

Well, you only need to do this once per xsession. Here, I have added the 
following to my .xsession file:

#
# Some fonts for LyX
#
lyxmathfontsdir=/usr/local/share/lyx/xfonts

if [ -d $lyxmathfontsdir ]; then
xset q | grep $lyxmathfontsdir
if [ $?  -ne 0 ]; then
# directory is not already in the font path
# so add it:
xset +fp $lyxmathfontsdir; xset fp rehash
fi
fi

That should do the trick for you too

Angus



lyx

2002-04-26 Thread bcr


hello.  i've been using lyx for a while now, love it, and am just about to
start my thesis.  I cant wait.  But i tried to convince a friend to use
lyx, and i felt pretty stupid.  because I cont know how to pronounce it.
how do you pronounce lyx?




Re: lyx

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 06:59:13AM -0500, bcr wrote:

 hello.  i've been using lyx for a while now, love it, and am just about to
 start my thesis.  I cant wait.  But i tried to convince a friend to use
 lyx, and i felt pretty stupid.  because I cont know how to pronounce it.
 how do you pronounce lyx?

Consensus is (for english speaker) :

licks

to rhyme with Weetabix

We really need Matthias do us an .au :

Hi, my name is Matthias Ettrich, and I pronounce LyX LyX

Or Lars.

john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: lyx

2002-04-26 Thread Andre Poenitz

On Fri, Apr 26, 2002 at 06:59:13AM -0500, bcr wrote:
 hello.  i've been using lyx for a while now, love it, and am just about to
 start my thesis.  I cant wait.  But i tried to convince a friend to use
 lyx, and i felt pretty stupid.  because I cont know how to pronounce it.
 how do you pronounce lyx?

Lüks with short ü.

I've heard Liks with short i, too.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: XpmColorFailed

2002-04-26 Thread Wayan


On Fri, 26 Apr 2002, Angus Leeming wrote:

 So, the question is, how did you create such an XPM file, Wayan?

 Run
   lyx -dbg  graphics
 and the script that LyX used to convert your EPS file to XPM will be
 displayed on the console.

Thank you for your clear explanation.
This is part of the result,

-
The file contains eps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/usr/local/share/lyx/doc/mobius.eps'
infile_base='/usr/local/share/lyx/doc/mobius'
outfile='/tmp/lyx_tmpdir13456jX8gi4/gconvert013456R9Ldyi.xpm'

convert EPS:${infile} XPM:${outfile}
-

Wayan




thumbpdf

2002-04-26 Thread Christian Beermann

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, 

I want to use the thumbpdf package,with lyx, but the only way I found 
which made it possible was inserting \usepackage{thumbpdf} in the 
preamble, and then export the doc to latex, and run pdflatex 
manually, then thumbpdf manually and then pdflatex.

Does anybody know how I can do it without export to latex and directly 
from lyx ? I don't find any hint in the docs and the great lyx help 
on the lyx homepage.

Thank You 

Christian
- -- 
Christian Beermann | Linux User #247518 
- --
I like work ... I can sit and watch it for hours.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8yUwGi67sjQhmqvYRAoe+AJ40qmAUaVYFuYups26eWPDa5Q6oZQCgpTQ8
2IhOIhx1l8F+HIgd0V8EuWM=
=ks6b
-END PGP SIGNATURE-




Re: fitting math within the page text width

2002-04-26 Thread Nirmal Govind

Latex does break math
equations, but it can only break at relation symbols
(e.g. ) or at binary operators (e.g. +,-).
If you want to avoid text that goes into the margins, put \sloppy in
the
preamble (note that this can create a lot of space between
words).
thanks Dekel.. it works great...
nirmal


Re: XpmColorFailed

2002-04-26 Thread Ronald Florence

Angus Leeming writes:
  
  Allow me to introduce myself: I'm the guy who's responsible for 1.2's 
  graphics support. Before you reach for the reply button and deluge me with 
  complaints [...]

Not exactly a complaint, but is it possible to revive the .ps/.eps
rendering scheme of LyX-1.1.5 and before with LyX-1.2.0?  I've
recently built 1.2.0, and tried it with both a long LyX file which
incorporates a number of photographs and with the UserGuide.lyx.  For
reasons you complain, even after I installed convert, the images don't
render on screen.  Both files come up relatively quickly in Lyx-1.1.5.
What troubles me, as I contemplate upgrading my xforms library and run
the risk of breaking Lyx-1.1.5, is that the multi-step rendering
process for on-screen images in Lyx-1.2.0 seems complicated,
kluge-like, wasteful of temporary file space, and s-l-o-w.

Can I configure Lyx-1.2.0 to use ghostscript to directly render the
on-screen images in the manner of Lyx-1.1.5?  Or is the use of
intermediate file formats (xpm or ppm) just a fact-of-life for the new
version of LyX?

Thanks,

-- 

Ronald Florence www.18james.com



Re: font sizes of entries in a table

2002-04-26 Thread Nirmal Govind

In 1.1.6 there is no
other simple and nice way. However, you can
a) use ERT: put 

{\small
 before
the table and

}

behind 
Thanks Guenter.. I like the one above... it works for my present problem
which is that the table is too big (wide) to fit on the page so I wanted
to change the sizes of all the entries including headings and make them
smaller so that it would fit. Btw, is there a way of making the table
extend into the left margin? (right now, it only goes into the right
margin and beyond the page border so I'm hoping that if I can get it to
extend into the left margin, then maybe it would stay within the page)

It would be nice to have a way of selecting multiple cells
and changing the characteristics of the text like the font etc.. is this
something on the agenda?
Thanks,
nirmal


Re: XpmColorFailed

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 09:23:40AM -0400, Ronald Florence wrote:

 Not exactly a complaint, but is it possible to revive the .ps/.eps
 rendering scheme of LyX-1.1.5 and before with LyX-1.2.0?  I've

Over my dead body...

 What troubles me, as I contemplate upgrading my xforms library and run
 the risk of breaking Lyx-1.1.5, is that the multi-step rendering
 process for on-screen images in Lyx-1.2.0 seems complicated,
 kluge-like, wasteful of temporary file space, and s-l-o-w.

LyX 1.2.0 is not yet out. And I've already told you there's no need to
break 1.1.5 at all - read up about library paths.

I haven't noticed any speed difference at all.

 Can I configure Lyx-1.2.0 to use ghostscript to directly render the
 on-screen images in the manner of Lyx-1.1.5?  Or is the use of
 intermediate file formats (xpm or ppm) just a fact-of-life for the new
 version of LyX?

No, xforms' image loader can load several formats directly.

Like Angus said, eventually his own code will die anyway.

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: XpmColorFailed

2002-04-26 Thread Herbert Voss

Ronald Florence wrote:

 Can I configure Lyx-1.2.0 to use ghostscript to directly render the
 on-screen images in the manner of Lyx-1.1.5?  Or is the use of
 intermediate file formats (xpm or ppm) just a fact-of-life for the new
 version of LyX?


no, it uses always the xforms or internal xpm-library

Herbert



-- 
http://www.lyx.org/help/




Re: font sizes of entries in a table

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 09:28:14AM -0400, Nirmal Govind wrote:

 It would be nice to have a way of selecting multiple cells and changing the 
 characteristics of the text like the font etc.. is this something on the 
 agenda?

Works (almost) perfectly in the forthcoming 1.2.0

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: thumbpdf

2002-04-26 Thread Herbert Voss

 I want to use the thumbpdf package,with lyx, but the only way I found 
 which made it possible was inserting \usepackage{thumbpdf} in the 
 preamble, and then export the doc to latex, and run pdflatex 
 manually, then thumbpdf manually and then pdflatex.
 
 Does anybody know how I can do it without export to latex and directly 
 from lyx ? I don't find any hint in the docs and the great lyx help 
 on the lyx homepage.


than try this ... ;-)

http://www.lyx.org/help/pdf/thumbnails.php

Herbert



-- 
http://www.lyx.org/help/




Re: XpmColorFailed

2002-04-26 Thread Angus Leeming

On Friday 26 April 2002 2:23 pm, Ronald Florence wrote:
 Angus Leeming writes:

   Allow me to introduce myself: I'm the guy who's responsible for 1.2's
   graphics support. Before you reach for the reply button and deluge me
 with complaints [...]

 Not exactly a complaint, but is it possible to revive the .ps/.eps
 rendering scheme of LyX-1.1.5 and before with LyX-1.2.0?  I've
 recently built 1.2.0, and tried it with both a long LyX file which
 incorporates a number of photographs and with the UserGuide.lyx.  For
 reasons you complain, even after I installed convert, the images don't
 render on screen.  Both files come up relatively quickly in Lyx-1.1.5.
 What troubles me, as I contemplate upgrading my xforms library and run
 the risk of breaking Lyx-1.1.5, is that the multi-step rendering
 process for on-screen images in Lyx-1.2.0 seems complicated,
 kluge-like, wasteful of temporary file space, and s-l-o-w.

 Can I configure Lyx-1.2.0 to use ghostscript to directly render the
 on-screen images in the manner of Lyx-1.1.5?  Or is the use of
 intermediate file formats (xpm or ppm) just a fact-of-life for the new
 version of LyX?

It's a fact of life. The code has been rewritten entirely. There were some 
really good reasons for doing so and we won't be going back.

Now that xforms has gone open source, and once xforms 1.0 is released (start 
of May, apparently), then no-one will have a real excuse to stay with xforms 
0.88 or early 0.89. Then none of you'll be using the libXpm-based loader.

The converter mechanism is extremely powerful. It is most-certainly NOT a 
kludge. If you can define a converter from your graphics format to EPS, you 
can use it with LaTeX. If you define a converter to a loadable format, then 
you can view it in LyX.

xforms will load many, many formats directly. The only real PITA is EPS 
itself. Now that xforms is Open Source, that's likely to change.

As for speed: convert is slow, but I tend to use the netpbm suite of 
converters here. Much, much quicker. Ok, I haven't found an alternative for 
EPS but you might. And anyway, since the graphics loading is performed 
asynchronously, you could always get on and do some work ;-)

Finally, I suspect that the images don't come up on screen for perfectly 
valid reasons to do with convert creating wierd XPM files. I've already 
explained how to work around that if you're using the xforms-based image 
loader. If, however, you're using the libXPM-based loader, then

1. Scrub the ???-XPM converters in /usr/local/share/lyx/lyxrc.defaults that 
use convert to do the job.
2. Use convert to create PPM files instead. These are always valid.
3. Define a PPM-XPM converter using ppmtoxpm. (man ppmtoxpm). These are also 
always valid.

Angus



Re: XpmColorFailed

2002-04-26 Thread Ronald Florence

Angus Leeming writes:
  
  It's a fact of life. The code has been rewritten entirely. There were some 
  really good reasons for doing so and we won't be going back.
  
I can accept this, and with the kluge you provided for using .eps and
.ps files with the older xforms library, those of us making the
transition from older versions of LyX can test LyX-1.2.0 before
shifting over or venturing into LD_LIBRARY_PATH kluges to use two
versions of xforms simultaneously.

Many thanks for your generous help with this.  

-- 

Ronald Florence www.18james.com



Re: lyx

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 04:11:31PM +0200, Lars Gullik Bjønnes wrote:

 | Consensus is (for english speaker) :
 
 | licks
 
 try to meake the 'e' sound a bit more like 'y'

This makes no sense to me !

There's no eee there in the english pronounciation, it's a hard short
i. Ho hum, it seems this spectre will never lie ...

I'm English so I'm going to pronounce it in an English way, just like we
call Paris Paris !

 | Hi, my name is Matthias Ettrich, and I pronounce LyX LyX
 
 | Or Lars.
 
 I did one several years ago...

Well dg eeet up !

Damn, I'm itching for a smiley

john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: font sizes of entries in a table

2002-04-26 Thread Nirmal Govind

Works (almost)
perfectly in the forthcoming 1.2.0
Cool!! I was looking on the website but couldn't find any
list of changes/new features that are in the pre-release of 1.2.0 or
going to be in the final 1.2.0. Is there a link to this?
thanks,
nirmal


Empty files?

2002-04-26 Thread Sarah Mount


I have a LyX file which normally converts to a 9-page postscript document. 
Having changed a bit of the preamble (to include some messing around with 
fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
says operation resulted in an empty file. Has anyone had similar 
problems?

Cheers,

Sarah

-- 
All over the place, from the popular culture to the propaganda system, 
there is constant pressure to make people feel that they are helpless, 
that the only role they can have is to ratify decisions and to consume.
  -- Noam Chomsky




Re: font sizes of entries in a table

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 10:26:39AM -0400, Nirmal Govind wrote:

 Cool!! I was looking on the website but couldn't find any list of 
 changes/new features that are in the pre-release of 1.2.0 or going to be in 
 the final 1.2.0. Is there a link to this?

Read NEWS in one of the test releases. It's quite brief though.

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: Empty files?

2002-04-26 Thread Herbert Voss

Sarah Mount wrote:

 I have a LyX file which normally converts to a 9-page postscript document. 
 Having changed a bit of the preamble (to include some messing around with 
 fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
 says operation resulted in an empty file. Has anyone had similar 
 problems?


in 99% a problem in the preamble, mostly a missing parenthesis


Herbert



-- 
http://www.lyx.org/help/




Re: Empty files?

2002-04-26 Thread Sarah Mount

On Fri, 26 Apr 2002, Herbert Voss wrote:

 Sarah Mount wrote:
 
  I have a LyX file which normally converts to a 9-page postscript document. 
  Having changed a bit of the preamble (to include some messing around with 
  fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
  says operation resulted in an empty file. Has anyone had similar 
  problems?
 
 in 99% a problem in the preamble, mostly a missing parenthesis

Thanks, I eventually found this by exporting to TeX and runnint LaTeX by 
hand. I'm a bit surprised that LyX doesn't give the same error message as 
LaTeX in this situation.

Cheers,

Sarah




Re: Empty files?

2002-04-26 Thread Herbert Voss

Sarah Mount wrote:

 On Fri, 26 Apr 2002, Herbert Voss wrote:
 
 
Sarah Mount wrote:


I have a LyX file which normally converts to a 9-page postscript document. 
Having changed a bit of the preamble (to include some messing around with 
fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
says operation resulted in an empty file. Has anyone had similar 
problems?

in 99% a problem in the preamble, mostly a missing parenthesis

 
 Thanks, I eventually found this by exporting to TeX and runnint LaTeX by 
 hand. I'm a bit surprised that LyX doesn't give the same error message as 
 LaTeX in this situation.


view-logfile and you have it all, no need to run it ba hand.

Herbert



-- 
http://www.lyx.org/help/




Re: lyx

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 05:13:54PM +0200, Lars Gullik Bjønnes wrote:

 I just got Licks smacked in my forehead...

I don't want to know what you've been doing with certain Welsh
vegetables !

 so I do not thing so. You
 english speaking cretins are not able to hear the difference between
 LyX and Licks.

Oh, it's all true - we /are/ cretins

john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



LyX-1.2.0pre4 + xforms-89.6

2002-04-26 Thread Ronald Florence

I successfully built Lyx-1.2.0pre4 with my old xforms-88.1 library
(Sparc-Solaris-8, gcc 2.95.3, gnumake) only to run into problems with
screen rendering of graphics.  So I tried to build it with the new
xforms-89.6 library, only to find that the make now breaks on sigc++:

  Making all in sigc++
  gnumake[1]: Entering directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
  m4 -I./macros  macros/object_slot.h.m4   ./object_slot.h
  m4: bad option: -I./macros
  gnumake[1]: *** [object_slot.h] Error 1
  gnumake[1]: Leaving directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
  gnumake: *** [all-recursive] Error 1

It appears that -I is not an option in the Solaris m4.  I'd welcome a
workaround suggestion.  (I hope LyX hasn't become so Linux-oriented
that it no longer compiles with standard Unix utilities.)

Thanks,

-- 

Ronald Florence www.18james.com



Re: LyX-1.2.0pre4 + xforms-89.6

2002-04-26 Thread Angus Leeming

On Friday 26 April 2002 4:43 pm, Ronald Florence wrote:
 I successfully built Lyx-1.2.0pre4 with my old xforms-88.1 library
 (Sparc-Solaris-8, gcc 2.95.3, gnumake) only to run into problems with
 screen rendering of graphics.  So I tried to build it with the new
 xforms-89.6 library, only to find that the make now breaks on sigc++:

   Making all in sigc++
   gnumake[1]: Entering directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   m4 -I./macros  macros/object_slot.h.m4   ./object_slot.h
   m4: bad option: -I./macros
   gnumake[1]: *** [object_slot.h] Error 1
   gnumake[1]: Leaving directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   gnumake: *** [all-recursive] Error 1

 It appears that -I is not an option in the Solaris m4.  I'd welcome a
 workaround suggestion.  (I hope LyX hasn't become so Linux-oriented
 that it no longer compiles with standard Unix utilities.)

 Thanks,

Well, I compile quite happily under Tru64 unix, but you're right here I 
believe. You need gm4.

Having said that, how did you compile the first time round?

Angus



Re: LyX-1.2.0pre4 + xforms-89.6

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 11:43:07AM -0400, Ronald Florence wrote:

   Making all in sigc++
   gnumake[1]: Entering directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   m4 -I./macros  macros/object_slot.h.m4   ./object_slot.h
   m4: bad option: -I./macros
   gnumake[1]: *** [object_slot.h] Error 1
   gnumake[1]: Leaving directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   gnumake: *** [all-recursive] Error 1

You need to use GNU m4 (check the archives, this came up recently).

 It appears that -I is not an option in the Solaris m4.  I'd welcome a
 workaround suggestion.  (I hope LyX hasn't become so Linux-oriented
 that it no longer compiles with standard Unix utilities.)

It's GNU not Linux-oriented I'm afraid :/

I expect we'll take patches to fix it if possible

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: LyX-1.2.0pre4 + xforms-89.6

2002-04-26 Thread Lars Gullik Bjønnes

John Levon [EMAIL PROTECTED] writes:

| On Fri, Apr 26, 2002 at 11:43:07AM -0400, Ronald Florence wrote:

   Making all in sigc++
   gnumake[1]: Entering directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   m4 -I./macros  macros/object_slot.h.m4   ./object_slot.h
   m4: bad option: -I./macros
   gnumake[1]: *** [object_slot.h] Error 1
   gnumake[1]: Leaving directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   gnumake: *** [all-recursive] Error 1

| You need to use GNU m4 (check the archives, this came up recently).

_and_ we have used this version of sigc++ for a _long_ time.

-- 
Lgb



Re: Empty files?

2002-04-26 Thread Roberto Hernandez

Sarah Mount wrote:
 I have a LyX file which normally converts to a 9-page postscript document. 
 Having changed a bit of the preamble (to include some messing around with 
 fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
 says operation resulted in an empty file. Has anyone had similar 
 problems?
 
 Cheers,
 
 Sarah
 

I've had a similar problem. It triggers with the following combination:

* Koma-script book class
* Bibentry package
* Include a footnote placed in a Chapter environment and put a 
\bibentry{} inside the footnote.

When I compile the document, everything from the point of insertion of 
the footnote is blank in the PS output. I am using a BibTeX database.

I'm sure the problem isn't a mismatch in parentheses or the like, 
because if cutpaste the footnote in a Standard environment everything 
works well.

I still haven't figured out the problem, so for now I just live with it 
and don't include footnotes in chapter environments.

Regards,
Roberto






Version of xforms?

2002-04-26 Thread Rod Pinna

OK, so I'm now a little confused, so I'll put my stupid luser hat on.

I'm currently downloading bxform-089-glibc2.1.tgz from one of the ftp
sites in the iINSTALL file. Will this allow lyx-1.2.0 to cleanly produce
the insert previews, or do I need to look at updating convert as well?

Imagemagik is at 5.2.5

Sorry about asking what appear to be stupid question, but at the moment I
am quite confused.

Thanks alot everyone,
Rod


_
rpinna|Zoeggeler denies Hackl four straight luge golds
civil.uwa|
.edu.au   |   ABC news headline, 2002





Re: Version of xforms?

2002-04-26 Thread Angus Leeming

On Friday 26 April 2002 6:01 pm, Rod Pinna wrote:
 OK, so I'm now a little confused, so I'll put my stupid luser hat on.

 I'm currently downloading bxform-089-glibc2.1.tgz from one of the ftp
 sites in the iINSTALL file. Will this allow lyx-1.2.0 to cleanly produce
 the insert previews, or do I need to look at updating convert as well?

 Imagemagik is at 5.2.5

 Sorry about asking what appear to be stupid question, but at the moment I
 am quite confused.

 Thanks alot everyone,
 Rod

My final HELP of the day (I'm off home).

The answer to your question is depends...

I thought you'd like that. Seriously, we're talking about different things. 

If you upgrade to a version of xforms with image support (0.89.X, X=5ish), 
then you'll be able to use the xforms-based image loader. This loader can 
load several image formats natively. Running lyx -dbg graphics, I get:

The image loader can load the following directly:
Windows/OS2 BMP file, extension bmp
NASA/NOST FITS, extension fits
CompuServ GIF, extension gif
JPEG/JFIF format, extension jpg
Portable Pixmap, extension ppm
Portable Graymap, extension pgm
Portable Bitmap, extension pbm
PostScript, extension ps
SGI Iris, extension sgi
Tag Image File Format, extension tif
X11 Bitmap, extension xbm
X Window Dump, extension xwd
XPM format, extension xpm

So, if your graphics file is in one of the above formats, it'll just load.

If, however, it ain't, then you'll need to convert it to one of the above. 
That's where convert comes in. Here I have deleted all ???-XPM converters 
because my version of convert can produce nasty XPM files. Instead I 
convert EPS files to PPM format and load that. I believe I've explained how 
to set LyX up to do that earlier.

Hope that this helps your understanding.

Have a good weekend,
Angus

For what it's worth, that same lyx -dbx graphics will also display the 
conversion script used by any converting process. Here's what LyX used to 
convert time_40.eps to ppm format here:

The file contains eps format data.
Converting it to ppm format.
Conversion script:

#!/bin/sh
infile='/usr/users/aleem/docs/Calgary2002/time_40.eps'
infile_base='/usr/users/aleem/docs/Calgary2002/time_40'
outfile='/tmp/lyx_tmpdir24933aaylfa/gconvert024933aaylfa.ppm'

convert ${infile} PPM:${outfile}

if [ $? -ne 0 ]; then
'rm' -f ${outfile}
exit 1
fi

if [ ! -f ${outfile} ]; then
if [ -f ${outfile}.0 ]; then
'mv' -f ${outfile}.0 ${outfile}
'rm' -f ${outfile}.?
else
exit 1
fi
fi

fromfile=${outfile}
tofile='/tmp/lyx_tmpdir24933aaylfa/time_4024933aaylfa.ppm'

'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi

Angus



Re: Version of xforms?

2002-04-26 Thread Rod Pinna

 My final HELP of the day (I'm off home).

Thanks, it *is* very much appreciated. As is the help from everyone else.
Just to reiterate, I'm really not having a go at anyone.

 So, if your graphics file is in one of the above formats, it'll just load.
 
 If, however, it ain't, then you'll need to convert it to one of the above. 
 That's where convert comes in. Here I have deleted all ???-XPM converters 
 because my version of convert can produce nasty XPM files. Instead I 
 convert EPS files to PPM format and load that. I believe I've explained how 
 to set LyX up to do that earlier.
 
 Hope that this helps your understanding.

Indeed it does. It's almost crystal clear. So it really comes down to a
nasty xpm files, produced by convert. 

Thanks for that.

Regards,
Rod
 
 Have a good weekend,
 Angus
 
 For what it's worth, that same lyx -dbx graphics will also display the 
 conversion script used by any converting process. Here's what LyX used to 
 convert time_40.eps to ppm format here:
 
 The file contains eps format data.
 Converting it to ppm format.
 Conversion script:
 
 #!/bin/sh
 infile='/usr/users/aleem/docs/Calgary2002/time_40.eps'
 infile_base='/usr/users/aleem/docs/Calgary2002/time_40'
 outfile='/tmp/lyx_tmpdir24933aaylfa/gconvert024933aaylfa.ppm'
 
 convert ${infile} PPM:${outfile}
 
 if [ $? -ne 0 ]; then
 'rm' -f ${outfile}
 exit 1
 fi
 
 if [ ! -f ${outfile} ]; then
 if [ -f ${outfile}.0 ]; then
 'mv' -f ${outfile}.0 ${outfile}
 'rm' -f ${outfile}.?
 else
 exit 1
 fi
 fi
 
 fromfile=${outfile}
 tofile='/tmp/lyx_tmpdir24933aaylfa/time_4024933aaylfa.ppm'
 
 'mv' -f ${fromfile} ${tofile}
 if [ $? -ne 0 ]; then
 'cp' -f ${fromfile} ${tofile}
 if [ $? -ne 0 ]; then
 exit 1
 fi
 'rm' -f ${fromfile}
 fi
 
 Angus
 


_
rpinna|Zoeggeler denies Hackl four straight luge golds
civil.uwa|
.edu.au   |   ABC news headline, 2002





Re: XpmColorFailed

2002-04-26 Thread Rod Pinna

Thanks Angus,

This works for me. 
 
 1. Scrub the ???-XPM converters in /usr/local/share/lyx/lyxrc.defaults that 
 use convert to do the job.
 2. Use convert to create PPM files instead. These are always valid.
 3. Define a PPM-XPM converter using ppmtoxpm. (man ppmtoxpm). These are also 
 always valid.
 
 Angus
 


_
rpinna|Zoeggeler denies Hackl four straight luge golds
civil.uwa|
.edu.au   |   ABC news headline, 2002





rotating image files (lyx-1.2.0pre4)

2002-04-26 Thread Ronald Florence

Despite my earlier curmudgeonly grumbling, once I got it all up and
running, the new image rendering facility in LyX-1.2.0pre4 with
xforms-89.6 is nifty, at least for Postsript images.  I do find that
rotation of images, at least in files created under lyx-1.1.5, causes
some problems.  When the lyx looks like this:

 \begin_inset Figure size 226 180
 file photos/80-1092.ps
 width 1 8
 angle 270
 flags 9

 \end_inset 

the image is rendered but not properly rotated, and the error output
is:

  In RotateMatrix [image_rotate.c 239] InternalError: bad special angle

-- 

Ronald Florence www.18james.com



translating layout files for LyX-1.2.0pre4

2002-04-26 Thread Ronald Florence

I find that some custom layout files which worked fine under lyx-1.1.5
generate protests and/or break under lyx-1.2.0pre4.  For example, the
layout file included below generates the following error messages:

[begin errors]
LyX: Unknown tag `Latex' [around line 32 of file ~/.lyx/layouts/rletter.layout]
LyX: Unknown layout tag `Latex' [around line 33 of file ~/.lyx/layouts/rletter.layout]
Error parsing style `Close'
Error reading `~/.lyx/layouts/rletter.layout'
(Check `rletter')
Check your installation and try Options/Reconfigure...
[eof]


and the `close' instead of functioning correctly produces a closing on
the left marging.

I'd welcome specific or generic suggestions on how to convert this
file to work with LyX-1.2.0pre4.  Thanks,



#% Do not delete he line below; configure depends on this
#  \DeclareLaTeXClass{rletter (R letterhead)}
# Letter textclass definition file. 
# Author : [EMAIL PROTECTED], 22 Mar 1998

# Input general definitions
Input stdletter.inc
Input stdlists.inc
Input lyxmacros.inc
Input stdlayouts.inc

# Remove some unwanted styles.
NoStyle Right_Address
NoStyle Address

Style Close
  LatexType Command
  LatexName close
  LeftMarginSignature::xx
  LabelSep  xx
  TopSep0.4
  BottomSep 0.4
  ParSep0.4
  Align Block
  AlignPossible Block, Left
  LabelType Static
  LabelString   Close:

  # label font definition
  LabelFont 
Series  Bold
Shape   Italic
Latex   Latex
  EndFont

  # define the environment lyxcode
  Preamble
\newcommand{\close}[1]{\def\fromaddress{\ }\closing{#1}}
  EndPreamble
End





-- 

Ronald Florence www.18james.com



Re: compiling LyX-1.2.0pre4 on Solaris

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 02:48:44PM -0400, Ronald Florence wrote:

 In the hope that this may save others some time, here are some notes
 on compiling LyX-1.2.0pre4 on Sparc-Solaris-8:

Thanks for these notes. I'll hopefully patch these into our INSTALL
soonish.

  - The distribution from ftp.devel.lyx.org includes pre-configured
  header files in the sigc++ subdirectory.  If you do a `distclean',
  you will need gm4 to recreate those header files; the makefile in the
  sigc++ subdirectory does not work with Solaris m4.

Hum, this sounds like a plain bug. distclean should not be removing any
file that comes in the tarball. Lars ?

  - The Solaris ar seg-faults trying to build the insets library.  You
  will need to use the ar from the GNU binutils for this subdirectory.

How would we solve this one ? It's a plain broken tool, no ?

Are you running the latest version of ar that Sun provide ?

  - Don't bother building LyX-1.2.0pre4 with an older xforms library.
  The new on-screen graphics rendering requires xforms-89.6 and convert
  from the ImageMagick tools.

actually for most cases, it's xforms-89.6 OR convert. It's fairly cleear
we need to add a little documentation on what's required when though.

 same time, I hope that building the production versions of this and
 future releases of LyX will not require quite so many proprietary
 Linux/GNU tools.

LyX builds fine on digital unix with the system tools, for example. The
simple fact is none of the developers use Solaris ! Testers such as
yourself help to keep us honest.

 If I recall correctly, Lyx-1.1.5 and before could be
 built with standard Unix utilities and a good C++ compiler.  Restoring
 that portability might go a long way toward wider acceptance and use
 of LyX.

Will you be contributing Solaris builds of 1.2.0 proper for the LyX ftp
site ? I hope so !

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: rotating image files (lyx-1.2.0pre4)

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 02:54:17PM -0400, Ronald Florence wrote:

 the image is rendered but not properly rotated, and the error output
 is:
 
   In RotateMatrix [image_rotate.c 239] InternalError: bad special angle

Don't you just love xforms ?

If I remember correctly, Angus sent a fix to the xforms list for this
bug. Try the archive there.

I know that's not much use to you now (using 0.89) but we are aware of
the problem in xforms...

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



some files missing? (qt2 frontend)

2002-04-26 Thread Juan Pablo Romero

Hi!

I found this when compiling lyx 1.2.0 pre 4:

...
make[5]: Leaving directory
`/home/jpablo/src/lyx-1.2.0pre4/src/frontends/qt2/xforms'
Making all in ui
make[5]: Entering directory
`/home/jpablo/src/lyx-1.2.0pre4/src/frontends/qt2/ui'
Making all in .
make[6]: Entering directory
`/home/jpablo/src/lyx-1.2.0pre4/src/frontends/qt2/ui'
make[6]: *** No rule to make target `QAboutDialogBase.C', needed by
`QAboutDialogBase.lo'.  Stop.
make[6]: Leaving directory 
...

It seems `QAboutDialogBase.C' is missing, or something.

This is my setup:

./configure  --with-frontend=qt2
--with-qt2-dir=/home/jpablo/src/qt-2.3.1/


And the contents of 'src/frontents/qt2/ui':
Makefile  Makefile.am  Makefile.in  moc


   Juan Pablo





Re: some files missing? (qt2 frontend)

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 02:56:23PM -0500, Juan Pablo Romero wrote:

 Hi!
 
 I found this when compiling lyx 1.2.0 pre 4:

The Qt frontend won't compile in 1.2 anyway. Sorry.

(it should have generated the .Ch files from the .ui files)

regards
john
-- 
This is just the kind of crackpot scheme I've been looking to champion!!!
- P.M. Hartke on 6U campaign



I hate asking compile questions...

2002-04-26 Thread Peter Clark

So I saw on Freshmeat the LyX1.2pre4 had been released and decided to see 
how it would look in QT (since I hate xforms). I did ./configure 
--with-frontend=qt2 and got no error messages. At the very end of the make 
process, however, I got the following error:

make[6]: Entering directory 
`/home/peter/src/lyx-1.2.0pre4/src/frontends/qt2/ui'make[6]: *** No rule to 
make target `QAboutDialogBase.C', needed by `QAboutDialogBase.lo'.  Stop.

I'm running Debian and I just confirmed that I have libqt-dev 2.3.1. 
Just to be on the safe side, I recompiled it with the xforms frontend; no 
problem. Glancing at the GUII page, I notice that there are still a few blank 
and Pending spots left to be filled. Is the QT frontend just not ready for 
public consumption yet?
:Peter



Re: rotating image files (lyx-1.2.0pre4)

2002-04-26 Thread Herbert Voss

Ronald Florence wrote:

 Despite my earlier curmudgeonly grumbling, once I got it all up and
 running, the new image rendering facility in LyX-1.2.0pre4 with
 xforms-89.6 is nifty, at least for Postsript images.  I do find that
 rotation of images, at least in files created under lyx-1.1.5, causes
 some problems.  When the lyx looks like this:
 
  \begin_inset Figure size 226 180
  file photos/80-1092.ps
  width 1 8
  angle 270
  flags 9
 
  \end_inset


 

as John wrote it's a bug in xforms. try 270.1 as angel
and it should work.

Herbert


-- 
http://www.lyx.org/help/




Re: I hate asking compile questions...

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 03:46:55PM -0500, Peter Clark wrote:

   So I saw on Freshmeat the LyX1.2pre4 had been released and decided to see 
 how it would look in QT (since I hate xforms). I did ./configure 

That's a surprise ! I didn't know it had got on freshmeat. Actually I'm
a bit perplexed /how/ it did since I supposedly own the freshmeat
entry.

 --with-frontend=qt2 and got no error messages. At the very end of the make 
 process, however, I got the following error:
 
 make[6]: Entering directory 
 `/home/peter/src/lyx-1.2.0pre4/src/frontends/qt2/ui'make[6]: *** No rule to 
 make target `QAboutDialogBase.C', needed by `QAboutDialogBase.lo'.  Stop.

I'm not sure why this is happening to be honest.

   I'm running Debian and I just confirmed that I have libqt-dev 2.3.1. 
   Just to be on the safe side, I recompiled it with the xforms frontend; no 
 problem. Glancing at the GUII page, I notice that there are still a few blank 
 and Pending spots left to be filled. Is the QT frontend just not ready for 
 public consumption yet?

Correct. It wouldn't link at the end anyway (I don't know what's wrong).

Besides, only a proportion of the dialogs have been converted. Our next
major release will have a fully working Qt frontend. Here's a sneak peak

http://www.movement.uklinux.net/ss2.png

regards
john

-- 
This is just the kind of crackpot scheme I've been looking to champion!!!
- P.M. Hartke on 6U campaign



New to LyX

2002-04-26 Thread Emil Erlandsson

Hi

I'm a new LyX user, and I have played with it a bit. My question is, is
there a site with example publications written in LyX ?  (Except for those
included in the LyX package) .

/Emil




1.2 crashes on launch

2002-04-26 Thread Robin Turner

1.2 was working fine, but now crashes, giving the following message:

Could not set menu font to -*-helvetica-bold-r-*-*-*-?-*-*-*-*-iso8859-1
Could not set popup font to -*-helvetica-medium-r-*-*-*-?-*-*-*-*-iso8859-1
Using 'helvetica' font for menus
Could not find helvetica font. Using 'fixed'.
BadFont (invalid Font parameter) id: 1077224896

I haven't done anything to either my lyx files or my fonts in the interim.  
Same happens if I delete the .lyx directory and create a new one.

Robin



Re: 1.2 crashes on launch

2002-04-26 Thread John Levon

On Sat, Apr 27, 2002 at 01:31:42AM +0300, Robin Turner wrote:

 1.2 was working fine, but now crashes, giving the following message:
 
 Could not set menu font to -*-helvetica-bold-r-*-*-*-?-*-*-*-*-iso8859-1
 Could not set popup font to -*-helvetica-medium-r-*-*-*-?-*-*-*-*-iso8859-1

compressed xlsfonts output please. Can you look at helvetica and/or
fixed in xfontsel ?

If nothing's changed I can't see how LyX can be at fault ;)

regards
john
-- 
This is just the kind of crackpot scheme I've been looking to champion!!!
- P.M. Hartke on 6U campaign



Re: New to LyX

2002-04-26 Thread Robin Turner

On Saturday 27 April 2002 00:04, Emil Erlandsson wrote:
 Hi

 I'm a new LyX user, and I have played with it a bit. My question is, is
 there a site with example publications written in LyX ?  (Except for those
 included in the LyX package) .

Not as far as I know.  To get a good idea of what LyX can do, with a bit of 
added ERT (= Evil Red Text = raw LaTeX code), just print out the 
Extended Features help page - there are some impressive effects there.  
Somone on this list also used LyX to produce a very nice-looking fanzine some 
time back.  One of my own ventures into LyX publishing (admittedly only 
within my own university) is at http://www.bilkent.edu.tr/~fast/term.ps

Happy LyXing!

Robin



Re: I hate asking compile questions...

2002-04-26 Thread Robin Turner

On Saturday 27 April 2002 00:01, John Levon wrote:

 Besides, only a proportion of the dialogs have been converted. Our next
 major release will have a fully working Qt frontend. Here's a sneak peak

 http://www.movement.uklinux.net/ss2.png

Nice to finally get away from that clunky grey 1980's-UNIX-look GUI!  Will we 
be able to substitute our own icons, though?

Robin



Re: I hate asking compile questions...

2002-04-26 Thread John Levon

On Sat, Apr 27, 2002 at 01:55:08AM +0300, Robin Turner wrote:

  http://www.movement.uklinux.net/ss2.png
 
 Nice to finally get away from that clunky grey 1980's-UNIX-look GUI!  Will we 
 be able to substitute our own icons, though?

You can already do this in current lyx. Just plonk them in
./share/lyx/images/

regards
john

-- 
This is just the kind of crackpot scheme I've been looking to champion!!!
- P.M. Hartke on 6U campaign



1.2.0: space = replace all

2002-04-26 Thread Laszlo E. Szabo

Hi,
I have the following problem in 1.2.0: In the search/replace window, pressing 
keyboard key space is understood as Replace all, that is, it starts to 
replace all. Now, this mistake depends on the Linux default language 
environment! I have this problem if it is Hungarian. If, however, I reinstall 
Linux (Red Hat 7.2 + KDE (3.0 or 2.2.) ) with default language English, then 
the problem disappears. (This is not a new bug. 1.1.6fix4 produces the same 
problem.)
What can I do?
Best wishes,
Laszlo
-- 
Laszlo E. Szabo
Department of Theoretical Physics
Department of History and Philosophy of Science
Eotvos University, Budapest
H-1518 Budapest, Pf. 32, Hungary
Phone/Fax: (36-1)372-2924
Home: (36-1) 200-7318
Mobil/SMS: (36) 20-366-1172
http://hps.elte.hu/~leszabo



Re: New to LyX

2002-04-26 Thread Herbert Voss

Emil Erlandsson wrote:

 
 I'm a new LyX user, and I have played with it a bit. My question is, is
 there a site with example publications written in LyX ?  (Except for those
 included in the LyX package) .


some templates for different problems
http://www.lyx.org/help/layouts/templates.php


Herbert



-- 
http://www.lyx.org/help/




Re: Prelease of LyX 1.2.0 (lyx-1.2.0pre4)

2002-04-26 Thread Jürgen Spitzmüller

Jan Ulrich Hasecke wrote:
 \bind_file /usr/share/lyx/bind/emacs.bind

 Without it everything goes fine.

 How can I now use emacs.bind?

If you do not have a modified bind file in your home (/.lyx) directory, 
entering just emacs.bind into Pref-Look'n'Feel-Interface-bind file 
should do it.

Juergen.



Re: font sizes of entries in a table

2002-04-26 Thread Guenter Milde

On Fri, 26 Apr 2002 01:01:10 -0400 wrote Nirmal Govind [EMAIL PROTECTED]:

 Hi,
 
 Is there a way by which I can change the font size of multiple entries in a 
 table in an efficient way? Right now, I'm selecting the text in each cell 
 and then doing Layout-Character and changing the font. This is a bit 
 tedious if the table has a large number of entries.

Exactly :-(

In 1.1.6 there is no other simple and nice way. However, you can

a) use ERT: put 
{\small
before the table and
}
behind  

b) use the text editor of your choice and change the *.lyx source. This
   might be rather complicated, maybe doing one change by hand and looking
   at the differences in the lyx source might help to find an (maybe regex)
   replace command for your editor. Reload the changed file with
   FileRestore (^R).
   
Hope this helps

Guenter   

--
[EMAIL PROTECTED]




Re: font sizes of entries in a table

2002-04-26 Thread Guenter Milde

On Fri, 26 Apr 2002 01:01:10 -0400 wrote Nirmal Govind [EMAIL PROTECTED]:

 Hi,
 
 Is there a way by which I can change the font size of multiple entries in a 
 table in an efficient way? Right now, I'm selecting the text in each cell 
 and then doing Layout-Character and changing the font. This is a bit 
 tedious if the table has a large number of entries.

Exactly :-(

In 1.1.6 there is no other simple and nice way. However, you can

a) use ERT: put 
{\small
before the table and
}
behind  

b) use the text editor of your choice and change the *.lyx source. This
   might be rather complicated, maybe doing one change by hand and looking
   at the differences in the lyx source might help to find an (maybe regex)
   replace command for your editor. Reload the changed file with
   FileRestore (^R).
   
Hope this helps

Guenter   

--
[EMAIL PROTECTED]




Re: font sizes of entries in a table

2002-04-26 Thread Guenter Milde

On Fri, 26 Apr 2002 01:01:10 -0400 wrote Nirmal Govind [EMAIL PROTECTED]:

 Is there a way by which I can change the font size of multiple entries in a 
 table in an efficient way? Right now, I'm selecting the text in each cell 
 and then doing Layout-Character and changing the font. This is a bit 
 tedious if the table has a large number of entries.

In 1.1.6 there is no other simple and nice way :-(. However, you can

a) use ERT: put 
{\small
before the table and
}
behind  

b) use the text editor of your choice and change the *.lyx source. This
   might be rather complicated, maybe doing one change by hand and looking
   at the differences in the lyx source might help to find an (maybe regex)
   replace command for your editor. Reload the changed file with
   FileRestore (^R).
   
Hope this helps

Guenter   

--
[EMAIL PROTECTED]




Re: Re: LyX layout files

2002-04-26 Thread Guenter Milde

On Thu, 25 Apr 2002 17:37:30 +0100 (BST) wrote Sarah Mount [EMAIL PROTECTED]:

 On Thu, 25 Apr 2002, Herbert Voss wrote:
 
  Sarah Mount wrote:
  
   OK, I'm trying to make sure all my section headings, abstract, title 
   authors are in a size 10 font.  I've got a .layout file that's reproduced
   below, but it doesn't seem to make any difference at all.

For me, it made a difference (displaying all in normal size in LyX)

  the layout file is only (!) for the lyx-view and has nothing(!) to do
  with the latex output. when it's the same it's fine, when not ...

There is an option, however to have the layout file also changing the way
LaTeX works: The 
  Preamble 
  EndPreamble 
pair. Everything inbetween will be written to the latex preamble when LyX
exports to latex (or runs latex to get dvi/ps/pdf).

  if you want to change only for one document the chapter/sections/..
  titles, than use in preamble for example:
  
  \usepackage{sectsty}
  \allsectionsfont{\small}
 
  if you want it for all docs than it makes sense to write an own
  lyx-layout to get more wysiwig.

Or you combine this with your already existing layout file and get the
attached article_with_normalsized_headings.layout. 
(Works fine here, except Title and Author size (don't know the correct latex
commands/options there)

Günter

--
[EMAIL PROTECTED]




article_with_normalsized_headings.layout
Description: Binary data


Re: Re: Re: Inserting gnutella tables inside LyX ?

2002-04-26 Thread Guenter Milde

On 25 Apr 2002 12:34:22 +0200 wrote Jerome Oufella [EMAIL PROTECTED]:

 Sorry, I was meaning gnumeric, of course :-).
 Thanks for all those advices, but importing from standard CSV would not
 be affordable for my usage, since my goal was to keep gnumeric's table
 format (colors, backgrounds, etc).


 I wonder if cleaning gnumeric's latex output would keep those stuff.

I doubt that gnumerics latex export will keep colors etc. Maybe you can
experiment with the gnumeric output in pure latex before trying to get it
into lyx. 

Once upon a time I managed to make something halvway usefull out of the
gnumeric latex output (even got it to reLyX) --- but I did not manage to
automatize this task. I suppose inserting the table as an eps might be
easier.


 Wouldnt it be easyer to build a lyx output filter for gnumeric ?

Try to ask this at the gnumric list. I suppose it will be easier to convince
them to write a good latex2e output filter and then relyx. Another option
would be an xml import for LyX (as gnumerics own format is gnuzipped xml).
 
Guenter

--
[EMAIL PROTECTED]




Re: How do I have a. the numbering continue after changing styles or b.............

2002-04-26 Thread Guenter Milde

On Thu, 25 Apr 2002 17:18:49 +1000 wrote Guru - [EMAIL PROTECTED]:

 How do I have a. the numbering continue after changing styles or b. Have 
 styles within a style.???
 
 NOTE: I have attached a LyX document of what I am trying to dohow would 
 I have this done automatically instead of manually?
 NOTE: I am still new at Lyx (I've read 2 of the manuals ... not all of them) 
 and have used LyX a little bit..I'm learning :)...

The recipe is nesting (Look for nesting in the HelpUser Guide)

Changing the enumeration style is rather tricky and needs Latex commands
(evil red text: ERT). A good book on latex (e.g. the LaTeX compagnion) helps
a lot.

Changing the itemize bullets style is possible from within LyX (search the
layout menu)

Another idea would be to make the toplevel enumeration (with the bold text)
subsubheadings. (Some tricky latex style option/ latex class will surely
allow to change the numbering from 1.1.3 to 3. (and so on)

The the attachment for a proposal

Guenter

--
[EMAIL PROTECTED]




nested-enumerates.lyx
Description: Binary data


Re: Suppressing the date in article format?

2002-04-26 Thread Peter Mayr

Oliver Margraf wrote:
 Hi,
 
 after looking throught the help at lyx.org, I have a question which may 
 be a silly one: is there a way to suppress the date in the 'article' 
 class or at least an option where you can configure the placement of the 
 date?
 Thanks in advance.

Hi,

I just recalled the same question answered on friday (see below), hope 
this helps

have a nice day,

Peter

Am Freitag, 19. April 2002 18:47 schrieb José Luis Gómez Dans:

  On Friday 19 April 2002 17:38, Christian Beermann wrote:

   Hello,
  
   I use the comascript article class for an document, but I dont to
   have the date displayed after the title is there any way to
   delete it ?

 
   Don't know if any other way is available, but if you put in the
  preamble
   \date {}
  you're done :-)
  Jose






Re: How do I have a. the numbering continue after changing styles or b.............

2002-04-26 Thread Dekel Tsur

On Thu, Apr 25, 2002 at 05:18:49PM +1000, Guru - wrote:
 How do I have a. the numbering continue after changing styles or b. Have 
 styles within a style.???
 
 NOTE: I have attached a LyX document of what I am trying to dohow would 
 I have this done automatically instead of manually?
 NOTE: I am still new at Lyx (I've read 2 of the manuals ... not all of them) 
 and have used LyX a little bit..I'm learning :)...
 
 What I am trying to do was: Have an enumerate field then within that field 
 have a description or standard field but once I leave the standard field and 
 switch back to enumerate field have the numbering continue

Read section Nesting Environments in the user's guide.



Re: fitting math within the page text width

2002-04-26 Thread Dekel Tsur

On Thu, Apr 25, 2002 at 12:54:01PM -0400, Nirmal Govind wrote:
 Hi,
 
 While typing in the math mode, the math text goes into the region which is 
 supposed to be the margin (doesn't stay within textwidth). Hence, the text 
 part of the document is within the textwidth whereas the math part goes 
 beyond this and into the margins. Any way to make the math characters 
 either wrap around or automatically move the whole math box to the next 
 line (assuming that the math box isn't longer than textwidth it should fit 
 within textwidth on the new line).

Latex does break math equations, but it can only break at relation symbols
(e.g. ) or at binary operators (e.g. +,-).
If you want to avoid text that goes into the margins, put \sloppy in the
preamble (note that this can create a lot of space between words).



Problems compiling lyx1.2.0pre4

2002-04-26 Thread Juan Ramón Rico

Hi I tray to compile.

output ./configure
---
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:warnings assertions included-libsigc 
xforms-image-loader
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (2.95.4)
  C++ Compiler flags: -g -O -fno-exceptions -W -Wall
  Linker flags:  
  Frontend:   xforms
libXpm version:   4.11
libforms version: 0.89.5
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
---
output make
---
Making all in config
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
Making all in intl
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
gcc -c -DLOCALEDIR=\/usr/local/share/locale\ 
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I. 
-I../int
l -isystem /usr/X11R6/include -g -O2  intl-compat.c
gcc -c -DLOCALEDIR=\/usr/local/share/locale\ 
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I. 
-I../int
l -isystem /usr/X11R6/include -g -O2  bindtextdom.c
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h:391: warning: `strchr' redefined
../src/config.h:418: warning: this is the location of the previous 
definition
In file included from bindtextdom.c:25:
/usr/include/string.h:242: conflicting types for `bcopy'
/usr/include/string.h:42: previous declaration of `bcopy'
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h: In function `__strsep_1c':
/usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch 
in cond
itional expression
make[1]: *** [bindtextdom.o] Error 1
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
make: *** [all-recursive] Error 1

-- 


What's going on?

Thank's in advanced.






Problems compiling Lyx1.2.0pre4

2002-04-26 Thread Juan Ramón Rico

Hi I tray to compile.

output ./configure
---
Configuration
  Host type:  i686-pc-linux-gnu
  Special build flags:warnings assertions included-libsigc
xforms-image-loader
  C   Compiler:   gcc
  C   Compiler flags: -g -O2
  C++ Compiler:   g++ (2.95.4)
  C++ Compiler flags: -g -O -fno-exceptions -W -Wall
  Linker flags:
  Frontend:   xforms
libXpm version:   4.11
libforms version: 0.89.5
  LyX binary dir: /usr/local/bin
  LyX files dir:  /usr/local/share/lyx

Configuration of LyX was successful.
Type 'make' to compile the program,
and then 'make install' to install it.
---
output make
---
Making all in config
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/config'
Making all in intl
make[1]: Entering directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
gcc -c -DLOCALEDIR=\/usr/local/share/locale\
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I.
-I../int
l -isystem /usr/X11R6/include -g -O2  intl-compat.c
gcc -c -DLOCALEDIR=\/usr/local/share/locale\
-DLOCALE_ALIAS_PATH=\/usr/local/
share/locale\ -DLIBDIR=\/usr/local/lib\ -DHAVE_CONFIG_H -I../src -I.
-I../int
l -isystem /usr/X11R6/include -g -O2  bindtextdom.c
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h:391: warning: `strchr' redefined
../src/config.h:418: warning: this is the location of the previous
definition
In file included from bindtextdom.c:25:
/usr/include/string.h:242: conflicting types for `bcopy'
/usr/include/string.h:42: previous declaration of `bcopy'
In file included from /usr/include/string.h:360,
 from bindtextdom.c:25:
/usr/include/bits/string2.h: In function `__strsep_1c':
/usr/include/bits/string2.h:1138: warning: pointer/integer type mismatch
in cond
itional expression
make[1]: *** [bindtextdom.o] Error 1
make[1]: Leaving directory `/home/juanra/tmp3/lyx-1.2.0pre4/intl'
make: *** [all-recursive] Error 1

--


What's going on?

Thank's in advanced.


Juan Ramón.






Re: XpmColorFailed

2002-04-26 Thread Angus Leeming

H. For some reason I had unsubscribed myselff from the lyx-users list. I 
must have wanted some peace and quiet ;-)

Allow me to introduce myself: I'm the guy who's responsible for 1.2's 
graphics support. Before you reach for the reply button and deluge me with 
complaints, read on. I should be able to provide you with explanations and 
work arounds for most of your problems.

I've just had a look at the users-archive. This is illuminating:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg18828.html
Re: images in pre-1.2.0 LyX docs
--
I  have run lyx -dbg any and open the UserGuide, the eps file is black.
the message:

Image conversion succeeded.
Loading image.
In LookupColor [rgb_db.c 210] can't handle color #0811
In LookupColor [rgb_db.c 210] can't handle color #614d
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : xpm
xforms image loader. Status : Done Reading xpm
Image loading succeeded.

my xforms 0.89-320

Wayan
--
For those who don't know anything about LyX's internals, a brief description. 
LyX has two possible image loaders. Which one you use will depend on your 
version of the xforms library. 

Those of you with a sufficiently modern version of the xforms library 
(0.89.X where X = 5 I believe) will be using an image loader based on the 
sophisticated routines supplied by xforms. We'll call that the xforms-based 
image loader.

The rest of you will be using a far less sophisticated image loader based on 
the libXPM library. I wrote it; it's crappy, but it should allow you to see a 
rough representation of what will appear in your documents. Don't tell me 
it's crappy; I know that already. Moreover, it's going to go the way of the 
dodo, so we won't put t much effort into making it more wonderful. We'll 
call this the libXpm-based image loader.

From the messages Wayan has posted above, I deduce that he's using the 
xforms-based image loader. So, I'm intrigued by his problems because I didn't 
realise that there were any! The problem stems from the colour definition in 
the XPM files: xforms can't cope with such 16 char definitions, as Herbert 
Voss has pointed out already. It can cope with colours that are 4, 7, 10 and 
13 chars. For that matter, the libXpm-based loader couldn't cope with this 
either.

So, the question is, how did you create such an XPM file, Wayan?

Run 
lyx -dbg  graphics
and the script that LyX used to convert your EPS file to XPM will be 
displayed on the console.

Can we provide a work-around? Well, for those of you using the xforms-based 
load, yes we can. Again, 
lyx -dbg  graphics
is your friend here. You should discover that you can load a host of graphics 
formats directly, rather than have to convert everything to XPM format.

This is important info for you, because it means that you can scrap all those 
???-XPM converters that are defined in /usr/local/share/lyx/lyxrc.defaults 
(or where ever you have placed this file). You'll have to use a text editor 
to do this I'm afraid; you can't delete these system-wide preferences using 
the preferences dialog. XPM is a very inefficient format to store large 
images; it wasn't designed for such stuff. Moreover, some converters to XPM 
format create non-standard colour definitions that Wayan for one is 
disovering can't be loaded.

In place of these ???-XPM converters, you'll need to define converters for 
those graphics formats you use that can't be loaded direct. An example here 
is EPS. Here I convert EPS files to PPM format using
\converter eps ppm convert $$i PPM:$$o 

(Add this directly to your /usr/local/share/lyx/lyxrc.defaults or to your 
$HOME/.lyx/preferences file or use the Preferences dialog to add it to 
$HOME/.lyx/preferences).

This will enable you to load EPS files much more quickly (because PPM is a 
more efficient file format than XPM). It will also resolve Wayan's problems.

Hope that this info helps,
Angus



WYSIWYG mathematical symbols in LyX

2002-04-26 Thread Angus Leeming

Dear all,

(Kees read on. There's sone new info for you at the bottom...)

one of the things that LyX 1.2 can do for you is display most of the 
mathematical symbols you'll ever use in a WYSIWYG way. However, you'll need 
to first perform a little magic with your font path.

On Friday 26 April 2002 12:22 pm, C. van Wijk wrote:
The strange thing is when I try to insert an epsilon from within the
math panel there is a greek epsilon available. So why isn't it
displayed in the formula as well?
  
   This is a \varepsilon.
  
   However, \epsilon should be displayed as well. Do the other AMS symbols
   show properly?

To display \epsilon and any of the AMS symbols like \sqcup and 
\blacktriangledown you'll need to tell the font server where to find these 
fonts.

Look in /usr/local/share/lyx, or wherever you have installed the lyx support 
stuff. You'll find a directory xfonts containing symbolic links to a number 
of fonts used by LyX (if you have them installed). If you have them, then you 
should check whether this directory is in your font path. Type
xset -q
at the console. Here I get
[snip]

Font Path:
/usr/local/share/lyx/xfonts,/usr/lib/X11/fonts/decwin/100dpi/,/usr/lib/X11/fo
nts/100dpi/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/,/usr/lib/X11/fo
nts/Type1Adobe/,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/Type1/,/usr/lib/
X11/fonts/user/100dpi/,/usr/lib/X11/fonts/user/misc/,/usr/dt/config/xfonts/C/,

Note the all important /usr/local/share/lyx/xfonts.

To add the equivalent to your font path, if it isn't already there, type
xset +fp PATH_TO_YOUR_LYX_FONTS_DIR

Unfortunately, I understand that this magic will not work if you are running 
LyX remotely. Sorry!

On Friday 26 April 2002 12:22 pm, C. van Wijk wrote:
 Isn't it possible for lyx to do a 'xset +fp PATH_TO_YOUR_LYX_FONTS_DIR'
 when starting?

Well, you only need to do this once per xsession. Here, I have added the 
following to my .xsession file:

#
# Some fonts for LyX
#
lyxmathfontsdir=/usr/local/share/lyx/xfonts

if [ -d $lyxmathfontsdir ]; then
xset q | grep $lyxmathfontsdir
if [ $?  -ne 0 ]; then
# directory is not already in the font path
# so add it:
xset +fp $lyxmathfontsdir; xset fp rehash
fi
fi

That should do the trick for you too

Angus



lyx

2002-04-26 Thread bcr


hello.  i've been using lyx for a while now, love it, and am just about to
start my thesis.  I cant wait.  But i tried to convince a friend to use
lyx, and i felt pretty stupid.  because I cont know how to pronounce it.
how do you pronounce lyx?




Re: lyx

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 06:59:13AM -0500, bcr wrote:

 hello.  i've been using lyx for a while now, love it, and am just about to
 start my thesis.  I cant wait.  But i tried to convince a friend to use
 lyx, and i felt pretty stupid.  because I cont know how to pronounce it.
 how do you pronounce lyx?

Consensus is (for english speaker) :

licks

to rhyme with Weetabix

We really need Matthias do us an .au :

Hi, my name is Matthias Ettrich, and I pronounce LyX LyX

Or Lars.

john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: lyx

2002-04-26 Thread Andre Poenitz

On Fri, Apr 26, 2002 at 06:59:13AM -0500, bcr wrote:
 hello.  i've been using lyx for a while now, love it, and am just about to
 start my thesis.  I cant wait.  But i tried to convince a friend to use
 lyx, and i felt pretty stupid.  because I cont know how to pronounce it.
 how do you pronounce lyx?

Lüks with short ü.

I've heard Liks with short i, too.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)



Re: XpmColorFailed

2002-04-26 Thread Wayan


On Fri, 26 Apr 2002, Angus Leeming wrote:

 So, the question is, how did you create such an XPM file, Wayan?

 Run
   lyx -dbg  graphics
 and the script that LyX used to convert your EPS file to XPM will be
 displayed on the console.

Thank you for your clear explanation.
This is part of the result,

-
The file contains eps format data.
Converting it to xpm format.
Conversion script:

#!/bin/sh
infile='/usr/local/share/lyx/doc/mobius.eps'
infile_base='/usr/local/share/lyx/doc/mobius'
outfile='/tmp/lyx_tmpdir13456jX8gi4/gconvert013456R9Ldyi.xpm'

convert EPS:${infile} XPM:${outfile}
-

Wayan




thumbpdf

2002-04-26 Thread Christian Beermann

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, 

I want to use the thumbpdf package,with lyx, but the only way I found 
which made it possible was inserting \usepackage{thumbpdf} in the 
preamble, and then export the doc to latex, and run pdflatex 
manually, then thumbpdf manually and then pdflatex.

Does anybody know how I can do it without export to latex and directly 
from lyx ? I don't find any hint in the docs and the great lyx help 
on the lyx homepage.

Thank You 

Christian
- -- 
Christian Beermann | Linux User #247518 
- --
I like work ... I can sit and watch it for hours.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8yUwGi67sjQhmqvYRAoe+AJ40qmAUaVYFuYups26eWPDa5Q6oZQCgpTQ8
2IhOIhx1l8F+HIgd0V8EuWM=
=ks6b
-END PGP SIGNATURE-




Re: fitting math within the page text width

2002-04-26 Thread Nirmal Govind

Latex does break math
equations, but it can only break at relation symbols
(e.g. ) or at binary operators (e.g. +,-).
If you want to avoid text that goes into the margins, put \sloppy in
the
preamble (note that this can create a lot of space between
words).
thanks Dekel.. it works great...
nirmal


Re: XpmColorFailed

2002-04-26 Thread Ronald Florence

Angus Leeming writes:
  
  Allow me to introduce myself: I'm the guy who's responsible for 1.2's 
  graphics support. Before you reach for the reply button and deluge me with 
  complaints [...]

Not exactly a complaint, but is it possible to revive the .ps/.eps
rendering scheme of LyX-1.1.5 and before with LyX-1.2.0?  I've
recently built 1.2.0, and tried it with both a long LyX file which
incorporates a number of photographs and with the UserGuide.lyx.  For
reasons you complain, even after I installed convert, the images don't
render on screen.  Both files come up relatively quickly in Lyx-1.1.5.
What troubles me, as I contemplate upgrading my xforms library and run
the risk of breaking Lyx-1.1.5, is that the multi-step rendering
process for on-screen images in Lyx-1.2.0 seems complicated,
kluge-like, wasteful of temporary file space, and s-l-o-w.

Can I configure Lyx-1.2.0 to use ghostscript to directly render the
on-screen images in the manner of Lyx-1.1.5?  Or is the use of
intermediate file formats (xpm or ppm) just a fact-of-life for the new
version of LyX?

Thanks,

-- 

Ronald Florence www.18james.com



Re: font sizes of entries in a table

2002-04-26 Thread Nirmal Govind

In 1.1.6 there is no
other simple and nice way. However, you can
a) use ERT: put 

{\small
 before
the table and

}

behind 
Thanks Guenter.. I like the one above... it works for my present problem
which is that the table is too big (wide) to fit on the page so I wanted
to change the sizes of all the entries including headings and make them
smaller so that it would fit. Btw, is there a way of making the table
extend into the left margin? (right now, it only goes into the right
margin and beyond the page border so I'm hoping that if I can get it to
extend into the left margin, then maybe it would stay within the page)

It would be nice to have a way of selecting multiple cells
and changing the characteristics of the text like the font etc.. is this
something on the agenda?
Thanks,
nirmal


Re: XpmColorFailed

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 09:23:40AM -0400, Ronald Florence wrote:

 Not exactly a complaint, but is it possible to revive the .ps/.eps
 rendering scheme of LyX-1.1.5 and before with LyX-1.2.0?  I've

Over my dead body...

 What troubles me, as I contemplate upgrading my xforms library and run
 the risk of breaking Lyx-1.1.5, is that the multi-step rendering
 process for on-screen images in Lyx-1.2.0 seems complicated,
 kluge-like, wasteful of temporary file space, and s-l-o-w.

LyX 1.2.0 is not yet out. And I've already told you there's no need to
break 1.1.5 at all - read up about library paths.

I haven't noticed any speed difference at all.

 Can I configure Lyx-1.2.0 to use ghostscript to directly render the
 on-screen images in the manner of Lyx-1.1.5?  Or is the use of
 intermediate file formats (xpm or ppm) just a fact-of-life for the new
 version of LyX?

No, xforms' image loader can load several formats directly.

Like Angus said, eventually his own code will die anyway.

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: XpmColorFailed

2002-04-26 Thread Herbert Voss

Ronald Florence wrote:

 Can I configure Lyx-1.2.0 to use ghostscript to directly render the
 on-screen images in the manner of Lyx-1.1.5?  Or is the use of
 intermediate file formats (xpm or ppm) just a fact-of-life for the new
 version of LyX?


no, it uses always the xforms or internal xpm-library

Herbert



-- 
http://www.lyx.org/help/




Re: font sizes of entries in a table

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 09:28:14AM -0400, Nirmal Govind wrote:

 It would be nice to have a way of selecting multiple cells and changing the 
 characteristics of the text like the font etc.. is this something on the 
 agenda?

Works (almost) perfectly in the forthcoming 1.2.0

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: thumbpdf

2002-04-26 Thread Herbert Voss

 I want to use the thumbpdf package,with lyx, but the only way I found 
 which made it possible was inserting \usepackage{thumbpdf} in the 
 preamble, and then export the doc to latex, and run pdflatex 
 manually, then thumbpdf manually and then pdflatex.
 
 Does anybody know how I can do it without export to latex and directly 
 from lyx ? I don't find any hint in the docs and the great lyx help 
 on the lyx homepage.


than try this ... ;-)

http://www.lyx.org/help/pdf/thumbnails.php

Herbert



-- 
http://www.lyx.org/help/




Re: XpmColorFailed

2002-04-26 Thread Angus Leeming

On Friday 26 April 2002 2:23 pm, Ronald Florence wrote:
 Angus Leeming writes:

   Allow me to introduce myself: I'm the guy who's responsible for 1.2's
   graphics support. Before you reach for the reply button and deluge me
 with complaints [...]

 Not exactly a complaint, but is it possible to revive the .ps/.eps
 rendering scheme of LyX-1.1.5 and before with LyX-1.2.0?  I've
 recently built 1.2.0, and tried it with both a long LyX file which
 incorporates a number of photographs and with the UserGuide.lyx.  For
 reasons you complain, even after I installed convert, the images don't
 render on screen.  Both files come up relatively quickly in Lyx-1.1.5.
 What troubles me, as I contemplate upgrading my xforms library and run
 the risk of breaking Lyx-1.1.5, is that the multi-step rendering
 process for on-screen images in Lyx-1.2.0 seems complicated,
 kluge-like, wasteful of temporary file space, and s-l-o-w.

 Can I configure Lyx-1.2.0 to use ghostscript to directly render the
 on-screen images in the manner of Lyx-1.1.5?  Or is the use of
 intermediate file formats (xpm or ppm) just a fact-of-life for the new
 version of LyX?

It's a fact of life. The code has been rewritten entirely. There were some 
really good reasons for doing so and we won't be going back.

Now that xforms has gone open source, and once xforms 1.0 is released (start 
of May, apparently), then no-one will have a real excuse to stay with xforms 
0.88 or early 0.89. Then none of you'll be using the libXpm-based loader.

The converter mechanism is extremely powerful. It is most-certainly NOT a 
kludge. If you can define a converter from your graphics format to EPS, you 
can use it with LaTeX. If you define a converter to a loadable format, then 
you can view it in LyX.

xforms will load many, many formats directly. The only real PITA is EPS 
itself. Now that xforms is Open Source, that's likely to change.

As for speed: convert is slow, but I tend to use the netpbm suite of 
converters here. Much, much quicker. Ok, I haven't found an alternative for 
EPS but you might. And anyway, since the graphics loading is performed 
asynchronously, you could always get on and do some work ;-)

Finally, I suspect that the images don't come up on screen for perfectly 
valid reasons to do with convert creating wierd XPM files. I've already 
explained how to work around that if you're using the xforms-based image 
loader. If, however, you're using the libXPM-based loader, then

1. Scrub the ???-XPM converters in /usr/local/share/lyx/lyxrc.defaults that 
use convert to do the job.
2. Use convert to create PPM files instead. These are always valid.
3. Define a PPM-XPM converter using ppmtoxpm. (man ppmtoxpm). These are also 
always valid.

Angus



Re: XpmColorFailed

2002-04-26 Thread Ronald Florence

Angus Leeming writes:
  
  It's a fact of life. The code has been rewritten entirely. There were some 
  really good reasons for doing so and we won't be going back.
  
I can accept this, and with the kluge you provided for using .eps and
.ps files with the older xforms library, those of us making the
transition from older versions of LyX can test LyX-1.2.0 before
shifting over or venturing into LD_LIBRARY_PATH kluges to use two
versions of xforms simultaneously.

Many thanks for your generous help with this.  

-- 

Ronald Florence www.18james.com



Re: lyx

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 04:11:31PM +0200, Lars Gullik Bjønnes wrote:

 | Consensus is (for english speaker) :
 
 | licks
 
 try to meake the 'e' sound a bit more like 'y'

This makes no sense to me !

There's no eee there in the english pronounciation, it's a hard short
i. Ho hum, it seems this spectre will never lie ...

I'm English so I'm going to pronounce it in an English way, just like we
call Paris Paris !

 | Hi, my name is Matthias Ettrich, and I pronounce LyX LyX
 
 | Or Lars.
 
 I did one several years ago...

Well dg eeet up !

Damn, I'm itching for a smiley

john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: font sizes of entries in a table

2002-04-26 Thread Nirmal Govind

Works (almost)
perfectly in the forthcoming 1.2.0
Cool!! I was looking on the website but couldn't find any
list of changes/new features that are in the pre-release of 1.2.0 or
going to be in the final 1.2.0. Is there a link to this?
thanks,
nirmal


Empty files?

2002-04-26 Thread Sarah Mount


I have a LyX file which normally converts to a 9-page postscript document. 
Having changed a bit of the preamble (to include some messing around with 
fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
says operation resulted in an empty file. Has anyone had similar 
problems?

Cheers,

Sarah

-- 
All over the place, from the popular culture to the propaganda system, 
there is constant pressure to make people feel that they are helpless, 
that the only role they can have is to ratify decisions and to consume.
  -- Noam Chomsky




Re: font sizes of entries in a table

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 10:26:39AM -0400, Nirmal Govind wrote:

 Cool!! I was looking on the website but couldn't find any list of 
 changes/new features that are in the pre-release of 1.2.0 or going to be in 
 the final 1.2.0. Is there a link to this?

Read NEWS in one of the test releases. It's quite brief though.

regards
john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



Re: Empty files?

2002-04-26 Thread Herbert Voss

Sarah Mount wrote:

 I have a LyX file which normally converts to a 9-page postscript document. 
 Having changed a bit of the preamble (to include some messing around with 
 fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
 says operation resulted in an empty file. Has anyone had similar 
 problems?


in 99% a problem in the preamble, mostly a missing parenthesis


Herbert



-- 
http://www.lyx.org/help/




Re: Empty files?

2002-04-26 Thread Sarah Mount

On Fri, 26 Apr 2002, Herbert Voss wrote:

 Sarah Mount wrote:
 
  I have a LyX file which normally converts to a 9-page postscript document. 
  Having changed a bit of the preamble (to include some messing around with 
  fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
  says operation resulted in an empty file. Has anyone had similar 
  problems?
 
 in 99% a problem in the preamble, mostly a missing parenthesis

Thanks, I eventually found this by exporting to TeX and runnint LaTeX by 
hand. I'm a bit surprised that LyX doesn't give the same error message as 
LaTeX in this situation.

Cheers,

Sarah




Re: Empty files?

2002-04-26 Thread Herbert Voss

Sarah Mount wrote:

 On Fri, 26 Apr 2002, Herbert Voss wrote:
 
 
Sarah Mount wrote:


I have a LyX file which normally converts to a 9-page postscript document. 
Having changed a bit of the preamble (to include some messing around with 
fancyhdrs), every time I try to generate a postscript or pdf file, LyX 
says operation resulted in an empty file. Has anyone had similar 
problems?

in 99% a problem in the preamble, mostly a missing parenthesis

 
 Thanks, I eventually found this by exporting to TeX and runnint LaTeX by 
 hand. I'm a bit surprised that LyX doesn't give the same error message as 
 LaTeX in this situation.


view-logfile and you have it all, no need to run it ba hand.

Herbert



-- 
http://www.lyx.org/help/




Re: lyx

2002-04-26 Thread John Levon

On Fri, Apr 26, 2002 at 05:13:54PM +0200, Lars Gullik Bjønnes wrote:

 I just got Licks smacked in my forehead...

I don't want to know what you've been doing with certain Welsh
vegetables !

 so I do not thing so. You
 english speaking cretins are not able to hear the difference between
 LyX and Licks.

Oh, it's all true - we /are/ cretins

john

-- 
I continue to be amazed at what Andrei can make templates do. Some of it
 still makes my head hurt.
- Herb Sutter



LyX-1.2.0pre4 + xforms-89.6

2002-04-26 Thread Ronald Florence

I successfully built Lyx-1.2.0pre4 with my old xforms-88.1 library
(Sparc-Solaris-8, gcc 2.95.3, gnumake) only to run into problems with
screen rendering of graphics.  So I tried to build it with the new
xforms-89.6 library, only to find that the make now breaks on sigc++:

  Making all in sigc++
  gnumake[1]: Entering directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
  m4 -I./macros  macros/object_slot.h.m4   ./object_slot.h
  m4: bad option: -I./macros
  gnumake[1]: *** [object_slot.h] Error 1
  gnumake[1]: Leaving directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
  gnumake: *** [all-recursive] Error 1

It appears that -I is not an option in the Solaris m4.  I'd welcome a
workaround suggestion.  (I hope LyX hasn't become so Linux-oriented
that it no longer compiles with standard Unix utilities.)

Thanks,

-- 

Ronald Florence www.18james.com



Re: LyX-1.2.0pre4 + xforms-89.6

2002-04-26 Thread Angus Leeming

On Friday 26 April 2002 4:43 pm, Ronald Florence wrote:
 I successfully built Lyx-1.2.0pre4 with my old xforms-88.1 library
 (Sparc-Solaris-8, gcc 2.95.3, gnumake) only to run into problems with
 screen rendering of graphics.  So I tried to build it with the new
 xforms-89.6 library, only to find that the make now breaks on sigc++:

   Making all in sigc++
   gnumake[1]: Entering directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   m4 -I./macros  macros/object_slot.h.m4   ./object_slot.h
   m4: bad option: -I./macros
   gnumake[1]: *** [object_slot.h] Error 1
   gnumake[1]: Leaving directory `/usr/local/src/lyx-1.2.0pre4/sigc++'
   gnumake: *** [all-recursive] Error 1

 It appears that -I is not an option in the Solaris m4.  I'd welcome a
 workaround suggestion.  (I hope LyX hasn't become so Linux-oriented
 that it no longer compiles with standard Unix utilities.)

 Thanks,

Well, I compile quite happily under Tru64 unix, but you're right here I 
believe. You need gm4.

Having said that, how did you compile the first time round?

Angus



  1   2   >