Re: Graphics/Figures in LyX, Call for Features

2000-06-15 Thread Syrus Nemat-Nasser

On Thu, 15 Jun 2000, Martijn Brouwer wrote:

> At 10:24 PM 6/7/00 +0200, you wrote:
> >On 07-Jun-2000 Roland Krause wrote:
> >
> >> 
> >> Why GUI independece? Drop xforms now! Port LyX to KDE
> >> 
> Never! With xforms I can run LyX on my 486, with KDE or gnome I can just
> open LyX in the time I now need to write my whole thesis! 
> Besides, there is already al port to KDE, KLyX.

Running LyX would not require KDE or GNOME to be installed! Only libqt or
libgtk which are probably not slower than xforms. Please correct me if I
am wrong.

Thanks. Syrus.

-- 

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Syrus C Nemat-Nasser, PhD|  Center of Excellence for Advanced Materials
UCSD Department of Physics   |  UCSD Department of Mechanical
<[EMAIL PROTECTED]> |and Aerospace Engineering





Re: Graphics/Figures in LyX, Call for Features

2000-06-15 Thread Martijn Brouwer

At 03:07 PM 6/15/00 +0200, you wrote:
>How well do latest LyX versions run on a 486? Is is better/worse than
>older versions? Just curious.

I can't tell you, I am just beginning to work seriously with LyX. (Master
thesis). But version 1.1.2 runs fine. Of course running Latex takes some
time, but I have exported the userguide and the extended features documents
to postscript, and that took only a few minutes. Reading this documents
online goes very well.  I did not yet try version 1.1.5: I want to wait
until the first fix. Compiling LyX takes to much time to do it for every
version. (hint: is there anybody who can build a rpm for SuSE?) I run LyX
on a 100 Mhz 486 with 24 Mb ram, so please keep the systemrequirements down.

Succes!

Martijn

P.S. I am going to like LyX very well. The absence of wysiwyg prevents my
computer from slowing down when I have a twenty page document full with
equations, tables and graphs! Go on.


__
Martijn Brouwer   [EMAIL PROTECTED]



Re: Graphics/Figures in LyX, Call for Features

2000-06-15 Thread Jean-Marc Lasgouttes

> "Martijn" == Martijn Brouwer <[EMAIL PROTECTED]> writes:

Martijn> Never! With xforms I can run LyX on my 486, with KDE or gnome
Martijn> I can just open LyX in the time I now need to write my whole
Martijn> thesis! Besides, there is already al port to KDE, KLyX.

How well do latest LyX versions run on a 486? Is is better/worse than
older versions? Just curious.

JMarc



Re: Graphics/Figures in LyX, Call for Features

2000-06-15 Thread Martijn Brouwer

At 10:24 PM 6/7/00 +0200, you wrote:
>On 07-Jun-2000 Roland Krause wrote:
>
>> 
>> Why GUI independece? Drop xforms now! Port LyX to KDE
>> 
Never! With xforms I can run LyX on my 486, with KDE or gnome I can just
open LyX in the time I now need to write my whole thesis! 
Besides, there is already al port to KDE, KLyX.

Martijn


__
Martijn Brouwer   [EMAIL PROTECTED]



Re: Graphics/Figures in LyX, Call for Features

2000-06-13 Thread Herbert Voss

Martijn Brouwer wrote:
> 
> I don't know whether LaTeX supports this, but I would like to have the
> possibility to make a float having half the width of a page with the text
> flowing around it. Often I have a quite large amount of graphs that show
> just some measurement points and a fitted straight line. Having full width
> floats is annoying in that case: you get a few pages with only graphs, and
> the text that describes them is a few pages away.
> Is this just a nice dream or is it feasible?

look at documentation Extended.lyx chapter 4.4
available at option help ... ;-)

Herbert

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




Re: Graphics/Figures in LyX, Call for Features

2000-06-13 Thread Martijn Brouwer

I don't know whether LaTeX supports this, but I would like to have the
possibility to make a float having half the width of a page with the text
flowing around it. Often I have a quite large amount of graphs that show
just some measurement points and a fitted straight line. Having full width
floats is annoying in that case: you get a few pages with only graphs, and
the text that describes them is a few pages away.
Is this just a nice dream or is it feasible?

Thanks,

Martijn


__
Martijn Brouwer   [EMAIL PROTECTED]



