Intsalling modules - once more
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
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 ___________________________________________________________________________________
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
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 ___________________________________________________________________________________
Am 18.08.2014 um 16:41 schrieb 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]
Your problem is the line above where you use “einrueckung” as keyword for \setupindenting which is invalid and causes the error message. Wolfgang
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...
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
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 ___________________________________________________________________________________
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
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.
Am 18.08.2014 um 19:03 schrieb 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.
What happens when you process this example with Texnicle: \usemodule[fancybreak] \starttext \input knuth \fancybreak{$***$} \input ward \stoptext Wolfgang
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
: 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 ___________________________________________________________________________________
participants (4)
-
Aditya Mahajan
-
Akira Kakuto
-
Werner Hintze
-
Wolfgang Schuster