Skip to Content.
Sympa Menu

texmacs-users - [TeXmacs] Incorrect import of HTML   character

Subject: mailing-list for TeXmacs Users

List archive

[TeXmacs] Incorrect import of HTML   character


Chronological Thread 
  • From: "Sorin Mitran" <address@hidden>
  • To: address@hidden
  • Subject: [TeXmacs] Incorrect import of HTML &nbsp; character
  • Date: Mon, 04 Mar 2013 15:33:50 +0100

When importing an HTML file &nbsp; characters appear as <varspace> instead of
a single, non-breaking space. How can this be fixed?

Correct representation of &nbsp; characters is useful in using TeXmacs as a
literate programming tool.


Example HTML file:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
<title>~/bearclaw/examples/wavebear/2d/Maxwell/example1/frag/
physfluxRequestNormalWaves.problem.f90.html</title>
<meta name="Generator" content="Vim/7.2">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#ffffff" text="#000000"><font face="monospace">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
color="#0000ff">!:physfluxRequestNormalWaves:!</font><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
color="#a52a2a"><b>CASE</b></font>&nbsp;(RequestNormalWaves)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apdq<font
color="#a52a2a"><b>=</b></font><font color="#ff00ff">0</font>.; Amdq<font
color="#a52a2a"><b>=</b></font><font color="#ff00ff">0</font>.; speed<font
color="#a52a2a"><b>=</b></font><font color="#ff00ff">0</font>.; wave<font
color="#a52a2a"><b>=</b></font><font color="#ff00ff">0</font>.<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font
color="#a52a2a"><b>SELECT CASE</b></font>&nbsp;(ixy)<br>
</font></body>
</html>


  • [TeXmacs] Incorrect import of HTML &nbsp; character, Sorin Mitran, 03/04/2013

Archive powered by MHonArc 2.6.19.

Top of Page