Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Andre Poenitz
On Wed, Aug 13, 2003 at 01:22:08PM +0200, Michael Logies wrote:
> Win XP Prof, Miketex 2.3, Lyx-Qt 1.3.2.
> 
> Hello,
> 
> when I export my *.lyx as *.tex and import it again, it cannot be openend:
> 
> Cannot convert file
> Error while executing
> reLyx -f "foo.tex"

Can you run reLyX at all or to you get an ill-formed .lyx file?

> And I cannot open any other *.tex-files either. Is this a bug within Lyx-Qt 
> or a general one? Anything what can be done to circumvent it?

.tex import is difficult in general.

Currently there are two tex-to-lyx converters: reLyX and tex2lyx from
current 1.4.0cvs. 

For .tex produced by LyX, tex2lyx might be the better option.

Andre'

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


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Herbert Voß
Michael Logies schrieb:

But is the Tex clean, which is exported from Lyx?
clean is all which runs without errors through latex,
but there are some minor problems:
- the font substitution stuff is really out of date
- images/tabulars insode floats are centered with
  \begin{center} ... \end{center} instead of \centering
- footnotes in tabulars use old code
Herbert




RE: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Michael Logies
At 17:12 13.08.2003 +0100, Rob Saunders wrote:

> Try this if you haven't already:
> View the file first as DVI, ie run LATeX on the file then find the
> associated .tex file in the temp folder
> (C:\blah\lyx\tmp\lyx_tmp_whatever\maybe_another\yourfile.tex)
> Now import this file LATeX in and see if it works better.

Rob,

thanks. I just tried but I get the same error message.

Regards

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


RE: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Michael Logies
At 17:01 13.08.2003 +0100, Rob Saunders wrote:

> If you want to use reLyX, you need Perl. As far as I know there are
> free Perl implementations for Windows, too.
It's in the package of Ruurds native win 32 QT version.

Check in C:\blah\lyx\bin for Perl.exe and perl.dll
Rob,

thanks. They are sitting there as they should.

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Michael Logies
Win XP Prof, Miketex 2.3, Lyx-Qt 1.3.2.

Hello,

when I export my *.lyx as *.tex and import it again, it cannot be openend:

Cannot convert file
Error while executing
reLyx -f "foo.tex"
And I cannot open any other *.tex-files either. Is this a bug within Lyx-Qt 
or a general one? Anything what can be done to circumvent it?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Michael Logies
At 14:36 13.08.2003 +0200, Herbert Voß wrote:

clean is all which runs without errors through latex,
but there are some minor problems:
Herbert,

thanks. But I think what Lyx produces is still much better than my 
Latex-code. :-)

Regards

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Andre Poenitz
On Wed, Aug 13, 2003 at 07:11:23PM +0200, Michael Logies wrote:
> At 17:12 13.08.2003 +0100, Rob Saunders wrote:
> 
> > Try this if you haven't already:
> > View the file first as DVI, ie run LATeX on the file then find the
> > associated .tex file in the temp folder
> > (C:\blah\lyx\tmp\lyx_tmp_whatever\maybe_another\yourfile.tex)
> 
> > Now import this file LATeX in and see if it works better.
> 
> Rob,
> 
> thanks. I just tried but I get the same error message.

What error message?

What when running reLyX manually?

I.e.  'perl.exe reLyX.pl file.tex' (or whatever it takes to start perl
with a script that takes an argument on your system)?

Is your perl binary in your path?

Andre'

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


RE: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Rob Saunders

> Perl is a scripting language. It has nothing to do with LaTeX as such.
> If you want to use reLyX, you need Perl. As far as I know there are
> free Perl implementations for Windows, too.

It's in the package of Ruurds native win 32 QT version.

Check in C:\blah\lyx\bin for Perl.exe and perl.dll

Rob S




Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Juergen Spitzmueller
Hallo Herbert,

Herbert Voß wrote:
> - the font substitution stuff is really out of date

I am planning to update this eventually. My plan is to
- check for newer packages like mathpazo and mathptmx and fall back to 
palatino and times (maybe via mathppl and mathptm) if they are not installed.
- drop support for ae and pslatex
- add some more psnfss fonts
- add support for latin modern

what do you think of this?

> - images/tabulars insode floats are centered with
>\begin{center} ... \end{center} instead of \centering

I have a patch for this, but it still needs some discussion
http://bugzilla.lyx.org/show_bug.cgi?id=1290

Juergen.


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Andre Poenitz
On Wed, Aug 13, 2003 at 02:07:38PM +0200, Michael Logies wrote:
> At 13:36 13.08.2003 +0200, Andre Poenitz wrote:
> 
> >Can you run reLyX at all or to you get an ill-formed .lyx file?
> 
> Andre,
> 
> it doesn`t run at all.

Do you have perl installed?

> >.tex import is difficult in general.
> 
> Okay, I don`t really need it. So I will take another editor for using 
> *.tex-files.

Any text editor will do.

> But is the Tex clean, which is exported from Lyx?

Sort of.

Let's put it like that: As the .tex exported by LyX uses only a small
subset of the TeX language, it is comparatively easy to read unless you
use lots of "plain (La)Tex" in your document preamble or in the "LaTeX
insets".

Andre'

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


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Michael Logies
At 13:36 13.08.2003 +0200, Andre Poenitz wrote:

Can you run reLyX at all or to you get an ill-formed .lyx file?
Andre,

it doesn`t run at all.

.tex import is difficult in general.
Okay, I don`t really need it. So I will take another editor for using 
*.tex-files.

But is the Tex clean, which is exported from Lyx?

Thanks

