On 6/12/06, Piotr Kopszak wrote:
Hello,
It seems tex4ht's ConTeXt support is in the very early infancy, but I
was able to convert a simple ConTeXt file into acceptable html using
"htcontext" command. The only problem is encoding. Is there any way to
get the same utf-8 encoding as in the source file?
Piotr
Do the following three things:
- update your ConTeXt
- make sure that (recent!) LM fonts are installed
- (I might have an old 4ht on my half-broken MikTeX, so please excuse
me if this is not the case: if you don't have the file
tex4ht/ht-fonts/unicode/lm/ec-.htf, rename
tex4ht/ht-fonts/unicode/lm/cork-.htf into it and replace all the
strings "cork" with "ec")
I created the file without playing with style or whatever, just using
texexec --dvip filename.tex
tex4hf -t filename.dvi
but at least the encoding seems OK to me (it would be better to use
literal characters, but the output in browser looks OK).
Thanks for the question. I never thought that tex4ht worked on the
basis of dvi files. But then again: if you take a closer look to how
context.4ht looks like, you might loose the hope that you just gained
a couple of moments before. (If someone would maintain it, it would be
doable, but without a serious maintainer it's difficult to get
anywhere beyond the very basic support.)
Although your tex4ht might be the latest one, context.4ht dates back
to the times of Dutch interface, so it's not really useful for
anything [yet].
Mojca
1
1 Ładnie
We thrive in information--thick worlds because of our marvelous and everyday ca-
pacity to select, edit, single out, structure, highlight, group, pair, merge, harmo-
nize, synthesize, focus, organize, condense, reduce, boil down, choose, categorize,
catalog, classify, list, abstract, scan, look into, idealize, isolate, discriminate, dis-
tinguish, screen, pigeonhole, pick over, sort, integrate, blend, inspect, filter, lump,
skip, smooth, chunk, average, approximate, cluster, aggregate, outline, summarize,
itemize, review, dip into, flip through, browse, glance into, leaf through, skim, re-
fine, enumerate, glean, synopsize, winnow the wheat from the chaff and separate the
sheep from the goats.
Nieładnie
Francuski dziennik Le Monde wczorajszy występ Polaków opisuje konkludując, że
polskie niezdecydowanie skontrastowało z uporem i konsekwencją Ekwadorczyków.
Hiszpański El Pais też nie pozostaje nam dłużny pisząc, że Ekwador wywiódł w pole
słabą reprezentację Polski. Frankfurter Allgemeine Zeitung pisze, że ’jeszcze polska
nie zginęła, ale już przed drugim meczem Mundialu przeciwko Niemcom polska
drużyna znalazła się pod wielką presją’.
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context