* converter to import ascii files into DEC Write needed
@ 1993-11-23 15:34 Hermann Kneissel
1993-11-29 14:55 ` John Buehler
1993-11-29 16:34 ` quigley
0 siblings, 2 replies; 3+ messages in thread
From: Hermann Kneissel @ 1993-11-23 15:34 UTC (permalink / raw)
Hello world,
we have the following problem:
we wan't to include an ascii file into dec-write, so far no problem
but the text file should contain some primitive formatting commands
for example to print some words bold or italic.
Is there a simple way to do this, may be some public domain converter
from text to ddif, or is there a document describing the ddif format ?
Thanks for your help
Hermann
----
Hermann Kneissel
Danet-IS GmbH Phone: +49-711/1335324
Waldburgstr. 17-19 FAX: +49-711/1335353
D-70563 Stuttgart e-mail: hermann@is.danet.de
--
Hermann Kneissel
Danet-IS GmbH Phone: +49-711/1335324
Waldburgstr. 17-19 FAX: +49-711/1335353
D-70563 Stuttgart e-mail: hermann@is.danet.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: converter to import ascii files into DEC Write needed
1993-11-23 15:34 converter to import ascii files into DEC Write needed Hermann Kneissel
@ 1993-11-29 14:55 ` John Buehler
1993-11-29 16:34 ` quigley
1 sibling, 0 replies; 3+ messages in thread
From: John Buehler @ 1993-11-29 14:55 UTC (permalink / raw)
In article <hermann.754068876@danetis>, hermann@is.danet.de (Hermann Kneissel) writes:
|>
|> but the text file should contain some primitive formatting commands
|> for example to print some words bold or italic.
|> Is there a simple way to do this, may be some public domain converter
|> from text to ddif, or is there a document describing the ddif format ?
If you want to put formatting information into your text file, you must use a
known format. DECwrite pokes around a bit in raw ASCII files and tries to do the
right thing. I doubt if that means that it handles any sort of tagging to indicate
that text should be bolded or italicized.
Therefore, if you want formatting information in your text file, you must use
an existing format such as SGML or a similar text-based markup language for
documents. Those formats provide mechanisms for you to put 'commands' into your
text to indicate how it should be formatted. Once you have formatted your document
with the appropriate tags to follow SGML (or whatever), you then use one of the
CDA converters (or import the document via the DECwrite File menu - I'm out of date,
but that's where it should be). You may simply find it easier to go into the
document after DECwrite has included it and bold and italicize words there...
[Former DECcie on DECwrite V1.0, original author of text include function]
--
John Buehler
Template Software
13100 Worldgate Drive, Suite 340
Herndon, VA 22070-4382
email: buehler@template.com voice: 703-318-1000 fax:703-318-7378
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: converter to import ascii files into DEC Write needed
1993-11-23 15:34 converter to import ascii files into DEC Write needed Hermann Kneissel
1993-11-29 14:55 ` John Buehler
@ 1993-11-29 16:34 ` quigley
1 sibling, 0 replies; 3+ messages in thread
From: quigley @ 1993-11-29 16:34 UTC (permalink / raw)
>>we have the following problem:
>> we wan't to include an ascii file into dec-write, so far no problem
>> but the text file should contain some primitive formatting commands
>> for example to print some words bold or italic.
>>Is there a simple way to do this, may be some public domain converter
>>from text to ddif, or is there a document describing the ddif format ?
DECwrite includes a text converter in its kit, which allows
you to import text files into DECWrite. The text converter
does not allow for formatting commands such as bolding, however.
One option might be to mark up your text document using, for example, roff
or SGML and import from these formats into DECwrite. (This would require
the use of the Digital CDA Converter Library.)
Marking up your document using roff would be very simple.
The DEC standard 078 specifies the DDIF format. Other documentation is also available, for example, the CDA Guide to Writing Converters.
-Tom.
Tom Quigley
Digital Equipment
email: quigley@galvia.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1993-11-29 16:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-11-23 15:34 converter to import ascii files into DEC Write needed Hermann Kneissel
1993-11-29 14:55 ` John Buehler
1993-11-29 16:34 ` quigley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox