Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«. What can this mean? Here is the log: open source > 1 > 1 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english system > 'cont-new.mkiv' loaded open source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'Untitled', input './Untitled', result 'Untitled' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/whintze/Desktop/LatexTests/Untitled.tex resolvers > modules > 'fancybreak' is already loaded fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded open source > 3 > 4 > /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex close source > 3 > 4 > /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex tex error > error on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Undefined control sequence l.7 \fancybreak {$***$} 1 \usemodule[fancybreak] 2 3 \starttext 4 5 \input knuth 6 7 >> \fancybreak{$***$} 8 9 \input ward 10 11 \stoptext ? tex error > error on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Emergency stop
Something I want to add: Now the problem has no more to do with Tdexnicle. I corected the script, and it works well now. When I don't use it, but make in the termini > context filename.tex, I get the same error message. On 19 Aug 2014, at 16:52, Werner Hintze wrote:
Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«.
What can this mean?
Here is the log:
open source > 1 > 1 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english
system > 'cont-new.mkiv' loaded open source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'Untitled', input './Untitled', result 'Untitled' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/whintze/Desktop/LatexTests/Untitled.tex resolvers > modules > 'fancybreak' is already loaded fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded open source > 3 > 4 > /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex close source > 3 > 4 > /usr/local/texlive/2014/texmf-dist/tex/context/sample/knuth.tex
tex error > error on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Undefined control sequence
l.7 \fancybreak {$***$}
1 \usemodule[fancybreak] 2 3 \starttext 4 5 \input knuth 6 7 >> \fancybreak{$***$} 8 9 \input ward 10 11 \stoptext
?
tex error > error on line 7 in file /Users/whintze/Desktop/LatexTests/Untitled.tex: ! Emergency stop
On 8/19/2014 5:05 PM, Werner Hintze wrote:
Something I want to add: Now the problem has no more to do with Tdexnicle. I corected the script, and it works well now. When I don't use it, but make in the termini > context filename.tex, I get the same error message.
On 19 Aug 2014, at 16:52, Werner Hintze wrote:
Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«.
What can this mean?
Here is the log:
open source > 1 > 1 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english
system > 'cont-new.mkiv' loaded open source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'Untitled', input './Untitled', result 'Untitled' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/whintze/Desktop/LatexTests/Untitled.tex resolvers > modules > 'fancybreak' is already loaded
I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all? Can you try the version from the contextgarden? Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 19.08.2014 um 19:02 schrieb Hans Hagen
On 8/19/2014 5:05 PM, Werner Hintze wrote:
Something I want to add: Now the problem has no more to do with Tdexnicle. I corected the script, and it works well now. When I don't use it, but make in the termini > context filename.tex, I get the same error message.
On 19 Aug 2014, at 16:52, Werner Hintze wrote:
Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«.
What can this mean?
Here is the log:
open source > 1 > 1 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english
system > 'cont-new.mkiv' loaded open source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'Untitled', input './Untitled', result 'Untitled' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/whintze/Desktop/LatexTests/Untitled.tex resolvers > modules > 'fancybreak' is already loaded
I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all?
It’s a bug in the commands.usemodules function in file-mod.lua which sets a wrong status value when you try to load a notexsitend file. Below is a minimal example where you get the right message when you uncomment the \enabledirectives line. %\enabledirectives[modules.permitunprefixed] \usemodule[funnyname] \starttext \stoptext Wolfgang
On 8/19/2014 7:16 PM, Wolfgang Schuster wrote:
Am 19.08.2014 um 19:02 schrieb Hans Hagen
mailto:pragma@wxs.nl>: On 8/19/2014 5:05 PM, Werner Hintze wrote:
Something I want to add: Now the problem has no more to do with Tdexnicle. I corected the script, and it works well now. When I don't use it, but make in the termini > context filename.tex, I get the same error message.
On 19 Aug 2014, at 16:52, Werner Hintze wrote:
Hi Wolfgang, I forgot to tell, what happes, when I try to compile your example. It’s just the same: There is a message in the log file: »Module already loaded« and the next one about fancybreak is »undefined control sequence«.
What can this mean?
Here is the log:
open source > 1 > 1 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-yes.mkiv
ConTeXt ver: 2014.05.21 22:04 MKIV beta fmt: 2014.8.19 int: english/english
system > 'cont-new.mkiv' loaded open source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv close source > 2 > 2 > /usr/local/texlive/2014/texmf-dist/tex/context/base/cont-new.mkiv system > files > jobname 'Untitled', input './Untitled', result 'Untitled' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /Users/whintze/Desktop/LatexTests/Untitled.tex resolvers > modules > 'fancybreak' is already loaded
I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all?
It’s a bug in the commands.usemodules function in file-mod.lua which sets a wrong status value when you try to load a notexsitend file. Below is a minimal example where you get the right message when you uncomment the \enabledirectives line.
%\enabledirectives[modules.permitunprefixed]
\usemodule[funnyname]
\starttext \stoptext
ok, so we should have: if not status or status == 0 then ----------------------------------------------------------------- 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 -----------------------------------------------------------------
Am 19.08.2014 um 21:02 schrieb Hans Hagen
I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all?
It’s a bug in the commands.usemodules function in file-mod.lua which sets a wrong status value when you try to load a notexsitend file. Below is a minimal example where you get the right message when you uncomment the \enabledirectives line.
%\enabledirectives[modules.permitunprefixed]
\usemodule[funnyname]
\starttext \stoptext
ok, so we should have:
if not status or status == 0 then
Won’t a change like this make more sense? Files without a prefix are only loaded when you enable the required directive. function commands.usemodules(prefix,askedname,truename) [...] if status then -- ok, don't change elseif find(truename,"%-") and usemodule(truename) then -- assume a user namespace report_modules("using user prefixed file %a",truename) status = 1 - elseif not permit_unprefixed then - -- forget about it - elseif usemodule(truename) then + elseif permit_unprefixed and usemodule(truename) then report_modules("using unprefixed file %a",truename) status = 1 else status = 0 end [...] end Wolfgang
On 8/19/2014 9:20 PM, Wolfgang Schuster wrote:
Am 19.08.2014 um 21:02 schrieb Hans Hagen
mailto:pragma@wxs.nl>: I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all?
It’s a bug in the commands.usemodules function in file-mod.lua which sets a wrong status value when you try to load a notexsitend file. Below is a minimal example where you get the right message when you uncomment the \enabledirectives line.
%\enabledirectives[modules.permitunprefixed]
\usemodule[funnyname]
\starttext \stoptext
ok, so we should have:
if not status or status == 0 then
Won’t a change like this make more sense?
Files without a prefix are only loaded when you enable the required directive.
function commands.usemodules(prefix,askedname,truename) [...] if status then -- ok, don't change elseif find(truename,"%-") and usemodule(truename) then -- assume a user namespace report_modules("using user prefixed file %a",truename) status = 1 - elseif not permit_unprefixed then - -- forget about it - elseif usemodule(truename) then + elseif permit_unprefixed and usemodule(truename) then report_modules("using unprefixed file %a",truename) status = 1 else status = 0 end [...] end
sure, i'd added a "status = 0" there but collapsing the else's makes more sense indeed Hans ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 19 Aug 2014, at 19:16, Wolfgang Schuster wrote:
It’s a bug in the commands.usemodules function in file-mod.lua which sets a wrong status value when you try to load a notexsitend file.
With your minimal example I get the message »file not found«. Does this mean, that context doesn’t find the module fancybreak? And what can I do? It’s in the right place – I believe...
On 19 Aug 2014, at 19:02, Hans Hagen wrote:
I see no message that the module is loaded which is weird. But your format is from may, so are you sure you use the latest versions of all?
I installed TexLive some days before from scratch because I made a reinstall for my Mac. This moment I looked for updates, but there was nothing So I think, it is the newest version.
Can you try the version from the contextgarden?
You mean the stand alone version? This one works without problems. It’s just the TextLive version which makes problems.
participants (3)
-
Hans Hagen
-
Werner Hintze
-
Wolfgang Schuster