Re: Graphics/Figures in LyX, Call for Features

2000-06-08 Thread gissi


I am a "wordish" user... ;-)

A feature I would like is the possibility to set graphically the bounding box 
of EPS files, a sort of "crop", is this the right name?
I don't know if there is already a program that does that.

Emanuele Gissi



Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Alexander Volovics

On 07-Jun-2000 Roland Krause wrote:

> 
> Why GUI independece? Drop xforms now! Port LyX to KDE
> 

Why GUI independece? Drop xforms now! Port Lyx to GTK/GNOME ;-)

Alexander Volovics



Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Jean-Marc Lasgouttes

> "Roland" == Roland Krause <[EMAIL PROTECTED]> writes:

Roland> Unfortunately, xforms hinders the development of nicer Wysiwim
Roland> more then it supports it and it would be much easier to do
Roland> things in a KDE based environment where the programmer is
Roland> actually supported by the libs. 

I certainly hope that KDE provides a command line utility which uses
its _wonderful_ image processing features ;) Then we'll just use it. I
do not see how using directly KDE libs will simplify the process you
outlined above.

Roland> Therefore my usual

Roland>  Why GUI independece? Drop xforms now! Port LyX to KDE
Roland> 

Stop using oldish html to format your posts! Drop it and use KWord
now! :)

JMarc



Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Roland Krause

I certainly agree that eps is the format of choice for Latex when things
are going to be printed.
I noted though that there are many people out there that have reverted
to create pdf documents, somewhat as a last resort against having to do
M$soft.

Anyway for pdflatex eps is not an option. Also for screen presentations
eps figures are not really a good choice because of the scaling problem.
Screen presentations require a lot more real Wysiwyg than we (Latex/LyX
folks) usually like to care about. Summarizing:

1 For standard Latex based Lyx processing we would like and need eps/ps
figures, the method of choice to include these would be the graphic[sx]
packages. A nice feature would be to automagically detect the creator of
the figure (e.g. xfig) and an option to open the figure for editing...

2 For standard Latex based Lyx processing we would also like the option
to include png jpeg etc. Option for the conversion of these formats to
and from postscript are:
- pbm tools (Thats what they were called in the early days, I think
they are in libgr on my Mandrake distro now)
   -  ImagaMagick (which has a programming interface so that on the fly
conversion should be possible
If the graphic[sx] package is supported let Latex deal with png, jpeg
etc.

3 Then there are the folks that need/want to create pdf documents. Here
is where things get really ugly. Pdf can be created mainly in two ways.
Directly with pdflatex and in a postprocessing step with either
ghostscript, pstill or afaik Acrobat Distiller. pdflatex wont do eps but
there is a conversion tool in teTeX (epstopdf) to convert  eps/ps to
pdf.

Therefore LyX could  could handle eps figures for latex and pdf files
for latex in a transparent way through bitmap conversion via
ghostscript, much as it does now.

A new figure inset should first check what's available on the system and
make sure the user doesnt do things like trying to use eps figures with
pdflatex.Then it must convert the desired format to a bitmap to be
displayed on the screen.

These would be my wishes/ideas for a new figure inset. I have looked at
the current code and I think it should be rewritten from scratch and the
old one should be left in place while the new one is developed.

Unfortunately, xforms hinders the development of nicer Wysiwim more then
it supports it and it would be much easier to do things in a KDE based
environment where the programmer is actually supported by the libs.
Therefore my usual


Why GUI independece? Drop xforms now! Port LyX to KDE


Regards
Roland




Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Lars Gullik Bjønnes

Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

| This kind of feature is not related to images, IMO. What we need is a
| text inset which produces framed boxes. It will be easy when we get
| text insets working.

Agree, this is the right approach.,

Lgb



Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Jean-Marc Lasgouttes

> "Niklas" == Niklas Werner <[EMAIL PROTECTED]> writes:

Niklas> Well, maybe I missed something, but there's one big thing: My
Niklas> copy of LyX (1.1.5pre3) is still not able to draw a border
Niklas> around an included image (it does in the LyX-window, but
Niklas> neither in latex,ps, nor pdf).

Niklas> I always had to do it by hand using some LaTeX-commands I've
Niklas> forgotten because I put them in a script.

This kind of feature is not related to images, IMO. What we need is a
text inset which produces framed boxes. It will be easy when we get
text insets working.

JMarc



Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Niklas Werner

Well, maybe I missed something, but there's one big thing:

My copy of LyX (1.1.5pre3) is still not able to draw a border around an
included image (it does in the LyX-window, but neither in latex,ps, nor
pdf).

I always had to do it by hand using some LaTeX-commands I've forgotten
because I put them in a script.

That'd be a feature I'd like ;-)

