Re: [NTG-context] Intsalling modules - once more

2014-08-19 Thread Werner Hintze
I made a new step: I found out how to change the script in Texnicle. It 
was for MKII, now I changed it to MKIV. It works well now. The problem 
is just the module fancybreak. When I try to use it, I get the message 
»Undefined control sequence«. Some lines before I find: »resolvers
modules  'fancybreak' is already loaded«.


This doesn’t happen with the stand alone. What is wrong here?

On 18 Aug 2014, at 19:40, Wolfgang Schuster wrote:


Am 18.08.2014 um 19:03 schrieb Werner Hintze w.hin...@posteo.eu:


On 18 Aug 2014, at 18:17, Aditya Mahajan wrote:

MkIV will not load .mkii files. What is the exact command that you 
use to run context?


Aha! You found the point! I use Texnicle as editor and the context 
engine Texnicle provides. It calls texexec... But it’s not enough 
to put here context. The problem remains, that I get the message, 
that fancy break is undefined.


What happens when you process this example with Texnicle:

\usemodule[fancybreak]

\starttext

\input knuth

\fancybreak{$***$}

\input ward

\stoptext

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
___

___
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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze
If nobody can tell me how to install the module ”fancybreak« on Mac 
OS (may be the question is too stupid), can anybody tell me where I find 
the needed information? The wiki doesn't help me because I don’t know 
$TEXMF.


Thanks!

WH
P.S.: I had no problem to install the module in the stand alone version. 
The problem is about the »normal« distribution (TexLive).

___
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] Intsalling modules - once more

2014-08-18 Thread Akira Kakuto

If nobody can tell me how to install the module ”fancybreak« on Mac OS ...


It may be OK by the following:

After checking files

/usr/local/texlive/texmf-local/doc/context/third/fancybreak/fancybreak-doc.pdf
/usr/local/texlive/texmf-local/doc/context/third/fancybreak/README
/usr/local/texlive/texmf-local/tex/context/interface/third/t-fancybreak.xml
/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii
/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkvi

(1) sudo mktexlsr
(2) context --generate

Best,
Akira

___
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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze
Thank you. The files are in the right places, I believe, it was only 
»sudo mktexlsr« lacking. (This is not mentioned in the wiki.


Unforunately it doesn't help. Now the module is found, but I get an 
error message when it is used. This seems to be an issue with the 
TextLive distribution, because it works fine with the stand alone. So I 
stick with t stand alone... ;)


Anyway: Thank you for your help.

W.

On 18 Aug 2014, at 10:55, Akira Kakuto wrote:

If nobody can tell me how to install the module ”fancybreak« on 
Mac OS ...


It may be OK by the following:

After checking files

/usr/local/texlive/texmf-local/doc/context/third/fancybreak/fancybreak-doc.pdf
/usr/local/texlive/texmf-local/doc/context/third/fancybreak/README
/usr/local/texlive/texmf-local/tex/context/interface/third/t-fancybreak.xml
/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii
/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkvi

(1) sudo mktexlsr
(2) context --generate

Best,
Akira

___
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
___

___
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] Intsalling modules - once more

2014-08-18 Thread Aditya Mahajan

On Mon, 18 Aug 2014, Werner Hintze wrote:

Thank you. The files are in the right places, I believe, it was only 
»sudo mktexlsr« lacking. (This is not mentioned in the wiki.


Unforunately it doesn't help. Now the module is found,


Are you using MkII? mktexlsr should not be needed for MkIV.

You can find the values of TEXMF (or any other variable set in texmf.cnf 
or texmfcnf.lua) by


For MkII

  kpsewhich --expand-var \$TEXMF


For MkIV

  mtxrun --expand-var TEXMF


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] Intsalling modules - once more

2014-08-18 Thread Wolfgang Schuster

Am 18.08.2014 um 10:15 schrieb Werner Hintze w.hin...@posteo.eu:

 If nobody can tell me how to install the module ”fancybreak« on Mac OS (may 
 be the question is too stupid), can anybody tell me where I find the needed 
 information? The wiki doesn't help me because I don’t know $TEXMF.

You can unzip the content of the zip-file in your local tex tree.

To use the local tex tree create a folder with the name “texmf” in your home 
directory (or in the hidden Library folder in your home directory AFAIR) and 
context should find the module.

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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze
I don’t know if I use MKII or not. I understood that not. But in the 
log file I see something about the module for MKII:


system  : module fancybreak (mkii) loaded
(/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii
loading : ConTeXt User Module / Fancybreak
)
regime  : unknown regime de, utf
check   : missing or ungrouped '=' after 'medium' in line 60 
(@@dseinru

eckung)
! Missing number, treated as zero.
to be read again
   e
\currentindentation -e
   inrueckung
\assigndimension ...xpandafter \endcsname \else #1
  \expandafter 
\gobblethreea...


\simplesetupindenting ...ndentation \ctxparindent
  {1em}{1.5em}{2em}
\next1 #1,-\docomplexsetupindentingA {#1}
  \doprocesscommaitem
\doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global 
\advance \...

...
l.61 \setupindenting[einrueckung]

?
! Emergency stop.

No idea what this means. Anyway: It means that I can’t use it with 
context in TexLive, but with the stand alone. So I can use it as before 
and all is well.


On 18 Aug 2014, at 15:31, Aditya Mahajan wrote:


On Mon, 18 Aug 2014, Werner Hintze wrote:

