home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
lyx-0.13.2.tar.gz
/
lyx-0.13.2.tar
/
lyx-0.13.2
/
lib
/
reLyX
/
todo.jpw
< prev
Wrap
Text File
|
1998-04-23
|
1KB
|
34 lines
General notes:
This script uses a Perl class module called "TeX.pm", which parses TeX
files.
1)
I don't like the way this removes the comments. I need to figure out
how TeX.pm works better.
2)
CleanTeX.pl should probably remove any LyX-specific preamble stuff it
finds, if not the entire preamble.
3)
Once CleanTeX.pl has been tested, the next obvious step is the
converter program, reLyX.pl, itself. reLyX.pl should take a file
processed by CleanTeX.pl and convert it to a LyX file.
It should convert LaTeX2e to LyX2.15 file format.
Any unrecognized LaTeX commands should go into a LaTeX paragraph
environment, or into TeX-mode, depending on the length of the thingy
in question. As for environments - we'll probably want a list of
valid, default environments that LyX knows about. Anything else
should go into a LaTeX paragraph.
As for environments for other document classes [revtex, amsart, etc.],
forget it. Let's get the converter working on "article" and "book"
first, then we can worry about things such as "slides", "letter", and
so on.
[My ideas for supporting other classes goes like this: we write a
series of other scripts that contain the necessary code for processing
environments for these other classes, then we include that or call it
from a wrapper script. Anyways, that can wait.]