diff options
Diffstat (limited to 'web2c')
-rw-r--r-- | web2c/contextcnf.lua | 29 |
1 files changed, 16 insertions, 13 deletions
diff --git a/web2c/contextcnf.lua b/web2c/contextcnf.lua index c7776b17e..da6e9e4fa 100644 --- a/web2c/contextcnf.lua +++ b/web2c/contextcnf.lua @@ -9,6 +9,13 @@ return { content = { + -- Originally there was support for engines and progname but I don't expect + -- other engines to use this file, so first engines were removed. After that + -- if made sense also to get rid of progname. At some point specific formats + -- will be supported but then as a subtable with fallbacks, which sounds more + -- natural. Also, at some point the paths will become tables. For the moment + -- I don't care too much about it as extending is easy. + variables = { -- The following variable is predefined (but can be overloaded) and in @@ -78,7 +85,7 @@ return { PYTHONINPUTS = ".;$CTXDEVPYPATH;$TEXMF/scripts/context/python", RUBYINPUTS = ".;$CTXDEVRBPATH;$TEXMF/scripts/context/ruby", LUAINPUTS = ".;$CTXDEVLUPATH;$TEXINPUTS;$TEXMF/scripts/context/lua//", - CLUAINPUTS = ".;$SELFAUTOLOC/lib/{$progname,$engine,}/lua//", + CLUAINPUTS = ".;$SELFAUTOLOC/lib/{context,luatex,}/lua//", -- Not really used by MkIV so they might go away. @@ -95,18 +102,6 @@ return { FONTCONFIG_PATH = "$TEXMFSYSTEM/fonts/conf", FC_CACHEDIR = "$TEXMFSYSTEM/fonts/cache", -- not needed - -- The io modes are similar to the traditional ones. Possible values - -- are all, paranoid and restricted. - - output_mode = "restricted", - input_mode = "any", - - -- The following variable is under consideration. We do have protection - -- mechanims but it's not enabled by default. - - command_mode = "any", -- any none list - command_list = "mtxrun, convert, inkscape, gs, imagemagick, curl, bibtex, pstoedit", - }, -- We have a few reserved subtables. These control runtime behaviour. The @@ -148,6 +143,14 @@ return { ["system.commandmode"] = "any", -- any none list ["system.commandlist"] = "mtxrun, convert, inkscape, gs, imagemagick, curl, bibtex, pstoedit", + -- Fonts. + + ["fonts.autoreload"] = "no", + + -- Viewer + + -- ["pdfview.method"] = "okular", -- default (often acrobat) xpdf okular + }, experiments = { |