Subject: mailing-list for TeXmacs Users
List archive
From : Michael Lachmann <address@hidden>- To: address@hidden
- Subject: [TeXmacs] back-quote?
- Date: Fri, 15 Jan 2010 05:43:43 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=jsbtlsDdkwrHYUIz0LeFRE1EGeqUgjagROPuiYJItbb9Xco4k1vr0y9u5oRnOv82h2 bQOw6gK5mxeHts4QNxjpqNVx8/q3eJz5PEPIBpLIW8kTqYKxCyOqZ56D0RSqpesVKtxB SIS/fIj48mCZZ/kAMxsK5cKMyPzucy0rdUwoo=
Hi!
I'm trying to insert a backquote (`) into a part of a document that lists a shell script. (In verbatim form).
I copied the text, and pasted it "verbatim". This gave me something that really looks like a back-quote in my document. (But it is not what I get when I simply press the back-quote key on my keyboard.)
If I try to export the resulting document to html or latex, I get an error that looks like:
---
/usr/local/share/TeXmacs/progs/convert/html/tmhtml.scm:114:5: In procedure string-replace in expression (string-replace s "--" ...):
/usr/local/share/TeXmacs/progs/convert/html/tmhtml.scm:114:5: string contains #\nul character: "This is a test. \x00Hello`"
----
An the resulting file is empty.
When I look at the .tm file, it indeed looks fishy:
---
<\body>
This is a test. \0Hello`
---
The \0 is the pasted backquote, the second one is the backquote that gets inserted by pressing the backquote key.
But - if I export the document to verbatim, i.e. to a text file, then the first backquote is the one that is saved correctly, and the second one is some kind of garbage:
This is a test. `Hello<E2><80><98>
Michael
- [TeXmacs] back-quote?, Michael Lachmann, 01/15/2010
- <Possible follow-up(s)>
- [TeXmacs] back-quote?, Michael Lachmann, 01/15/2010
Archive powered by MHonArc 2.6.19.