|
Subject: Re: redirect rtf output From: Brandon Ibach <bibach@xxxxxxxxxxxxxx> Date: Tue, 25 Jul 2000 15:09:12 -0500 |
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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| redirect rtf output, Holger Klawitter | Thread | Re: redirect rtf output, Daniel Speck |
| Re: Math in DocBook (was Re: TeX ou, Norman Walsh | Date | Re: redirect rtf output, Daniel Speck |
| Month |