I'm looking for an Lisp-Script to open an Interleaf document that is
saved in ascii with the standard text-editor from interleaf .
I want to search and replace information e.g. of fonts or dictionnaries
that can be found in gml-coded files.
Thanks for your help.
Aernst
If the file is not too large you can use Notepad, larger files
can be read and edited using MS Word. Just change the
suffix of the document name so that MS does not think .doc
is in their format, .asc works well. Just change it back before
you try to open it in Interleaf.
Bob
--
______________
lvMMMCDLXXIX+1
"aernst" <aer...@format-docu.de> wrote in message
news:1156863844.3...@75g2000cwc.googlegroups.com...
thank you for your answer, but that's not what I want. I need an lisp
script which starts the internal text-editor of interleaf or an other
editor, opens the ascii-saved interleaf document and gives me the
possibility to search and replace.
Aernst
Photon713 schrieb:
Regards...Bob
--
______________
lvMMMCDLXXIX+1
"aernst" <aer...@format-docu.de> wrote in message
news:1156866273.2...@75g2000cwc.googlegroups.com...
Greetings:
Here it is:
(lisp-set-implementation "Interleaf Lisp" "2.0")
;; Module name: Fedit
;; Purpose: Force system to call Fedit for the selected DT object
;; Interfaces: Tools
;; Author: Randyl Kent Plampin
;; E-Mail: ran...@ix.netcom.com
;; 2005-03-15 Initial version
(fedit::fedit-open (dt-child-selected (dt-pointer-container)) '(0 1
2) nil)
;EOF
Cut this code, paste it into a Lisp icon and put the icon into the
Custom->Selection cabinet so you can see it on the Tools pulldown.
I strongly urge you to answer Bob's question as to what exactly you are
trying to do since there may be much better solutions. Take it from
someone that has been writing complex Lisp programs for over thirteen
years.
Best regards,
Randyl Kent Plampin
thank you for your mail. I would like the change all information in a
document or a catalog within an interleaf container from e.g. @Lnl to
@Lge or font information from times to helvetica. That exactly what I
can do with any editor like notepad in an interleaf file saved in
ascii.
But I'm interested do this from a lisp script so that it works
automatically for a complete container. It is not necessary to see the
editor or to enter the text to search and replace.
The text to search and replace maybe a variable in lisp.
If there is a better solution to do this please let me know.
Best regards
Aernst
Randyl schrieb:
thank you for your mail. It was not my intension to confuse you.
I would like the change all information in a document or a catalog
within an interleaf container from e.g. @Lnl to @Lge or font
information from times to helvetica.
That exactly what I can do with any editor like notepad in an interleaf
file saved in ascii.
But I'm interested do this from a lisp script so that it works
automatically for a complete container.
It is not necessary to see the editor or to enter the text to search
and replace.
The text to search and replace maybe a variable in lisp.
I am working in a windows environment.
If there is a better solution to do this please let me know.
Best regards
Aernst
Photon713 schrieb:
Greetings:
Thank you for being specific. This is extremely important.
I have sent to your e-mail address two programs that should take care
of both these problems. (1) "Apply-Dictionary" changes component
dictionary properties on any number of document(s) and/or book(s); (2)
"Change-Fonts-6" will take care of any global font changes to
document(s) and/or book(s).
If for any reason you do not receive the files, send me a note directly
to ran...@ix.netcom.com and we will re-send it.