[Top][All Lists]

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

[Help-glpk] Highlighting GLPK-MathProg codes on Linux: Kate (Linux text

From: João Flávio de Freitas Almeida
Subject: [Help-glpk] Highlighting GLPK-MathProg codes on Linux: Kate (Linux text editor)
Date: Sun, 7 May 2017 11:41:51 -0300

Hello Andrew,

I attach a file (glpk.xml) for highlighting GLPK files on Kate (Linux text editor).

The glpk.xml file is used to get Kate color highlighting similar to GUSEK color highlighting when using GLPK files with Glpsol solver.

Files extensions: .mod;.md;.dat;.mps;.lp;.out;.glp;.glpk;.sol;.sen;.run

You should copy the file and paste it on Kate syntax folder

sudo cp glpk.xml /usr/share/kde4/apps/katepart/syntax

Then, close and open Kate (to update),

Open a .mod or .dat file, for example, and set:

Tools > Highlighting > Scientific > MathProg

In my opinion, Kate is a good text editor because it can synchronize GLPK commands (available on --help) with terminal.

Settings > Configure Kate > Plugins > Terminal Tool View

View → Tool Views → Show Terminal

I am not an experienced programmer. I do not have the kate maintainers contact.
I hope the GLPK community can improve this file and let us know.

I hope it helps.

​​João Flávio de Freitas Almeida
Professor Adjunto A N-01
Departamento de Engenharia de Produção
Universidade Federal de Minas Gerais
30.310-290 Belo Horizonte MG Brasil
Tel: +55 31 3409-3476

Attachment: glpk.xml
Description: Text Data

reply via email to

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