diff options
Diffstat (limited to 'Master/texmf-dist/context/data/context.properties')
-rw-r--r-- | Master/texmf-dist/context/data/context.properties | 202 |
1 files changed, 138 insertions, 64 deletions
diff --git a/Master/texmf-dist/context/data/context.properties b/Master/texmf-dist/context/data/context.properties index 6edccaab5c2..6875277180d 100644 --- a/Master/texmf-dist/context/data/context.properties +++ b/Master/texmf-dist/context/data/context.properties @@ -57,36 +57,45 @@ lexer.$(file.patterns.example)=xml if PLAT_WIN name.context.console=cmd + name.context.console=$(ComSpec) name.context.gsview=gsview32.exe name.context.acrobat= + name.texexec.flag.pdfopen=--autopdf + +# consoles: rxvt,konsole | acrobat: acroread,xpdfopen +# +# name.texexec.flag.pdfopen=--autopdf --xpdf if PLAT_GTK - name.context.console=cmd - name.context.gsview=gs - name.context.acrobat=acrobat - -name.context.concheck=texmfstart concheck.rb -#name.context.texexec=texmfstart texexec.pl --autopdf -name.context.texexec=texmfstart newtexexec.rb --autopdf -name.context.texshow=texmfstart texshow.pl -name.context.texutil=texmfstart texutil.pl -#name.context.examplap=texmfstart --file=examplap.pdf --program=context --browser + name.context.console=rxvt + name.context.gsview=gv + name.context.acrobat=acroread + name.texexec.flag.pdfopen=--autopdf + +name.metafun.console=$(name.context.console) +name.example.console=$(name.context.console) + +name.context.concheck=texmfstart concheck +name.context.texexec=texmfstart texexec $(name.texexec.flag.pdfopen) +name.context.texshow=texmfstart texshow +name.context.purge=texmfstart ctxtools --purge --all +name.context.update=texmfstart ctxtools --update name.context.examplap=texmfstart --browser --file=http://localhost:8061/exalogin name.context.showcase=texmfstart --file=showcase.pdf --program=context +name.context.backend=pdf + name.example.xmlcheck=tidy -quiet -utf8 -xml -errors -name.example.examplez=texmfstart examplez.rb name.metafun.mptopdf=texmfstart mptopdf.pl -# name.context.exampler=cmd /c start /min "Local Example Service" texmfstart exampler.rb --continue -# name.context.exampler=texmfstart exampler.rb --continue > /tmp/exampler.log & +# wwwserver --start --port=8061 --url=http://localhost:8061 --forcetemp --direct if PLAT_WIN - name.context.exampler=cmd /c start /min "Local Example Service" texmfstart exaserver.rb --start --port=8061 + name.context.wwwserver=cmd /c start /min "Local Example Service" texmfstart wwwserver.rb --direct if PLAT_GTK - name.context.exampler=texmfstart exaserver.rb --start --port=8061 > /tmp/exampler.log & + name.context.wwwserver=texmfstart wwwserver.rb --direct > ~/context-wwwserver.log & # Commands: help info, e:\websites\www.pragma-ade.com\showcase.pdf / todo: manuals @@ -104,6 +113,10 @@ context.distribution.writable=1 command.save.before=1 +# xml completion + +xml.auto.close.tags=1 + # extensions import scite-ctx @@ -119,21 +132,28 @@ command.compile.*.fo=$(name.example.xmlcheck) $(FileNameExt) #command.compile.subsystem.$(file.patterns.metafun)=1 #command.compile.subsystem.$(file.patterns.example)=1 -command.build.$(file.patterns.context)=$(name.context.texexec) --pdf $(FileNameExt) -# command.build.$(file.patterns.metafun)=$(name.context.texexec) --pdf --mptex $(FileNameExt) +command.build.$(file.patterns.context)=$(name.context.texexec) --$(name.context.backend) $(FileNameExt) +# command.build.$(file.patterns.metafun)=$(name.context.texexec) --$(name.context.backend) --mptex $(FileNameExt) command.build.$(file.patterns.metafun)=$(name.metafun.mptopdf) $(FileNameExt) -command.build.$(file.patterns.example)=$(name.context.texexec) --pdf --xml $(FileNameExt) -command.build.*.fo=$(name.context.texexec) --pdf --autopdf --xml --use=foxet $(FileNameExt) +command.build.$(file.patterns.example)=$(name.context.texexec) --$(name.context.backend) --xml $(FileNameExt) +command.build.*.fo=$(name.context.texexec) --$(name.context.backend) $(name.texexec.flag.pdfopen) --xml --use=foxet $(FileNameExt) command.build.subsystem.$(file.patterns.context)=1 command.build.subsystem.$(file.patterns.metafun)=1 command.build.subsystem.$(file.patterns.example)=1 command.build.subsystem.*.fo=1 -command.go.$(file.patterns.context)=$(FileName).pdf -command.go.$(file.patterns.metafun)=$(FileName).pdf -command.go.$(file.patterns.example)=$(FileName).pdf -command.go.*.fo=$(FileName).pdf +if PLAT_WIN + command.go.$(file.patterns.context)=$(FileName).pdf + command.go.$(file.patterns.metafun)=$(FileName).pdf + command.go.$(file.patterns.example)=$(FileName).pdf + command.go.*.fo=$(FileName).pdf + +if PLAT_GTK + command.go.$(file.patterns.context)=$(name.context.acrobat) $(FileName).pdf + command.go.$(file.patterns.metafun)=$(name.context.acrobat) $(FileName).pdf + command.go.$(file.patterns.example)=$(name.context.acrobat) $(FileName).pdf + command.go.*.fo=$(name.context.acrobat) $(FileName).pdf command.go.subsystem.$(file.patterns.context)=2 command.go.subsystem.$(file.patterns.metafun)=2 @@ -156,9 +176,9 @@ command.name.1.$(file.patterns.context)=Process TeX file command.name.1.$(file.patterns.metafun)=Process METAPOST File command.name.1.$(file.patterns.example)=Process XML File -command.1.$(file.patterns.context)=$(name.context.texexec) --pdf $(FileNameExt) -command.1.$(file.patterns.metafun)=$(name.context.texexec) --pdf --mptex $(FileNameExt) -command.1.$(file.patterns.example)=$(name.context.texexec) --pdf --xml $(FileNameExt) +command.1.$(file.patterns.context)=$(name.context.texexec) --$(name.context.backend) $(FileNameExt) +command.1.$(file.patterns.metafun)=$(name.context.texexec) --$(name.context.backend) --mptex $(FileNameExt) +command.1.$(file.patterns.example)=$(name.context.texexec) --$(name.context.backend) --xml $(FileNameExt) command.1.subsystem.$(file.patterns.context)=1 command.1.subsystem.$(file.patterns.metafun)=1 @@ -198,9 +218,9 @@ command.name.3.$(file.patterns.context)=Purge Files command.name.3.$(file.patterns.metafun)=Purge Files command.name.3.$(file.patterns.example)=Purge Files -command.3.$(file.patterns.context)=$(name.context.texutil) --purge -command.3.$(file.patterns.metafun)=$(name.context.texutil) --purge -command.3.$(file.patterns.example)=$(name.context.texutil) --purge +command.3.$(file.patterns.context)=$(name.context.purge) +command.3.$(file.patterns.metafun)=$(name.context.purge) +command.3.$(file.patterns.example)=$(name.context.purge) # 4 : documentation @@ -243,30 +263,28 @@ command.name.7.$(file.patterns.context)=Generate Listing command.name.7.$(file.patterns.metafun)=Generate Listing command.name.7.$(file.patterns.example)=Generate Listing -command.7=$(name.context.texexec) --pdf --list --result=$(FileName) $(FileNameExt) -command.7.$(file.patterns.context)=$(name.context.texexec) --pdf --list --result=$(FileName) $(FileNameExt) -command.7.$(file.patterns.metafun)=$(name.context.texexec) --pdf --list --result=$(FileName) $(FileNameExt) -command.7.$(file.patterns.example)=$(name.context.texexec) --pdf --list --result=$(FileName) $(FileNameExt) +command.7=$(name.context.texexec) --$(name.context.backend) --list --result=$(FileName) $(FileNameExt) +command.7.$(file.patterns.context)=$(name.context.texexec) --$(name.context.backend) --list --result=$(FileName) $(FileNameExt) +command.7.$(file.patterns.metafun)=$(name.context.texexec) --$(name.context.backend) --list --result=$(FileName) $(FileNameExt) +command.7.$(file.patterns.example)=$(name.context.texexec) --$(name.context.backend) --list --result=$(FileName) $(FileNameExt) command.7.subsystem=1 command.7.subsystem.$(file.patterns.context)=1 command.7.subsystem.$(file.patterns.metafun)=1 command.7.subsystem.$(file.patterns.example)=1 -# 8 : example framework service - -command.name.8=Example Service -command.name.8.$(file.patterns.context)=Example Service -command.name.8.$(file.patterns.metafun)=Example Service -command.name.8.$(file.patterns.example)=Example Service +# 8 : reserved -command.8=$(name.context.exampler) -command.8.$(file.patterns.context)=$(name.context.exampler) -command.8.$(file.patterns.metafun)=$(name.context.exampler) -command.8.$(file.patterns.example)=$(name.context.exampler) +command.name.8.$(file.patterns.context)= +command.name.8.$(file.patterns.metafun)= +command.name.8.$(file.patterns.example)= +command.8.$(file.patterns.context)= +command.8.$(file.patterns.metafun)= +command.8.$(file.patterns.example)= -# 9 : format generation +# 9 : reserved +command.name.9= command.name.9.$(file.patterns.context)= command.name.9.$(file.patterns.metafun)= command.name.9.$(file.patterns.example)= @@ -274,16 +292,54 @@ command.9.$(file.patterns.context)= command.9.$(file.patterns.metafun)= command.9.$(file.patterns.example)= -if $(context.distribution.writable) - command.name.9.$(file.patterns.context)=Generate Formats - command.name.9.$(file.patterns.metafun)=Generate Formats - command.name.9.$(file.patterns.example)=Generate Formats - command.9.$(file.patterns.context)=$(name.context.texexec) --make --alone - command.9.$(file.patterns.metafun)=$(name.context.texexec) --make --alone - command.9.$(file.patterns.example)=$(name.context.texexec) --make --alone - command.9.subsystem.$(file.patterns.context)=1 - command.9.subsystem.$(file.patterns.metafun)=1 - command.9.subsystem.$(file.patterns.example)=1 +# 10: arranging + +command.name.10.$(file.patterns.context)=Process and Arrange +command.name.10.$(file.patterns.metafun)=Process and Arrange +command.name.10.$(file.patterns.example)=Process and Arrange +command.10.$(file.patterns.context)=$(name.context.texexec) --arrange --$(name.context.backend) $(FileNameExt) +command.10.$(file.patterns.metafun)=$(name.context.texexec) --$(name.context.backend) --mptex $(FileNameExt) +command.10.$(file.patterns.example)=$(name.context.texexec) --arrange --$(name.context.backend) --xml $(FileNameExt) +command.10.subsystem.$(file.patterns.context)=1 +command.10.subsystem.$(file.patterns.metafun)=1 +command.10.subsystem.$(file.patterns.example)=1 + +# 11: make + +command.name.11.$(file.patterns.context)=Generate Formats +command.name.11.$(file.patterns.metafun)=Generate Formats +command.name.11.$(file.patterns.example)=Generate Formats +command.11.$(file.patterns.context)=$(name.context.texexec) --make --all +command.11.$(file.patterns.metafun)=$(name.context.texexec) --make --all +command.11.$(file.patterns.example)=$(name.context.texexec) --make --all +command.11.subsystem.$(file.patterns.context)=1 +command.11.subsystem.$(file.patterns.metafun)=1 +command.11.subsystem.$(file.patterns.example)=1 + +# 12: update + +command.name.12=Update ConTeXt +command.name.12.$(file.patterns.context)=Update ConTeXt +command.name.12.$(file.patterns.metafun)=Update ConTeXt +command.name.12.$(file.patterns.example)=Update ConTeXt + +command.12=$(name.context.update) +command.12.$(file.patterns.context)=$(name.context.update) +command.12.$(file.patterns.metafun)=$(name.context.update) +command.12.$(file.patterns.example)=$(name.context.update) + + +# 12: example + +command.name.13=Example Service +command.name.13.$(file.patterns.context)=Example Service +command.name.13.$(file.patterns.metafun)=Example Service +command.name.13.$(file.patterns.example)=Example Service + +command.13=$(name.context.wwwserver) +command.13.$(file.patterns.context)=$(name.context.wwwserver) +command.13.$(file.patterns.metafun)=$(name.context.wwwserver) +command.13.$(file.patterns.example)=$(name.context.wwwserver) # Editor: syntax highlighting @@ -300,8 +356,19 @@ Alt+F12|IDM_STOPEXECUTE|\ # Editor: fonts (16.5/11.5) -font.monospace=font:LMTypewriter10,size:16.5 -font.errorfont=font:LMTypewriter10,size:11.5 +# install: fonts/truetype/hoekwater/lm/LMTypewriter10-Regular.ttf + +if PLAT_WIN + font.monospace=font:LMTypewriter10,size:16 + font.errorfont=font:LMTypewriter10,size:12 + +if PLAT_WIN + font.monospace=font:lmtypewriter10 regular,size:16 + font.errorfont=font:lmtypewriter10 regular,size:12 + +if PLAT_GTK + font.monospace=font:!lmtypewriter10 regular,size:16 + font.errorfont=font:!lmtypewriter10 regular,size:12 font.base=$(font.monospace) #~ font.small=$(font.monospace) @@ -329,7 +396,7 @@ color.fore.yellow=fore:#7F7F00 # Editor: fast switching between files tabbar.visible=1 -tabbar.hide.one=1 +tabbar.hide.one=0 tabbar.multiline=1 buffers=100 @@ -340,7 +407,8 @@ tabbar.multiline=1 # Editor: handy anyway line.margin.visible=1 -line.numbers=5 +#~ line.numbers=6 +line.margin.width=3+ title.full.path=1 strip.trailing.spaces=1 save.session=1 @@ -368,7 +436,7 @@ error.marker.back=#007F7F statusbar.visible=1 statusbar.number=1 -statusbar.text.1=$(FileNameExt) | $(FileDate) $(FileTime) | line $(LineNumber) column $(ColumnNumber) | mode $(OverType) +statusbar.text.1=$(FileNameExt) | $(FileDate) $(FileTime) | line $(LineNumber) column $(ColumnNumber) | mode $(OverType) | eol $(EOLMode) | $(FileDate) $(FileTime) # Editor: searching @@ -381,7 +449,8 @@ find.files=*.tex *.xml *.mp if PLAT_WIN find.command=fgrep -n $(find.what) $(find.files) -source.files=$(file.patterns.context);$(file.patterns.metafun);$(file.patterns.example);*.pl;*.rb
+source.files=$(file.patterns.context);$(file.patterns.metafun);$(file.patterns.example);*.pl;*.rb + # Editor: printing if PLAT_WIN @@ -397,9 +466,11 @@ if PLAT_WIN clear.before.execute=1 wrap.output=0 -eol.mode=CRLF +if PLAT_WIN + eol.mode=CRLF + ensure.final.line.end=1 -ensure.consistent,line.ends=1 +ensure.consistent.line.ends=1 # Editor: file type @@ -407,8 +478,11 @@ default.file.ext=.tex # Editor: auto completion -autocompleteword.automatic=1
autocomplete.choose.single=0
-api.*.tex=t:\sources\cont-en-scite.api
+autocompleteword.automatic=1 +autocomplete.choose.single=0 + +api.*.tex=t:\sources\cont-en-scite.api + # Logging style.errorlist.32=$(font.errorfont) |