mailing-list for TeXmacs Users

Text archives Help


[TeXmacs] An other problem when writing a plugin.


Chronological Thread 
  • From: Bertrand BRATSCHI <address@hidden>
  • To: texmacs-users <address@hidden>
  • Subject: [TeXmacs] An other problem when writing a plugin.
  • Date: Sun, 9 Dec 2018 19:25:52 +0100

Hi,

I am facing a little problem me too, with input formatting of a plugin.
I’m really not expert in plugin code, can you help ?
I want this plugin to be able to interpret simultaneously the following :

[1] A string for the definition ( assignation ) of a string, something like :
mysting = "blabla"

[2] Multiline expressions, or short code with Haskell indentation.


I tried to add in (haskell-serialize lan t) by the followings :

for [1] : (string-replace s « \"" "''") "\n")

for [2] : (string-replace s « \n » "~") "\n")


Both [1] and [2] give the expected result when used alone.
But when writing both ( on lines 24, 25 of the file init-haskell.scm in
attachment ) only the last one works.
Exeped that problem, the pugin works quite fine.

Regards,
Bertrand


Archive powered by MHonArc 2.6.19.

Top of page