Thank you. The files are in the right places, I believe, it was only 
»sudo mktexlsr« lacking. (This is not mentioned in the wiki.


Unforunately it doesn't help. Now the module is found,


Are you using MkII? mktexlsr should not be needed for MkIV.

You can find the values of TEXMF (or any other variable set in 
texmf.cnf or texmfcnf.lua) by


For MkII

kpsewhich --expand-var \$TEXMF


For MkIV

mtxrun --expand-var TEXMF


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
___

___
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] Intsalling modules - once more

2014-08-18 Thread Wolfgang Schuster

Am 18.08.2014 um 16:41 schrieb Werner Hintze w.hin...@posteo.eu:

 I don’t know if I use MKII or not. I understood that not. But in the log file 
 I see something about the module for MKII:
 
 system  : module fancybreak (mkii) loaded
 (/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii
 loading : ConTeXt User Module / Fancybreak
 )
 regime  : unknown regime de, utf
 check   : missing or ungrouped '=' after 'medium' in line 60 
 (@@dseinru
 eckung)
 ! Missing number, treated as zero.
 to be read again
   e
 \currentindentation -e
   inrueckung
 \assigndimension ...xpandafter \endcsname \else #1
  \expandafter \gobblethreea...
 
 \simplesetupindenting ...ndentation \ctxparindent
  {1em}{1.5em}{2em}
 \next1 #1,-\docomplexsetupindentingA {#1}
  \doprocesscommaitem
 \doprocesscommalist ...item \gobbleoneargument #1,
  ]\relax \global \advance \...
 ...
 l.61 \setupindenting[einrueckung]

Your problem is the line above where you use “einrueckung” as keyword
for \setupindenting which is invalid and causes the error message.

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] Intsalling modules - once more

2014-08-18 Thread Aditya Mahajan

On Mon, 18 Aug 2014, Werner Hintze wrote:


I don’t know if I use MKII or not.


(Simplified version). If you compile the file using `context filename` 
you are using MkIV; if you compile the file using `texexec filename` you 
are using MkII.


Unless you have a really good reason to stick to MkII (legacy code, etc), 
use MkIV.


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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze

On 18 Aug 2014, at 15:42, Wolfgang Schuster wrote:


You can unzip the content of the zip-file in your local tex tree.


This was my first try. And the first time I saw the message »module not 
found«. After this I looked in the wiki and used the other path 
(/usr/local etc.) — with the same result »module not found«...

___
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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze

On 18 Aug 2014, at 16:56, Wolfgang Schuster wrote:
Your problem is the line above where you use “einrueckung” as 
keyword

for \setupindenting which is invalid and causes the error message.

Aha. Strange. When I use the stand alone version, this is no problem. 
And if I comment out the lines with »einrueckung« (it’s no illegal, 
I defined it), I get the message, that \defineconversionset is illegal. 
But there is no problem if I use the stand alone version. Hmm...

___
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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze

Well: I use MKIV.

On 18 Aug 2014, at 17:05, Aditya Mahajan wrote:


On Mon, 18 Aug 2014, Werner Hintze wrote:


I don’t know if I use MKII or not.


(Simplified version). If you compile the file using `context filename` 
you are using MkIV; if you compile the file using `texexec filename` 
you are using MkII.


Unless you have a really good reason to stick to MkII (legacy code, 
etc), use MkIV.


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
___

___
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] Intsalling modules - once more

2014-08-18 Thread Aditya Mahajan

On Mon, 18 Aug 2014, Werner Hintze wrote:


On 18 Aug 2014, at 17:05, Aditya Mahajan wrote:


On Mon, 18 Aug 2014, Werner Hintze wrote:


I don’t know if I use MKII or not.


(Simplified version). If you compile the file using `context filename` 
you are using MkIV; if you compile the file using `texexec filename` 
you are using MkII.


Unless you have a really good reason to stick to MkII (legacy code, 
etc), use MkIV.


Well: I use MKIV.


From your previous message:


system  : module fancybreak (mkii) loaded


(/usr/local/texlive/texmf-local/tex/context/third/fancybreak/t-fancybreak.mkii

loading : ConTeXt User Module / Fancybreak



MkIV will not load .mkii files. What is the exact command that you use to 
run context?


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] Intsalling modules - once more

2014-08-18 Thread Werner Hintze

On 18 Aug 2014, at 18:17, Aditya Mahajan wrote:

MkIV will not load .mkii files. What is the exact command that you use 
to run context?


Aha! You found the point! I use Texnicle as editor and the context 
engine Texnicle provides. It calls texexec... But it’s not enough to 
put here context. The problem remains, that I get the message, that 
fancy break is undefined.


OK. That’s enough. I stay with the stand alone version. I don’t know 
why, but it works.


(It was just the point that I have two times context on my hard disk. I 
could delete LaTeX, but I fell the moment apporaching when I turn back 
to LaTeX. It’s a pity... Context is by far the better system – in 
all points but one: If one don’t know how to use it, one will never 
know...)


Anyway: Thanks for the help.

W.
___
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] Intsalling modules - once more

2014-08-18 Thread Wolfgang Schuster

Am 18.08.2014 um 19:03 schrieb Werner Hintze w.hin...@posteo.eu:

 On 18 Aug 2014, at 18:17, Aditya Mahajan wrote:
 
 MkIV will not load .mkii files. What is the exact command that you use to 
 run context?
 
 Aha! You found the point! I use Texnicle as editor and the context engine 
 Texnicle provides. It calls texexec... But it’s not enough to put here 
 context. The problem remains, that I get the message, that fancy break is 
 undefined.

What happens when you process this example with Texnicle:

\usemodule[fancybreak]

\starttext

\input knuth

\fancybreak{$***$}

\input ward

\stoptext

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
___