Re: crash on opening document

2002-07-17 Thread thomas schönhoff


gdb ./lyx
(gdb) run
[load the file]
...crash...
(gdb) bt

JMarc


 

Hello,

maybe it should be a problem having xforms-0.88 installed instead 
of a 0.89 version !?
Did you try to run LyX with 0.89-3, runs fine here without any 
gotchas on RH7.2 box


Thomas




problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll


Hi all,
(LyX 1.2.0, Mandrake 8.2)

I have a problem with pdflatex and some pdf created from epstopdf.
I'm writing my PhD thesis and I choose to use pdflatex in order to have
a readable pdf in acrobat (so the thesis can be put on the web).
Unfortunately, I have hit a wall with the insertion of some eps created
by matlab. If I insert the eps, I cannot use pdflatex (of course), but
if I insert the pdf instead, the resulting image is 2 black and white
and distorted.
If I use the eps and generate the pdf the old way, everything is okay,
but I loose the 2 advantages of pdflatex (acrobat readable on screen and
smaller file size).

I've set a web page where you can get two such eps and pdf. the eps is
95KiB while the pdf is only around 8KiB.
http://olivier.ripoll.free.fr/lyx/pdf_latex.html

The only way I have found is to use png or jpg images, but this exploses
the size of the pdf. I also think some conversion done by lyx uses png
and also result in a size bloat of the pdf.

I've tried to generate eps level 1 and two from matlab. I also did eps
from Igrafx Designer. I did cycle eps-pdf-ps-eps-pdf and many others
way around but cannot get something working.

Has someone got an idea?

Thanks in advance.

Olivier.

(to reproduce the problem, take the eps, generate a pdf with epstopdf or
take the pdf, and then do a lyx file with one of them. render with
pdflatex and old pdf way)






importing tex resolved

2002-07-17 Thread Struan Cockcroft

Thanks Rem and Andre, it was my fault all along: I created the directory
in which the tex files were stored while logged on as root, so I didn't
have write permission.  I did say I was new to Linux. Sorry to waste
your time. I will continue writing my thesis with lyx.

thanks 
Struan



Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Olivier Ripoll wrote:

 Hi all,
 (LyX 1.2.0, Mandrake 8.2)

a few details about mandrake 8.2
pdftex is contained in tetex-1.0.7-44mdk.i586.rpm whose detailss can be
found here:

http://rpmfind.net//linux/RPM/mandrake/8.2/i586/Mandrake/RPMS/tetex-1.0.7-44mdk.i586.html

here is a listing from a ftp site of packages that are found in this distro

[   ] ghostscript-6.53-10m.. 13-Mar-2002 22:26   7.3M
[   ] ghostscript-fonts-5... 13-Mar-2002 22:26   806k
[   ] ghostscript-module-S.. 13-Mar-2002 22:2624k
[   ] ghostscript-module-X.. 13-Mar-2002 22:2648k

[   ] tetex-1.0.7-44mdk.i5.. 13-Mar-2002 22:50  20.5M
[   ] tetex-afm-1.0.7-44md.. 13-Mar-2002 22:50   724k
[   ] tetex-doc-1.0.7-44md.. 13-Mar-2002 22:50  21.4M
[   ] tetex-dvilj-1.0.7-44.. 13-Mar-2002 22:50   195k
[   ] tetex-dvipdfm-1.0.7-.. 13-Mar-2002 22:50   184k
[   ] tetex-dvips-1.0.7-44.. 13-Mar-2002 22:50   373k
[   ] tetex-latex-1.0.7-44.. 13-Mar-2002 22:50   3.3M
[   ] tetex-latex-arab-3.0.. 13-Mar-2002 22:50   850k
[   ] tetex-latex-heb-1.0-.. 13-Mar-2002 22:50   297k
[   ] tetex-xdvi-1.0.7-44m.. 13-Mar-2002 22:50   644k
[   ] texinfo-4.0-22mdk.i5.. 13-Mar-2002 22:50   533k
[   ] textutils-2.0.17-7md.. 13-Mar-2002 22:50   363k

Best regards,

Olivier.






Re: importing tex resolved

2002-07-17 Thread Andre Poenitz

On Wed, Jul 17, 2002 at 09:58:41AM +0200, Struan Cockcroft wrote:
 Sorry to waste your time.

No problem. 

Andre'

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



Including Documents - Multiple stage include

2002-07-17 Thread Dr. Joachim Heidemeier

Hello all,
I'm planning to use lyx 1.2.0 for a complicated report. Thus I wanted to
separate it into different chapters which will be included from a main
document (document class koma-script book).
The chapters itself will consist of texts and tables. The tables are
likeliy to change often during the drafting process. So I wanted to
include the tables also as external files (automatically generated
from csv-files) into the chapter documents.
So I inserted into the main document:
...
\layout Standard


\begin_inset Include \input{FrageA1.lyx}

\end_inset
...
and into FrageA1.lyx
...
\layout Standard


\begin_inset Include \input{a1.1.lyx}

\end_inset
Following a discussion on lyx-users I sylinked all files into a build
directory.
Unfortunately I can't get this setup working within lyx.
After starting the postscript preview  I got a  Latex Errors:
cannot find a.1.tex cannot read from terminal in nonstop mode.
whereas the manual route
- exporting main.lyx as latex
- latex main.tex
works o.k.
My error or LyX Bug / feature?
Second Question:
Is it possible to give tables a title without a float environment. The
Table should be listed in the List of Tables. As far
as I understood longtables (i.e. more than one page) do not fit into a
float environment.
TNX in advance


-- 
Dr. Joachim Heidemeier  Tel. +49-30-8903-2780
Fachgebiet II 3.2   [EMAIL PROTECTED]
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin





Re: Including Documents - Multiple stage include

2002-07-17 Thread Herbert Voss

Dr. Joachim Heidemeier wrote:

 I'm planning to use lyx 1.2.0 for a complicated report. Thus I wanted to
 separate it into different chapters which will be included from a main
 document (document class koma-script book).
 The chapters itself will consist of texts and tables. The tables are
 likeliy to change often during the drafting process. So I wanted to
 include the tables also as external files (automatically generated
 from csv-files) into the chapter documents.
 So I inserted into the main document:


look at http://www.lyx.org/help/misc/IncludeInput.php

 Second Question:
 Is it possible to give tables a title without a float environment. The
 Table should be listed in the List of Tables. As far
 as I understood longtables (i.e. more than one page) do not fit into a
 float environment.


http://www.lyx.org/help/floats/nonFloat.php3
or use package nonfloats

Herbert



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




Re: problem with pdf and pdflatex

2002-07-17 Thread Dekel Tsur

On Wed, Jul 17, 2002 at 09:54:50AM +0200, Olivier Ripoll wrote:
 I have a problem with pdflatex and some pdf created from epstopdf.
 I'm writing my PhD thesis and I choose to use pdflatex in order to have
 a readable pdf in acrobat (so the thesis can be put on the web).
 Unfortunately, I have hit a wall with the insertion of some eps created
 by matlab. If I insert the eps, I cannot use pdflatex (of course), but
 if I insert the pdf instead, the resulting image is 2 black and white
 and distorted.

You probably have an old version of pdftex. Check you version with
pdftex -v.
If your version is 3.14159-0.13 or 0.14 then it is broken.

 If I use the eps and generate the pdf the old way, everything is okay,
 but I loose the 2 advantages of pdflatex (acrobat readable on screen and
 smaller file size).

It is very easy to create good PDF without pdflatex
(either with ps2pdf or dvipdfm).
RTFM (Extended.lyx).



Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Dekel Tsur wrote:

 On Wed, Jul 17, 2002 at 09:54:50AM +0200, Olivier Ripoll wrote:
  I have a problem with pdflatex and some pdf created from epstopdf.
  I'm writing my PhD thesis and I choose to use pdflatex in order to have
  a readable pdf in acrobat (so the thesis can be put on the web).
  Unfortunately, I have hit a wall with the insertion of some eps created
  by matlab. If I insert the eps, I cannot use pdflatex (of course), but
  if I insert the pdf instead, the resulting image is 2 black and white
  and distorted.

 You probably have an old version of pdftex. Check you version with
 pdftex -v.
 If your version is 3.14159-0.13 or 0.14 then it is broken.

I've just asked Mandrake maintainer about the version number (I don't have
access to my machine at present) and he told me 0.13d (tetex 1.0.7)
He packaged new rpms with 1.00b-pretest but they are unsupported. I'll test
them as soon as I have access to the machine and report the results here.

