* [OT] Create RTF with Emacs?
@ 2005-01-17 9:30 Kai Großjohann
2005-01-17 10:43 ` Gian Uberto Lauri
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Kai Großjohann @ 2005-01-17 9:30 UTC (permalink / raw)
Sorry for this off-topic post, but I was hoping that like-minded
people would give better suggestions ;-)
I'm part of a workflow based on MS Word documents. Luckily, I get to
create the MS Word document that should be processed by others. I
have a template.doc file that I copy and then fill in.
So I was hoping that the recipients will be fine with an RTF file, or
that I could use OpenOffice to convert *.rtf into *.doc.
I guess for Emacs users the right approach is to use some kind of
markup language. Do you have some suggestions?
The requirements for formatting are: the resulting RTF file should
look very similar to the template MS Word document I've got. The most
difficult part of the layout is probably the table at the top. Other
that that, I will be fine with bold and italics and perhaps also
indented paragraphs. It would be nice if I could insert some text in
another color, to provide annotations/remarks.
There is latex2rtf, there are surely some DocBook tools, but do they
provide access to the layout.
tia,
Kai
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] Create RTF with Emacs?
2005-01-17 9:30 [OT] Create RTF with Emacs? Kai Großjohann
@ 2005-01-17 10:43 ` Gian Uberto Lauri
2005-01-17 12:38 ` Peter Dyballa
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Gian Uberto Lauri @ 2005-01-17 10:43 UTC (permalink / raw)
Cc: help-gnu-emacs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=unknown, Size: 583 bytes --]
>>>>> "KG" == Kai Großjohann <kai@emptydomain.de> writes:
KG> I guess for Emacs users the right approach is to use some kind of
KG> markup language. Do you have some suggestions?
Does HTML work, if those guys in Redmond learnt the use of CSS (that
includes some patent owned by Microsoft AFAIK) you could have good
results.
I uset this method but I can't be sure it'll be O.K. for you.
--
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico
\/ e coltivatore diretto di software
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] Create RTF with Emacs?
2005-01-17 9:30 [OT] Create RTF with Emacs? Kai Großjohann
2005-01-17 10:43 ` Gian Uberto Lauri
@ 2005-01-17 12:38 ` Peter Dyballa
[not found] ` <mailman.13632.1105960328.27204.help-gnu-emacs@gnu.org>
2005-02-10 9:48 ` Oliver Scholz
3 siblings, 0 replies; 6+ messages in thread
From: Peter Dyballa @ 2005-01-17 12:38 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 17.01.2005 um 10:30 schrieb Kai Großjohann:
> There is latex2rtf, there are surely some DocBook tools, but do they
> provide access to the layout.
Since latex2rtf reads in a LaTeX source you have in LaTeX up to
indefinite choices to set tables and others. But beware: latex2rtf
can't translate everything to RTF because of missing RTF primitives.
Just try it and see whether it's good enough!
In Emacs you can install AUCTeX (http://www.gnu.org/software/auctex/)
to be able to insert environments or commands ... If you deal with
mathematical formulas too preview-latex
(http://preview-latex.sourceforge.net/,
http://prdownloads.sourceforge.net/preview-latex/) would give a preview
of this in Emacs.
--
Mit friedvollen Grüßen
Pete
"I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me."
-- Hunter S. Thompson
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] Create RTF with Emacs?
[not found] ` <mailman.13632.1105960328.27204.help-gnu-emacs@gnu.org>
@ 2005-01-17 13:34 ` Marco Parrone
2005-01-17 14:23 ` Gian Uberto Lauri
0 siblings, 1 reply; 6+ messages in thread
From: Marco Parrone @ 2005-01-17 13:34 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 794 bytes --]
Gian Uberto Lauri on Mon, 17 Jan 2005 11:43:41 +0100 writes:
>>>>>> "KG" == Kai Großjohann <kai@emptydomain.de> writes:
>
> KG> I guess for Emacs users the right approach is to use some kind of
> KG> markup language. Do you have some suggestions?
>
> Does HTML work, if those guys in Redmond learnt the use of CSS (that
> includes some patent owned by Microsoft AFAIK) you could have good
> results.
>
> I uset this method but I can't be sure it'll be O.K. for you.
You can name an HTML file using a .DOC extension too, and M$ Word will
not notice the user of the different format.
This is useful when you are asked for a .DOC (for example for a resume).
The idea comes from comp.lang.lisp, for .DOC-named plain-text files IIRC.
--
Marco Parrone <marc0@autistici.org> (0x45070AD6)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] Create RTF with Emacs?
2005-01-17 13:34 ` Marco Parrone
@ 2005-01-17 14:23 ` Gian Uberto Lauri
0 siblings, 0 replies; 6+ messages in thread
From: Gian Uberto Lauri @ 2005-01-17 14:23 UTC (permalink / raw)
Cc: help-gnu-emacs
>>>>> "Marco" == Marco Parrone <marc0@autistici.org> writes:
Marco> You can name an HTML file using a .DOC extension too, and M$ Word will
Marco> not notice the user of the different format.
Yep, that's how whe "fool" Word when people asks "A document to work
it with Microsoft Word" from a web application...
--
/\ ___
/___/\__|_|\_|__|___Gian Uberto Lauri_____________________
//--\ | | \| | Integralista GNUslamico
\/ e coltivatore diretto di software
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OT] Create RTF with Emacs?
2005-01-17 9:30 [OT] Create RTF with Emacs? Kai Großjohann
` (2 preceding siblings ...)
[not found] ` <mailman.13632.1105960328.27204.help-gnu-emacs@gnu.org>
@ 2005-02-10 9:48 ` Oliver Scholz
3 siblings, 0 replies; 6+ messages in thread
From: Oliver Scholz @ 2005-02-10 9:48 UTC (permalink / raw)
kai@emptydomain.de (Kai Großjohann) writes:
> Sorry for this off-topic post, but I was hoping that like-minded
> people would give better suggestions ;-)
>
> I'm part of a workflow based on MS Word documents. Luckily, I get to
> create the MS Word document that should be processed by others. I
> have a template.doc file that I copy and then fill in.
>
> So I was hoping that the recipients will be fine with an RTF file, or
> that I could use OpenOffice to convert *.rtf into *.doc.
>
> I guess for Emacs users the right approach is to use some kind of
> markup language. Do you have some suggestions?
>
> The requirements for formatting are: the resulting RTF file should
> look very similar to the template MS Word document I've got. The most
> difficult part of the layout is probably the table at the top. Other
> that that, I will be fine with bold and italics and perhaps also
> indented paragraphs. It would be nice if I could insert some text in
> another color, to provide annotations/remarks.
[...]
As I see it, RTF is the format invented by Microsoft for distribution
of files (it gives the impression of fitting MS Words internals very
well anyways, including the use of "twips" for measurement). Whereas
*.doc is just the format for local working copies. I won't say that MS
does not like to see that *.doc is used for distribution, but that is
how it is supposed to be. Unless your documents include VBA, RTF
should be fine.
For simple cases, writing *specialised* Elisp code for producing RTF
from a, say, Wiki-like markup language is rather easy. Could you be
more specific on what you need?
Oliver
--
22 Pluviôse an 213 de la Révolution
Liberté, Egalité, Fraternité!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-02-10 9:48 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-17 9:30 [OT] Create RTF with Emacs? Kai Großjohann
2005-01-17 10:43 ` Gian Uberto Lauri
2005-01-17 12:38 ` Peter Dyballa
[not found] ` <mailman.13632.1105960328.27204.help-gnu-emacs@gnu.org>
2005-01-17 13:34 ` Marco Parrone
2005-01-17 14:23 ` Gian Uberto Lauri
2005-02-10 9:48 ` Oliver Scholz
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.