On 27 March 2014 19:44, Waldek Hebisch <[email protected]> wrote:
> Bill Page wrote:
>>                                                                  Type: String
>> (11) -> "< some other"
>>
>>    (11)  "< some other"
>> scheme: (with "mode" "math"
>> (concat "< some other")
>> )
>>
>>                                                                  Type: String
>> (12) ->
>>
>> I think we can do that better.
>
> Yes, string part is easy: we need properly escape special Texmacs
> characters during output.  But once we do this your input code
> will be broken, because '<' and '>' in variables will be escaped
> and you will see underlying string instead of Texmacs symbols you
> want.
>

Yes in "proper" generated TeXmacs the < and > characters would be
escaped as <less> and <gtr> and the output would be as you say.  But
it does not really  make good sense to me to treat strings as "math
mode" objects anyway. We should generated something like this

 scheme: (with "mode" "math"
 (text concat "_"" "< some other" "_""))
 )

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to