Re: [NTG-context] beta (itemize fit-option)
Am 26.03.2011 um 20:24 schrieb Andreas Harder: Hi all, the fit-option in itemize-environments seem to be broken. Can someone confirm this? strc-itm.mkiv (wrong order of arguments for \simplealignedbox): \def\dolistitem % evt aantal items opslaan per niveau, scheelt zoeken {\ifconditional\textlistitem ... \ifconditional\fittinglistitems \ifdim\wd\itemgroupitembox\getitemparameter\currentitemlevel\c!maxwidth sp\relax \xsetitemparameter\currentitemlevel\c!maxwidth{\number\wd\itemgroupitembox}% \fi \ifdim\currentitemmaxwidth\zeropoint \setbox\itemgroupitembox\simplealignedbox -{\getitemparameter\currentitemlevel\c!itemalign} - {\dimexpr\currentitemmaxwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\dimexpr\currentitemmaxwidth+\getitemparameter\currentitemlevel\c!distance\relax} +{\getitemparameter\currentitemlevel\c!itemalign} {\box\itemgroupitembox\hskip\getitemparameter\currentitemlevel\c!distance}% \fi \else\ifdim\itemgroupaskedwidth\zeropoint \doifsomething{\getitemparameter\currentitemlevel\c!itemalign} {\setbox\itemgroupitembox\simplealignedbox - {\getitemparameter\currentitemlevel\c!itemalign} - {\dimexpr\itemgroupaskedwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\dimexpr\itemgroupaskedwidth+\getitemparameter\currentitemlevel\c!distance\relax} + {\getitemparameter\currentitemlevel\c!itemalign} {\box\itemgroupitembox\hskip\getitemparameter\currentitemlevel\c!distance}}% \fi\fi ... \ignorespaces} Wolfgang ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Am 26.03.2011 um 22:04 schrieb Thomas Schmitz: I may be misunderstanding things, but I can't get my font features to work with the latest beta, possibly because of this change, or I'm doing something wrong. font-ini.mkiv (enable \inheritfromfontclass): - \newconditional\inheritfromfontclass % used in \definefont and \definedfont + \newconditional\inheritfromfontclass \settrue\inheritfromfontclass % used in \definefont and \definedfont font-ctx.lua (check “classfeatures” before “fontfeatures”): function definers.stage_two(global,cs,str,size,classfeatures,fontfeatures,classfallbacks,fontfallbacks, mathsize,textsize,relativeid,classgoodies,goodies) ... if detail and detail ~= then specification.method, specification.detail = method or *, detail elseif specification.detail and specification.detail ~= then -- already set - elseif fontfeatures and fontfeatures ~= then - specification.method, specification.detail = *, fontfeatures - elseif classfeatures and classfeatures ~= then - specification.method, specification.detail = *, classfeatures + elseif classfeatures and classfeatures ~= then + specification.method, specification.detail = *, classfeatures + elseif fontfeatures and fontfeatures ~= then + specification.method, specification.detail = *, fontfeatures end ... statistics.stoptiming(fonts) end Wolfgang ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
Am 27.03.2011 um 00:22 schrieb Marco: On 2011-03-27 Pontus Lurcock p...@talvi.net wrote: On Sat 26 Mar 2011, Marco wrote: How to indent the paragraph after a \placefigure? http://wiki.contextgarden.net/Reference/en/setupindenting says that \setupfloats[indentnext=yes] should give the desired result. (I haven't tested it, though.) According to the manual \setupfloats[indentnext=yes] is the default behaviour. But it's not working, same result here: It works when you drop the “auto” keyword. Wolfgang ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Sun, 27 Mar 2011 08:52:38 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.03.2011 um 22:04 schrieb Thomas Schmitz: I may be misunderstanding things, but I can't get my font features to work with the latest beta, possibly because of this change, or I'm doing something wrong. font-ini.mkiv (enable \inheritfromfontclass): - \newconditional\inheritfromfontclass % used in \definefont and \definedfont + \newconditional\inheritfromfontclass \settrue\inheritfromfontclass % used in \definefont and \definedfont font-ctx.lua (check classfeatures before fontfeatures): function definers.stage_two(global,cs,str,size,classfeatures,fontfeatures,classfallbacks,fontfallbacks, mathsize,textsize,relativeid,classgoodies,goodies) ... if detail and detail ~= then specification.method, specification.detail = method or *, detail elseif specification.detail and specification.detail ~= then -- already set - elseif fontfeatures and fontfeatures ~= then - specification.method, specification.detail = *, fontfeatures - elseif classfeatures and classfeatures ~= then - specification.method, specification.detail = *, classfeatures + elseif classfeatures and classfeatures ~= then + specification.method, specification.detail = *, classfeatures + elseif fontfeatures and fontfeatures ~= then + specification.method, specification.detail = *, fontfeatures end ... statistics.stoptiming(fonts) end Wolfgang Wolfgang, thanks a lot. This works with the minimal example I have created but breaks with a real file. I need to go deeper and construct another example. In the meantime, here's the error: system logs lua: compiling /home/tas/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tma into /home/tas/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/data/names.tmc fontsnames accessing the data table failed fontsotf loading loading: /home/tas/context/tex/texmf/fonts/opentype/gust/poltawski/antpolt-regular.otf (hash: antpolt-regular-oxoniensis) fontsotf loading font loaded okay fontsotf loading file size: 131876 mtx-context | fatal error: no return code, message: luatex: execution interrupted% The document doesn't use the poltawski font, so I'm very puzzled about the error message. Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On 27-3-2011 8:52, Wolfgang Schuster wrote: Am 26.03.2011 um 22:04 schrieb Thomas Schmitz: I may be misunderstanding things, but I can't get my font features to work with the latest beta, possibly because of this change, or I'm doing something wrong. font-ini.mkiv (enable \inheritfromfontclass): - \newconditional\inheritfromfontclass % used in \definefont and \definedfont + \newconditional\inheritfromfontclass \settrue\inheritfromfontclass % used in \definefont and \definedfont indeed (actually this conditional is introduced because i noticed that there was unexpected inheritance going on - esp the mp default font) font-ctx.lua (check “classfeatures” before “fontfeatures”): function definers.stage_two(global,cs,str,size,classfeatures,fontfeatures,classfallbacks,fontfallbacks, mathsize,textsize,relativeid,classgoodies,goodies) ... if detail and detail ~= then specification.method, specification.detail = method or *, detail elseif specification.detail and specification.detail ~= then -- already set - elseif fontfeatures and fontfeatures ~= then - specification.method, specification.detail = *, fontfeatures - elseif classfeatures and classfeatures ~= then - specification.method, specification.detail = *, classfeatures + elseif classfeatures and classfeatures ~= then + specification.method, specification.detail = *, classfeatures + elseif fontfeatures and fontfeatures ~= then + specification.method, specification.detail = *, fontfeatures end ... statistics.stoptiming(fonts) end hm, so class features should always win? maybe we should make that configureable .. i cannot oversee the implication of this - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Sun, 27 Mar 2011 13:05:38 +0200 Hans Hagen pra...@wxs.nl wrote: hm, so class features should always win? maybe we should make that configureable .. i cannot oversee the implication of this I'm still trying to make a minimal example for my errors. It has something to do with lookups in a fea file (which work with version 11-02-25). I'm pretty unhappy atm, many of my custom fonts typescripts do not work as they used to... Thomas ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On Mar 26, 2011, at 12:42 , Hans Hagen wrote: On 26-3-2011 2:16, Li Yanrui (李延瑞) wrote: 2011/3/26 Hans Hagenpra...@wxs.nl: Hi, I uploaded a new beta. The protrusion does not work. I have tested it with the example in http://wiki.contextgarden.net/Protrusion#MkIV fixed in next upload Thanks. Is there a way to enable protrusion for figure captions? Florian ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On 2011-03-27 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 27.03.2011 um 00:22 schrieb Marco: On 2011-03-27 Pontus Lurcock p...@talvi.net wrote: On Sat 26 Mar 2011, Marco wrote: How to indent the paragraph after a \placefigure? http://wiki.contextgarden.net/Reference/en/setupindenting says that \setupfloats[indentnext=yes] should give the desired result. (I haven't tested it, though.) According to the manual \setupfloats[indentnext=yes] is the default behaviour. But it's not working, same result here: It works when you drop the “auto” keyword. Thanks. I don't really get the reason behind, but it works. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
Hi Wolfgang - \newconditional\inheritfromfontclass % used in \definefont and \definedfont + \newconditional\inheritfromfontclass \settrue\inheritfromfontclass % used in \definefont and \definedfont I now have: \setnewconstant\featureinheritancefontnone \zerocount \setnewconstant\featureinheritancefontonly \plusone \setnewconstant\featureinheritanceclassonly \plustwo \setnewconstant\featureinheritancefontfirst \plusthree \setnewconstant\featureinheritanceclassfirst\plusfour \setnewconstant\featureinheritancedefault \featureinheritancefontfirst \setnewconstant\featureinheritancemode \featureinheritancedefault to play with - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On 27-3-2011 1:21, Florian Wobbe wrote: On Mar 26, 2011, at 12:42 , Hans Hagen wrote: On 26-3-2011 2:16, Li Yanrui (李延瑞) wrote: 2011/3/26 Hans Hagenpra...@wxs.nl: Hi, I uploaded a new beta. The protrusion does not work. I have tested it with the example in http://wiki.contextgarden.net/Protrusion#MkIV fixed in next upload Thanks. Is there a way to enable protrusion for figure captions? just set up the align for captions - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta
On 26-3-2011 11:00, mathew wrote: ! LuaTeX errormain ctx instance:35: attempt to index field 'iterators' (a nil value) will be fixed -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (itemize fit-option)
On 27-3-2011 8:06, Wolfgang Schuster wrote: \def\dolistitem % evt aantal items opslaan per niveau, scheelt zoeken thanks, fixed - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Include path
I defined some things I will use often. At the moment I do something like: \input /home/cecil/Documenten/context/include/standard-init.inc But I would prefer to do something like: \input standard-init.inc Is shorter and when the path changes there is nothing to update. How should I implement this? Also is it possible to \input a file relative to the current document? For example in my standard-init.inc I have: \ctxloadluafile{/home/cecil/Documenten/context/include/lua/getdate} but I would prefer something like: \ctxloadluafile{lua/getdate} -- Cecil Westerhof ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
Am 26.03.2011 um 23:37 schrieb Marco: How to indent the paragraph after a \placefigure? Example: \setupindenting [yes, medium] \starttext This line is indented as intended. \placefigure[auto][fig:somefigure]{My graphic}{} This is not, but I'd like it to be. This line is fine. \stoptext Not sure if there are side effects but adding \nonoindentation to these two commands from strc-flt.mkiv help for the “auto” and “bottom” keywords. - \def\somebottomfloat [#1]{\someelsefloat[#1]} - \def\someautofloat [#1]{\someelsefloat[#1]} + \def\someautofloat [#1]{\someelsefloat[#1]\nonoindentation} + \def\somebottomfloat [#1]{\someelsefloat[#1]\nonoindentation} Wolfgang ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Include path
Am 27.03.2011 um 19:41 schrieb Cecil Westerhof: I defined some things I will use often. At the moment I do something like: \input /home/cecil/Documenten/context/include/standard-init.inc But I would prefer to do something like: \input standard-init.inc Is shorter and when the path changes there is nothing to update. How should I implement this? Make a module out of the code and put it in texmf-local. Wolfgang ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Include path
On Sun, 27 Mar 2011, Wolfgang Schuster wrote: Am 27.03.2011 um 19:41 schrieb Cecil Westerhof: I defined some things I will use often. At the moment I do something like: \input /home/cecil/Documenten/context/include/standard-init.inc But I would prefer to do something like: \input standard-init.inc Is shorter and when the path changes there is nothing to update. How should I implement this? Make a module out of the code and put it in texmf-local. Or modify TEXINPUTS and LUAINPUTS variables. Aditya ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Include path
2011/3/27 Aditya Mahajan adit...@umich.edu I defined some things I will use often. At the moment I do something like: \input /home/cecil/Documenten/context/include/standard-init.inc But I would prefer to do something like: \input standard-init.inc Is shorter and when the path changes there is nothing to update. How should I implement this? Make a module out of the code and put it in texmf-local. Or modify TEXINPUTS and LUAINPUTS variables. Both where not defined in my environment. I now have defined: export TEXINPUTS=.:${TEXROOT}:${HOME}/ConTeXt-inc This takes care of my defined stuff. There is only one problem. I do: \usemodule[fancybreak] \definefancybreak[myblank][indentnext=no] This worked before, but now I get: resolversmodules not found: 'fancybreak' ! Undefined control sequence. system tex error on line 27 in file /home/cecil/ConTeXt-inc/layout-init.inc: Undefined control sequence ... 17 \setuphead[subsection][before={\myblank[big,small] \testpage[10]},style={\bf}] 18 19 \setuppagenumbering[state=stop] 20 21 \definelayout[pagenumbers][ 22 footer=10mm, 23 ] 24 25 \usemodule[fancybreak] 26 27 \definefancybreak[myblank][indentnext=no] What else do I have to do? -- Cecil Westerhof ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Include path
Aditya Mahajan adit...@umich.edu writes: Or modify TEXINPUTS and LUAINPUTS variables. I remember, that setting TEXINPUTS is not recommended. See also: http://wiki.contextgarden.net/Mark_IV#Troubleshooting Did that change? -- Peter ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Include path
2011/3/27 Peter Münster pmli...@free.fr Aditya Mahajan adit...@umich.edu writes: Or modify TEXINPUTS and LUAINPUTS variables. I remember, that setting TEXINPUTS is not recommended. See also: http://wiki.contextgarden.net/Mark_IV#Troubleshooting The mentioned problem is circumvented by using: export TEXINPUTS=.:${TEXROOT}:${HOME}/ConTeXt-inc The dot makes that first is looked in the current directory. But the module fancybreak is not found. So there is still a problem. -- Cecil Westerhof ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Symbols Martin Vogel
Hi, the following used to work: \usesymbols[mvs] \setupsymbolset[martinvogel 2] \starttext \symbol[HollowBox] \stoptext However with Context 2011.03.27 14:48 I get the following error: ! LuaTeX error main ctx instance:1: attempt to call field 'char' (a nil value) stack traceback: main ctx instance:1: in main chunk. ... \getnamedglyphdirect ...\ctxlua {fonts.char(#2)} } \dodosymbol ...bol \csname \??ss :#1:#2\endcsname \relax }\relax \fetchsymbol ... {\dodosymbol {#1}\currentsymbol } \fi inserted text \fetchsymbol {martinvogel 2} \fetchsymbol {navigation 1} \donormalsymbol ...\ifnosymbol \the \symbolsetups \ifnosymbol \redosymbol \c... \dodoubleemptyonespaced #1#2-#1[{#2}][] What do I miss? Kind regards Willi ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On 2011-03-27 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Not sure if there are side effects but adding \nonoindentation to these two commands from strc-flt.mkiv help for the “auto” and “bottom” keywords. - \def\somebottomfloat [#1]{\someelsefloat[#1]} - \def\someautofloat [#1]{\someelsefloat[#1]} + \def\someautofloat [#1]{\someelsefloat[#1]\nonoindentation} + \def\somebottomfloat [#1]{\someelsefloat[#1]\nonoindentation} This works for me. Seems to be the best solution. Maye Hans can check if it causes side effects and change it in the source if it's unlikely to cause troubles. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Include path
2011/3/27 Cecil Westerhof cldwester...@gmail.com I defined some things I will use often. At the moment I do something like: \input /home/cecil/Documenten/context/include/standard-init.inc But I would prefer to do something like: \input standard-init.inc Is shorter and when the path changes there is nothing to update. How should I implement this? Also is it possible to \input a file relative to the current document? For example in my standard-init.inc I have: \ctxloadluafile{/home/cecil/Documenten/context/include/lua/getdate} but I would prefer something like: \ctxloadluafile{lua/getdate} For the moment I defined a shell variable. I just have to call context like this: context --path=${TEX_INC} ebookTimeManagement Does not work for lua files, but they will only be loaded from included files -I think-, so that is less of a problem. -- Cecil Westerhof ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On Sun 27 Mar 2011, Marco wrote: It works when you drop the “auto” keyword. Thanks. I don't really get the reason behind, but it works. When I drop the ‘auto’ keyword it defaults to ‘here’, which does give the indentation (presumably because the figure now appears in the output at the same place as the \placefigure in the input) but it doesn't solve the problem for cases where the figure needs to be somewhere other than ‘here’. Pont ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On 2011-03-28 Pontus Lurcock p...@talvi.net wrote: On Sun 27 Mar 2011, Marco wrote: It works when you drop the “auto” keyword. Thanks. I don't really get the reason behind, but it works. When I drop the ‘auto’ keyword it defaults to ‘here’, which does give the indentation (presumably because the figure now appears in the output at the same place as the \placefigure in the input) but it doesn't solve the problem for cases where the figure needs to be somewhere other than ‘here’. Same here. But if you provide »top« for instance, then it works. Wolfgang came up with a better solution, see his post in this thread. Maybe the patch will go into the core. Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On Sun 27 Mar 2011, Marco wrote: Same here. But if you provide »top« for instance, then it works. Looking at strc-flt.mkiv, the reason appears to be that the \nonoindent which Wolfgang added to ‘bottom’ and ‘auto’ is alreday present in ‘top’ and ‘margin’. Pont ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On 27-3-2011 11:14, Pontus Lurcock wrote: On Sun 27 Mar 2011, Marco wrote: It works when you drop the “auto” keyword. Thanks. I don't really get the reason behind, but it works. When I drop the ‘auto’ keyword it defaults to ‘here’, which does give the indentation (presumably because the figure now appears in the output at the same place as the \placefigure in the input) but it doesn't solve the problem for cases where the figure needs to be somewhere other than ‘here’. i can make that work but not now (mkiv-ing floats in later on the agenda) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Symbols Martin Vogel
On 27-3-2011 9:13, Willi Egger wrote: Hi, the following used to work: \usesymbols[mvs] \setupsymbolset[martinvogel 2] \starttext \symbol[HollowBox] \stoptext However with Context 2011.03.27 14:48 I get the following error: ! LuaTeX errormain ctx instance:1: attempt to call field 'char' (a nil value) stack traceback: fixed tomorrow - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] focus=standard not respected
In the following example the page focus jumps back to »fit« after clicking on the footnote number after »Foo«, although »focus=standard« is set. \setupinteraction [state=start, focus=standard] \starttext Foo \startfootnote Bar \stopfootnote \stoptext How to respect the users scaling factor? BTW: Is there a particular reason why »focus=fit« is the default? Why should the page scaling change because the user clicked on a hyperlink? Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indent paragraph after \placefigure
On 2011-03-28 Hans Hagen pra...@wxs.nl wrote: On 27-3-2011 11:14, Pontus Lurcock wrote: On Sun 27 Mar 2011, Marco wrote: It works when you drop the “auto” keyword. Thanks. I don't really get the reason behind, but it works. When I drop the ‘auto’ keyword it defaults to ‘here’, which does give the indentation (presumably because the figure now appears in the output at the same place as the \placefigure in the input) but it doesn't solve the problem for cases where the figure needs to be somewhere other than ‘here’. i can make that work but not now (mkiv-ing floats in later on the agenda) Better later than never :) Marco ___ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___