ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt-ifying Kile
@ 2007-12-29 12:25 Matija Šuklje
  2007-12-29 13:19 ` Mojca Miklavec
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Matija Šuklje @ 2007-12-29 12:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 859 bytes --]

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.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: matija.suklje@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje@gabbler.org
msn: matija.suklje@rutka.net
yahoo: matija_suklje

[-- Attachment #1.1.2: README.cwl.bz2 --]
[-- Type: application/x-bzip2, Size: 1552 bytes --]

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2007-12-29 12:25 ConTeXt-ifying Kile Matija Šuklje
@ 2007-12-29 13:19 ` Mojca Miklavec
  2007-12-29 13:30 ` Mojca Miklavec
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 11+ messages in thread
From: Mojca Miklavec @ 2007-12-29 13:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2007-12-29 12:25 ConTeXt-ifying Kile Matija Šuklje
  2007-12-29 13:19 ` Mojca Miklavec
@ 2007-12-29 13:30 ` Mojca Miklavec
  2007-12-29 15:34 ` Idris Samawi Hamid
  2008-01-03  0:15 ` Matija Šuklje
  3 siblings, 0 replies; 11+ messages in thread
From: Mojca Miklavec @ 2007-12-29 13:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.

The link in README vas wrong. Here's the right one.
    http://websvn.kde.org/trunk/extragear/office/kile/src/data/complete/tex/

When looking at these examples:

\begin{frame}[options]
\begin{frame}[options]{title}
\begin{frame}[options]{title}{subtitle}
\begin{frame}[options]{title}{subtitle}

Once you have the basic syntax ready: can you also convince the
developers to support a list of what's allowed inside [options]?
For example, it might be that only
    \setupsomething[style=bold|italic|slanted|\command,strut=yes|no]
is allowed.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2007-12-29 12:25 ConTeXt-ifying Kile Matija Šuklje
  2007-12-29 13:19 ` Mojca Miklavec
  2007-12-29 13:30 ` Mojca Miklavec
@ 2007-12-29 15:34 ` Idris Samawi Hamid
  2007-12-29 20:14   ` Matija Šuklje
  2008-01-02 12:14   ` Matija Šuklje
  2008-01-03  0:15 ` Matija Šuklje
  3 siblings, 2 replies; 11+ messages in thread
From: Idris Samawi Hamid @ 2007-12-29 15:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Hi Matija,

Attached is the text file I use for Notepad++. It's (almost) complete and  
based on Hans' Scite files.

I miss Kate and hope to check it out again whenever I get time to play  
with Linux again (it's been about four years).

Best wishes
Idris

On Sat, 29 Dec 2007 05:25:30 -0700, Matija Šuklje  
<matija.suklje@rutka.net> wrote:

>
> 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).

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

[-- Attachment #2: context.api --]
[-- Type: application/octet-stream, Size: 11940 bytes --]

about
adaptlayout
adding
aftersplitstring
and
appendix
appendtoks
AR
arg
at
at
atpage
background
bbox
beforesplitstring
begstrut
blackrule
blackrules
blank
blockquote
bookmark
bTABLE
bTABLEbody
bTABLEfoot
bTABLEhead
bTABLEnext
bTD
bTH
bTR
but
button
bypassblocks
CAP
Cap
cap
Caps
chapter
Character
character
Characters
characters
chem
clip
clonefield
color
column
commalistelement
comment
comparecolorgroup
comparepalet
completecombinedlist
completelistoffloats
completelistofsorts
completelistofsynonyms
completeregister
component
ConTeXt
Context
convertargument
convertcommand
convertnumber
copyfield
correctwhitespace
countXMLchildren
coupledocument
coupledregister
couplemarking
couplepage
couplepaper
coupleregister
crlf
currentdate
currentheadnumber
date
decouplemarking
decrement
define
defineblank
defineblock
definebodyfont
definebodyfontenvironment
definebuffer
definecollector
definecolor
definecolorgroup
definecombinedlist
defineconversion
definedescription
definedfont
defineenumeration
defineexternalfigure
definefield
definefieldstack
definefiguresymbol
definefloat
definefont
definefontsynonym
defineframed
defineframedcontent
defineframedtext
definehead
definehspace
defineindenting
defineinteractionmenu
defineinteractionmenu
definelabel
definelayer
definelayerpreset
definelayout
definelist
definelogo
definemainfield
definemakeup
definemarking
definemeasure
defineoutput
defineoverlay
definepagebreak
definepalet
definepapersize
defineparagraphs
defineprofile
defineprogram
definepushbutton
definepushsymbol
definerawfont
definereference
definereferenceformat
definereferencelist
defineregister
definerule
definesection
definesectionblock
definesorting
definestartstop
definesubfield
definesymbol
definesynonyms
definetabletemplate
definetabulate
definetext
definetextbackground
definetextposition
definetextvariable
definetype
definetypeface
definetyping
defineversion
defineXMLargument
defineXMLcommand
defineXMLenvironment
defineXMLenvironmentsave
defineXMLgrouped
defineXMLgsave
defineXMLgstore
defineXMLignore
defineXMLnested
defineXMLpickup
defineXMLprocess
defineXMLsave
defineXMLsavecontent
defineXMLsingular
defineXMLstore
defXMLstring
description
determineheadnumber
determinelistcharacteristics
digits
disableinteractionmenu
disablemode
doglobal
dogotopar
doif
doifcommon
doifcommonelse
doifdefined
doifdefinedelse
doifelse
doifelsenothing
doifelsevalue
doiffieldelse
doifflagged
doifinset
doifinsetelse
doifmode
doifmodeelse
doifnextcharelse
doifnot
doifnotcommon
doifnotflagged
doifnothing
doifnotinsetelse
doifnotmode
doifnotvalue
doifsomething
doiftext
doiftextelse
doifundefined
doifundefinedelse
doifvalue
doifXMLdata
doifXMLdataelse
doifXMLop
doifXMLparelse
doloop
donothing
dontleavehmode
donttest
dorecurse
dostepwiserecurse
dowithnextbox
dowithnextboxcontent
empty
emptylines
emptytoks
enablemode
endstrut
enumeration
environment
EQ
eTABLE
eTABLEbody
eTABLEfoot
eTABLEhead
eTABLEnext
eTD
eTH
eTR
exitloop
expanded
externalfigure
field
fieldstack
fillinfield
fillinline
fillinrules
fillintext
fitfield
fixedspaces
FLOWchart
flushcollector
flushlayer
flushXMLelement
followprofile
followprofileversion
followversion
footnote
footnotetext
forceblocks
forgetall
FR
fraction
framed
framedtext
from
getbuffer
getfiguredimensionsonly
getmarking
getvalue
getvariable
globalletvalue
godown
goto
gotobox
graycolor
grid
gsaveXMLasdata
hairline
head
headnumber
headtext
hfilll
hideblocks
high
HL
hl
hpos
hspace
ifconditional
ifdefined
iftrialtypesetting
ifundefined
in
includeFLOWchart
includemenu
increment
indentation
indenting
inframed
ininner
inleft
inline
inmargin
inothermargin
inouter
inright
installlanguage
interactionbar
interactionbuttons
item
items
its
keepblocks
labeling
labels
labeltext
language
leftaligned
letgvalue
letvalue
listsymbol
loadmapfile
loadsorts
loadsynonyms
localhsize
logfields
lohi
low
LR
mainlanguage
mar
marginrule
margintext
marking
markversion
mathematics
mediaeval
midaligned
mirror
MONTH
month
moveongrid
MR
name
NC
newcounter
nextbox
nextsection
nocap
noheaderandfooterlines
noindenting
nolist
nomarking
nomoreblocks
nomorefiles
nop
nospace
note
notopandbottomlines
nowhitespace
NR
numbers
overbar
overbars
overlaybutton
overlayfigure
overstrike
overstrikes
packed
page
pagereference
pagetype
paragraph
part
periods
placebookmarks
placecombinedlist
placecombinedlist
placefigure
placefloat
placefootnotes
placeformula
placelayer
placelegend
placelist
placelistoffloats
placelistofsorts
placelistofsynonyms
placelocalfootnotes
placelogos
placeongrid
placeontopofeachother
placereferencelist
placeregister
placeregister
placerule
placesidebyside
placesubformula
placetextvariable
plusone
plustwo
position
positiontext
prependtoks
processaction
processallactionsinset
processblocks
processcommacommand
processcommalist
processfirstactioninset
processpage
processXMLbuffer
processXMLelement
processXMLfile
processXMLfilegrouped
product
program
project
protect
publication
quotation
quote
ran
readfile
ref
reference
referral
referraldate
register
reservefloat
reset
resetlayer
resetmarking
rightaligned
Romannumerals
romannumerals
rotate
saveXMLasdata
saveXMLdata
saveXMLelement
sbox
scale
scratchbox
scratchcounter
scratchdimen
scratchskip
screen
section
seeregister
selectblocks
selectpaper
selectversion
setcollector
setevalue
setevariables
setflag
setfontstrut
setgvalue
setgvariables
setlayer
setlayerframed
setlocalhsize
setstrut
settextvariable
setupalign
setuparranging
setupattachments
setupbackground
setupbackgrounds
setupblackrules
setupblank
setupblock
setupbodyfont
setupbodyfontenvironment
setupbottom
setupbottomtexts
setupbuffer
setupbuttons
setupcapitals
setupcaption
setupcaptions
setupclipping
setupcolor
setupcolors
setupcolumns
setupcombinations
setupcombinedlist
setupcomment
setupdescriptions
setupencoding
setupenumerations
setupexternalfigures
setupfield
setupfields
setupfillinlines
setupfillinrules
setupfloat
setupfloats
setupfloatsplitting
setupFLOWcharts
setupFLOWlines
setupFLOWshapes
setupfontsynonym
setupfooter
setupfootertexts
setupfootnotedefinition
setupfootnotes
setupforms
setupformulae
setupframed
setupframedtexts
setuphead
setupheader
setupheadertexts
setupheadnumber
setupheads
setupheadtext
setuphyphenmark
setupindentations
setupindenting
setupinmargin
setupinteraction
setupinteractionbar
setupinteractionscreen
setupinterlinespace
setupitemgroup
setupitems
setuplabeltext
setuplanguage
setuplayer
setuplayout
setuplegend
setuplinenumbering
setuplines
setuplinewidth
setuplist
setupmakeup
setupmarginblocks
setupmarginrules
setupmarking
setupnarrower
setupnumbering
setupoppositeplacing
setupoutput
setuppagenumber
setuppagenumbering
setuppagetransitions
setuppalet
setuppaper
setuppapersize
setupparagraphnumbering
setupparagraphs
setuppositioning
setupprofiles
setupprograms
setuppublications
setupquote
setupreferencelist
setupreferencing
setupregister
setuprotate
setuprule
setups
setupscreens
setupsection
setupsectionblock
setupsorting
setupspacing
setupstrut
setupsubpagenumber
setupsymbolset
setupsynchronization
setupsynchronizationbar
setupsynonyms
setupsystem
setuptab
setupTABLE
setuptables
setuptabulate
setuptext
setuptextbackground
setuptextposition
setuptextrules
setuptexttexts
setuptextvariable
setupthinrules
setuptolerance
setuptop
setuptoptexts
setuptype
setuptyping
setupunderbar
setupurl
setupversions
setupwhitespace
setvalue
setvariables
setxvalue
setxvariables
showaccents
showbodyfont
showbodyfontenvironment
showcharacters
showcolor
showcolorgroup
showexternalfigures
showfields
showfont
showframe
showgrid
showgridboxes
showgridsnapping
showlayout
showlayoutcomponents
showmakeup
showpalet
showprint
showsetups
showstruts
showstruts
showsymbolset
snaptogrid
someline
somewhere
sort
space
splitfloat
splitstring
SR
start
start
startalignment
startarabicpar
startarabictext
startappendices
startbackground
startbackmatter
startbaselinecorrection
startblockquote
startbodymatter
startbuffer
startcolor
startcolumns
startcombination
startcomment
startcomponent
startdescription
startdocument
startenumeration
startenvironment
startfact
startfigure
startfloattext
startFLOWcell
startFLOWchart
startformula
startframedcontent
startframedtext
startfrontmatter
starthanging
starthiding
startinteractionmenu
startitemgroup
startitemize
startitemize
startJScode
startJSpreamble
startJSscripts
startlegend
startline
startlinecorrection
startlinenumbering
startlines
startlocal
startlocalenvironment
startlocalfootnotes
startlocalsetups
startmakeup
startmarginblock
startmarginrule
startmode
startMPpage
startnamemakeup
startnarrower
startnointerference
startnotmode
startopposite
startoverlay
startoverview
startpacked
startparagraph
startpositioning
startpostponing
startproduct
startprofile
startproject
startquotation
startregister
startsetups
startstandardmakeup
startsymbolset
startsynchronization
starttable
starttables
starttabulate
startTEXpage
starttext
starttextbackground
starttextdata
starttextrule
starttyping
startunpacked
startversion
startXMLdata
startXMLignore
startXMLmapping
stop
stop
stopalignment
stoparabicpar
stoparabictext
stopappendices
stopbackground
stopbackmatter
stopbaselinecorrection
stopblockquote
stopbodymatter
stopbuffer
stopcolor
stopcolumns
stopcombination
stopcomment
stopcomponent
stopdescription
stopdocument
stopenumeration
stopenvironment
stopfact
stopfigure
stopfloattext
stopFLOWcell
stopFLOWchart
stopformula
stopframedcontent
stopframedtext
stopfrontmatter
stophanging
stophiding
stopinteractionmenu
stopitemgroup
stopitemize
stopitemize
stopJScode
stopJSpreamble
stopJSscripts
stoplegend
stopline
stoplinecorrection
stoplinenumbering
stoplines
stoplocal
stoplocalenvironment
stoplocalfootnotes
stoplocalsetups
stopmakeup
stopmarginblock
stopmarginrule
stopmode
stopMPpage
stopnamemakeup
stopnarrower
stopnointerference
stopnotmode
stopopposite
stopoverlay
stopoverview
stoppacked
stopparagraph
stoppositioning
stoppostponing
stopproduct
stopprofile
stopproject
stopquotation
stopregister
stopsetups
stopstandardmakeup
stopsymbolset
stopsynchronization
stoptable
stoptables
stoptabulate
stopTEXpage
stoptext
stoptextbackground
stoptextdata
stoptextrule
stoptyping
stopunpacked
stopversion
stopXMLdata
stopXMLignore
stopXMLmapping
stretched
strut
strutdepth
strutheight
struttedbox
sub
subject
subsection
subsubject
subsubsection
subsubsubject
switchtobodyfont
switchtorawfont
sym
symbol
synchronizationbar
synchronize
synonym
tab
tbox
tex
textreference
textrule
textvariable
thinrule
thinrules
tightlayer
title
to
tooltip
translate
typ
type
typebuffer
typefile
underbar
underbars
unexpanded
unprotect
unprotected
useblocks
usecommands
usedirectory
useencoding
useexternaldocument
useexternalfigure
useexternalfile
useexternalfiles
useexternalsoundtrack
useJSscripts
usemodule
usereferences
usespecials
usesymbols
usetypescript
usetypescriptfile
useURL
useXMLfilter
version
verticalstrut
vfilll
VL
vl
vpos
WEEKDAY
weekday
whitespace
WORD
Word
wordright
WORDS
Words
writebetweenlist
writetolist
writetoreferencelist
writetoregister
XMLerase
XMLflush
XMLop
XMLpar
zerocount
zerodimen
zeropoint

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  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
  1 sibling, 1 reply; 11+ messages in thread
From: Matija Šuklje @ 2007-12-29 20:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1519 bytes --]

Dne sobota 29. decembra 2007 je Idris Samawi Hamid napisal(a):
> Attached is the text file I use for Notepad++. It's (almost) complete and
> based on Hans' Scite files.

Hi, Idris!

Thanks :]
I'll need to add the brackets in myself, but that's the least I can do to give 
back to the ConTeXt community!

> I miss Kate and hope to check it out again whenever I get time to play
> with Linux again (it's been about four years).

Kate doesn't use the autocompletion itself, but if we manage to completely 
ConTeXt-ify Kile (which uses Kate), it will be one sweet ride :]

Dne sobota 29. decembra 2007 je Mojca Miklavec napisal(a):
> Do you know http://texshow.contextgarden.net/? (not that you can use
> it directly, but only to see ...)

No, I didn't. Thanks for the link :D Are there all the currently valid 
commands listed?

> Once you have the basic syntax ready: can you also convince the
> developers to support a list of what's allowed inside [options]?
> For example, it might be that only
>     \setupsomething[style=bold|italic|slanted|\command,strut=yes|no]
> is allowed.

From what I saw this is not yet implemented in Kile — not even for LaTeX or 
pure TeX. But the idea is really great, so I'll try my best to conveince 
them.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: matija.suklje@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje@gabbler.org
msn: matija.suklje@rutka.net
yahoo: matija_suklje

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2007-12-29 20:14   ` Matija Šuklje
@ 2007-12-29 20:40     ` Mojca Miklavec
  0 siblings, 0 replies; 11+ messages in thread
From: Mojca Miklavec @ 2007-12-29 20:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Dec 29, 2007 9:14 PM, Matija Šuklje wrote:
>
> Dne sobota 29. decembra 2007 je Mojca Miklavec napisal(a):
> > Do you know http://texshow.contextgarden.net/? (not that you can use
> > it directly, but only to see ...)
>
> No, I didn't. Thanks for the link :D Are there all the currently valid
> commands listed?

Most should be, but they're not all. The only complete reference is
the source :)
However, if you send a patch to cont-en.xml, it will be included.

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2007-12-29 15:34 ` Idris Samawi Hamid
  2007-12-29 20:14   ` Matija Šuklje
@ 2008-01-02 12:14   ` Matija Šuklje
  2008-01-02 15:23     ` Idris Samawi Hamid
  1 sibling, 1 reply; 11+ messages in thread
From: Matija Šuklje @ 2008-01-02 12:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 667 bytes --]

Dne sobota 29. decembra 2007 je Idris Samawi Hamid napisal(a):
> Attached is the text file I use for Notepad++. It's (almost) complete and
> based on Hans' Scite files.

Hi, Idris,

I've just compared the list you sent me with the raw one I generated from 
TeXLive 2007's ConTeXt.

The one you sent me contains 875 lines/commands, whereas the raw generated one 
contains 3151. Am I doing something wrong here?


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: matija.suklje@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje@gabbler.org
msn: matija.suklje@rutka.net
yahoo: matija_suklje

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2008-01-02 12:14   ` Matija Šuklje
@ 2008-01-02 15:23     ` Idris Samawi Hamid
  0 siblings, 0 replies; 11+ messages in thread
From: Idris Samawi Hamid @ 2008-01-02 15:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Matija,

On Wed, 02 Jan 2008 05:14:04 -0700, Matija Šuklje  
<matija.suklje@rutka.net> wrote:

> I've just compared the list you sent me with the raw one I generated from
> TeXLive 2007's ConTeXt.
>
> The one you sent me contains 875 lines/commands, whereas the raw  
> generated one
> contains 3151. Am I doing something wrong here?

Exactly how did you generate this? I just took the info from  Hans' scite  
properties files. Maybe you are getting low-level commands not normally  
accessible to the user. Could you send it to me off-list?

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2007-12-29 12:25 ConTeXt-ifying Kile Matija Šuklje
                   ` (2 preceding siblings ...)
  2007-12-29 15:34 ` Idris Samawi Hamid
@ 2008-01-03  0:15 ` Matija Šuklje
  2008-01-03 13:14   ` Hans Hagen
  3 siblings, 1 reply; 11+ messages in thread
From: Matija Šuklje @ 2008-01-03  0:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 1487 bytes --]

OK, it's been a "fun" day's work, but here's the current working version of 
the context.cwl file.

What it does include:
* all the commands with all the fields mentioned on texshow.contextgarden.net
* the rest of the commands that I used from the list Idris sent me are 
currently commented out, until I find out they're valid (although not on 
texshow)
* all the fields have short descriptions
* all the \start* commands end with appropriate \stop* commands
* some of the fields (where it was simple to do it) use a '|' character as a 
separator inside fields

What it does not include:
* a syntax completely as Kile's README.cwl would want to have (especially 
because of my misuse of \start* \stop* in the same command and Mojca's 
separator suggestion)
* a completely coherent and Kile-"valid" syntax is still missing, although as 
it is, the file is usable
* some commands are commented out, as mentioned above

Installation:
copy or link the file to /usr/share/apps/kile/complete/tex/ (or the 
appropriate <kile>/complete/tex/ directory) and add "context.cwl" in Kile's 
settings under "Kile->Complete->TeX/LaTeX"

I hope anyone finds it useful and that I manage to get it working 
perfectly/validly soon.


Cheers,
Matija

-- 
gsm: +386 41 849 552
e-mail: matija.suklje@rutka.net
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: matija.suklje@gabbler.org
msn: matija.suklje@rutka.net
yahoo: matija_suklje

[-- Attachment #1.1.2: context.cwl --]
[-- Type: text/plain, Size: 20807 bytes --]

# ConTeXt commands
# Matija "silverhook" Šuklje, 02. Jan. 2008 — matija.suklje@rutka.net
# URL: <todo>

\about{text}[reference]
\adaptlayout[number][dimensions]
\adding[size]
# \aftersplitstring
# \and
\appendix[references]{text}
# \appendtoks
# \AR
\arg{text}
\at{text}{text}[reference]
\atpage[reference]
\background
# \bbox
# \beforesplitstring
# \begstrut
\blackrule[settings]
\blackrules[settings]
\blank[size]
# \blockquote
\bookmark[name]{text}
# \bTABLE
# \bTABLEbody
# \bTABLEfoot
# \bTABLEhead
# \bTABLEnext
# \bTD
# \bTH
# \bTR
\but[reference]
\button[settings]{text}[references]
\bypassblocks[names][names]
\CAP{text}
\Cap{text}
\cap{text}
\Caps{text}
\chapter[references]{text}
\Character{text}
\character{text}
\Characters{text}
\characters{text}
\chem{text}{text}{text}
\clip[settings]{text}
\clonefield[name][names][name][names]
\color[text{text}
\column
# \commalistelement
\comment[name][settings]{text}
\comparecolorgroup[name]
\comparepalet[name]
\completecombinedlist[name][settings]
\completelistoffloats
\completelistofsorts
\completelistofsynonyms
\completeregister[settings]
# \component
# \ConTeXt
# \Context
# \convertargument
# \convertcommand
\convertnumber{text}{text}
\copyfield[name][names]
\correctwhitespace{text}
# \countXMLchildren
\coupledocument[name][file][name]
\coupledregister[text]{text}
\couplemarking[name][name]
\couplepage[names][options]
\couplepaper[name]
\coupleregister[name]
\crlf
\currentdate[syntax]
\currentheadnumber
\date[date][syntax]
\decouplemarking[name]
# \decrement
\define[number]\command{text}
\defineblank[name][settings]
\defineblock[name]
\definebodyfont[font size][type][files]
\definebodyfontenvironment[font size][dimensions]
\definebuffer[name]
# \definecollector
\definecolor[name]{colour values}
\definecolorgroup[name][colour model][colour values]
\definecombinedlist[name][list][settings]
\defineconversion[name][command]
\definedescription[name][settings]
# \definedfont
\defineenumeration[names][name][settings]
# \defineexternalfigure
\definefield[reference][widget type][setup name][names][initial content]
\definefieldstack[name][names][settings]
\definefiguresymbol[name][text][settings]
\definefloat[singular][plural]
\definefont[name][file]
# \definefontsynonym
\defineframed[name][settings]
# \defineframedcontent
\defineframedtext[name][settings]
\definehead[name][section]
# \definehspace
\defineindenting[name][settings]
\defineinteractionmenu[position|names][options and settings]
\defineinteractionmenu[position|name][position|name][settings]
\definelabel[name][text and options]
# \definelayer
# \definelayerpreset
# \definelayout
\definelist[name][name][settings]
\definelogo[name][position][position][command][state]
# \definemainfield
\definemakeup[name][settings]
\definemarking[name][name]
# \definemeasure
# \defineoutput[name][specials]
\defineoverlay[names][command]
# \definepagebreak
\definepalet[name][name]
\definepapersize[name][dimenstions]
\defineparagraphs[name][options and settings]
\defineprofile[names][names]
\defineprogram[name][text][text]
# \definepushbutton
# \definepushsymbol
\definerawfont[name][file][settings]
\definereference[name][references]
\definereferenceformat[name][options]
\definereferencelist[name][settings]
\defineregister[singular][plural]
\definerule[name][settings]
\definesection[name]
\definesectionblock[name][settings]
\definesorting[singular][plural][command]
\definestartstop[name][commands]
\definesubfield[name][name][names]
\definesymbol[name][text]
\definesynonyms[singular][plural][command][command]
\definetabletemplate[name][text][text][text]
\definetabulate[name][name][text]
\definetext[name][position][text][text][text]
# \definetextbackground
\definetextposition[name][settings]
# \definetextvariable[settings][???][???]
\definetype[name][settings]
# \definetypeface
\definetyping[file|typing|name][settings]
\defineversion[name][numbers]
# \defineXMLargument
# \defineXMLcommand
# \defineXMLenvironment
# \defineXMLenvironmentsave
# \defineXMLgrouped
# \defineXMLgsave
# \defineXMLgstore
# \defineXMLignore
# \defineXMLnested
# \defineXMLpickup
# \defineXMLprocess
# \defineXMLsave
# \defineXMLsavecontent
# \defineXMLsingular
# \defineXMLstore
# \defXMLstring
\description{text}text
\determineheadnumber[section]
\determinelistcharacteristics[names][settings]
# \digits
\disableinteractionmenu[position|name][references]
# \disablemode
# \doglobal
# \dogotopar
# \doif
# \doifcommon
# \doifcommonelse
# \doifdefined
# \doifdefinedelse
# \doifelse
# \doifelsenothing
# \doifelsevalue
# \doiffieldelse
# \doifflagged
# \doifinset
# \doifinsetelse
# \doifmode
# \doifmodeelse
# \doifnextcharelse
# \doifnot
# \doifnotcommon
# \doifnotflagged
# \doifnothing
# \doifnotinsetelse
# \doifnotmode
# \doifnotvalue
# \doifsomething
# \doiftext
# \doiftextelse
# \doifundefined
# \doifundefinedelse
# \doifvalue
# \doifXMLdata
# \doifXMLdataelse
# \doifXMLop
# \doifXMLparelse
# \doloop
# \donothing
# \dontleavehmode
\donttest
# \dorecurse
# \dostepwiserecurse
# \dowithnextbox
# \dowithnextboxcontent
# \empty
\emptylines[number]
# \emptytoks
# \enablemode
# \endstrut
\enumeration
# \environment
# \EQ
# \eTABLE
# \eTABLEbody
# \eTABLEfoot
# \eTABLEhead
# \eTABLEnext
# \eTD
# \eTH
# \eTR
# \exitloop
# \expanded
\externalfigure[file][settings]
\field[name]
\fieldstack[name][names][settings]
\fillinfield[text]{text}
\fillinline[settings]
\fillinrules[settings]{text}{text}
\fillintext[settings]{text}{text}
\fitfield[name]
\fixedspaces
# \FLOWchart
# \flushcollector
# \flushlayer
# \flushXMLelement
\followprofile{text}[text]
\followprofileversion{text}[text][text]
\followversion{text}[text]
\footnote[reference]{text}
\footnotetext[reference]{text}
\forceblocks[names][names]
# \forgetall
# \FR
\fraction{text}{text}
\framed[settings]{text}
\framedtext[settings]
\from[reference]
\getbuffer[name]
# \getfiguredimensionsonly
# \getmarking[name][options]
# \getvalue
# \getvariable
# \globalletvalue
\godown[dimension]
\goto{text}{text}[references]
\gotobox{text}[references]
\graycolor[text]
\grid[options]
# \gsaveXMLasdata
\hairline
\head[references]
\headnumber[section]
\headtext{text}
# \hfilll
\hideblocks[names][names]
\high{text}
# \HL
\hl[number]
# \hpos
# \hspace
# \ifconditional
# \ifdefined
# \iftrialtypesetting
# \ifundefined
\in{text}{text}[reference]
# \includeFLOWchart
# \includemenu
# \increment
\indentation
\indenting[options]
\inframed[settings]{text}
\ininner[+|-|low][reference]{text}
\inleft[+|-|low][reference]{text}
\inline[reference]
\inmargin[+|-|low][reference]{text}
\inothermargin[+|-|low][reference]{text}
\inouter[+|-|low][reference]{text}
\inright[+|-|low][reference]{text}
\installlanguage[name][options]
\interactionbar[settings]
\interactionbuttons[settings][names]
\item[references]
\items[settings]{text}
\its[references]
\keepblocks[names][all|names]
\labeling[reference]
\labels[name]
\labeltext{text}
\language[language code]
\leftaligned{text}
# \letgvalue
# \letvalue
\listsymbol[name]{text}
# \loadmapfile
\loadsorts
\loadsynonyms
# \localhsize
\logfields
\lohi[low]{text}{text}
\low{text}
# \LR
\mainlanguage[language code]
\mar[references]{text}
\marginrule[number]{text}
\margintext[+|-|low][reference]{text}
\marking[name]{text}
\markversion
\mathematics{text}
\mediaeval{text}
\midaligned{text}
\mirror{text}
\MONTH{text}
\month{text}
\moveongrid[options]
# \MR
\name{text}
# \NC
# \newcounter
# \nextbox
\nextsection
\nocap{text}
\noheaderandfooterlines
\noindenting
\nolist{text}
\nomarking{text}
\nomoreblocks
\nomorefiles
\nop
\nospace
\note[reference]
\notopandbottomlines
\nowhitespace
# \NR
\numbers{text}
\overbar{text}
\overbars{text text}
# \overlaybutton
# \overlayfigure
\overstrike{text}
\overstrikes{text text}
\packed
\page[options]
\pagereference[reference]
\pagetype[name]
\paragraph
\part[references]{text}
\periods[number]
\placebookmarks[names][names|all]
\placecombinedlist[name][settings]
\placecombinedlist[name][settings]
# \placefigure
\placefloat[options][references]{text}{text}
\placefootnotes[settings]
\placeformula[references]{text}$$ $$
# \placelayer
\placelegend{text}{text}
\placelist[names][settings]
\placelistoffloats
\placelistofsorts
\placelistofsynonyms
\placelocalfootnotes[settings]
\placelogos[names]
\placeongrid[settings{text}
\placeontopofeachother{text}{text}
\placereferencelist[names]
\placeregister[name][settings]
\placeregister[settings]
\placerule[name]
\placesidebyside{text}{text}
\placesubformula[references]{text}$$ $$
\placetextvariable[name]
# \plusone
# \plustwo
\position(numbers){text}
\positiontext[name]{text}
# \prependtoks
# \processaction
# \processallactionsinset
\processblocks[names][names]
# \processcommacommand
# \processcommalist
# \processfirstactioninset
\processpage[names][yes|no]
# \processXMLbuffer
# \processXMLelement
# \processXMLfile
# \processXMLfilegrouped
# \product
\program[name]
# \project
# \protect
\publication[reference]
\quotation{text}
\quote{text}
\ran{text}
# \readfile
\ref[t|p|r|s|e][reference]
\reference[reference]{text}
\referral[options]
\referraldate
\register[text]{register+register+register}
\reservefloat[options][text][references]{text}
\reset[names]
# \resetlayer
\resetmarking[name]
\rightaligned{text}
\Romannumerals{text}
\romannumerals{text}
\rotate[settings]{text}
# \saveXMLasdata
# \saveXMLdata
# \saveXMLelement
# \sbox
\scale[options]{text}
# \scratchbox
# \scratchcounter
# \scratchdimen
# \scratchskip
\screen
\section[references]{text}
\seeregister[text]{text}{text+text+text}
\selectblocks[names][names][critererium]
\selectpaper[options]
\selectversion
# \setcollector
# \setevalue
# \setevariables
# \setflag
# \setfontstrut
# \setgvalue
# \setgvariables
# \setlayer
# \setlayerframed
# \setlocalhsize
# \setstrut
\settextvariable[name]{text}
\setupalign[options]
\setuparranging[options]
# \setupattachments
\setupbackground[options]
\setupbackgrounds[position][position][state][settings]
\setupblackrules[options]
\setupblank[options]
\setupblock[names][options]
\setupbodyfont[options]
\setupbodyfontenvironment[settings][settings]
\setupbottom[settings][settings]
\setupbottomtexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber]
\setupbuffer[name][options]
\setupbuttons[state][settings]
\setupcapitals[title=yes|no][sc=yes|no]
\setupcaption[name][settings]
\setupcaptions[options]
\setupclipping[options]
\setupcolor[name]
\setupcolors[options]
\setupcolumns[options]
\setupcombinations[options]
\setupcombinedlist[name][levels and options]
\setupcomment[options]
\setupdescriptions[names][options]
# \setupencoding
\setupenumerations[names][settings]
\setupexternalfigures[options]
\setupfield[name][label|horizontal|vertical|frame][settings]
\setupfields[names][reset|label|horizontal|vertical|frame][options][settings][settings]
\setupfillinlines[options]
\setupfillinrules[options]
\setupfloat[name][options]
\setupfloats[options]
\setupfloatsplitting[options]
# \setupFLOWcharts
# \setupFLOWlines
# \setupFLOWshapes
# \setupfontsynonym
\setupfooter[text|margin|edge][options]
\setupfootertexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber]
\setupfootnotedefinition[settings]
\setupfootnotes[options]
\setupforms[method=HTML|FDF]
\setupformulae[options]
\setupframed[options]
\setupframedtexts[options]
\setuphead[sections][options]
\setupheader[text|margin|edge][options]
\setupheadertexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber]
\setupheadnumber[section][number|+number|-number]
\setupheads[options]
\setupheadtext[language code][name=text]
\setuphyphenmark[sign=-|--|---|( )|=|/]
\setupindentations[names][options]
\setupindenting[none|small|medium|big|next|first|normal|odd|even|dimension]
\setupinmargin[left|right|number][options]
\setupinteraction[options]
\setupinteractionbar[options]
\setupinteractionscreen[options]
\setupinterlinespace[reset|small|medium|auto|big|on|off][options]
\setupitemgroup[name][number|each][options][options]
\setupitems[options]
\setuplabeltext[language code][name=text]
\setuplanguage[language code][settings]
# \setuplayer
\setuplayout[options]
\setuplegend[options]
\setuplinenumbering[options]
\setuplines[options]
\setuplinewidth[dimension]
\setuplist[names][options]
\setupmakeup[name][options]
\setupmarginblocks[options]
\setupmarginrules[level=number|rulethickness=dimension]
\setupmarking[name][options]
\setupnarrower[options]
\setupnumbering[options]
\setupoppositeplacing[options]
\setupoutput[names]
\setuppagenumber[number][state=start|stop|keep]
\setuppagenumbering[options]
\setuppagetransitions[options]
\setuppalet[name]
\setuppaper[options]
\setuppapersize[typesetting papersize][printing papersize]
\setupparagraphnumbering[options]
\setupparagraphs[name][number|each][options]
\setuppositioning[options]
\setupprofiles[options]
\setupprograms[directory=text]
\setuppublications[options]
\setupquote[options]
\setupreferencelist[names][options]
\setupreferencing[options]
\setupregister[singular][name][options]
\setuprotate[options]
\setuprule[name][options]
# \setups
\setupscreens[options]
\setupsection[name][name][options]
\setupsectionblock[name][options]
\setupsorting[name][options]
\setupspacing[broad|packed]
\setupstrut[yes|no|cap|text]
\setupsubpagenumber[options]
\setupsymbolset[name]
\setupsynchronization[state=start|stop]
\setupsynchronizationbar[options]
\setupsynonyms[name][options]
\setupsystem[options]
\setuptab[options]
# \setupTABLE
\setuptables[options]
\setuptabulate[name][options]
\setuptext[text|margin|edge][options]
# \setuptextbackground
\setuptextposition[name][settings]
\setuptextrules[options]
\setuptexttexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber]
\setuptextvariable[name][options]
\setupthinrules[options]
\setuptolerance[options]
\setuptop[text|margin|edge][options]
\setuptoptexts[text|margin|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber]
\setuptype[options]
\setuptyping[file|typing|name][options]
\setupunderbar[options]
\setupurl[options]
\setupversions[options]
\setupwhitespace[none|small|medium|big|line|fixed|fix|dimension]
# \setvalue
# \setvariables
# \setxvalue
# \setxvariables
# \showaccents
\showbodyfont[settings]
\showbodyfontenvironment[settings]
# \showcharacters
\showcolor[name]
\showcolorgroup[name][horizontal|vertical|name|value|number]
\showexternalfigures[alternative=a|b|c]
\showfields[names]
# \showfont
\showframe[text|margin|edge]
\showgrid
# \showgridboxes
# \showgridsnapping
\showlayout
# \showlayoutcomponents
\showmakeup
\showpalet[name][horizontal|vertical|name|value]
\showprint[typesetting papersize][printing papersize][settings]
\showsetups
\showstruts
# \showstruts
\showsymbolset[name]
# \snaptogrid
\someline[reference]
\somewhere{text}{text}[reference]
\sort[text]{text}
\space
\splitfloat[settings]{text}{text}
# \splitstring
# \SR
# \start \stop
# \start \stop
\startalignment[width|left|right|middle|inner|outer|wide|broad|height|bottom|line|reset|hanging|nothanging|hyphenated|nothyphenated] \stopalignment
# \startarabicpar \stoparabicpar
# \startarabictext \stoparabictext
# \startappendices \stopappendices
\startbackground \stopbackground
# \startbackmatter \stopbackmatter
# \startbaselinecorrection \stopbaselinecorrection
# \startblockquote \stopblockquote
# \startbodymatter \stopbodymatter
\startbuffer[name] \stopbuffer
\startcolor[name] \stopcolor
\startcolumns[settings] \stopcolumns
\startcombination[matrix] \stopcombination
\startcomment[name][settings] \stopcomment
\startcomponent file \stopcomponent
\startdescription{text} \stopdescription
\startdocument[name] \stopdocument
\startenumeration \stopenumeration
\startenvironment file \stopenvironment
\startfact\fact text \\ text \\ text \\\fact text \stopfact
\startfigure[name][file][factor=number][frame=on|off] \stopfigure
\startfloattext[left|right|high|middle|low|offset|tall][reference]{text}{text} \stopfloattext
# \startFLOWcell \stopFLOWcell
# \startFLOWchart \stopFLOWchart
\startformula \stopformula
# \startframedcontent \stopframedcontent
\startframedtext[left|right|middle|none][settings] \stopframedtext
# \startfrontmatter \stopfrontmatter
# \starthanging \stophanging
\starthiding \stophiding
\startinteractionmenu[name] \stopinteractionmenu
\startitemgroup[name][options][settings] \stopitemigroup
# \startitemize \stopitemize
# \startitemize \stopitemize
# \startJScode \stopJScode
# \startJSpreamble \stopJSpreamble
# \startJSscripts \stopJSscripts
\startlegend[two]\leg text \\ text \\ text \\\leg \stoplegend
\startline[reference] \stopline
\startlinecorrection \stoplinecorrection
\startlinenumbering[continue] \stoplinenumbering
\startlines \stoplines
\startlocal \stoplocal
\startlocalenvironment \stoplocalenvironment
\startlocalfootnotes \stoplocalfootnotes
# \startlocalsetups \stoplocalsetups
\startmakeup[name][settings] \stopmakeup
\startmarginblock \stopmarginblock
\startmarginrule[number] \stopmarginrule
# \startmode \stopmode
# \startMPpage \stopMPpage
\startnamemakeup \stopnamemakeup
\startnarrower[left|middle|right] \stopnarrower
# \startnointerference \stopnointerference
# \startnotmode \stopnotmode
\startopposite \stopopposite
\startoverlay{text}{text} \stopoverlay
\startoverview[names] \stopoverview
\startpacked[blank] \stoppacked
\startparagraph \stopparagraph
\startpositioning \stoppositioning
\startpostponing \stoppostponing
\startproduct file \stopproduct
\startprofile[names] \stopprofile
\startproject file \stopproject
\startquotation[left|middle|right] \stopquotation
\startregister[text]{text+text+text} \stopregister
# \startsetups \stopsetups
# \startstandardmakeup \stopstandardmakeup
\startsymbolset[name] \stopsymbolset
\startsynchronization \stopsynchronization
\starttable[text|name] \stoptable
\starttables[text|name] \stoptables
\starttabulate[text][settings] \stoptabulate
# \startTEXpage \stopTEXpage
# \starttext \stoptext
# \starttextbackground \stoptextbackground
# \starttextdata \stoptextdata
\starttextrule[top|bottom]{text} \stoptextrule
\starttyping \stoptyping
\startunpacked \stopunpacked
\startversion[numbers] \stopversion
# \startXMLdata \stopXMLdata
# \startXMLignore \stopXMLignore
# \startXMLmapping \stopXMLmapping
\stretched{text}
# \strut
# \strutdepth
# \strutheight
# \struttedbox
\sub[references]
\subject[references]{text}
\subsection[references]{text}
\subsubject[references]{text}
\subsubsection[references]{text}
\subsubsubject[references]{text}
\switchtobodyfont[font settings]
\switchtorawfont[name]
\sym{text}
\symbol[name][name]
\synchronizationbar[name][alternative=page|local][settings]
\synchronize
\synonym[text]{text}{text}
\tab{text} text
# \tbox
\tex{text}
\textreference[reference]{text}
\textrule[top|bottom]{text}
\textvariable[name]
\thinrule
\thinrules[settings]
# \tightlayer
\title[references]{text}
# \to
\tooltip[left|right|middle]{text}{text}
\translate[name=text]
\typ{text}
\type{text}
\typebuffer[name]
\typefile[name]{text}
\underbar{text}
\underbars{text text}
# \unexpanded
# \unprotect
# \unprotected
\useblocks[names][names]
\usecommands{text}
\usedirectory[names|reset]
\useencoding[names]
\useexternaldocument[name][file][text]
\useexternalfigure[name][file][options]
\useexternalfile[name][name][file][font options]
\useexternalfiles[name][options]
\useexternalsoundtrack[name][file]
# \useJSscripts
\usemodule[names]
\usereferences[files]
\usespecials[names|reset]
\usesymbols[name]
# \usetypescript
# \usetypescriptfile
\useURL[name][URL][file][text]
# \useXMLfilter
\version[final|concept|temporary]
# \verticalstrut
# \vfilll
# \VL
\vl[number]
# \vpos
\WEEKDAY{text}
\weekday{text}
\whitespace
\WORD{text}
\Word{text}
\wordright{text}
\WORDS{text text}
\Words{text text}
\writebetweenlist[section|name]{text}
\writetolist[section|name]{text}{text}
\writetoreferencelist[name]{text}{text}
\writetoregister[singular][text]{text+text+text}
# \XMLerase
# \XMLflush
# \XMLop
# \XMLpar
# \zerocount
# \zerodimen
# \zeropoint

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2008-01-03  0:15 ` Matija Šuklje
@ 2008-01-03 13:14   ` Hans Hagen
  2008-01-03 13:25     ` Idris Samawi Hamid
  0 siblings, 1 reply; 11+ messages in thread
