|
Subject: Re: redirect rtf output From: Daniel Speck <dspeck@xxxxxxx> Date: Tue, 25 Jul 2000 16:31:35 -0400 |
On Unix couldn't you do something like:
openjade ... -o /dev/stdout
-dan
Brandon Ibach wrote:
> Quoting Holger Klawitter <holger@xxxxxxxxxxxx>:
> > Is there any way to let the rtf backend to put its output to stdout?
> >
> As far as I can tell from the code, no (at least, not in the
> version of OpenJade which I have, which is a little out of date).
> However, here is a patch (untested) which should allow you to use the
> -o option to specify an output filename of -, which will cause the
> output to be sent to standard output. This will only work with the
> RTF, TeX and FOT backends, however.
> Let me know if it works. ;)
>
> -Brandon :)
>
> (I initially posted this on Friday, but I forgot that the DSSSList
> doesn't allow attachments. Tony kindly reminded me (thanks!), so here
> it is in "unattached" form.)
>
> --------
> *** jade.cxx.orig Wed Oct 13 18:14:40 1999
> --- jade.cxx Fri Jul 21 15:53:11 2000
> ***************
> *** 150,154 ****
> default:
> outputFilename_ += 0;
> ! if (!outputFile_.open(outputFilename_.data())) {
> message(JadeMessages::cannotOpenOutputError,
> StringMessageArg(CmdLineApp::convertInput(outputFilename_.data())),
> --- 150,157 ----
> default:
> outputFilename_ += 0;
> ! if (!strcmp(outputFilename_.data(), "-")) {
> ! outputFile_.attach(1, 0);
> ! }
> ! else if (!outputFile_.open(outputFilename_.data())) {
> message(JadeMessages::cannotOpenOutputError,
> StringMessageArg(CmdLineApp::convertInput(outputFilename_.data())),
>
> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
--
Daniel Speck
Bureau of National Affairs, Inc. Voice: +1 202.452.6596
1231 25th Street, NW Fax: +1 202.331.5178
Washington, DC 20037 e-mail: dspeck@xxxxxxx
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: redirect rtf output, Brandon Ibach | Thread | Re: redirect rtf output, Holger Klawitter |
| Re: redirect rtf output, Brandon Ibach | Date | Re: Math in DocBook (was Re: TeX ou, Wroth, Mark |
| Month |