Michael
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Andre Poenitz
On Wed, Aug 13, 2003 at 02:41:40PM +0200, Michael Logies wrote:
> At 14:29 13.08.2003 +0200, Andre Poenitz wrote:
> 
> >Do you have perl installed?
> 
> Andre,
> 
> I don`t know. I have a full package (maximum size) of Miktex installed. If 
> I`m searching for Perl in Miketex, I get the following.

Perl is a scripting language. It has nothing to do with LaTeX as such.
If you want to use reLyX, you need Perl. As far as I know there are
free Perl implementations for Windows, too.

Andre'

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


Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread David A. Case
On Wed, Aug 13, 2003, Michael Logies wrote:

> Win XP Prof, Miketex 2.3, Lyx-Qt 1.3.2.
> 
> when I export my *.lyx as *.tex and import it again, it cannot be openend:
> 
> Cannot convert file
> Error while executing
> reLyx -f "foo.tex"
> 

First, check the reLyx.bat file that Ruurd provides, in the lyx/bin directory.
I had to change it to make sure the paths are correct.  It should look
something like this:

@echo off
rem Wrapper script for Win32
rem written by Ruurd Reitsma
set PERLLIB=c:\lyx-1.3.2\lib
c:\lyx-1.3.2\bin\perl.exe c:\lyx-1.3.2\bin\reLyX %1 %2 %3

(change the "c:\lyx-1.3.2" to the correct location on your computer).


I also found it necessary to make the same sorts of changes to the file
lyx/share/lyx/lyx2lyx/lyx2lyx.bat, which (for me) now looks like:

@echo off
rem Wrapper script for Win32
rem written by Ruurd Reitsma
rem c:\lyx-1.3.2\bin\sh.exe --login %0
c:\lyx-1.3.2\bin\python %0 %1 %2


I don't actually know enough windows batch programming to understand the
original versions -- presumably they must work for most people, and there
is something funny/missing on my machine.  But the changes listed above
solved the problem for me, so I hope they will help others.

..dave case

p.s. thanks again to Ruurd Reitsma for putting this package together!



RE: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Rob Saunders

Michael;

Try this if you haven't already:
View the file first as DVI, ie run LATeX on the file then find the
associated .tex file in the temp folder
(C:\blah\lyx\tmp\lyx_tmp_whatever\maybe_another\yourfile.tex)

Now import this file LATeX in and see if it works better.

>From what I have just tried importing this file works just fine.

Rob S

> -Original Message-
> From: Rob Saunders [mailto:[EMAIL PROTECTED]
> Sent: 13 August 2003 17:01
> To: 'Michael Logies'
> Cc: 'LyX-List'
> Subject: RE: Lyx-Qt 1.3.2 cannot import Tex
> 
> 
> > Perl is a scripting language. It has nothing to do with LaTeX as
such.
> > If you want to use reLyX, you need Perl. As far as I know there are
> > free Perl implementations for Windows, too.
> 
> It's in the package of Ruurds native win 32 QT version.
> 
> Check in C:\blah\lyx\bin for Perl.exe and perl.dll
> 
> Rob S
> 




Re: Lyx-Qt 1.3.2 cannot import Tex

2003-08-14 Thread Michael Logies
At 14:29 13.08.2003 +0200, Andre Poenitz wrote:

Do you have perl installed?
Andre,

I don`t know. I have a full package (maximum size) of Miktex installed. If 
I`m searching for Perl in Miketex, I get the following.

Regards

Michael

C:\MikTex\texmf\context\perltk\
C:\MikTex\texmf\doc\latex\perltex\
C:\MikTex\texmf\nts\perltk\
C:\MikTex\texmf\source\latex\perltex\
C:\MikTex\texmf\tex\latex\perltex\
C:\MikTex\texmf\context\perltk\runperl.zip
C:\MikTex\texmf\doc\html\catalogue\entries\biblio-perl.html
C:\MikTex\texmf\doc\html\catalogue\entries\biblio-perl.xml
C:\MikTex\texmf\doc\html\catalogue\entries\hyperlatex.html
C:\MikTex\texmf\doc\html\catalogue\entries\hyperlatex.xml
C:\MikTex\texmf\doc\latex\perltex\perltex.pdf
C:\MikTex\texmf\miktex\bin\perltex.exe
C:\MikTex\texmf\source\latex\easy\for-latex2html\easybib.perl
C:\MikTex\texmf\source\latex\easy\for-latex2html\easybmat.perl
C:\MikTex\texmf\source\latex\easy\for-latex2html\easyeqn.perl
C:\MikTex\texmf\source\latex\easy\for-latex2html\easymat.perl
C:\MikTex\texmf\source\latex\easy\for-latex2html\easytable.perl
C:\MikTex\texmf\source\latex\easy\for-latex2html\easyvector.perl
C:\MikTex\texmf\source\latex\foilhtml\foilhtml-96.perl
C:\MikTex\texmf\source\latex\foilhtml\foils.perl
C:\MikTex\texmf\source\latex\foilhtml\foils-97.perl
C:\MikTex\texmf\source\latex\harvard\harvard.perl
C:\MikTex\texmf\source\latex\perltex\perltex.dtx
C:\MikTex\texmf\source\latex\perltex\perltex.ins
C:\MikTex\texmf\tex\latex\perltex\perlmacros.sty
C:\MikTex\texmf\tex\latex\perltex\perltex.pl
C:\MikTex\texmf\tpm\packages\perltex.tpm
--
http://www.logies.de/ (u. a. _die_ Mailingliste für die Dentalbranche)
PGP-key (RSA/IDEA) kommt mit angeforderter Empfangsbestätigung (return receipt)