mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] displaying html files


Chronological Thread 
  • From: Michael Lachmann <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] displaying html files
  • Date: Thu, 5 Aug 2010 20:57:42 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=IUFAxeV7NZpbqy61MxWCnhbh4czDa71PR6mafgc2EP5v3bVbpNfBf8vaRZO+nYvDs/ p3mL+AqeRGQWm1pBlBouS/PXEp5zNvHwzj1+JFn4StFTk6g0HdhUDCDN+EajSN4HmB3T btoGpBk8K4JC2/iEcwgW1DwZgvZYtu+CEdanE=

Hi,

I found another case. The problem is with the backquote, or "acute accent"
Which also looks like this: `

If an html file includes this character, displaying the html fails.
This is even if the equivalent html code &#96; is used.

The error I get is:
/usr/local/share/TeXmacs/progs/convert/tools/xmltm.scm:150:7: In
procedure string-replace in expression (string-replace s cork-grave
...):
/usr/local/share/TeXmacs/progs/convert/tools/xmltm.scm:150:7: string
contains #\nul character: "\"
\\t\\n\"\\'\x00<gtr><less>=%;,|&\\{()\\}\""

The acute was where above there is a '\x00'. (I know, the text looks
strange - it explains what are the default wordbreaks in the "options"
documentation in R.)

I think that was also the problem in this half-year old email below.

Michael


On 10 November 2009 04:04, Michael Lachmann <address@hidden> wrote:
> Hi,
>
> I continue to work on the R plugin, and added the ability to display help
> files within TeXmacs. The function that does that is called t.help:
> t.help("read.table") will display the documentation about read.table inside
> TeXmacs. This works really well - html rendering in TeXmacs is very nice.
>
> I encountered the following problem: some files fail to open, with the
> following error:
> /usr/local/share/TeXmacs/progs/convert/tools/xmltm.scm:150:7: In procedure
> string-replace in expression (string-replace s cork-grave ...):
> /usr/local/share/TeXmacs/progs/convert/tools/xmltm.scm:150:7: string
> contains #\nul character: "?\x00+\x00"
>
> I attached a sample file that fails (it is the documentation of the R
> function "help"...)
>
> The problem seems to be with a line that is part of the examples:
> ?`+`
>
> A second problem I encountered repeatedly, but can't reproduce reliably is
> that sometimes, when I open an html help files, and then follow links in
> that help file, and then go back with C-<, then in some case if I press C-<
> when the top html file is display (i.e. the first opened), then TeXmacs
> crashes with the following error:
>
> Assertion failed: (!is_nil (p)), function path_up, file
> ./Kernel/Types/path.cpp, line 84.
> '/usr/local/bin/texmacs ' terminated by signal SIGABRT (Abort)
>
> Michael
>
>
>
>
>
>



Archive powered by MHonArc 2.6.19.

Top of page