Pdf-preview and exporting is said to get into one of the next releases,
isn't it?

have fun*

Niklas



Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Lars Gullik Bjønnes

Roland Krause <[EMAIL PROTECTED]> writes:

| Great, finally someone to pick this up.
| If I were you I'd also ask the developers, I think they have very
| detailed ideas of how the whole thing should be dealt with already. As
| far as I understand, figures should _not_ be converted into eps since
| this is entirely unnecessary. LaTeX can handle figures in jpeg and png
| for example just fine assumed that you can use the graphicx
| package.

Not quite true, someone must do the conversion to the format that
LaTeX can handle. It is possible to teach graphicx how to do this
using an external program, but the figure must still be converted, si
it just a question of when the conversion is done.

We also need to handle LaTeX installations that does not understand
eps but wants something different.

| To
| represent the figure on the screen you need to convert it to a bitmap
| sooner or later and that's what ghostscript is doing now. Again, all
| this isn't really necessary but as it looks like the current code needs
| a fundamental rewrite.

Yes, and it seems to be taking off now.

Lgb




Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Stefano Bianchi

I dont' know if newer versions support it (I use 1.0.3), but what I
really missed was the epsfig possibility to cut a box in an eps page
with bblx, , and clip=0. I had to write the latex command (which
works fine).
Stefano




Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Jean-Pierre.Chretien


>>Date: Tue, 6 Jun 2000 19:56:33 +0300 (IDT)
>>From: Baruch Even <[EMAIL PROTECTED]>
>>To: LyXnichians <[EMAIL PROTECTED]>
>>Subject: Graphics/Figures in LyX, Call for Features
>>
>>Hello,
>>
>>I'd like to solicit requests and ideas regarding the "insert Figure"
>>option that is present in LyX, as there is a need to reimplement it, I
>>thought it would be a good idea if peoples on the list would send me the
>>list of their needs and wants so I can collect and include them in my
>>work.
>>
>>Current ideas that I read about (and need myself) is the auto-generation
>>of EPS files from other formats (gif, fig, jpeg, tiff are the basic ones I
>>guess, and the easiest to implement).

I think that basically you should not put in the LyX file specific code
about figure format, unless it is used to hide the powerfulness of
the graphicx package.

In that line a minimal solution would be to
 - import the name of graphic files without extension
 - introduce a « View pdf » item in the file menu which gives direct choice
 on the latex/pdflatex compilation (« Update pdf » is useful also,
 but does not seem to work very well with acrobat reader). The action behind
 would be to run pdflatex on a modified version of the source file with
 class option pdftex automatically added.
 
Then leave to a batch conversion process the image conversion task, e.g.
IM mogrify if you want in place conversion. teTeX provides the epstopdf
filter useful to go from latex to pdflatex, needs to be encapsulated
in a script to automate the conversion on a set of files.

A more complicated implementation would be to give control to conversion
programs from the LyX interface as you mentioned hereunder.

>>
>>Regarding that I have a question, would you require the conversion to be a
>>part of LyX, or maybe using external programs will be ok, ImageMagick for
>>example is freely available and can convert almost anything to EPS, would
>>requiring ImageMagick (or other suitable tools) for this feature be too
>>much?

-- 
Jean-Pierre




Re: Graphics/Figures in LyX, Call for Features

2000-06-07 Thread Jean-Marc Lasgouttes

> "Staffan" == Staffan Ringbom <[EMAIL PROTECTED]> writes:

Staffan> In my opinion, the insert figure should support images that
Staffan> could be directly used by pdflatex. pdflatex and eps figures
Staffan> seems to be a bad mix. Is a conversion to eps files at the
Staffan> moment the best strategy? Probably yes in the short run?

I think eps is the best choice for real latex. Something else could be
needed for pdflatex, but this is easy to implement.

Staffan> Roland Krause wrote:

