texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Texmacs-dev] New algorithm style - need help


From: Jan Lellmann
Subject: [Texmacs-dev] New algorithm style - need help
Date: Sat, 09 Apr 2011 03:32:39 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

Hello,

I'm trying to develop a style file for structured input of algorithms. I got most of it to work, including proper line numbering, indentation, etc.

Constructs that may have several cases, such as "if", "switch" etc. are implemented using <xmacro>, so that the user can add additional cases as required. Everything works, except that the indentation for the <xmacro> constructs is wrong.

I've been trying to get this to work for the last few days, and now I'm out of ideas. So if someone can help, I'd be more than grateful.

I attached the style file and a short example that demonstrates the problem.

Thanks,
  Jan

Attachment: myalg-style.ts
Description: video/vnd.dlna.mpeg-tts

Attachment: myalg-example.tm
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]