αâ─ v⌠VΦ2â─└uΘi 6`# 6^# v⌠VÜ╠Fαâ─└uΘN 6p# 6n# v⌠ v≥Ü╠Fαâ─└tΘ■╕Θ╩ï~εÄΓ9&─X& ╖Ω& ╖Φ╕e%PïF≡PWï≡Üααâ─ï╞ï≈ëF■ëvⁿΘàÉ2└P░PÜ╢] â─ÄΓ9&─X&ïçá&ïùóï°ëV■ alt.sources, by Jonathan Kamens
- the original RFD for alt.sources.mac, by Dave Nebinger
- the beta FAQ compilation for alt.sources.mac, by Peter N. Lewis
(5.3) ObSource
Since alt.sources.mac is exclusively for posting Macintosh source code, here
is some C code to make an application hide itself:
void HideMe(void)
{
MenuKey(0);
}
δ╕╡%PÜ|α â─╗TÄ:ë₧■îå■&╟╕╨PÜ╒ â─ëF∞ëVε╕pPÜ╒ â─ëF≡ëV≥+└ëF÷ëF⌠èå{ ■å{ <vΘvâ~uZ 6`# 6^#╕└%P ╢~ VÜααâ─╕P ╢~ VÜ"αâ─P ╢~ VÜJ] fact, much of the distributed system is
written in Lisp.
Another option for Interleaf 5 is "Interleaf 5 <SGML>" which provides
complete support for creating structured documents in SGML.
Other products available from Interleaf include the following:
"RDM" (Relational Document Manager) organizes, tracks and manages
documents and data, and automates every stage of the document
lifecycle.
"Worldview" distributes information from virtually any source in
document form for online viewingupport the production of
large and complex document sets, including: centralized control over
parts or all of a document (format and/or content), global search and
replace/change on individual graphics objects regardless of specific
orientation or position, and revision management.
Also available is the optional Developer's Toolkit (DTK) for
customizing or extending the capabilities of the above authoring tool.
DTK is used to write programs in Interleaf Lisp. Interleaf Lisp is
similar to Common Lisp, but it also contains an extensive set of
classes, methods, and functions for examining and changing almost all
Interleaf objects, including documents and their contents. DTK
includes an editor, debugger, compiler, listener, interpreter, and
on-line documentation. Lisp code developed with DTK, or even written
with an ordinary editor, can be executed by the stock system, so that
customization or the provision of special functionality is not limited
to installations with DTK. In the printer_install or prhost_install programs.
In the DOS version of Interleaf 5, many of these tasks have been
simplified and moved into the hands of the end users. For example,
prhost_install and printer_install have been merged into one program
which is run by the user from within Interleaf 5 itself.
2.2 Printing
2.2.1 Can I create PostScript files on the desktop in Interleaf 5?
Yes. The administrator runs printer_install and creates a new
"printer" named "PostScript" (or whatever). Choose filtering on the
desktop, the "Other PostScript printer" model, use the NULL.PPD file,
face down output, and choose *not* to spool to the printer. Whatever
menu name you chose (I suggest "<PostScript File>") will now appear in
the printer menu. When selected, it will output to a PostScript file
in the current directory. The filename will have a suffix of "_ps"
(no, Interleaf hasn't learned the ".ps" UNIX convention).
[the previous paragraph works fine on the 5.3 Sun version of ileaf;
for other platforms, your mileage may vary]
Adventuresome hackers can simply insert the following into their
/interleaf/ileaf5/data/printers.lsp file (on UNIX hosts):
(
:netname "PostScript"
:menuname "<PostScript>"
:filt-args ("-ppd" "NULL.PPD" "-ft" "3")
:pdltag "ps"
:filter "pl2ps"
:install "ps_install"
:ps-type1 ("-ft" "3")
:ppdfile "NULL.PPD"
:rvopt " "
:european " "
:physical-printer "PostScript"
:spool "n"
:filter-loc "desktop"
:type "ps"
:model "Other PostScript printer"
:id :bsd-other-ps
)
On Interleaf 5 for DOS, this comes as a default setup.
2.2.2 Can Interleaf 5 create Encapsulated Postscript files (EPS files)?
Yes. Beginning with Interleaf 5.3, you have the ability to create EPS
3.0 files as an option under the printer pulldown menu. To add this
functionality simply add another printer using printer_install. Select
"EPS File" as the printer type. This will add EPS to your PRINT menu.
When printing to EPS, the EPS file will contain one entire page
(including page #, etc.).
In Interleaf 5 for DOS, add the "-EPS" option to the switch settings
for creating PS files in the Printer Setup Tool, and save this as a
new menu entry ("Create EPS File").
If you want to filter an object that will be placed on a page in some
other program, you'll need to set the document size appropriately.
(Unless there is some other way to let Interleaf know where the
boundaries of the object are.) Since a typical EPS file is one graphic
object, you can set the frame size to "Contents," then back to "Fixed"
to see the actual size of the graphic. Then, open the Page property
sheet and enter the frame height and width values as the page size.
(If someone knows a better way, we'd like to hear about it.)
There are some subtle differences between PostScript files and EPS
files. Each format has its appropriate uses, so both are discussed
here. See the comp.lang.postscript FAQ for the gory details.
One idiosyncrasy of Interleaf-generated EPS files is the line
%%BoundingBox: (atend)
Some programs insist on having the BoundingBox at the beginning of
the document, so if you have an application which chokes on ileaf
EPS, move this line to the initial comments section.
2.2.3 Are there special problems with SPARCprinters using NeWSprint?
Maybe. Some users have noted problems with SPARCprinters, and other
note problems with certain fonts or frames or bullets looking "dirty".
Make sure you have the right PPD file.
[This section is still under construction. If you have info to add,
please send a summary to the editors]
2.2.4 Printerleaf-to-PostScript
The pl2ps command can be very useful in debugging printing problems.
Create a printerleaf (*.pl) output file by selecting "Printerleaf" in
the Printers menu. Now you can convert this to a PostScript file by
running pl2ps. Execute "pl2ps -usage" for a summary of options. A