bugGNU TeXmacs - Bugs: bug #32882, html export fails on \0

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #32882: html export fails on \0

Submitted by:  Sam Liddicott <samjam>
Submitted on:  Tue 22 Mar 2011 02:31:27 PM UTC  
Votes:  30  
 
Category: ConversionPriority: 5 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

Sun 11 Mar 2012 06:38:07 PM UTC, comment #1:

This is now fixed in the latest svn (was probably fixed before).

Miguel de Benito <mdbenito>
Project Member
Tue 22 Mar 2011 02:31:27 PM UTC, original submission:

With texmacs svn revision 4188 from git://gitorious.org/texmacs/texmacs.git

when html-export on a file containing back-quotes:

texmacs/src/TeXmacs/progs/convert/tools/stm.scm:140:26: In procedure stree->tree in expression (stree->tree x):
texmacs/src/TeXmacs/progs/convert/tools/stm.scm:140:26: string contains #\nul character: "if kill \x00pgrep fixclock | grep -v $$\x00 &<gtr> /dev/null"

The \x00 came from the ghastly but constrained internal texmacs representation of the back-quote as a literal \0

Looks like something is not being properly coded before given to the html exporter, or the html exporter isn't handling it properly.

I've had and reported this same error in "tools, execute, evaluate scheme expression" where inclusion of \0 can prevent you even from running that menu option again unless you edit your texmacs prefs files with a text editor to remove the last-run command.

Sam Liddicott <samjam>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by ghostwheel (Voted in favor of this item)
  • -unavailable- added by samjam (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 30 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 11 Mar 2012 06:38:07 PM UTCmdbenitoStatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Summaryhtml export fails on \\0=>html export fails on \0
    Thu 28 Jul 2011 11:07:05 PM UTCghostwheelCarbon-Copy-=>Added ghostwheel

    Back to the top


    Powered by Savane 3.1-cleanup1