Anyway, from pdftex mailing list archives, version 0.14 should be okay. It
seems 0.13 had the problem
http://tug.org/mailman/htdig/pdftex/2001-March/000559.html
http://tug.org/mailman/htdig/pdftex/2001-September/001572.html

  If I use the eps and generate the pdf the old way, everything is okay,
  but I loose the 2 advantages of pdflatex (acrobat readable on screen and
  smaller file size).

 It is very easy to create good PDF without pdflatex
 (either with ps2pdf or dvipdfm).

big and fuzzy

 RTFM (Extended.lyx).

I have not only read the FM - many times actually, and also lyxTips
(lyx.org/help) pages and
http://www.nd.edu/~lisa/mrobert2/makingpdf.html
http://web.gat.com/diag/pci/ltx2pdf.html
http://tex2pdf.berlios.de/

And the global conclusion is: use pdflatex.

word and acrobat distiller have been able to provide a small and
acrobat-readable pdf (this is needed to have them available on the internet).
The others have pdfs that are several MiB and look fuzzy. I'd like to prove
that word can be beaten by LyX as PhD thesis writing tool. I'm sure here
everyone would like me to succeed :)

Best regards,

Olivier.






Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Olivier Ripoll wrote:

 word and acrobat distiller have been able to provide a small and
 acrobat-readable pdf (this is needed to have them available on the internet).
 The others have pdfs that are several MiB and look fuzzy. I'd like to prove
 that word can be beaten by LyX as PhD thesis writing tool. I'm sure here
 everyone would like me to succeed :)


This beginning of the sentence dissapeared here. It was
Among my collegues that generated their thesis as pdf, only the ones using...
word and acrobat etc.

Sincerely,

Olivier.






Re: [applemac]{inputenc}(a wish)

2002-07-17 Thread Jean-Marc Lasgouttes

 Jacobo == Jacobo Myerston [EMAIL PROTECTED] writes:

Jacobo I have a wish for future versions of LyX: support for mac
Jacobo encoding. That would make easier postprocessing latex files
Jacobo generated in LyX in OSX. --

But is there a corresponding X font for displaying these files
correctly in OSX under X window?

JMarc



unofficial 1.2.0 deb package

2002-07-17 Thread Desktop Crew

I have just packaged, for personal use, the latest lyx release 1.2.0
on i686 hardware platform and debian/unstable system
( libc6 = 2.2.4-4 and libforms0.88 are required ).

It can be retrieved at the url
http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb


It is just one of my first attempts to build that deb package, so please
let me know if you will find it useful

cheers

--
Paolo Pumilia




Re: unofficial 1.2.0 deb package

2002-07-17 Thread German Poo Caaman~o

El mié, 17-07-2002 a las 08:41, Desktop Crew escribió:
 I have just packaged, for personal use, the latest lyx release 1.2.0
 on i686 hardware platform and debian/unstable system
 ( libc6 = 2.2.4-4 and libforms0.88 are required ).
 
 It can be retrieved at the url
 http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb

The URL is wrong.  It is:
http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-1_i386.deb

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
«Hay 10 tipos de personas: las que entienden binario y las que no.»




Re: unofficial 1.2.0 deb package

2002-07-17 Thread Desktop Crew

From German Poo Caaman~o, Wed Jul 17, at  8:58:
 .El mi?, 17-07-2002 a las 08:41, Desktop Crew escribi?:
 . I have just packaged, for personal use, the latest lyx release 1.2.0
 . on i686 hardware platform and debian/unstable system
 . ( libc6 = 2.2.4-4 and libforms0.88 are required ).
 . 
 . It can be retrieved at the url
 . http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb
 .
 .The URL is wrong.  It is:
 .http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-1_i386.deb
 .
 .-- 



sorry

--
Paolo



Re: - Second Release -uno fficial 1.2.0 deb packages

2002-07-17 Thread Desktop Crew

It can be retrieved at the url

http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-2_i386.deb

--
Paolo Pumilia
 .



seminar.layout doesn't work as expected

2002-07-17 Thread German Poo Caaman~o


Since lyx-1.1.6-fix (AFAIR) I've been having some problems
with seminar.layout. I defined frames on my slides, but
now one slide appears with frame and empty, the second
one appears with text (without frame), etc.

If I export the file to TeX it looks like:

--
\begin{slide*}

\end{slide*}

\slideheading{Otro texto}


\slidesubheading{Subtexto}

Texto
--

It's wrong.  I used to use the same lyx files before without
problem.

I attach a sample. If you to see how is expected, you can
see any file from http://cronos.dci.ubiobio.cl/docs/sd/pdf/
(except sockets.pdf).

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
«Hay 10 tipos de personas: las que entienden binario y las que no.»


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass seminar
\begin_preamble
\usepackage[dvips]{pstcol} 
\usepackage{semcolor}
\input{seminar.bug}
\usepackage{fancybox}

\centerslidesfalse

\def\Titulo{Sistemas Distribuidos / Universidad del Bío--Bío}
\def\FrameDerecha{Hola}
\def\FrameIzquierda{\emph{Relator: Germán Poo Caamaño}}

