Jean-Marc Lasgouttes wrote:
>
> Fabrizio> P.S.: I have some idea how modify and get more power to lyx
> Fabrizio> hmmm..... sorry: "LyX" ;-) but I'm not a C-guru developer
> Fabrizio> :-( Do you think i should be able join you ?
>
> Everybody is welcome to join and contribute ideas and code.
>
> JMarc
OK: my English in not very well :-(,
However I'll try give you some ideas.
Consideration: LyX is a word processor using WYSIWYM. OK:This is
very good!
LyX uses another paradighm I call "MF-OD-OB"
it means: "More File for One Document in One Buffer"
For example Mico$oft Xord and others traditional WYSIWYG editors
use "One File for One Document in One Buffer"
More File: In fact a ".lyx" file contains one document showned in one
buffer (selectable using "Documents" main menu). But a ".lyx" does not
represent ALL document: if I copy "foo.lyx" in another direcoty or send
it to my friend via e-mail, it should not to work (!) because ".lyx" file
could contains references to other files, such as ".eps" or included
files, so "foo.lyx" is the "main" file, but does not contains all
information for the document. I think this is a deficense.
One Document: simple: we write one document only in a lyx file.
so good.
One Buffer: When is time to write a long (or Huge) document it is
difficult manage it in a one buffer only. The window "Table of Document"
is helpfull in those cases: we can select fastly
the section we want to go to. But vertical scroll-bar it's difficult to
use.
Possible solution: I think the best choice is "One File for
One Document in More Buffer". ("OF-OD-MB")
"One File" could be obtained in two way:
1) (simple) using tar file: Add to "File" menu "save as tar..."
so will be create "foo.lyx.tar" containing "foo.lyx" and other files
referred in ".lyx" :
for examples:
tar tx < foo.lyx
foo.lyx
fig1.eps
included.tex
fig2.eps
.....
The user could be able to add it other files: for example ".fig" files
in some fast & simple way.
2) Restructure the ".lyx" file format such that binary data
(read .eps file) and other file could be included in some way
I known this is not very simple.
"More Buffer": the user can choice in "Document Layout"
what he want put in a buffer:
a) all document
b) a Chapter
c) a Section
We have to modify "Documents Menu":
Suppose the user open three documents:
"foo-all.lyx" (choice as "a")
"foo-ch.lyx" (choice as "b")
"foo-sec.lyx" (choice as "c")
Well, "Documents" menu will appears something like this:
foo-all.lyx
foo-ch.lyx >
foo-sec.lyx >
note foo-ch & foo-sec are now submenus (like
Insert/Special Character). foo-ch shows following
submenu:
chapter1 - Introducion
chapter2 - Getting started
.....
and foo-sec.lyx:
1.1 - Welcome to LyX
1.2 - What the tutorial is
1.3 - What is LyX
2.1 - Your first LyX document
......
So the user cat select chapter or section he want.
Ciao! :-)
--
--------------------------------------------------------------
Fabrizio Sebastiani, http://userspace.ats.it/free/fsebasti
--------------------------------------------------------------