- From: Bodo <uchc01@pop.uni-dortmund.de>
- Date: Wed, 9 Aug 2000 07:30:44 -0400 (EDT)
- To: html-tidy@w3.org
Hi Dave,
first I have to tell that I really appreciate using TIDY. It is a
wonderful tool.
So I hope you don't mind when I report a problem to you that I got:
I have to convert some Word 97 files to HTML and I use TIDY to clean
them(means: I let TIDY create styles). That really works fine if there
is no list included.
If there is one TIDY does not convert the font attributes. I tried to
set the options "--enclose-text true --enclose-block-text true" and
hoped to get <p class="xxx"> ...<p> before the <li> tag but nothing like
this happened.
Do I have to set another option?
I attach an example code (just if you want to try):
TIDY's output:
 <p
     class="c2">Experimente:</p>
    <ol>
      <li>Luftschadstoffe im Autoabgas</li>
      <li>Autoabgase bilden mit Wasser
      Säuren</li>
      <li>Schadstoffmessungen mit
      Nitritstäbchen</li>
      <li>Bildung von Stickoxiden bei der
      Verbrennung von Benzin</li>
      <li>Messungen mit der
      Gasspürpumpe</li>
      <li>Experimente zum Abgaskatalysator</li>
      <li>Staubkarten herstellen</li>
      <li>Quantitative Bestimmung von bodennahem
      Ozon in der Luft</li>
      <li>Reflexion von Wärmestrahlung</li>
      <li>Absorption von Wärmestrahlung
      durch Kohlenstoffdioxid</li>
      <li>Wärmeabsorption von
      Kohlenstoffdioxid in Abhängigkeit von
      seiner Konzentration</li>
      <li>Reemission von Wärmestrahlen</li>
      <li>Modellversuch zum
      "Treibhauseffekt"</li>
      <li>Weitere Experimente befinden sich in
      den angegebenen Artikeln</li>
    </ol>
Input:
<FONT FACE="Arial" SIZE=2><LI>Luftschadstoffe im Autoabgas</LI>
<LI>Autoabgase bilden mit Wasser Säuren</LI>
<LI>Schadstoffmessungen mit Nitritstäbchen</LI>
<LI>Bildung von Stickoxiden bei der Verbrennung von Benzin</LI>
<LI>Messungen mit der Gasspürpumpe</LI>
<LI>Experimente zum Abgaskatalysator</LI>
<LI>Staubkarten herstellen</LI>
<LI>Quantitative Bestimmung von bodennahem Ozon in der Luft</LI>
<LI>Reflexion von Wärmestrahlung</LI>
<LI>Absorption von Wärmestrahlung durch Kohlenstoffdioxid</LI>
<LI>Wärmeabsorption von Kohlenstoffdioxid in Abhängigkeit von
seiner Konzentration</LI>
<LI>Reemission von Wärmestrahlen</LI>
<LI>Modellversuch zum "Treibhauseffekt"</LI>
<LI>Weitere Experimente befinden sich in den angegebenen
Artikeln</LI></OL>
</FONT>
(The text is wirtten in German, I didn't translate it, because I thought
it is not important  )
I hope that there exists an easy solution for this problem :-)
Thanks for your attention, so far.
Bodo
Received on Wednesday, 9 August 2000 11:36:57 UTC