>> Great, finally someone to pick this up. If I were you I'd also ask
>> the developers, I think they have very detailed ideas of how the
>> whole thing should be dealt with already. As far as I understand,
>> figures should _not_ be converted into eps since this is entirely
>> unnecessary. LaTeX can handle figures in jpeg and png for example
>> just fine assumed that you can use the graphicx package.

I guess you mean "On _some_ TeX implementations, ...". LyX should
certainly not rely on LaTeX being able to handle anything else than
postscript, especially since it is so easy to do the convertion.

JMarc



Re: Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Stephan E. Schlierf

On Tue, 6 Jun 2000, Baruch Even wrote:

> Hello,
> 
> I'd like to solicit requests and ideas regarding the "insert Figure"
> option that is present in LyX, as there is a need to reimplement it, I
> thought it would be a good idea if peoples on the list would send me the
> list of their needs and wants so I can collect and include them in my
> work.
> 
> Current ideas that I read about (and need myself) is the auto-generation
> of EPS files from other formats (gif, fig, jpeg, tiff are the basic ones I
> guess, and the easiest to implement).
> 
> Regarding that I have a question, would you require the conversion to be a
> part of LyX, or maybe using external programs will be ok, ImageMagick for
> example is freely available and can convert almost anything to EPS, would
> requiring ImageMagick (or other suitable tools) for this feature be too
> much?

Hi,
I don't think that using an external programm would be too much for an
"advanced" LyXer.
On the other hand IMHO LyX should be suitable for "beginners", too
(M$-Worders or so...). For this reason, I'd appreciate if LyX would
convert it automatically. 

> 
> What else would you need from the Figure inclusion that you do not get
> currently?
> 
> -- 
>   Baruch Even
> 
> http://techst02.technion.ac.il/~sbaruch/   (My Site)
> http://rpghost.com/jindor/   (My brothers AD&D site)
> 
> " Learn to laugh ... it's the path to true love! " 
>- The Angel in the movie Michael
> 
> 

--
Stephan E. Schlierf M.A.
-  Product Management  -
PHONE:  ++49 9254 960673
FAX:++49 9254 960674
CSE GmbH Germany




Re: Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Staffan Ringbom

In my opinion, the insert figure should support images that could
be directly used by pdflatex. pdflatex and eps figures seems to be
a bad mix.  Is a conversion to eps files at the moment
the best  strategy?  Probably yes in the short run?




Roland Krause wrote:

> Great, finally someone to pick this up.
> If I were you I'd also ask the developers, I think they have very
> detailed ideas of how the whole thing should be dealt with already. As
> far as I understand, figures should _not_ be converted into eps since
> this is entirely unnecessary. LaTeX can handle figures in jpeg and png
> for example just fine assumed that you can use the graphicx  package.

YES!  YES! YES!


> To
> represent the figure on the screen you need to convert it to a bitmap
> sooner or later and that's what ghostscript is doing now. Again, all
> this isn't really necessary but as it looks like the current code needs
> a fundamental rewrite.
>
> Roland

Agree with Roland.


Staffan

P.S. Like 1.1.5. It is a good release! Thanks.





Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Roland Krause

Great, finally someone to pick this up.
If I were you I'd also ask the developers, I think they have very
detailed ideas of how the whole thing should be dealt with already. As
far as I understand, figures should _not_ be converted into eps since
this is entirely unnecessary. LaTeX can handle figures in jpeg and png
for example just fine assumed that you can use the graphicx  package. To
represent the figure on the screen you need to convert it to a bitmap
sooner or later and that's what ghostscript is doing now. Again, all
this isn't really necessary but as it looks like the current code needs
a fundamental rewrite.

Roland




Re: Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Baruch Even

On Tue, 6 Jun 2000, Herbert Voss wrote:

> > Baruch Even wrote:
> > 
> >   > Regarding that I have a question, would you require the conversion to be a
> >   > part of LyX, or maybe using external programs will be ok, ImageMagick for
> >   > example is freely available and can convert almost anything to EPS, would
> >   > requiring ImageMagick (or other suitable tools) for this feature be too
> >   > much?
> 
> the best way is to define the program in .lyx/lyxrc file.

Actually my original intent was to know if an external program solution
would be fine or an internal routine would be required. The first I prefer
since it goes in the unix tradition and there are better (and ready)
programs to do that, the later might be better since LyX is working also
on windows machine where I do not know if the external program solution is
applicable. 

