Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] Add language to Insert->Code with syntax highlighting?

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] Add language to Insert->Code with syntax highlighting?


Chronological Thread 
  • From: Darcy Shen <address@hidden>
  • To: "Marduk BP" <address@hidden>
  • Cc: "texmacs-users" <address@hidden>
  • Subject: Re: [TeXmacs] Add language to Insert->Code with syntax highlighting?
  • Date: Sun, 14 Oct 2018 21:59:01 +0800
  • Arc-authentication-results: i=1; mx.zoho.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=address@hidden; dmarc=pass header.from=<address@hidden> header.from=<address@hidden>
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1539525542; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=oooI47k0UIn2n/asWEY3GpZUWm+1c1K/YXCqYBu7DvM=; b=e9LW1n3XVY10ggvrHAwMt+C4/xISX0UVRT4BEoCEnwnHe9K/Kq+0aPOnDgNpYMY2ryN0vft5WVCHp1N4la4qcKxyeKmsuebDuCR9FQMZ0QVuYC01f1ojIPyqEy9SJI8P1EfvowXvOy+bCTgVse34nq76kAVcmmzFolNWhF/9tVw=
  • Arc-seal: i=1; a=rsa-sha256; t=1539525542; cv=none; d=zoho.com; s=zohoarc; b=ejHJON7m923hCxlDy2CBQSUMDbYejssq4Gb5CcrgEYkgKxWEapVn1Rr55aPHULpbwBn/bZLzCmCkELNPDUE31nNPkeSw2tPQjGv+xq2w18WpXhjSDystMoCKLuzytu3ZJW1IRKTglj09zb5o2VLbWqUgaORZbEKu8Cc08H4N9qY=
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:cc:message-id:in-reply-to:references:subject:mime-version:content-type:user-agent; b=EitWHE1RTPgClqSw4TWq0wOGkq2cRYnFg6oDYXxrPQ9FFwTvr32WQeeHzxqsVq2Uh41318uZu3KQ YAy6IbFhZaw2B//VilNVIkEq90B0Xr4sUt5165SBz+pHlL0HpnPn

Great!

I have another idea. Just introduce the highlight part of kate.

see https://github.com/KDE/syntax-highlighting

This library only depends on Qt 5.


---- On Fri, 24 Aug 2018 17:26:25 +0800 Marduk BP <address@hidden> wrote ----

Unfortunately, given the way it works at the moment, you have to add a file your_language.cpp to /svn_root/src/System/Language/ based on one of the other language files there and compile TeXmacs.

In order to make this friendlier and more efficient, it is necessary to expose the packrat parser included with TeXmacs to the Guile frontend.

I am also interested in this feature. I hope to find time soon to work on it.

On Tue, Aug 7, 2018 at 1:51 AM, Mitran, Sorin <address@hidden> wrote:

Hello,

Does anyone know the steps required to add another programming language to Insert->Code with syntax highlighting support?

Thanks.






Archive powered by MHonArc 2.6.19.

Top of Page