From: Hans Hagen @ 2008-01-03 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Matija Šuklje wrote:
> OK, it's been a "fun" day's work, but here's the current working version of 
> the context.cwl file.
> 
> What it does include:
> * all the commands with all the fields mentioned on texshow.contextgarden.net
> * the rest of the commands that I used from the list Idris sent me are 
> currently commented out, until I find out they're valid (although not on 
> texshow)
> * all the fields have short descriptions
> * all the \start* commands end with appropriate \stop* commands
> * some of the fields (where it was simple to do it) use a '|' character as a 
> separator inside fields
> 
> What it does not include:
> * a syntax completely as Kile's README.cwl would want to have (especially 
> because of my misuse of \start* \stop* in the same command and Mojca's 
> separator suggestion)
> * a completely coherent and Kile-"valid" syntax is still missing, although as 
> it is, the file is usable
> * some commands are commented out, as mentioned above
> 
> Installation:
> copy or link the file to /usr/share/apps/kile/complete/tex/ (or the 
> appropriate <kile>/complete/tex/ directory) and add "context.cwl" in Kile's 
> settings under "Kile->Complete->TeX/LaTeX"
> 
> I hope anyone finds it useful and that I manage to get it working 
> perfectly/validly soon.

ctxtools can output files for editors (bbedit, jedit, scite) based on 
the xml definition files; i can imagine an option to write the files 
needed for kile (given that someone else than me writes the code)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: ConTeXt-ifying Kile
  2008-01-03 13:14   ` Hans Hagen
@ 2008-01-03 13:25     ` Idris Samawi Hamid
  0 siblings, 0 replies; 11+ messages in thread
From: Idris Samawi Hamid @ 2008-01-03 13:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 03 Jan 2008 06:14:39 -0700, Hans Hagen <pragma@wxs.nl> wrote:

> ctxtools can output files for editors (bbedit, jedit, scite) based on
> the xml definition files; i can imagine an option to write the files
> needed for kile (given that someone else than me writes the code)

1. Can you give an example?

2. Where are those xml files?

Npp is pretty simple; just an ordered list:

===
about
adaptlayout
adding
aftersplitstring
and
appendix
appendtoks
[etc.]
===

Best
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2008-01-03 13:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-29 12:25 ConTeXt-ifying Kile Matija Šuklje
2007-12-29 13:19 ` Mojca Miklavec
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

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).