Since so far no-one indicated an internal solution would be better an
external solution will be the prefered way, and ofcourse I'll not limit
myself to ImageMagick and allow configuration of conversion by the user,
and possibly by the configurator.

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael





Re: Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Herbert Voss

Ronald Florence wrote:
> 
> Baruch Even wrote:
> 
>   > Regarding that I have a question, would you require the conversion to be a
>   > part of LyX, or maybe using external programs will be ok, ImageMagick for
>   > example is freely available and can convert almost anything to EPS, would
>   > requiring ImageMagick (or other suitable tools) for this feature be too
>   > much?
> 
> I would prefer if the configuration of LyX searched out and used the
> available image conversion tool on the system (ImageMagick, xv, gimp
> tools, etc.) the way configuration currently does for latex -> html,
> Postscript viewers, and other external tools.  Nothing wrong with
> ImageMagick but it is not used on some systems which may have
> perfectly suitable alternate tools available.

the best way is to define the program in .lyx/lyxrc file.

Herbert

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



Re: Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Ronald Florence

Baruch Even wrote:

  > Regarding that I have a question, would you require the conversion to be a
  > part of LyX, or maybe using external programs will be ok, ImageMagick for
  > example is freely available and can convert almost anything to EPS, would
  > requiring ImageMagick (or other suitable tools) for this feature be too
  > much?

I would prefer if the configuration of LyX searched out and used the
available image conversion tool on the system (ImageMagick, xv, gimp
tools, etc.) the way configuration currently does for latex -> html,
Postscript viewers, and other external tools.  Nothing wrong with
ImageMagick but it is not used on some systems which may have
perfectly suitable alternate tools available.

-- 

Ronald Florence http://members.home.net/18james




Re: Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Osvaldo Fornaro

Baruch Even wrote:

> Hello,
>
> I'd like to solicit requests and ideas regarding the "insert Figure"
> option that is present in LyX, as there is a need to reimplement it, I
> thought it would be a good idea if peoples on the list would send me the
> list of their needs and wants so I can collect and include them in my
> work.
>
> Current ideas that I read about (and need myself) is the auto-generation
> of EPS files from other formats (gif, fig, jpeg, tiff are the basic ones I
> guess, and the easiest to implement).
>
> Regarding that I have a question, would you require the conversion to be a
> part of LyX, or maybe using external programs will be ok, ImageMagick for
> example is freely available and can convert almost anything to EPS, would
> requiring ImageMagick (or other suitable tools) for this feature be too
> much?

I think it is Ok. Personally i use ImageMagic to convert my tiff images to
eps and import them to lyx without any problems.
I think that automate this whitout duplicate files (only temporal to reuse
during a session) would be very fine.

Regards





begin:vcard 
n:Fornaro;Osvaldo
tel;fax:+54-2293-444190
tel;work:+54-2293-442821
x-mozilla-html:FALSE
org:Solidificacion - IFIMAT;Fac. Ciencias Exactas. Departamento de Fisica Universidad Nacional del Centro de la Provincia de Buenos Aires
adr:;;Pinto 399;Tandil;;B7000GHG;Argentina
version:2.1
email;internet:[EMAIL PROTECTED]
note;quoted-printable:Universidad Nacional del Centro de la =0D=0AProvincia de Buenos Aires
x-mozilla-cpt:;-16800
fn:Osvaldo Fornaro
end:vcard



Graphics/Figures in LyX, Call for Features

2000-06-06 Thread Baruch Even

Hello,

I'd like to solicit requests and ideas regarding the "insert Figure"
option that is present in LyX, as there is a need to reimplement it, I
thought it would be a good idea if peoples on the list would send me the
list of their needs and wants so I can collect and include them in my
work.

Current ideas that I read about (and need myself) is the auto-generation
of EPS files from other formats (gif, fig, jpeg, tiff are the basic ones I
guess, and the easiest to implement).

Regarding that I have a question, would you require the conversion to be a
part of LyX, or maybe using external programs will be ok, ImageMagick for
example is freely available and can convert almost anything to EPS, would
requiring ImageMagick (or other suitable tools) for this feature be too
much?

What else would you need from the Figure inclusion that you do not get
currently?

-- 
  Baruch Even

http://techst02.technion.ac.il/~sbaruch/   (My Site)
http://rpghost.com/jindor/ (My brothers AD&D site)

" Learn to laugh ... it's the path to true love! " 
   - The Angel in the movie Michael