On Wed, Sep 11, 2002 at 06:45:18PM -0400, Paul Tremblay wrote:
> However, these filters have disadvantages. The one that comes to mind is
> the inability to translate styles. Any text marked with a style in Word
> loses this marking when inported into LyX. This is a pretty big
> disadvantge. After all, LyX is a text processing system that does "what
> you mean." Style sheets in Word are the best use of the philosophy of
> "what you mean." They designate certain blocks of text and allow a user
> to fiddle with formatting later so you can concentrate on writing.

Shouldn't it be possible to translate styles to LaTeX
environments/commands (if necessarily ad hoc created in the
preamble of the translated document)?

Something like

\newenvironment{blocktext}{}{}

should be appropriate mask for the BlockText of Word, which could
be latter changed (in LyX) to make some meaningful change (if
necessary). And of course

\newcommand{\strong}[1]{\textbf{#1}}

could very mask ``a character style'' of Word.

> Writing a translator to convert LyX to XML should also be very easy,
> though I don't know when I'll have time to write one!

Good luck -- your project looks quite interesting!

Matej

-- 
Matej Cepl, [EMAIL PROTECTED]
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
As with the Christian religion, the worst advertisement for
Socialism is its adherents.
    -- George Orwell

Reply via email to