Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 17:21:26 +0100
From:      Chris Rees <utisoft@googlemail.com>
To:        Gary Kline <kline@thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: turning [x]html files into .odt files.
Message-ID:  <b79ecaef0905270921h12c8f917r26f95faeaf955fa6@mail.gmail.com>
In-Reply-To: <20090526180435.GA3980@thought.org>
References:  <20090526180435.GA3980@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/5/26 Gary Kline <kline@thought.org>:
>
> =A0 =A0 =A0 =A0This may or may not be of interest to anybody who creates =
professional
> =A0 =A0 =A0 =A0typeset-looking manuscripts. =A0I use vi as I have for 30 =
years simply
> =A0 =A0 =A0 =A0because my fingers know it. =A0I can keep fingers on keybo=
ard rather than
> =A0 =A0 =A0 =A0switch back and forth to mouse. =A0Last night I used a ver=
y short php/html
> =A0 =A0 =A0 =A0file that used HTML and converted it [[[EVENTUALLY]]] to t=
he open desktop
> =A0 =A0 =A0 =A0format. =A0Just now I wrote a one sentence file, a2oofile,=
 using vi/nvi:
>
> =A0 =A0 =A0 =A0"Good morning, people. =A0It is so *great* to be back home=
."
>
> =A0 =A0 =A0 =A0Then using File -> Export, saved it as a2oofile.odt.
>
>
> =A0 =A0 =A0 =A0*) atom a2oofile =A0[ creates a2oofile.html ]
>
> =A0 =A0 =A0 =A0The a2oofile.html file is:
>
> <!doctype html public '-//IETF//DTD HTML//EN'>
> <!-autotranslation from ASCII or ISO-8859.1 by Gary Kline, kline@thought.=
org--->
> <! @(#) a2oofile.html translated from a2oofile !>
> <HTML>
> =A0<HEAD>
> =A0 =A0<TITLE> =A0<!your title here --> =A0</TITLE>
> =A0 =A0<! your header lines here -->
> =A0</HEAD>
>
> <META NAME=3D"Keywords" CONTENT=3D"whatever">
> =A0<META NAME=3D"revisit-after" CONTENT=3D"7 days">
> =A0<META NAME=3D"author" content=3D"Gary Kline">
> =A0<META NAME=3D"copyright" content=3D"\xa9 Thought Unlimited">
> <BODY BGCOLOR=3D"#FFFFFF" LINK=3D"#00FFFF" VLINK=3D"#006633"><FONT SIZE=
=3D"4">
> <P>
> &ldquo;Good morning, people. =A0It is so <EM>great</EM> to be back home.&=
rdquo;
>
> </FONT>
> </BODY>
> </HTML>
>
>
>
> =A0 =A0 =A0 =A0*) Then switer a2oofile.html
>
> =A0 =A0 =A0 =A0*) File -> Export [and select to save as the ODT] and you =
have a2oofile.odt
>
> =A0 =A0 =A0 =A0I began writing my ascii to markup suite in 1994; it was d=
esigned to do
> =A0 =A0 =A0 =A0ONE =A0thing: to =A0*word* into <EM>word</EM>. =A0I've add=
ed only the left and
> =A0 =A0 =A0 =A0right quotes. =A0atom does nothing else. =A0i have tweaked=
 it for 15 years;
> =A0 =A0 =A0 =A0never gave to it ports because I hate writing the docs. =
=A0Anybody
> =A0 =A0 =A0 =A0interested in handing the port, please let me know.
>
> =A0 =A0 =A0 =A0gary
>
>
>
> --
> =A0Gary Kline =A0kline@thought.org =A0http://www.thought.org =A0Public Se=
rvice Unix
> =A0 =A0 =A0 =A0http://jottings.thought.org =A0 http://transfinite.thought=
.org
> =A0 =A0The 4.91a release of Jottings: http://jottings.thought.org/index.p=
hp
>

In a few days, I'll have a fair bit of spare time. I can make a port
then, if no-one more experienced wants to snap it up.

Like your Jottings, by the way.

Chris


--=20
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b79ecaef0905270921h12c8f917r26f95faeaf955fa6>