Bug#329331: [Pkg-lyx-devel] Bug#329331: Really???

2007-04-24 Thread Georg Baum
Am Montag 23 April 2007 22:32 schrieb Marco Herrn:
 Hi,

 On Sun, Apr 22, 2007 at 05:31:10PM +0200, Georg Baum wrote:
  Since LyX 1.4.0 it is not possible anymore to omit the extension in
  LyX, so this bug is no longer applicable and should have been closed
  with the first 1.4.x release in debian. LyX will omit the extension for
  LaTeX export if that is possible.

 Uhm, maybe you misunderstood the bugreport. It is _not_ related to LyX
 exporting LaTeX files, but only to the image preview inside LyX.

I understood that. Therefore I wrote that this report is no longer 
applicable.

 Since LaTeX doesn't need the extension, I would prefer that LyX also
 doesn't need it.

As I explained already this is not possible anymore.

 Sven Hoexter wrote:
  Sounds like the behaviour upstream prefers is the contradiction of what
  Marco would like to have.
 
  Is there a way we can agree to close this bug? Like a technical reason
  why it's not a good idea to implement the wished behaviour?

 Well, if this is the case, then this bug can be closed. But I am not yet
 sure that we are talking about the same problem.

 Georg Baum wrote:
  I ask another question: Is there any reason why you would _not_ want to
  specify exactly which file you want to include?

 The reason I want it, is that I need to output my document as PDF and PS,
 therefore are having the images in EPS and PDF format. Since LaTeX and
 pdfLaTeX cannot use the image format of the other, I need a way to
 specify both (by omitting the extension).

No, you don't need to do that. As I wrote LyX does not have the limitations 
of LaTeX.

  LyX does not have the
  limitations of LaTeX. It works out of the box with many image formats,
  and you can make it work with any image format you like by specifying
  additional converters.

 I did not know that. What means LyX works with many image formats? Am I
 able to create only an EPS file and LyX handles the conversion to PDF if
 necessary?

Exactly. In fact it is not LyX that converts the images, but it knows about 
helper applications. Look at the file format and converter sections in the 
preferences dialog if you want to see which programs are used. The 
documenation (I believe the customization guide) also explains this in more 
detail.

  Since there is always exactly one original image
  the recommended practice is to use that and let LyX take care of the
  conversion to the needed format.

 That would be fine. It would be the preferred way for me. But how does
 that work together with LaTeX? Does LyX create all the necessary formats
 by converting and these files can also be used after an export of the
 document to LaTeX?

Yes. You have two export formats that you can use: LaTeX (plain) and 
LaTeX (pdflatex). The first will produce eps files, the second will 
produce pdf files for vector graphics and png for bitmap graphics. If you 
need both, just export to both formats, but be aware that the 
generated .tex file can vary slightly.

BTW, is there any special reason why you want to run latex and pdflatex 
manually? Unless that is the case I suggest to export directly to pdf or 
ps, then LyX will also take care of running latex, bibtex and makedindex.


Georg


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329331: [Pkg-lyx-devel] Bug#329331: Really???

2007-04-22 Thread Sven Hoexter
package lyx
tags 329331 -fixed-upstream
thanks

On Sun, Apr 22, 2007 at 05:31:10PM +0200, Georg Baum wrote:

Hi,

 Since LyX 1.4.0 it is not possible anymore to omit the extension in LyX, so 
 this bug is no longer applicable and should have been closed with the 
 first 1.4.x release in debian. LyX will omit the extension for LaTeX 
 export if that is possible.
 
 Did you really try to omit the extension with LyX 1.4.x? If that worked at 
 all then it is a bug.

Sounds like the behaviour upstream prefers is the contradiction of what
Marco would like to have.

Is there a way we can agree to close this bug? Like a technical reason why
it's not a good idea to implement the wished behaviour?


Sven
-- 
If you won't forgive me the rest of my life
Let me apologize while I'm still alive
I know it's time to face all of my past mistakes
  [Less than Jake - Rest Of My Life]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#329331: [Pkg-lyx-devel] Bug#329331: Really???

2007-04-22 Thread Georg Baum
Am Sonntag, 22. April 2007 18:11 schrieb Sven Hoexter:

 Sounds like the behaviour upstream prefers is the contradiction of what
 Marco would like to have.
 
 Is there a way we can agree to close this bug? Like a technical reason 
why
 it's not a good idea to implement the wished behaviour?

I ask another question: Is there any reason why you would _not_ want to 
specify exactly which file you want to include? LyX does not have the 
limitations of LaTeX. It works out of the box with many image formats, and 
you can make it work with any image format you like by specifying 
additional converters. Since there is always exactly one original image 
the recommended practice is to use that and let LyX take care of the 
conversion to the needed format.

Apart from that the old code in 1.3.x was complicated and caused several 
problems, one being the reason for this bug report. Another one: The edit 
button in the graphics dialog (new in 1.4.x) would not work. We had long 
discussions when this part of the code was changed, but I do yet have to 
see one reason why it would be desirable to omit the extension in LyX.


Georg



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]