\newcommand{\titledframe}[2]{%
  \boxput*(0,1){\psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{{#1}}}%
{\psframebox[framesep=12pt]{#2}}}

\pslongbox{miFrame}{\psframebox[framearc=0.1]}

\newslideframe{test2}{\boxput*(0,1){\psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{2}}%
  {\miFrame {#1} \endmiFrame}}

\newslideframe{Titulo}{%
  \boxput*(0,1){%
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny \Titulo}}%
  {#1}%
}

\newslideframe{FooterRight}{
  \boxput*(0.82,-1){
\makebox[0cm][r]{
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny Página \theslide}
}
  }
  {#1}
}

\newslideframe{FooterLeft}{%
  \boxput*(-0.82,-1){%
\makebox[0cm][l]{%
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny \FrameIzquierda}%
}%
  }%
  {#1}%
}

\slideframe*{Titulo}
\slideframe*{FooterRight}
\slideframe*{FooterLeft}

\slidepagestyle{empty}
\end_preamble
\options slidesec,portrait
\language spanish
\inputencoding auto
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 1
	0
	15
	-1
\end_bullet
\bullet 2
	4
	20
	-1
\end_bullet

\layout PortraitSlide

\layout SlideHeading

Slide heading
\layout SlideSubHeading

Texto
\layout Standard

Texto estándar
\layout PortraitSlide

\layout SlideHeading

Otro texto
\layout SlideSubHeading

Subtexto
\layout Standard

Texto
\the_end



Mathmode

2002-07-17 Thread Herbert Voss

there is a first edition of the new mathstuff in LyX 1.2.x
I suppose, it has more typos than a dog loice

http://www.perce.de/lyx/equations120.pdf

Herbert


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





Re: Mathmode

2002-07-17 Thread Andre Poenitz

On Wed, Jul 17, 2002 at 06:56:35PM +0200, Herbert Voss wrote:
 there is a first edition of the new mathstuff in LyX 1.2.x

Not bad. You must have been busy...

Note that we have some basic support for multline.

Andre'

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



A question about Protected Blanks

2002-07-17 Thread Doug Innes

Is there a way to mass-select a paragraph and make the whole of it a
'Description' header properly, with protected blanks replacing normal
spaces, or do I have no choice but to replace them one-at-a-time?

Please send reply to '[EMAIL PROTECTED]'. Thanks.




Re: Viewing images in lyx1.2: Loading images blocks UI

2002-07-17 Thread Jan Warnking

On Thu, 11 Jul 2002, John Levon wrote:
  background, too, so I was very disappointed to see that, on the contrary,
  image loading is done in foreground now. This is the reason I still prefer
  1.1.6.
 
 Image loading is not done in the foreground...

Ok, I guess I'm not in a position to argue about this with you, but what I
observe strongly ressembles a foreground process. Let me be more specific:

When the place an image is to be displayed in appears on the screen for
the first time, image conversion and display is triggered. The empty box
representing the image initially contains a message like converting to
loadable format. Image conversion is done in the background, that is, the
user interface is not affected by the running process. Moving the cursor,
scrolling the canvas and opening menus works as usual. Once the image
conversion is done, the image is loaded. During this (rather rapid)
process, the information given in the box changes to Loading image..., 
and then Loaded. Scaling etc These processes seem to be done in
the foreground in the sense that the user interface is completely blocked.
Displacing the cursor, scrolling the canvas, opening menus, useage of
dialog boxes etc is delayed until the image is loaded. The events that
piled up are executed once the image appeared on the canvas.
On my box (AMD K6II-266), loading takes up to a second, depending on the
images. Even worse, when scrolling rapidly across a document with many
images, lots of conversions are triggered. When images start to be
available for loading, loading takes longer because load is high, and the
sum of all the events makes for an appreciable blackout of UI
availability.

I hope this clarifies what I said. I might also add that in lyx 1.1 I
never observed ANY lag in UI response correlated with image loading.

Jan





A question about 'Description'

2002-07-17 Thread Doug Innes

Is there a way to mass select a sentence and make it a 'Description' with
'protected blanks' replacing spaces in the sentence, avoiding a line break?
Or do I have to replace the spaces all one-at-a-time?




Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-17 Thread Jan Warnking

On Thu, 11 Jul 2002, John Levon wrote:
  By default a converter PNG-EPS is defined. Since I defined an EPS-PS
  converter, Lyx then converted PNG-EPS-PS and failed to load the image
  (see previous message). So I removed the PNG-EPS converter, so that the
  PNG-XPM get used. However, the images still didn't get loaded. lyx -dbg
  graphics shows that lyx converts PNG-XPM-EPS-PS! Lyx _can_ load xpm
  directly and does so, if I delete the EPS-PS converter.
  This is minor once one knows what happens. There are always ways to work
  around this, defining only the right converters. But it still seems odd.
 
 You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
 and it converted my png to xpm directly, and loaded it via the xforms
 image loader

Do you have a xpm-eps converter defined? I don't remember why I defined
that, but that is not the point. My point was that I would expect the
shortest route to be chosen.
Here is the output of lyx -dbg graphics for the case I mentioned:

Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png
with recognised extension: png.
Scanstring: PNG
Recognised Fileformat: png
Scanstring: PNG
Recognised Fileformat: png

The file contains png format data.

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

Of these, LyX recognises the following formats:
gif, jpg, ps, xpm

Converting it to ps format.
Conversion script:

#!/bin/sh
infile='/home/jan/lyxdocs/these/images/chap1_neurone.png'
infile_base='/home/jan/lyxdocs/these/images/chap1_neurone'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.xpm'

convert ${infile} ${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

infile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.xpm'
infile_base='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.eps'

convert ${infile} ${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

'rm' -f ${infile}

infile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.eps'
infile_base='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.ps'

gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=${outfile}
${infile}

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
 
'rm' -f ${infile}
 
fromfile=${outfile}
tofile='/tmp/lyx_tmpdir17752l8QsWP/chap1_neurone17752eXed55.ps'
 
'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi
 
 
Image conversion succeeded.
Loading image.
xforms image loader. Status : Converting PS ...
xforms image loader. Status : Loading PostScript
xforms image loader. Error : LoadPS: no page written!
Image loading failed.
xforms image loader. Status : Error Reading




Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-17 Thread Herbert Voss

Jan Warnking wrote:

 On Thu, 11 Jul 2002, John Levon wrote:
 
By default a converter PNG-EPS is defined. Since I defined an EPS-PS
converter, Lyx then converted PNG-EPS-PS and failed to load the image
(see previous message). So I removed the PNG-EPS converter, so that the
PNG-XPM get used. However, the images still didn't get loaded. lyx -dbg
graphics shows that lyx converts PNG-XPM-EPS-PS! Lyx _can_ load xpm
directly and does so, if I delete the EPS-PS converter.
This is minor once one knows what happens. There are always ways to work
around this, defining only the right converters. But it still seems odd.

You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
and it converted my png to xpm directly, and loaded it via the xforms
image loader

 
 Do you have a xpm-eps converter defined? I don't remember why I defined
 that, but that is not the point. My point was that I would expect the
 shortest route to be chosen.
 Here is the output of lyx -dbg graphics for the case I mentioned:


 Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png
 with recognised extension: png.
 Scanstring: PNG
 Recognised Fileformat: png


[...]

 
 Converting it to ps format.


[..]


 Image conversion succeeded.
 Loading image.
 xforms image loader. Status : Converting PS ...
 xforms image loader. Status : Loading PostScript
 xforms image loader. Error : LoadPS: no page written!
 Image loading failed.
 xforms image loader. Status : Error Reading


the ps-support of xforms flimage seems to be buggy, that's
the problem. disable it

http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/xforms/xformsImage.C?r1=1.4r2=1.5

Herbert

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




Re: A question about 'Description'

2002-07-17 Thread Herbert Voss

Doug Innes wrote:

 Is there a way to mass select a sentence and make it a 'Description' with
 'protected blanks' replacing spaces in the sentence, avoiding a line break?
 Or do I have to replace the spaces all one-at-a-time?


it's not possible from inside lyx, use any other primitive
editor, if it's important. but you have to change a blank
into the command sequence of a protected space.

Herbert



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




Formatting a document

2002-07-17 Thread J.Lauffenburger

Hi,

I have some problems using the Preambule in Lyx 1.1.6fix3b.
It seems that commands I've added in the preambule are not taken into
account during compilation of the document. I'd like to use the fancy
package and customize the header and footer of a document which should
be a two sided paper. So I defined some newcommand (for the chapters for
example \newcommand{\mychapstyle}{...) but these definitions are not
considered.

If someone as any suggestion...

Thank's!



__

Jean-Philippe LAUFFENBURGER
Ecole Supérieure des Sciences Appliquées à l'ingénieur
Mulhouse
Laboratoire MIPS / Equipe MIAM
12 rue des frères Lumière
68093 Mulhouse Cedex
Tél : +33.3.89.33.69.13
Fax : +33.3.89.33.69.49
e-mail : [EMAIL PROTECTED]
__





Re: crash on opening document

2002-07-17 Thread thomas schönhoff


gdb ./lyx
(gdb) run
[load the file]
...crash...
(gdb) bt

JMarc


 

Hello,

maybe it should be a problem having xforms-0.88 installed instead 
of a 0.89 version !?
Did you try to run LyX with 0.89-3, runs fine here without any 
gotchas on RH7.2 box


Thomas




problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll


Hi all,
(LyX 1.2.0, Mandrake 8.2)

I have a problem with pdflatex and some pdf created from epstopdf.
I'm writing my PhD thesis and I choose to use pdflatex in order to have
a readable pdf in acrobat (so the thesis can be put on the web).
Unfortunately, I have hit a wall with the insertion of some eps created
by matlab. If I insert the eps, I cannot use pdflatex (of course), but
if I insert the pdf instead, the resulting image is 2 black and white
and distorted.
If I use the eps and generate the pdf the old way, everything is okay,
but I loose the 2 advantages of pdflatex (acrobat readable on screen and
smaller file size).

I've set a web page where you can get two such eps and pdf. the eps is
95KiB while the pdf is only around 8KiB.
http://olivier.ripoll.free.fr/lyx/pdf_latex.html

The only way I have found is to use png or jpg images, but this exploses
the size of the pdf. I also think some conversion done by lyx uses png
and also result in a size bloat of the pdf.

I've tried to generate eps level 1 and two from matlab. I also did eps
from Igrafx Designer. I did cycle eps-pdf-ps-eps-pdf and many others
way around but cannot get something working.

Has someone got an idea?

Thanks in advance.

Olivier.

(to reproduce the problem, take the eps, generate a pdf with epstopdf or
take the pdf, and then do a lyx file with one of them. render with
pdflatex and old pdf way)






importing tex resolved

2002-07-17 Thread Struan Cockcroft

Thanks Rem and Andre, it was my fault all along: I created the directory
in which the tex files were stored while logged on as root, so I didn't
have write permission.  I did say I was new to Linux. Sorry to waste
your time. I will continue writing my thesis with lyx.

thanks 
Struan



Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Olivier Ripoll wrote:

 Hi all,
 (LyX 1.2.0, Mandrake 8.2)

a few details about mandrake 8.2
pdftex is contained in tetex-1.0.7-44mdk.i586.rpm whose detailss can be
found here:

http://rpmfind.net//linux/RPM/mandrake/8.2/i586/Mandrake/RPMS/tetex-1.0.7-44mdk.i586.html

here is a listing from a ftp site of packages that are found in this distro

[   ] ghostscript-6.53-10m.. 13-Mar-2002 22:26   7.3M
[   ] ghostscript-fonts-5... 13-Mar-2002 22:26   806k
[   ] ghostscript-module-S.. 13-Mar-2002 22:2624k
[   ] ghostscript-module-X.. 13-Mar-2002 22:2648k

[   ] tetex-1.0.7-44mdk.i5.. 13-Mar-2002 22:50  20.5M
[   ] tetex-afm-1.0.7-44md.. 13-Mar-2002 22:50   724k
[   ] tetex-doc-1.0.7-44md.. 13-Mar-2002 22:50  21.4M
[   ] tetex-dvilj-1.0.7-44.. 13-Mar-2002 22:50   195k
[   ] tetex-dvipdfm-1.0.7-.. 13-Mar-2002 22:50   184k
[   ] tetex-dvips-1.0.7-44.. 13-Mar-2002 22:50   373k
[   ] tetex-latex-1.0.7-44.. 13-Mar-2002 22:50   3.3M
[   ] tetex-latex-arab-3.0.. 13-Mar-2002 22:50   850k
[   ] tetex-latex-heb-1.0-.. 13-Mar-2002 22:50   297k
[   ] tetex-xdvi-1.0.7-44m.. 13-Mar-2002 22:50   644k
[   ] texinfo-4.0-22mdk.i5.. 13-Mar-2002 22:50   533k
[   ] textutils-2.0.17-7md.. 13-Mar-2002 22:50   363k

Best regards,

Olivier.






Re: importing tex resolved

2002-07-17 Thread Andre Poenitz

On Wed, Jul 17, 2002 at 09:58:41AM +0200, Struan Cockcroft wrote:
 Sorry to waste your time.

No problem. 

Andre'

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



Including Documents - Multiple stage include

2002-07-17 Thread Dr. Joachim Heidemeier

Hello all,
I'm planning to use lyx 1.2.0 for a complicated report. Thus I wanted to
separate it into different chapters which will be included from a main
document (document class koma-script book).
The chapters itself will consist of texts and tables. The tables are
likeliy to change often during the drafting process. So I wanted to
include the tables also as external files (automatically generated
from csv-files) into the chapter documents.
So I inserted into the main document:
...
\layout Standard


\begin_inset Include \input{FrageA1.lyx}

\end_inset
...
and into FrageA1.lyx
...
\layout Standard


\begin_inset Include \input{a1.1.lyx}

\end_inset
Following a discussion on lyx-users I sylinked all files into a build
directory.
Unfortunately I can't get this setup working within lyx.
After starting the postscript preview  I got a  Latex Errors:
cannot find a.1.tex cannot read from terminal in nonstop mode.
whereas the manual route
- exporting main.lyx as latex
- latex main.tex
works o.k.
My error or LyX Bug / feature?
Second Question:
Is it possible to give tables a title without a float environment. The
Table should be listed in the List of Tables. As far
as I understood longtables (i.e. more than one page) do not fit into a
float environment.
TNX in advance


-- 
Dr. Joachim Heidemeier  Tel. +49-30-8903-2780
Fachgebiet II 3.2   [EMAIL PROTECTED]
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin





Re: Including Documents - Multiple stage include

2002-07-17 Thread Herbert Voss

Dr. Joachim Heidemeier wrote:

 I'm planning to use lyx 1.2.0 for a complicated report. Thus I wanted to
 separate it into different chapters which will be included from a main
 document (document class koma-script book).
 The chapters itself will consist of texts and tables. The tables are
 likeliy to change often during the drafting process. So I wanted to
 include the tables also as external files (automatically generated
 from csv-files) into the chapter documents.
 So I inserted into the main document:


look at http://www.lyx.org/help/misc/IncludeInput.php

 Second Question:
 Is it possible to give tables a title without a float environment. The
 Table should be listed in the List of Tables. As far
 as I understood longtables (i.e. more than one page) do not fit into a
 float environment.


http://www.lyx.org/help/floats/nonFloat.php3
or use package nonfloats

Herbert



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




Re: problem with pdf and pdflatex

2002-07-17 Thread Dekel Tsur

On Wed, Jul 17, 2002 at 09:54:50AM +0200, Olivier Ripoll wrote:
 I have a problem with pdflatex and some pdf created from epstopdf.
 I'm writing my PhD thesis and I choose to use pdflatex in order to have
 a readable pdf in acrobat (so the thesis can be put on the web).
 Unfortunately, I have hit a wall with the insertion of some eps created
 by matlab. If I insert the eps, I cannot use pdflatex (of course), but
 if I insert the pdf instead, the resulting image is 2 black and white
 and distorted.

You probably have an old version of pdftex. Check you version with
pdftex -v.
If your version is 3.14159-0.13 or 0.14 then it is broken.

 If I use the eps and generate the pdf the old way, everything is okay,
 but I loose the 2 advantages of pdflatex (acrobat readable on screen and
 smaller file size).

It is very easy to create good PDF without pdflatex
(either with ps2pdf or dvipdfm).
RTFM (Extended.lyx).



Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Dekel Tsur wrote:

 On Wed, Jul 17, 2002 at 09:54:50AM +0200, Olivier Ripoll wrote:
  I have a problem with pdflatex and some pdf created from epstopdf.
  I'm writing my PhD thesis and I choose to use pdflatex in order to have
  a readable pdf in acrobat (so the thesis can be put on the web).
  Unfortunately, I have hit a wall with the insertion of some eps created
  by matlab. If I insert the eps, I cannot use pdflatex (of course), but
  if I insert the pdf instead, the resulting image is 2 black and white
  and distorted.

 You probably have an old version of pdftex. Check you version with
 pdftex -v.
 If your version is 3.14159-0.13 or 0.14 then it is broken.

I've just asked Mandrake maintainer about the version number (I don't have
access to my machine at present) and he told me 0.13d (tetex 1.0.7)
He packaged new rpms with 1.00b-pretest but they are unsupported. I'll test
them as soon as I have access to the machine and report the results here.

Anyway, from pdftex mailing list archives, version 0.14 should be okay. It
seems 0.13 had the problem
http://tug.org/mailman/htdig/pdftex/2001-March/000559.html
http://tug.org/mailman/htdig/pdftex/2001-September/001572.html

  If I use the eps and generate the pdf the old way, everything is okay,
  but I loose the 2 advantages of pdflatex (acrobat readable on screen and
  smaller file size).

 It is very easy to create good PDF without pdflatex
 (either with ps2pdf or dvipdfm).

big and fuzzy

 RTFM (Extended.lyx).

I have not only read the FM - many times actually, and also lyxTips
(lyx.org/help) pages and
http://www.nd.edu/~lisa/mrobert2/makingpdf.html
http://web.gat.com/diag/pci/ltx2pdf.html
http://tex2pdf.berlios.de/

And the global conclusion is: use pdflatex.

word and acrobat distiller have been able to provide a small and
acrobat-readable pdf (this is needed to have them available on the internet).
The others have pdfs that are several MiB and look fuzzy. I'd like to prove
that word can be beaten by LyX as PhD thesis writing tool. I'm sure here
everyone would like me to succeed :)

Best regards,

Olivier.






Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Olivier Ripoll wrote:

 word and acrobat distiller have been able to provide a small and
 acrobat-readable pdf (this is needed to have them available on the internet).
 The others have pdfs that are several MiB and look fuzzy. I'd like to prove
 that word can be beaten by LyX as PhD thesis writing tool. I'm sure here
 everyone would like me to succeed :)


This beginning of the sentence dissapeared here. It was
Among my collegues that generated their thesis as pdf, only the ones using...
word and acrobat etc.

Sincerely,

Olivier.






Re: [applemac]{inputenc}(a wish)

2002-07-17 Thread Jean-Marc Lasgouttes

 Jacobo == Jacobo Myerston [EMAIL PROTECTED] writes:

Jacobo I have a wish for future versions of LyX: support for mac
Jacobo encoding. That would make easier postprocessing latex files
Jacobo generated in LyX in OSX. --

But is there a corresponding X font for displaying these files
correctly in OSX under X window?

JMarc



unofficial 1.2.0 deb package

2002-07-17 Thread Desktop Crew

I have just packaged, for personal use, the latest lyx release 1.2.0
on i686 hardware platform and debian/unstable system
( libc6 = 2.2.4-4 and libforms0.88 are required ).

It can be retrieved at the url
http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb


It is just one of my first attempts to build that deb package, so please
let me know if you will find it useful

cheers

--
Paolo Pumilia




Re: unofficial 1.2.0 deb package

2002-07-17 Thread German Poo Caaman~o

El mié, 17-07-2002 a las 08:41, Desktop Crew escribió:
 I have just packaged, for personal use, the latest lyx release 1.2.0
 on i686 hardware platform and debian/unstable system
 ( libc6 = 2.2.4-4 and libforms0.88 are required ).
 
 It can be retrieved at the url
 http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb

The URL is wrong.  It is:
http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-1_i386.deb

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
«Hay 10 tipos de personas: las que entienden binario y las que no.»




Re: unofficial 1.2.0 deb package

2002-07-17 Thread Desktop Crew

From German Poo Caaman~o, Wed Jul 17, at  8:58:
 .El mi?, 17-07-2002 a las 08:41, Desktop Crew escribi?:
 . I have just packaged, for personal use, the latest lyx release 1.2.0
 . on i686 hardware platform and debian/unstable system
 . ( libc6 = 2.2.4-4 and libforms0.88 are required ).
 . 
 . It can be retrieved at the url
 . http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb
 .
 .The URL is wrong.  It is:
 .http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-1_i386.deb
 .
 .-- 



sorry

--
Paolo



Re: - Second Release -uno fficial 1.2.0 deb packages

2002-07-17 Thread Desktop Crew

It can be retrieved at the url

http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-2_i386.deb

--
Paolo Pumilia
 .



seminar.layout doesn't work as expected

2002-07-17 Thread German Poo Caaman~o


Since lyx-1.1.6-fix (AFAIR) I've been having some problems
with seminar.layout. I defined frames on my slides, but
now one slide appears with frame and empty, the second
one appears with text (without frame), etc.

If I export the file to TeX it looks like:

--
\begin{slide*}

\end{slide*}

\slideheading{Otro texto}


\slidesubheading{Subtexto}

Texto
--

It's wrong.  I used to use the same lyx files before without
problem.

I attach a sample. If you to see how is expected, you can
see any file from http://cronos.dci.ubiobio.cl/docs/sd/pdf/
(except sockets.pdf).

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
«Hay 10 tipos de personas: las que entienden binario y las que no.»


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass seminar
\begin_preamble
\usepackage[dvips]{pstcol} 
\usepackage{semcolor}
\input{seminar.bug}
\usepackage{fancybox}

\centerslidesfalse

\def\Titulo{Sistemas Distribuidos / Universidad del Bío--Bío}
\def\FrameDerecha{Hola}
\def\FrameIzquierda{\emph{Relator: Germán Poo Caamaño}}

\newcommand{\titledframe}[2]{%
  \boxput*(0,1){\psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{{#1}}}%
{\psframebox[framesep=12pt]{#2}}}

\pslongbox{miFrame}{\psframebox[framearc=0.1]}

\newslideframe{test2}{\boxput*(0,1){\psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{2}}%
  {\miFrame {#1} \endmiFrame}}

\newslideframe{Titulo}{%
  \boxput*(0,1){%
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny \Titulo}}%
  {#1}%
}

\newslideframe{FooterRight}{
  \boxput*(0.82,-1){
\makebox[0cm][r]{
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny Página \theslide}
}
  }
  {#1}
}

\newslideframe{FooterLeft}{%
  \boxput*(-0.82,-1){%
\makebox[0cm][l]{%
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny \FrameIzquierda}%
}%
  }%
  {#1}%
}

\slideframe*{Titulo}
\slideframe*{FooterRight}
\slideframe*{FooterLeft}

\slidepagestyle{empty}
\end_preamble
\options slidesec,portrait
\language spanish
\inputencoding auto
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 1
	0
	15
	-1
\end_bullet
\bullet 2
	4
	20
	-1
\end_bullet

\layout PortraitSlide

\layout SlideHeading

Slide heading
\layout SlideSubHeading

Texto
\layout Standard

Texto estándar
\layout PortraitSlide

\layout SlideHeading

Otro texto
\layout SlideSubHeading

Subtexto
\layout Standard

Texto
\the_end



Mathmode

2002-07-17 Thread Herbert Voss

there is a first edition of the new mathstuff in LyX 1.2.x
I suppose, it has more typos than a dog loice

http://www.perce.de/lyx/equations120.pdf

Herbert


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





Re: Mathmode

2002-07-17 Thread Andre Poenitz

On Wed, Jul 17, 2002 at 06:56:35PM +0200, Herbert Voss wrote:
 there is a first edition of the new mathstuff in LyX 1.2.x

Not bad. You must have been busy...

Note that we have some basic support for multline.

Andre'

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



A question about Protected Blanks

2002-07-17 Thread Doug Innes

Is there a way to mass-select a paragraph and make the whole of it a
'Description' header properly, with protected blanks replacing normal
spaces, or do I have no choice but to replace them one-at-a-time?

Please send reply to '[EMAIL PROTECTED]'. Thanks.




Re: Viewing images in lyx1.2: Loading images blocks UI

2002-07-17 Thread Jan Warnking

On Thu, 11 Jul 2002, John Levon wrote:
  background, too, so I was very disappointed to see that, on the contrary,
  image loading is done in foreground now. This is the reason I still prefer
  1.1.6.
 
 Image loading is not done in the foreground...

Ok, I guess I'm not in a position to argue about this with you, but what I
observe strongly ressembles a foreground process. Let me be more specific:

When the place an image is to be displayed in appears on the screen for
the first time, image conversion and display is triggered. The empty box
representing the image initially contains a message like converting to
loadable format. Image conversion is done in the background, that is, the
user interface is not affected by the running process. Moving the cursor,
scrolling the canvas and opening menus works as usual. Once the image
conversion is done, the image is loaded. During this (rather rapid)
process, the information given in the box changes to Loading image..., 
and then Loaded. Scaling etc These processes seem to be done in
the foreground in the sense that the user interface is completely blocked.
Displacing the cursor, scrolling the canvas, opening menus, useage of
dialog boxes etc is delayed until the image is loaded. The events that
piled up are executed once the image appeared on the canvas.
On my box (AMD K6II-266), loading takes up to a second, depending on the
images. Even worse, when scrolling rapidly across a document with many
images, lots of conversions are triggered. When images start to be
available for loading, loading takes longer because load is high, and the
sum of all the events makes for an appreciable blackout of UI
availability.

I hope this clarifies what I said. I might also add that in lyx 1.1 I
never observed ANY lag in UI response correlated with image loading.

Jan





A question about 'Description'

2002-07-17 Thread Doug Innes

Is there a way to mass select a sentence and make it a 'Description' with
'protected blanks' replacing spaces in the sentence, avoiding a line break?
Or do I have to replace the spaces all one-at-a-time?




Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-17 Thread Jan Warnking

On Thu, 11 Jul 2002, John Levon wrote:
  By default a converter PNG-EPS is defined. Since I defined an EPS-PS
  converter, Lyx then converted PNG-EPS-PS and failed to load the image
  (see previous message). So I removed the PNG-EPS converter, so that the
  PNG-XPM get used. However, the images still didn't get loaded. lyx -dbg
  graphics shows that lyx converts PNG-XPM-EPS-PS! Lyx _can_ load xpm
  directly and does so, if I delete the EPS-PS converter.
  This is minor once one knows what happens. There are always ways to work
  around this, defining only the right converters. But it still seems odd.
 
 You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
 and it converted my png to xpm directly, and loaded it via the xforms
 image loader

Do you have a xpm-eps converter defined? I don't remember why I defined
that, but that is not the point. My point was that I would expect the
shortest route to be chosen.
Here is the output of lyx -dbg graphics for the case I mentioned:

Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png
with recognised extension: png.
Scanstring: PNG
Recognised Fileformat: png
Scanstring: PNG
Recognised Fileformat: png

The file contains png format data.

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

Of these, LyX recognises the following formats:
gif, jpg, ps, xpm

Converting it to ps format.
Conversion script:

#!/bin/sh
infile='/home/jan/lyxdocs/these/images/chap1_neurone.png'
infile_base='/home/jan/lyxdocs/these/images/chap1_neurone'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.xpm'

convert ${infile} ${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

infile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.xpm'
infile_base='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.eps'

convert ${infile} ${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

'rm' -f ${infile}

infile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.eps'
infile_base='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.ps'

gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=${outfile}
${infile}

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
 
'rm' -f ${infile}
 
fromfile=${outfile}
tofile='/tmp/lyx_tmpdir17752l8QsWP/chap1_neurone17752eXed55.ps'
 
'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi
 
 
Image conversion succeeded.
Loading image.
xforms image loader. Status : Converting PS ...
xforms image loader. Status : Loading PostScript
xforms image loader. Error : LoadPS: no page written!
Image loading failed.
xforms image loader. Status : Error Reading




Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-17 Thread Herbert Voss

Jan Warnking wrote:

 On Thu, 11 Jul 2002, John Levon wrote:
 
By default a converter PNG-EPS is defined. Since I defined an EPS-PS
converter, Lyx then converted PNG-EPS-PS and failed to load the image
(see previous message). So I removed the PNG-EPS converter, so that the
PNG-XPM get used. However, the images still didn't get loaded. lyx -dbg
graphics shows that lyx converts PNG-XPM-EPS-PS! Lyx _can_ load xpm
directly and does so, if I delete the EPS-PS converter.
This is minor once one knows what happens. There are always ways to work
around this, defining only the right converters. But it still seems odd.

You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
and it converted my png to xpm directly, and loaded it via the xforms
image loader

 
 Do you have a xpm-eps converter defined? I don't remember why I defined
 that, but that is not the point. My point was that I would expect the
 shortest route to be chosen.
 Here is the output of lyx -dbg graphics for the case I mentioned:


 Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png
 with recognised extension: png.
 Scanstring: PNG
 Recognised Fileformat: png


[...]

 
 Converting it to ps format.


[..]


 Image conversion succeeded.
 Loading image.
 xforms image loader. Status : Converting PS ...
 xforms image loader. Status : Loading PostScript
 xforms image loader. Error : LoadPS: no page written!
 Image loading failed.
 xforms image loader. Status : Error Reading


the ps-support of xforms flimage seems to be buggy, that's
the problem. disable it

http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/xforms/xformsImage.C?r1=1.4r2=1.5

Herbert

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




Re: A question about 'Description'

2002-07-17 Thread Herbert Voss

Doug Innes wrote:

 Is there a way to mass select a sentence and make it a 'Description' with
 'protected blanks' replacing spaces in the sentence, avoiding a line break?
 Or do I have to replace the spaces all one-at-a-time?


it's not possible from inside lyx, use any other primitive
editor, if it's important. but you have to change a blank
into the command sequence of a protected space.

Herbert



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




Formatting a document

2002-07-17 Thread J.Lauffenburger

Hi,

I have some problems using the Preambule in Lyx 1.1.6fix3b.
It seems that commands I've added in the preambule are not taken into
account during compilation of the document. I'd like to use the fancy
package and customize the header and footer of a document which should
be a two sided paper. So I defined some newcommand (for the chapters for
example \newcommand{\mychapstyle}{...) but these definitions are not
considered.

If someone as any suggestion...

Thank's!



__

Jean-Philippe LAUFFENBURGER
Ecole Supérieure des Sciences Appliquées à l'ingénieur
Mulhouse
Laboratoire MIPS / Equipe MIAM
12 rue des frères Lumière
68093 Mulhouse Cedex
Tél : +33.3.89.33.69.13
Fax : +33.3.89.33.69.49
e-mail : [EMAIL PROTECTED]
__





Re: crash on opening document

2002-07-17 Thread thomas schönhoff


>>gdb ./lyx
>>(gdb) run
>>[load the file]
>>...crash...
>>(gdb) bt
>>
>>JMarc
>>
>>
> 

Hello,

maybe it should be a problem having xforms-0.88 installed instead 
of a 0.89 version !?
Did you try to run LyX with 0.89-3, runs fine here without any 
gotchas on RH7.2 box


Thomas




problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll


Hi all,
(LyX 1.2.0, Mandrake 8.2)

I have a problem with pdflatex and some pdf created from epstopdf.
I'm writing my PhD thesis and I choose to use pdflatex in order to have
a readable pdf in acrobat (so the thesis can be put on the web).
Unfortunately, I have hit a wall with the insertion of some eps created
by matlab. If I insert the eps, I cannot use pdflatex (of course), but
if I insert the pdf instead, the resulting image is 2 black and white
and distorted.
If I use the eps and generate the pdf the old way, everything is okay,
but I loose the 2 advantages of pdflatex (acrobat readable on screen and
smaller file size).

I've set a web page where you can get two such eps and pdf. the eps is
95KiB while the pdf is only around 8KiB.
http://olivier.ripoll.free.fr/lyx/pdf_latex.html

The only way I have found is to use png or jpg images, but this exploses
the size of the pdf. I also think some conversion done by lyx uses png
and also result in a size bloat of the pdf.

I've tried to generate eps level 1 and two from matlab. I also did eps
from Igrafx Designer. I did cycle eps->pdf->ps->eps->pdf and many others
way around but cannot get something working.

Has someone got an idea?

Thanks in advance.

Olivier.

(to reproduce the problem, take the eps, generate a pdf with epstopdf or
take the pdf, and then do a lyx file with one of them. render with
pdflatex and old pdf way)






importing tex resolved

2002-07-17 Thread Struan Cockcroft

Thanks Rem and Andre, it was my fault all along: I created the directory
in which the tex files were stored while logged on as root, so I didn't
have write permission.  I did say I was new to Linux. Sorry to waste
your time. I will continue writing my thesis with lyx.

thanks 
Struan



Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Olivier Ripoll wrote:

> Hi all,
> (LyX 1.2.0, Mandrake 8.2)

a few details about mandrake 8.2
pdftex is contained in tetex-1.0.7-44mdk.i586.rpm whose detailss can be
found here:

http://rpmfind.net//linux/RPM/mandrake/8.2/i586/Mandrake/RPMS/tetex-1.0.7-44mdk.i586.html

here is a listing from a ftp site of packages that are found in this distro

[   ] ghostscript-6.53-10m..> 13-Mar-2002 22:26   7.3M
[   ] ghostscript-fonts-5...> 13-Mar-2002 22:26   806k
[   ] ghostscript-module-S..> 13-Mar-2002 22:2624k
[   ] ghostscript-module-X..> 13-Mar-2002 22:2648k

[   ] tetex-1.0.7-44mdk.i5..> 13-Mar-2002 22:50  20.5M
[   ] tetex-afm-1.0.7-44md..> 13-Mar-2002 22:50   724k
[   ] tetex-doc-1.0.7-44md..> 13-Mar-2002 22:50  21.4M
[   ] tetex-dvilj-1.0.7-44..> 13-Mar-2002 22:50   195k
[   ] tetex-dvipdfm-1.0.7-..> 13-Mar-2002 22:50   184k
[   ] tetex-dvips-1.0.7-44..> 13-Mar-2002 22:50   373k
[   ] tetex-latex-1.0.7-44..> 13-Mar-2002 22:50   3.3M
[   ] tetex-latex-arab-3.0..> 13-Mar-2002 22:50   850k
[   ] tetex-latex-heb-1.0-..> 13-Mar-2002 22:50   297k
[   ] tetex-xdvi-1.0.7-44m..> 13-Mar-2002 22:50   644k
[   ] texinfo-4.0-22mdk.i5..> 13-Mar-2002 22:50   533k
[   ] textutils-2.0.17-7md..> 13-Mar-2002 22:50   363k

Best regards,

Olivier.






Re: importing tex resolved

2002-07-17 Thread Andre Poenitz

On Wed, Jul 17, 2002 at 09:58:41AM +0200, Struan Cockcroft wrote:
> Sorry to waste your time.

No problem. 

Andre'

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



Including Documents - Multiple stage include

2002-07-17 Thread Dr. Joachim Heidemeier

Hello all,
I'm planning to use lyx 1.2.0 for a complicated report. Thus I wanted to
separate it into different chapters which will be included from a main
document (document class koma-script book).
The chapters itself will consist of texts and tables. The tables are
likeliy to change often during the drafting process. So I wanted to
include the tables also as external files (automatically generated
from csv-files) into the chapter documents.
So I inserted into the main document:
...
\layout Standard


\begin_inset Include \input{FrageA1.lyx}

\end_inset
...
and into FrageA1.lyx
...
\layout Standard


\begin_inset Include \input{a1.1.lyx}

\end_inset
Following a discussion on lyx-users I sylinked all files into a build
directory.
Unfortunately I can't get this setup working within lyx.
After starting the postscript preview  I got a  Latex Errors:
cannot find a.1.tex cannot read from terminal in nonstop mode.
whereas the "manual route"
- exporting main.lyx as latex
- latex main.tex
works o.k.
My error or LyX Bug / feature?
Second Question:
Is it possible to give tables a title without a float environment. The
Table should be listed in the List of Tables. As far
as I understood longtables (i.e. more than one page) do not fit into a
float environment.
TNX in advance


-- 
Dr. Joachim Heidemeier  Tel. +49-30-8903-2780
Fachgebiet II 3.2   [EMAIL PROTECTED]
Umweltbundesamt, Bismarckplatz 1 D-14191 Berlin





Re: Including Documents - Multiple stage include

2002-07-17 Thread Herbert Voss

Dr. Joachim Heidemeier wrote:

> I'm planning to use lyx 1.2.0 for a complicated report. Thus I wanted to
> separate it into different chapters which will be included from a main
> document (document class koma-script book).
> The chapters itself will consist of texts and tables. The tables are
> likeliy to change often during the drafting process. So I wanted to
> include the tables also as external files (automatically generated
> from csv-files) into the chapter documents.
> So I inserted into the main document:


look at http://www.lyx.org/help/misc/IncludeInput.php

> Second Question:
> Is it possible to give tables a title without a float environment. The
> Table should be listed in the List of Tables. As far
> as I understood longtables (i.e. more than one page) do not fit into a
> float environment.


http://www.lyx.org/help/floats/nonFloat.php3
or use package nonfloats

Herbert



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




Re: problem with pdf and pdflatex

2002-07-17 Thread Dekel Tsur

On Wed, Jul 17, 2002 at 09:54:50AM +0200, Olivier Ripoll wrote:
> I have a problem with pdflatex and some pdf created from epstopdf.
> I'm writing my PhD thesis and I choose to use pdflatex in order to have
> a readable pdf in acrobat (so the thesis can be put on the web).
> Unfortunately, I have hit a wall with the insertion of some eps created
> by matlab. If I insert the eps, I cannot use pdflatex (of course), but
> if I insert the pdf instead, the resulting image is 2 black and white
> and distorted.

You probably have an old version of pdftex. Check you version with
pdftex -v.
If your version is 3.14159-0.13 or 0.14 then it is broken.

> If I use the eps and generate the pdf the old way, everything is okay,
> but I loose the 2 advantages of pdflatex (acrobat readable on screen and
> smaller file size).

It is very easy to create "good" PDF without pdflatex
(either with ps2pdf or dvipdfm).
RTFM (Extended.lyx).



Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Dekel Tsur wrote:

> On Wed, Jul 17, 2002 at 09:54:50AM +0200, Olivier Ripoll wrote:
> > I have a problem with pdflatex and some pdf created from epstopdf.
> > I'm writing my PhD thesis and I choose to use pdflatex in order to have
> > a readable pdf in acrobat (so the thesis can be put on the web).
> > Unfortunately, I have hit a wall with the insertion of some eps created
> > by matlab. If I insert the eps, I cannot use pdflatex (of course), but
> > if I insert the pdf instead, the resulting image is 2 black and white
> > and distorted.
>
> You probably have an old version of pdftex. Check you version with
> pdftex -v.
> If your version is 3.14159-0.13 or 0.14 then it is broken.

I've just asked Mandrake maintainer about the version number (I don't have
access to my machine at present) and he told me 0.13d (tetex 1.0.7)
He packaged new rpms with 1.00b-pretest but they are unsupported. I'll test
them as soon as I have access to the machine and report the results here.

Anyway, from pdftex mailing list archives, version 0.14 should be okay. It
seems 0.13 had the problem
http://tug.org/mailman/htdig/pdftex/2001-March/000559.html
http://tug.org/mailman/htdig/pdftex/2001-September/001572.html

> > If I use the eps and generate the pdf the old way, everything is okay,
> > but I loose the 2 advantages of pdflatex (acrobat readable on screen and
> > smaller file size).
>
> It is very easy to create "good" PDF without pdflatex
> (either with ps2pdf or dvipdfm).

big and fuzzy

> RTFM (Extended.lyx).

I have not only read the FM - many times actually, and also lyxTips
(lyx.org/help) pages and
http://www.nd.edu/~lisa/mrobert2/makingpdf.html
http://web.gat.com/diag/pci/ltx2pdf.html
http://tex2pdf.berlios.de/

And the global conclusion is: use pdflatex.

word and acrobat distiller have been able to provide a small and
acrobat-readable pdf (this is needed to have them available on the internet).
The others have pdfs that are several MiB and look fuzzy. I'd like to prove
that word can be beaten by LyX as PhD thesis writing tool. I'm sure here
everyone would like me to succeed :)

Best regards,

Olivier.






Re: problem with pdf and pdflatex

2002-07-17 Thread Olivier Ripoll

Olivier Ripoll wrote:

> word and acrobat distiller have been able to provide a small and
> acrobat-readable pdf (this is needed to have them available on the internet).
> The others have pdfs that are several MiB and look fuzzy. I'd like to prove
> that word can be beaten by LyX as PhD thesis writing tool. I'm sure here
> everyone would like me to succeed :)
>

This beginning of the sentence dissapeared here. It was
"Among my collegues that generated their thesis as pdf, only the ones using..."
word and acrobat etc.

Sincerely,

Olivier.






Re: [applemac]{inputenc}(a wish)

2002-07-17 Thread Jean-Marc Lasgouttes

> "Jacobo" == Jacobo Myerston <[EMAIL PROTECTED]> writes:

Jacobo> I have a wish for future versions of LyX: support for mac
Jacobo> encoding. That would make easier postprocessing latex files
Jacobo> generated in LyX in OSX. --

But is there a corresponding X font for displaying these files
correctly in OSX under X window?

JMarc



unofficial 1.2.0 deb package

2002-07-17 Thread Desktop Crew

I have just packaged, for personal use, the latest lyx release 1.2.0
on i686 hardware platform and debian/unstable system
( libc6 >= 2.2.4-4 and libforms0.88 are required ).

It can be retrieved at the url
http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb


It is just one of my first attempts to build that deb package, so please
let me know if you will find it useful

cheers

--
Paolo Pumilia




Re: unofficial 1.2.0 deb package

2002-07-17 Thread German Poo Caaman~o

El mié, 17-07-2002 a las 08:41, Desktop Crew escribió:
> I have just packaged, for personal use, the latest lyx release 1.2.0
> on i686 hardware platform and debian/unstable system
> ( libc6 >= 2.2.4-4 and libforms0.88 are required ).
> 
> It can be retrieved at the url
> http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb

The URL is wrong.  It is:
http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-1_i386.deb

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
«Hay 10 tipos de personas: las que entienden binario y las que no.»




Re: unofficial 1.2.0 deb package

2002-07-17 Thread Desktop Crew

>From German Poo Caaman~o, Wed Jul 17, at  8:58:
 .El mi?, 17-07-2002 a las 08:41, Desktop Crew escribi?:
 .> I have just packaged, for personal use, the latest lyx release 1.2.0
 .> on i686 hardware platform and debian/unstable system
 .> ( libc6 >= 2.2.4-4 and libforms0.88 are required ).
 .> 
 .> It can be retrieved at the url
 .> http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0_1.deb
 .
 .The URL is wrong.  It is:
 .http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-1_i386.deb
 .
 .-- 



sorry

--
Paolo



Re: - Second Release -uno fficial 1.2.0 deb packages

2002-07-17 Thread Desktop Crew

It can be retrieved at the url

http://linfe.it/OpenLab/Software/DebianPackages/unstable/contrib/lyx_1.2.0-2_i386.deb

--
Paolo Pumilia
 .



seminar.layout doesn't work as expected

2002-07-17 Thread German Poo Caaman~o


Since lyx-1.1.6-fix (AFAIR) I've been having some problems
with seminar.layout. I defined frames on my slides, but
now one slide appears with frame and empty, the second
one appears with text (without frame), etc.

If I export the file to TeX it looks like:

--
\begin{slide*}

\end{slide*}

\slideheading{Otro texto}


\slidesubheading{Subtexto}

Texto
--

It's wrong.  I used to use the same lyx files before without
problem.

I attach a sample. If you to see how is expected, you can
see any file from http://cronos.dci.ubiobio.cl/docs/sd/pdf/
(except sockets.pdf).

-- 
German Poo Caaman~o
mailto:[EMAIL PROTECTED]
http://www.ubiobio.cl/~gpoo/chilelindo.html
«Hay 10 tipos de personas: las que entienden binario y las que no.»


#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 220
\textclass seminar
\begin_preamble
\usepackage[dvips]{pstcol} 
\usepackage{semcolor}
\input{seminar.bug}
\usepackage{fancybox}

\centerslidesfalse

\def\Titulo{Sistemas Distribuidos / Universidad del Bío--Bío}
\def\FrameDerecha{Hola}
\def\FrameIzquierda{\emph{Relator: Germán Poo Caamaño}}

\newcommand{\titledframe}[2]{%
  \boxput*(0,1){\psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{{#1}}}%
{\psframebox[framesep=12pt]{#2}}}

\pslongbox{miFrame}{\psframebox[framearc=0.1]}

\newslideframe{test2}{\boxput*(0,1){\psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{2}}%
  {\miFrame {#1} \endmiFrame}}

\newslideframe{Titulo}{%
  \boxput*(0,1){%
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny \Titulo}}%
  {#1}%
}

\newslideframe{FooterRight}{
  \boxput*(0.82,-1){
\makebox[0cm][r]{
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny Página \theslide}
}
  }
  {#1}
}

\newslideframe{FooterLeft}{%
  \boxput*(-0.82,-1){%
\makebox[0cm][l]{%
  \psframebox[fillcolor=white,fillstyle=solid,framearc=.3]{\tiny \FrameIzquierda}%
}%
  }%
  {#1}%
}

\slideframe*{Titulo}
\slideframe*{FooterRight}
\slideframe*{FooterLeft}

\slidepagestyle{empty}
\end_preamble
\options slidesec,portrait
\language spanish
\inputencoding auto
\fontscheme pslatex
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\bullet 1
	0
	15
	-1
\end_bullet
\bullet 2
	4
	20
	-1
\end_bullet

\layout PortraitSlide

\layout SlideHeading

Slide heading
\layout SlideSubHeading

Texto
\layout Standard

Texto estándar
\layout PortraitSlide

\layout SlideHeading

Otro texto
\layout SlideSubHeading

Subtexto
\layout Standard

Texto
\the_end



Mathmode

2002-07-17 Thread Herbert Voss

there is a first edition of the new mathstuff in LyX 1.2.x
I suppose, it has more typos than a dog loice

http://www.perce.de/lyx/equations120.pdf

Herbert


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





Re: Mathmode

2002-07-17 Thread Andre Poenitz

On Wed, Jul 17, 2002 at 06:56:35PM +0200, Herbert Voss wrote:
> there is a first edition of the new mathstuff in LyX 1.2.x

Not bad. You must have been busy...

Note that we have some basic support for multline.

Andre'

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



A question about Protected Blanks

2002-07-17 Thread Doug Innes

Is there a way to mass-select a paragraph and make the whole of it a
'Description' header properly, with protected blanks replacing normal
spaces, or do I have no choice but to replace them one-at-a-time?

Please send reply to '[EMAIL PROTECTED]'. Thanks.




Re: Viewing images in lyx1.2: Loading images blocks UI

2002-07-17 Thread Jan Warnking

On Thu, 11 Jul 2002, John Levon wrote:
> > background, too, so I was very disappointed to see that, on the contrary,
> > image loading is done in foreground now. This is the reason I still prefer
> > 1.1.6.
> 
> Image loading is not done in the foreground...

Ok, I guess I'm not in a position to argue about this with you, but what I
observe strongly ressembles a foreground process. Let me be more specific:

When the place an image is to be displayed in appears on the screen for
the first time, image conversion and display is triggered. The empty box
representing the image initially contains a message like "converting to
loadable format". Image conversion is done in the background, that is, the
user interface is not affected by the running process. Moving the cursor,
scrolling the canvas and opening menus works as usual. Once the image
conversion is done, the image is loaded. During this (rather rapid)
process, the information given in the box changes to "Loading image...", 
and then "Loaded. Scaling etc...". These processes seem to be done in
the foreground in the sense that the user interface is completely blocked.
Displacing the cursor, scrolling the canvas, opening menus, useage of
dialog boxes etc is delayed until the image is loaded. The events that
piled up are executed once the image appeared on the canvas.
On my box (AMD K6II-266), loading takes up to a second, depending on the
images. Even worse, when scrolling rapidly across a document with many
images, lots of conversions are triggered. When images start to be
available for loading, loading takes longer because load is high, and the
sum of all the events makes for an appreciable blackout of UI
availability.

I hope this clarifies what I said. I might also add that in lyx 1.1 I
never observed ANY lag in UI response correlated with image loading.

Jan





A question about 'Description'

2002-07-17 Thread Doug Innes

Is there a way to mass select a sentence and make it a 'Description' with
'protected blanks' replacing spaces in the sentence, avoiding a line break?
Or do I have to replace the spaces all one-at-a-time?




Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-17 Thread Jan Warnking

On Thu, 11 Jul 2002, John Levon wrote:
> > By default a converter PNG->EPS is defined. Since I defined an EPS->PS
> > converter, Lyx then converted PNG->EPS->PS and failed to load the image
> > (see previous message). So I removed the PNG->EPS converter, so that the
> > PNG->XPM get used. However, the images still didn't get loaded. "lyx -dbg
> > graphics" shows that lyx converts PNG->XPM->EPS->PS! Lyx _can_ load xpm
> > directly and does so, if I delete the EPS->PS converter.
> > This is minor once one knows what happens. There are always ways to work
> > around this, defining only the right converters. But it still seems odd.
> 
> You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
> and it converted my png to xpm directly, and loaded it via the xforms
> image loader

Do you have a xpm->eps converter defined? I don't remember why I defined
that, but that is not the point. My point was that I would expect the
shortest route to be chosen.
Here is the output of lyx -dbg graphics for the case I mentioned:

Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png
with recognised extension: png.
Scanstring: PNG
Recognised Fileformat: png
Scanstring: PNG
Recognised Fileformat: png

The file contains png format data.

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"

Of these, LyX recognises the following formats:
gif, jpg, ps, xpm

Converting it to ps format.
Conversion script:

#!/bin/sh
infile='/home/jan/lyxdocs/these/images/chap1_neurone.png'
infile_base='/home/jan/lyxdocs/these/images/chap1_neurone'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.xpm'

convert ${infile} ${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

infile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.xpm'
infile_base='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.eps'

convert ${infile} ${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

'rm' -f ${infile}

infile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.eps'
infile_base='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm'
outfile='/tmp/lyx_tmpdir17752l8QsWP/gconvert0177523rZhgm.ps'

gs -q -dNOPAUSE -dSAFER -dBATCH -sDEVICE=pswrite -sOutputFile=${outfile}
${infile}

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
 
'rm' -f ${infile}
 
fromfile=${outfile}
tofile='/tmp/lyx_tmpdir17752l8QsWP/chap1_neurone17752eXed55.ps'
 
'mv' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
'cp' -f ${fromfile} ${tofile}
if [ $? -ne 0 ]; then
exit 1
fi
'rm' -f ${fromfile}
fi
 
 
Image conversion succeeded.
Loading image.
xforms image loader. Status : Converting PS ...
xforms image loader. Status : Loading PostScript
xforms image loader. Error : LoadPS: no page written!
Image loading failed.
xforms image loader. Status : Error Reading




Re: Viewing images in lyx-1.2: Choice of the converter to use

2002-07-17 Thread Herbert Voss

Jan Warnking wrote:

> On Thu, 11 Jul 2002, John Levon wrote:
> 
>>>By default a converter PNG->EPS is defined. Since I defined an EPS->PS
>>>converter, Lyx then converted PNG->EPS->PS and failed to load the image
>>>(see previous message). So I removed the PNG->EPS converter, so that the
>>>PNG->XPM get used. However, the images still didn't get loaded. "lyx -dbg
>>>graphics" shows that lyx converts PNG->XPM->EPS->PS! Lyx _can_ load xpm
>>>directly and does so, if I delete the EPS->PS converter.
>>>This is minor once one knows what happens. There are always ways to work
>>>around this, defining only the right converters. But it still seems odd.
>>>
>>You must have made a mistake somewhere, I think. I just tested 1.2.1cvs
>>and it converted my png to xpm directly, and loaded it via the xforms
>>image loader
>>
> 
> Do you have a xpm->eps converter defined? I don't remember why I defined
> that, but that is not the point. My point was that I would expect the
> shortest route to be chosen.
> Here is the output of lyx -dbg graphics for the case I mentioned:


> Attempting to convert image file: ~/lyxdocs/these/images/chap1_neurone.png
> with recognised extension: png.
> Scanstring: PNG
> Recognised Fileformat: png


[...]

 
> Converting it to ps format.


[..]


> Image conversion succeeded.
> Loading image.
> xforms image loader. Status : Converting PS ...
> xforms image loader. Status : Loading PostScript
> xforms image loader. Error : LoadPS: no page written!
> Image loading failed.
> xforms image loader. Status : Error Reading


the ps-support of xforms flimage seems to be buggy, that's
the problem. disable it

http://www.lyx.org/cgi-bin/viewcvs.cgi/lyx-devel/src/frontends/xforms/xformsImage.C?r1=1.4=1.5

Herbert

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




Re: A question about 'Description'

2002-07-17 Thread Herbert Voss

Doug Innes wrote:

> Is there a way to mass select a sentence and make it a 'Description' with
> 'protected blanks' replacing spaces in the sentence, avoiding a line break?
> Or do I have to replace the spaces all one-at-a-time?


it's not possible from inside lyx, use any other primitive
editor, if it's important. but you have to change a blank
into the command sequence of a protected space.

Herbert



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




Formatting a document

2002-07-17 Thread J.Lauffenburger

Hi,

I have some problems using the Preambule in Lyx 1.1.6fix3b.
It seems that commands I've added in the preambule are not taken into
account during compilation of the document. I'd like to use the fancy
package and customize the header and footer of a document which should
be a two sided paper. So I defined some newcommand (for the chapters for
example \newcommand{\mychapstyle}{...) but these definitions are not
considered.

If someone as any suggestion...

Thank's!



__

Jean-Philippe LAUFFENBURGER
Ecole Supérieure des Sciences Appliquées à l'ingénieur
Mulhouse
Laboratoire MIPS / Equipe MIAM
12 rue des frères Lumière
68093 Mulhouse Cedex
Tél : +33.3.89.33.69.13
Fax : +33.3.89.33.69.49
e-mail : [EMAIL PROTECTED]
__