我如何知道我是否正确地为 ConTeXt 设置了 SciTE?

我如何知道我是否正确地为 ConTeXt 设置了 SciTE?

我正在尝试设置 SciTE,以便在 Debian 上拥有一个 GTK 编辑器语境。我认为我正确地遵循了这些步骤,但我没有看到任何变化......

文档说:

而在 Linux 上你会得到:

/usr/bin/share/ /usr/bin/share/context /usr/bin/share/context/lexer /usr/bin/share/context/lexer/themes /usr/bin/share/context/lexer/data /usr/bin/share/context/documents

在最后SciteGlobal.properties你需要添加以下行:

import context/scite-context-user

此后,一切都应该按预期运行(假设 TEX 也在控制台上运行)。

因此我基本上运行了以下命令:

sudo echo "import context/scite-context-user" >> /etc/scite/SciTEGlobal.properties
sudo mkdir /usr/bin/share/
sudo ln -s /usr/share/texmf/context/data/scite/context/ /usr/bin/share

当我检查建议的目录时,我可以看到正确的文件:

ls /usr/bin/share/context/
documents/
lexers/
scite-context-data-context.properties
scite-context-data-interfaces.properties
scite-context-data-metafun.properties
scite-context-data-metapost.properties
scite-context-data-tex.properties
scite-context-external.properties
scite-context-internal.properties
scite-context.properties
scite-context-user.properties
scite-ctx-bidi.lua
scite-ctx-context.properties
scite-ctx-example.properties
scite-ctx.lua
scite-ctx.properties
scite-ctx-templates.lua
scite-metapost.properties
scite-pragma.properties
scite-tex.properties

然而看起来什么都没有改变,我知道这是一个 pebcak,但我不知道它是哪一个... :(

谢谢,

F。

答案1

好吧,看来我自己找到了答案……^^'

这些文件位于,/usr/share/texmf/context/data/scite/context/ 而将这些文件复制到的正确目录是:/usr/share/scite

最终我手动完成了所有操作mc,但命令可能是:

sudo cp -R /usr/share/texmf/context/data/scite/context/ /usr/share/scite
sudo echo "import context/scite-context-user" >> /etc/scite/SciTEGlobal.properties

奇怪的是,所有文件都已在/usr/share/scite都是符号链接/etc/scite/

abaqus.properties -> /etc/scite/abaqus.properties
abbrev.properties -> /etc/scite/abbrev.properties
ada.properties -> /etc/scite/ada.properties
asciidoc.properties -> /etc/scite/asciidoc.properties
asl.properties -> /etc/scite/asl.properties
asm.properties -> /etc/scite/asm.properties
asn1.properties -> /etc/scite/asn1.properties
au3.properties -> /etc/scite/au3.properties
ave.properties -> /etc/scite/ave.properties
avs.properties -> /etc/scite/avs.properties
baan.properties -> /etc/scite/baan.properties
blitzbasic.properties -> /etc/scite/blitzbasic.properties
bullant.properties -> /etc/scite/bullant.properties
caml.properties -> /etc/scite/caml.properties
cil.properties -> /etc/scite/cil.properties
cmake.properties -> /etc/scite/cmake.properties
cobol.properties -> /etc/scite/cobol.properties
coffeescript.properties -> /etc/scite/coffeescript.properties
conf.properties -> /etc/scite/conf.properties
cpp.properties -> /etc/scite/cpp.properties
csound.properties -> /etc/scite/csound.properties
css.properties -> /etc/scite/css.properties
dataflex.properties -> /etc/scite/dataflex.properties
d.properties -> /etc/scite/d.properties
ecl.properties -> /etc/scite/ecl.properties
eiffel.properties -> /etc/scite/eiffel.properties
Embedded.properties -> /etc/scite/Embedded.properties
erlang.properties -> /etc/scite/erlang.properties
escript.properties -> /etc/scite/escript.properties
flagship.properties -> /etc/scite/flagship.properties
forth.properties -> /etc/scite/forth.properties
fortran.properties -> /etc/scite/fortran.properties
freebasic.properties -> /etc/scite/freebasic.properties
fsharp.properties -> /etc/scite/fsharp.properties
gap.properties -> /etc/scite/gap.properties
haskell.properties -> /etc/scite/haskell.properties
hex.properties -> /etc/scite/hex.properties
html.properties -> /etc/scite/html.properties
inno.properties -> /etc/scite/inno.properties
json.properties -> /etc/scite/json.properties
kix.properties -> /etc/scite/kix.properties
latex.properties -> /etc/scite/latex.properties
lisp.properties -> /etc/scite/lisp.properties
lot.properties -> /etc/scite/lot.properties
lout.properties -> /etc/scite/lout.properties
lua.properties -> /etc/scite/lua.properties
markdown.properties -> /etc/scite/markdown.properties
matlab.properties -> /etc/scite/matlab.properties
maxima.properties -> /etc/scite/maxima.properties
metapost.properties -> /etc/scite/metapost.properties
mmixal.properties -> /etc/scite/mmixal.properties
modula3.properties -> /etc/scite/modula3.properties
nim.properties -> /etc/scite/nim.properties
nimrod.properties -> /etc/scite/nimrod.properties
nncrontab.properties -> /etc/scite/nncrontab.properties
nsis.properties -> /etc/scite/nsis.properties
opal.properties -> /etc/scite/opal.properties
oscript.properties -> /etc/scite/oscript.properties
others.properties -> /etc/scite/others.properties
pascal.properties -> /etc/scite/pascal.properties
perl.properties -> /etc/scite/perl.properties
pov.properties -> /etc/scite/pov.properties
powerpro.properties -> /etc/scite/powerpro.properties
powershell.properties -> /etc/scite/powershell.properties
ps.properties -> /etc/scite/ps.properties
purebasic.properties -> /etc/scite/purebasic.properties
python.properties -> /etc/scite/python.properties
raku.properties -> /etc/scite/raku.properties
rebol.properties -> /etc/scite/rebol.properties
registry.properties -> /etc/scite/registry.properties
r.properties -> /etc/scite/r.properties
ruby.properties -> /etc/scite/ruby.properties
rust.properties -> /etc/scite/rust.properties
sas.properties -> /etc/scite/sas.properties
33 Dec  7 08:10 SciTEGlobal.properties -> /etc/scite/SciTEGlobal.properties
SciTE.properties -> /etc/scite/SciTE.properties
scriptol.properties -> /etc/scite/scriptol.properties
smalltalk.properties -> /etc/scite/smalltalk.properties
sorcins.properties -> /etc/scite/sorcins.properties
specman.properties -> /etc/scite/specman.properties
spice.properties -> /etc/scite/spice.properties
sql.properties -> /etc/scite/sql.properties
tacl.properties -> /etc/scite/tacl.properties
tal.properties -> /etc/scite/tal.properties
tcl.properties -> /etc/scite/tcl.properties
tex.properties -> /etc/scite/tex.properties
txt2tags.properties -> /etc/scite/txt2tags.properties
vb.properties -> /etc/scite/vb.properties
verilog.properties -> /etc/scite/verilog.properties
vhdl.properties -> /etc/scite/vhdl.properties
visualprolog.properties -> /etc/scite/visualprolog.properties
yaml.properties -> /etc/scite/yaml.properties

但是,将文件复制到该目录中的效果不如:

  • ~/.scite
  • ~/.config/scite/
  • ~/.local/share/

TexWorks就我个人而言,我发现 UI/UX 更加令人困惑,尽管我真的不喜欢 QT 应用程序,但我想我还是会使用它... :/

相关内容