Bo Peng wrote:
You are right, but the problem is that there are two many opearations:
add file, extract file, embed file, dis-embed file, ...
How many exactly? Which of these could be useful from the lyx-server?
If LFUN can only accept one parameter, then
LFUN_EMBED_FILE file
LFUN_UN_EMBED_FILE file
LFUN_UPDATE_EMBEDDED_FILE file
and maybe
LFUN_ENABLE_BUNDLE on/off
I have not really though of this so this is just some rough idea.
LFUNs can accept as many parameters as you like and, in principle, in
whatever form you like. You just have to parse it.
There's an occasional discussion about what form the argument list
should take, but at the moment there's no consistency in the code, so
far as I can see.
Richard
--
==================================================================
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==================================================================
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto