Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: latex import problem

  • To: lyx-users@xxxxxxxxxxxxx
  • Subject: Re: latex import problem
  • From: Roy Schestowitz <r@xxxxxxxxxxxxxxx>
  • Date: Sun, 20 Nov 2005 06:03:52 +0000
  • Delivery-date: Sun, 20 Nov 2005 06:03:52 +0000
  • Envelope-to: s@schestowitz.com
  • In-reply-to: <20051118193833.GB21455@atrey.karlin.mff.cuni.cz>
  • References: <20051118193833.GB21455@atrey.karlin.mff.cuni.cz>
  • User-agent: Internet Messaging Program (IMP) H3 (4.0.3)
_____/ On Fri 18 Nov 2005 19:38:34 GMT, [Sanda Pavel] wrote : \_____

hi all,

i'm trying to import some latex files into lyx, but lyx
plays funny games with me.


My  personal  experience has shown that import of LaTeX into  LyX  suffers
from a few incompatibilities (or gaps), especially when mathematical equa-
tions  or  tables are involved. Even though these equations may produce  a
fine  outcome,  they often rely as some hacks which are 'glue' that  makes
them (loosely) work.


after import into lyx all the formulas look fine, export works etc,
but when i save+close+reopen the lyx file, it
is no longer exportable and also information about symbols in
the formulas change from "Type:equation" to "Type:None".


I have opened your LyX file. I then imported your LaTeX file, but the out-
come  was not at all identical. In fact, I believe that LyX did not devour
the  input file all that well. You must not rely on assumptions that  con-
version  in both ways (namely LyX <-> LaTeX) is non-lossy. If you collabo-
rate on a document with someone who does not use LyX, expect difficulties.
You  might  also come across that constant need for manual  correction  of
bits that are translated badly and layout that goes awry.


is there any way, how to globally change all the symbols "Type" back
into "equation" ?


I  suggest you try the search and replace function, which is available  in
most editors. If you handle a large number of files and make changes cohe-
sively,  I advise that you consider the command 'sed'. Having said that, I
think you are after something altgother different.


afaik the symbol in math mode is usually "simple" - how it differs ?

i'm not sure whether the latex code is correct, because its
just export from another editor from which i'm trying to port my files,
so i saved one small example in 195.113.31.123/~sanda/lyx

using lyx 1.3.5 on gentoo.

thanks for any help

pavel


The output from that other editor might not be very elegant. I suggest you
try

pdflatex *.tex

and  see  if any warnings are triggered or errors 'coughed out'.  Ideally,
all imports and exports would be non-lossy. Perhaps they are, but in prac-
tice,  there are too many non-compliant, non-standardised uses  (misuses).
TeX  (or LyX or whatever) hacks will not prevent one from getting that fi-
nal  output.  Since TeX is not overly restrictive and is often lenient,  I
always  expect  trouble when converting, changing version, or  changing  a
platform.

Hope it helps,

Roy

--
Roy S. Schestowitz
http://Schestowitz.com  |    SuSE Linux     |     PGP-Key: 0x74572E8E
 5:55am  up 17 days  1:49,  5 users,  load average: 0.17, 0.40, 0.52


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index