From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: ConTeXt-ifying Kile
Date: Sat, 29 Dec 2007 14:19:31 +0100 [thread overview]
Message-ID: <6faad9f00712290519h10a9adga7b1f7595679aef3@mail.gmail.com> (raw)
In-Reply-To: <200712291325.33233.matija.suklje@rutka.net>
On Dec 29, 2007 1:25 PM, Matija Šuklje wrote:
> Hullo,
>
> I've already mentioned that Kate/Kwrite and with that also Kile have a working
> ConTeXt syntax highlighting file available on kde-files.org
>
> What I'm trying to do now is including ConTeXt commands autocompletion in
> Kile. What I would need for that is a list of the commands (see attachment
> for more info). I seem to recall someone mentioned a texexec command to list
> all of these. This would be of great help to me and all the (future) Kile
> users.
>
> I can then edit the .cwl file myself and bug the Kile devs to include it — all
> I need is (how to get) the list of the ConTeXt commands.
See
class Commands, editinterface (lines 194-306)
in scripts/context/ruby/ctxtools.rb
You can fix those simple portions of code to output the code in your
desired format. Then you can copy tex/context/interface/* to your
working directory and run
ctxtools --sciteinterface (to get definitions for scite)
for example.
The code currently only returns a list of commands. If you want all
variants of them, the code might need to be improved a bit (also note
that it won't return you all the commands - someone should revise
cont-en.xml, but it's still reasonably good).
What about the keys? (\setuphead accepts only some keys. Does Kile
support that as well?)
Do you know http://texshow.contextgarden.net/? (not that you can use
it directly, but only to see ...)
Mojca
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2007-12-29 13:19 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-29 12:25 Matija Šuklje
2007-12-29 13:19 ` Mojca Miklavec [this message]
2007-12-29 13:30 ` Mojca Miklavec
2007-12-29 15:34 ` Idris Samawi Hamid
2007-12-29 20:14 ` Matija Šuklje
2007-12-29 20:40 ` Mojca Miklavec
2008-01-02 12:14 ` Matija Šuklje
2008-01-02 15:23 ` Idris Samawi Hamid
2008-01-03 0:15 ` Matija Šuklje
2008-01-03 13:14 ` Hans Hagen
2008-01-03 13:25 ` Idris Samawi Hamid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6faad9f00712290519h10a9adga7b1f7595679aef3@mail.gmail.com \
--to=mojca.miklavec.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).