Re: [NTG-context] simpleslides placeTitle undefined control sequence
Am 17.11.2012 um 19:58 schrieb Ondřej Hošek ondra.ho...@gmail.com: On Sat, Nov 17, 2012 at 9:21 AM, Thomas A. Schmitz thomas.schm...@uni-bonn.de wrote: Or wait: did you download the modules during the last three days? I may have uploaded a wrong version; can you try again with the latest? Just to be sure, I re-downloaded ConTeXt Standalone (it's now on 2012.11.16), unpacked the newest simpleslides from modules.contextgarden.net in texmf-modules (overwriting the existing files), and, compiling my minimal example, got the same error. I can confirm that the wiki still has the wrong version. For what it's worth, I don't know how happy mkiv is with \doattributes and \dostartattributes. Both commands are still working but when you write new code use the new macros from mult-aux.mkiv to set style and color values. 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 ___
[NTG-context] typesetting juxtapositions
Dear List, how would I go on to typeset a document like the attached one? Thanks in advance Erik test.pdf Description: Adobe PDF document ___ 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] typesetting juxtapositions
Am 18.11.2012 um 12:24 schrieb Erik Margraf erik.marg...@gmail.com: Dear List, how would I go on to typeset a document like the attached one? \setupindenting[yes,medium] \starttext \input tufte \offsetbox[x=2cm]\vbox{\begstrut\input tufte\endstrut} \input tufte \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 ___
Re: [NTG-context] Paths for ConTeXt in Texworks
Am 16.11.2012 18:31, schrieb ntg-context-requ...@ntg.nl: So which paths I have to add to get the standalone version working with texworks? Have you tried the procedure inhttp://wiki.contextgarden.net/Setting_up_TeXworks ? Michael Thank you. Yes, now I did. And this is the result: mtxrun | kpse fallback with progname 'context' initialized in 0.078 seconds This is the only line in the editor after compiling. And mtxrun --generate did not help. What does that error means? Is still any path missing? (I added various different pathes into the context directory. Huseyin ___ 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] typesetting juxtapositions
On 11/18/2012 12:43 PM, Wolfgang Schuster wrote: Am 18.11.2012 um 12:24 schrieb Erik Margraf erik.marg...@gmail.com: Dear List, how would I go on to typeset a document like the attached one? \setupindenting[yes,medium] \starttext \input tufte \offsetbox[x=2cm]\vbox{\begstrut\input tufte\endstrut} \input tufte \stoptext or, depending on how much there is \definenarrower[Common][left=3cm,right=3cm] \definenarrower[One][Common][default=right] \definenarrower[Two][Common][default=left] \setuplayout [backspace=1cm, width=middle, topspace=1cm, height=middle, footer=0cm, header=0cm] \setupbodyfont [10pt] \setupwhitespace [big] \starttext \startOne \input ward \stopOne \startTwo \input ward \stopTwo \stoptext - 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] Paths for ConTeXt in Texworks
On 11/18/2012 12:44 PM, H. Özoguz wrote: Am 16.11.2012 18:31, schrieb ntg-context-requ...@ntg.nl: So which paths I have to add to get the standalone version working with texworks? Have you tried the procedure inhttp://wiki.contextgarden.net/Setting_up_TeXworks ? Michael Thank you. Yes, now I did. And this is the result: mtxrun | kpse fallback with progname 'context' initialized in 0.078 seconds This is the only line in the editor after compiling. And mtxrun --generate did not help. What does that error means? Is still any path missing? (I added various different pathes into the context directory. are you runing the stand alone distribution? if so, just adding root/tex/texmf-platform/bin to the binary path should work ok 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 - ___ 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] Paths for ConTeXt in Texworks
Am 18.11.2012 12:54, schrieb Hans Hagen: Thank you. Yes, now I did. And this is the result: mtxrun | kpse fallback with progname 'context' initialized in 0.078 seconds This is the only line in the editor after compiling. And mtxrun --generate did not help. What does that error means? Is still any path missing? (I added various different pathes into the context directory. are you runing the stand alone distribution? if so, just adding root/tex/texmf-platform/bin to the binary path should work ok Hans Yes I do, and already added this path. But this gives the above error. Maybe I should add anything in the environment variables, too? (Im using Win7) Huseyin ___ 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] simpleslides placeTitle undefined control sequence
On 11/17/2012 07:58 PM, Ondřej Hošek wrote: Just to be sure, I re-downloaded ConTeXt Standalone (it's now on 2012.11.16), unpacked the newest simpleslides from modules.contextgarden.net in texmf-modules (overwriting the existing files), and, compiling my minimal example, got the same error. For what it's worth, I don't know how happy mkiv is with \doattributes and \dostartattributes. Sorry, my bad - new revision, can you try again? 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] Paths for ConTeXt in Texworks
Am 18.11.2012 12:54, schrieb Hans Hagen: are you runing the stand alone distribution? if so, just adding root/tex/texmf-platform/bin to the binary path should work ok Hans I do not know what the mistake was. But after several tries, now it works! ___ 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] Installing Modules
Now I have finally installed the ConTeXt standalone version. To try Wolfgangs module annotation I installed it with: first-setup --modules=annotation and it seemed to work. But if I try then \usemodule[annotation] \defineannotation[inlinequote][alternative=quotation] \starttext test \stoptext it comes the error: ++ specials: loading definition file tpd (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-tpd.mkii specials : loading definition file fdf (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-fdf.mkii)) system : module annotation not found ! Undefined control sequence. l.3 \defineannotation [inlinequote][alternative=quotation] +++ So how to install this module correctly? Thanks. Huseyin ___ 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] Installing Modules
Am 18.11.2012 um 14:06 schrieb H. Özoguz h.oezo...@mmnetz.de: Now I have finally installed the ConTeXt standalone version. To try Wolfgangs module annotation I installed it with: first-setup --modules=annotation and it seemed to work. But if I try then \usemodule[annotation] \defineannotation[inlinequote][alternative=quotation] \starttext test \stoptext it comes the error: ++ specials: loading definition file tpd (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-tpd.mkii specials : loading definition file fdf (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-fdf.mkii)) system : module annotation not found ! Undefined control sequence. l.3 \defineannotation [inlinequote][alternative=quotation] +++ So how to install this module correctly? 1. When you want only the annotation module you have to install it with first-setup --modules=t-annotation (note the t-prefix), you can also install all available modules with first-setup --modules=all. 2. The module is MkIV only, to use MkIV process your document with “context filename”. 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 ___
[NTG-context] Problems with Standalone ConTeXt
After installing the standalone version (was quite hard for me with TexWorks), now several problems arises. The simplest document \starttext Test \stoptest compiles without problems. But my book gives now several errors. F.e.: + C:/Users/Hussein/context/tex/texmf-context/scripts/context/ruby/base/switch.rb:21: Use RbConfig instead of obsolete and deprecated Config. TeXExec | processing document 'main_inderschule.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file main_inderschule.top TeXExec | using randomseed 516 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en.mkii This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2012/W32TeX) \write18 enabled. entering extended mode (./main_inderschule.tex ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.11.18 int: english/english system : cont-new.mkii loaded (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/cont-new.mkii systems : beware: some patches loaded from cont-new.mkii ) system : cont-sys.rme loaded (c:/Users/Hussein/context/tex/texmf-context/tex/context/user/cont-sys.rme (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/type-siz.mkii) (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/type-one.mkii)) system : main_inderschule.top loaded (./main_inderschule.top) bodyfont : 12pt rm is loaded language : patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 us- ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3 da-ec:ec-6-2:2 sv-ec:ec-7-2:2 af-ec:ec-8-2:2 gb-ec:ec-9-2:2 fr-texnansi:texnansi-1 0-2:2 fr-ec:ec-11-2:2 es-ec:ec-12-2:2 ca-ec:ec-13-2:2 it-texnansi:te xnansi-14-2:2 it-ec:ec-15-2:2 la-ec:ec-16-2:2 pt-texnansi:texnansi-17 -2:2 pt-ec:ec-18-2:2 ro-ec:ec-19-2:2 pl-pl0:pl0-20-2:2 pl-ec:ec-21- 2:2 pl-qx:qx-22-2:2 cs-il2:il2-23-2:2 cs-ec:ec-24-2:2 sk-il2:il2-25 -2:2 sk-ec:ec-26-2:2 hr-ec:ec-27-2:2 sl-ec:ec-28-2:2 tr-ec:ec-29-2 :2 tk-ec:ec-30-1:2 lt-l7x:l7x-31-2:2 agr-agr:agr-33-2:2 fi-ec:ec-34- 2:2 hu-ec:ec-35-2:2 ru-t2a:t2a-37-2:2 uk-t2a:t2a-38-3:3 loaded specials : dvips loaded systems : system commands are enabled language : language en is active specials : loading definition file tpd (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-tpd.mkii specials : loading definition file fdf (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-fdf.mkii)) systems : begin file arab_inderschule at line 2 (./arab_inderschule.tex ! Undefined control sequence. l.5 \definehighlight + Undefined control sequence definehighlight? Why? With the Texlive2012 version of context the same code compiles without problems. So are there some changes in the way of defining something, what I have to change to compile with the last context version? Thanks Huseyin ___ 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] Problems with Standalone ConTeXt
Am 18.11.2012 um 14:30 schrieb H. Özoguz h.oezo...@mmnetz.de: After installing the standalone version (was quite hard for me with TexWorks), now several problems arises. The simplest document \starttext Test \stoptest compiles without problems. But my book gives now several errors. F.e.: + C:/Users/Hussein/context/tex/texmf-context/scripts/context/ruby/base/switch.rb:21: Use RbConfig instead of obsolete and deprecated Config. TeXExec | processing document 'main_inderschule.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file main_inderschule.top TeXExec | using randomseed 516 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en.mkii This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2012/W32TeX) \write18 enabled. entering extended mode (./main_inderschule.tex ConTeXt ver: 2012.05.30 11:26 MKII fmt: 2012.11.18 int: english/english system : cont-new.mkii loaded (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/cont-new.mkii systems : beware: some patches loaded from cont-new.mkii ) system : cont-sys.rme loaded (c:/Users/Hussein/context/tex/texmf-context/tex/context/user/cont-sys.rme (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/type-siz.mkii) (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/type-one.mkii)) system : main_inderschule.top loaded (./main_inderschule.top) bodyfont : 12pt rm is loaded language : patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 us- ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3 da-ec:ec-6-2:2 sv-ec:ec-7-2:2 af-ec:ec-8-2:2 gb-ec:ec-9-2:2 fr-texnansi:texnansi-1 0-2:2 fr-ec:ec-11-2:2 es-ec:ec-12-2:2 ca-ec:ec-13-2:2 it-texnansi:te xnansi-14-2:2 it-ec:ec-15-2:2 la-ec:ec-16-2:2 pt-texnansi:texnansi-17 -2:2 pt-ec:ec-18-2:2 ro-ec:ec-19-2:2 pl-pl0:pl0-20-2:2 pl-ec:ec-21- 2:2 pl-qx:qx-22-2:2 cs-il2:il2-23-2:2 cs-ec:ec-24-2:2 sk-il2:il2-25 -2:2 sk-ec:ec-26-2:2 hr-ec:ec-27-2:2 sl-ec:ec-28-2:2 tr-ec:ec-29-2 :2 tk-ec:ec-30-1:2 lt-l7x:l7x-31-2:2 agr-agr:agr-33-2:2 fi-ec:ec-34- 2:2 hu-ec:ec-35-2:2 ru-t2a:t2a-37-2:2 uk-t2a:t2a-38-3:3 loaded specials : dvips loaded systems : system commands are enabled language : language en is active specials : loading definition file tpd (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-tpd.mkii specials : loading definition file fdf (c:/Users/Hussein/context/tex/texmf-context/tex/context/base/spec-fdf.mkii)) systems : begin file arab_inderschule at line 2 (./arab_inderschule.tex ! Undefined control sequence. l.5 \definehighlight + Undefined control sequence definehighlight? Why? With the Texlive2012 version of context the same code compiles without problems. So are there some changes in the way of defining something, what I have to change to compile with the last context version? You process your document with MkIV (texexec filename or context --pdftex filename) but your document requires MkIV (context filename) because you use the command \definehightlight which is only available with MkIV. 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] Problems with Standalone ConTeXt
On Nov 18, 2012, at 8:30 AM, H. Özoguz h.oezo...@mmnetz.de wrote: After installing the standalone version (was quite hard for me with TexWorks), now several problems arises. The simplest document \starttext Test \stoptest compiles without problems. But my book gives now several errors. F.e.: … This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2012/W32TeX) ... If you want to run MKIV, you need to select the ConTeXt (LuaTeX) typesetting option. The output you posted shows you're using pdfTeX. You can also create your own typesetting option (Edit Preferences) that calls standalone dir/tex/texmf-osx-64/bin/context directly with the argument $fullname. When I tried out TeXWorks after your post, I had to put the standalone binary path, standalone dir/tex/texmf-osx-64/bin, above /usr/texbin. It seems the scripts all run a program with the name context and the first one found in the path list is used. This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___ 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] ntg-context Digest, Vol 101, Issue 51
Am 18.11.2012 14:45, schrieb ntg-context-requ...@ntg.nl: You process your document with MkIV (texexec filename or context --pdftex filename) but your document requires MkIV (context filename) because you use the command \definehightlight which is only available with MkIV. Wolfgang Thanks. The wiki says to write in the parameters of texworks texexec --lua $fullname So this is for MkIV. How to change it? Just changing into context $fullname and the peogramm texexec.exe into context.exe results in the following error: This is LuaTeX, Version beta-0.70.2-201214 (TeX Live 2012/W32TeX) \write18 enabled. (C:/Users/Hussein/context/tex/texmf-context/scripts/context/stubs/unix/context ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2012.11.18 int: english/english system cont-new.mkiv loaded (C:/Users/Hussein/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system context.top loaded (context.top) fonts latin modern fonts are not preloaded languages language en is active ! You can't use `macro parameter character #' in vertical mode. system tex error on line 1 in file C:/Users/Hussein/context/tex/texmf-context/scripts/context/stubs/unix/context: You can't use ` ... 1 #!/bin/sh 2 mtxrun --script context $@ 3 l.1 # !/bin/sh ? Der Prozess wurde vom Benutzer abgebrochen Danke dir! Huseyin ___ 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] Problems with Standalone ConTeXt
(Sorry, wrong email title) Am 18.11.2012 14:45, schrieb ntg-context-requ...@ntg.nl: You process your document with MkIV (texexec filename or context --pdftex filename) but your document requires MkIV (context filename) because you use the command \definehightlight which is only available with MkIV. Wolfgang Thanks. The wiki says to write in the parameters of texworks texexec --lua $fullname So this is for MkIV. How to change it? Just changing into context $fullname and the peogramm texexec.exe into context.exe results in the following error: This is LuaTeX, Version beta-0.70.2-201214 (TeX Live 2012/W32TeX) \write18 enabled. (C:/Users/Hussein/context/tex/texmf-context/scripts/context/stubs/unix/context ConTeXt ver: 2012.05.30 11:26 MKIV fmt: 2012.11.18 int: english/english system cont-new.mkiv loaded (C:/Users/Hussein/context/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system context.top loaded (context.top) fonts latin modern fonts are not preloaded languages language en is active ! You can't use `macro parameter character #' in vertical mode. system tex error on line 1 in file C:/Users/Hussein/context/tex/texmf-context/scripts/context/stubs/unix/context: You can't use ` ... 1 #!/bin/sh 2 mtxrun --script context $@ 3 l.1 # !/bin/sh ? Der Prozess wurde vom Benutzer abgebrochen Danke dir! Huseyin ___ 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] Odd bug with \startitemize
For some reason I used someone's earlier posting to test something about my tex software and accidentally happened upon this odd behavior. If the \startitemize code below is repeated 10 or more times, either with \dorecurse or by pasting it ten times, only one is typeset. If nine times, then all nine are typeset. If Some text is un-commented, then all ten are typeset along with Some text. (If working with the pasted version, the Some text can appear after the first or second iteration, or before any iteration that appears on the first page, and all itemizations will appear.) Michael MWE: \starttext %Some text \dorecurse{10}{ \startitemize \item Find a well-ordered set. \startitemize[n, columns, four][stopper=,left=(, right=)] \item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$ \item $[0, 1)$ \item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$ \item $ \reals$ \stopitemize \stopitemize } \stoptext This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). ___ 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] simpleslides placeTitle undefined control sequence
On Son, 2012-11-18 at 13:08 +0100, Thomas A. Schmitz wrote: Sorry, my bad - new revision, can you try again? Thanks, that fixed it! Cheers, ~~ Ondra ___ 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] Parameters for Texworks
Hi there, Im happy to have found the correct parameters for Texworks and MarkVI (and Standalone Context) after hours, wtih the kindly help of Hans and SciTE. They are: Programm: mtxrun Parameters: --script context --synctec $fullname Perhaps it would be useful to add this into the wiki, since there is only a guide in texworks for MarkIV. Thanks everybody. Huseyin ___ 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] Annotation Module
Am 15.11.2012 20:32, schrieb ntg-context-requ...@ntg.nl: Take a look at the attachment for a example which use the latest version of the annotation module (a module to create customized commands/environments). Wolfgang -- next part -- A non-text attachment was scrubbed... Name: annotation-30.pdf Type: application/pdf Size: 10563 bytes Desc: not available URL:http://www.ntg.nl/pipermail/ntg-context/attachments/20121115/4129198a/attachment.pdf -- next part -- A non-text attachment was scrubbed... Name: annotation-30.tex Type: application/octet-stream Size: 1144 bytes Desc: not available URL:http://www.ntg.nl/pipermail/ntg-context/attachments/20121115/4129198a/attachment.obj Thanks alot, now everything works fine. My question to your module: How can I customize the \startannotation \stopannotation enovirnment, s.t. it does not start with , but with another symbol (or maybe without any symbol)? Huseyin ___ 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] Section alone on the page
How to permit the section-title to be set alone on the page-buttom? I do not want to start always a new page with \section, but in the cases, where the title is set alone on the page, it should start a new page before \section. Huseyin ___ 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] Annotation Module
Am 18.11.2012 um 20:27 schrieb H. Özoguz h.oezo...@mmnetz.de: My question to your module: How can I customize the \startannotation \stopannotation enovirnment, s.t. it does not start with , but with another symbol (or maybe without any symbol)? The annotation module let you define a command/environment to collect text and format it in (nearly) any way you want, there is no distinction between \command{…} and \startcommand …\stopcommand. Copy this example and process it with context: \usemodule[annotation] \setuplayout [backspace=6cm, cutspace=2cm, width=middle] \setupannotation[color=blue] % one + two \defineannotation[one][alternative=paragraph] \defineannotation[two][alternative=text] % three \define[2]\ThreeCommand {\startframedtext[middle] #2 \stopframedtext} \defineannotation[three][alternative=command,command=\ThreeCommand] % four \startsetups [annotation:four] \startframedtext[width=broad,framecolor=red] \placeannotationcontent \doifsomething{\annotationparameter{author}}{\wordright{\annotationparameter{author}}} \stopframedtext \stopsetups \defineannotationalternative[four][renderingsetup=annotation:four] \defineannotation[four][alternative=four] \starttext \input knuth \one{\input ward } \input knuth \starttwo\input ward \stoptwo \input knuth \three{\input ward } \input knuth \startfour[author=Ward]\input ward \stopfour \input knuth \stoptext In the example above I define four annotation command, while the first two use predefined alternatives the third and fourth use ones I define in the document. The command “three” uses the “command” alternative which expects a command with two parameters, the first parameter can be used to print a title with the content of the “text” and “title” keys (not used in my example) and the second parameters prints the content of the command/environment. The “four” command (you could also have used \four[author=Ward]{\input ward } in the document) uses a different approach to define a customized layout. First you create a new alternative with \defineannotationalternative where you specify a setup. The setup itself is created with \startsetups … \stopsetups where you can use all context commands you like. Values from \setupannotation or optional arguments for \four or \startfour can be accessed with \annoationparameter{key}. 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] Section alone on the page
On Sun, 18 Nov 2012, H. Özoguz wrote: How to permit the section-title to be set alone on the page-buttom? I do not want to start always a new page with \section, but in the cases, where the title is set alone on the page, it should start a new page before \section. You can try with \setuphead[section][page=preference] 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] Section alone on the page
Am 18.11.2012 um 21:07 schrieb H. Özoguz h.oezo...@mmnetz.de: How to permit the section-title to be set alone on the page-buttom? I do not want to start always a new page with \section, but in the cases, where the title is set alone on the page, it should start a new page before \section. When you uncomment the \setuphead setting in the following example context won’t move the heading to the next page with the text after it, the important thing to achieve this is the “preference” keyword in \blank which permits the page break. %\setuphead[section][after={\blank[big,preference]}] \starttext \dorecurse{39}{Line \recurselevel\par} \section Another line \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 ___
Re: [NTG-context] typesetting juxtapositions
Hans and Wolfgang, thanks a lot! Both versions work of course ... I'll see which one I'll use. Erik On Sun, Nov 18, 2012 at 12:52 PM, Hans Hagen pra...@wxs.nl wrote: On 11/18/2012 12:43 PM, Wolfgang Schuster wrote: Am 18.11.2012 um 12:24 schrieb Erik Margraf erik.marg...@gmail.com: Dear List, how would I go on to typeset a document like the attached one? \setupindenting[yes,medium] \starttext \input tufte \offsetbox[x=2cm]\vbox{\begstrut\input tufte\endstrut} \input tufte \stoptext or, depending on how much there is \definenarrower[Common][left=3cm,right=3cm] \definenarrower[One][Common][default=right] \definenarrower[Two][Common][default=left] \setuplayout [backspace=1cm, width=middle, topspace=1cm, height=middle, footer=0cm, header=0cm] \setupbodyfont [10pt] \setupwhitespace [big] \starttext \startOne \input ward \stopOne \startTwo \input ward \stopTwo \stoptext - 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] \startplacefigure equivalent of \placefigure
Am 18.11.2012 um 21:58 schrieb Romain Diss romain.d...@yahoo.fr: Hi all, I did not find the \startplacefigure equivalent of: \placefigure [high,low] % - here are the options I need {test} {\externalfigure[pic-test]} I checked in the sources but found nothing about these 'high', 'low' options. \startplacefigure[location={high,low},title=test] \externalfigure[pic-test] \stopplacefigure See also http://www.ntg.nl/pipermail/ntg-context/2012/069414.html 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] \startplacefigure equivalent of \placefigure
Le dimanche 18 novembre 2012, Wolfgang Schuster a écrit : Am 18.11.2012 um 21:58 schrieb Romain Diss romain.d...@yahoo.fr: I did not find the \startplacefigure equivalent of: \placefigure [high,low] % - here are the options I need {test} {\externalfigure[pic-test]} \startplacefigure[location={high,low},title=test] \externalfigure[pic-test] \stopplacefigure Thank you. Like most of the time, the answer seems obvious afterwards. See also http://www.ntg.nl/pipermail/ntg-context/2012/069414.html The wiki also mentions this. I took a look on it before posting but it didn't help me because I only used location= to place the caption. -- Romain Diss romain.d...@yahoo.fr ___ 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] Section alone on the page
Am 18.11.2012 21:58, schrieb ntg-context-requ...@ntg.nl: When you uncomment the \setuphead setting in the following example context won?t move the heading to the next page with the text after it, the important thing to achieve this is the ?preference? keyword in \blank which permits the page break. %\setuphead[section][after={\blank[big,preference]}] \starttext \dorecurse{39}{Line \recurselevel\par} \section Another line \stoptext Wolfgang Thanks, but I think this one is not the problem. I have made this minexample: +++ \definepapersize[MyBook][A5] \setuppapersize[MyBook][A5] % Prints on paper the size of MyBook \usemodule [simplefonts][size=11pt] \setmainfont[Times New Roman][expansion=quality,protrusion=quality] \setuplayout[location=middle, topspace=1cm, bottomspace=1.5cm, width=middle, cutspace=1.3cm, backspace=1.8cm, height=fit, footer=1.2cm, grid=yes] \starttext \dorecurse{28}{Line \recurselevel\par} \section{Should not be alone} Blabliblub \stoptext + I know: Does not look like an minexample, but was the only way to reproduce the issue. What could be the problem? Thanks Huseyin ___ 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] Suddenly can't run context
Something has changed on my system and I can't find it. Perhaps someone can point me where I should look. I've had the texlive2012 installed since it came out and until a couple of days ago everything worked just fine. All of a sudden, things changed. I did nothing directly to the texlive distribution. wwm@escherton$ context --version gives the error output at the end of this note wwm@escherton$ sudo context --version works just fine wwm@escherton$ mtxrun --version works just fine as does mtxrun --script fonts --reload c. I created a new user. context@escherton$ context --version works just fine I deleted the texlive distribution and re-installed it. No change. I've run sudo context --generate several times with no change in behavior. I've deleted the local .texlive2012 directory but since context won't run, it doesn't get recreated. I can set TEXMF and then context will run but it takes a much longer time than usual and the disk activity light is on almost solid. Any ideas? Linux Escherton 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:19:45 UTC 2012 i686 i686 i386 GNU/Linux (XUbuntu 12.04) Error output below: wwm@Escherton$ context --version mtxrun | forcing cache reload resolvers | resolving | unknown configuration file '/home/wwm/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/wwm/bin/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/wwm/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/wwm/bin/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/wwm/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/wwm/bin/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/wwm/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/home/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | warning: no lua configuration files found resolvers | resolving | no texmf paths are defined (using TEXMF) resolvers | resolving | mtxrun | the resolver databases are not present or outdated resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-contexts.lua' resolvers | resolving | remembered file 'mtx-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'mtx-t-contexts.lua' resolvers | resolving | remembered file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'context.lua' mtxrun | unknown script 'context.lua' or 'mtx-context.lua' -- Bill Meahan Westland, Michigan USA ___ 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] Suddenly can't run context
On Sun, 18 Nov 2012, Bill Meahan wrote: Something has changed on my system and I can't find it. Perhaps someone can point me where I should look. I've had the texlive2012 installed since it came out and until a couple of days ago everything worked just fine. All of a sudden, things changed. I did nothing directly to the texlive distribution. wwm@escherton$ context --version gives the error output at the end of this note wwm@escherton$ sudo context --version works just fine wwm@escherton$ mtxrun --version works just fine as does mtxrun --script fonts --reload c. I created a new user. context@escherton$ context --version works just fine I deleted the texlive distribution and re-installed it. No change. I've run sudo context --generate several times with no change in behavior. I've deleted the local .texlive2012 directory but since context won't run, it doesn't get recreated. I can set TEXMF and then context will run but it takes a much longer time than usual and the disk activity light is on almost solid. Any ideas? 1. Run mtxrun --generate as normal user followed by context --make; otherwise: 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. 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 ___
[NTG-context] TeX files in fonts/ directory
Hi, I am using ConTeXt standalone. Normally I unzip or git clone the fonts that I regularly use in $HOME/texmf/fonts/opentype/data directory, since I assume that all the extra files in there will simply be ignored by TeX. However, I recently noticed that MkIV finds a test.tex file from inside the fonts/ directory. In particular: $ luatools test.tex /home/adityam/texmf/fonts/opentype/data/euler-otf/tests/test.tex Should luatools only search for tex files inside $TEXMF/tex directories? 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] Suddenly can't run context
On 11/18/2012 07:53 PM, Aditya Mahajan wrote: 1. Run mtxrun --generate as normal user followed by context --make; otherwise: Won't run as me - same error messages. Ran as another normal user but it didn't do anything for me. Same running via sudo 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. Aditya Done that several times -- no dice :-( -- Bill ___ 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] Suddenly can't run context
On Sun, 18 Nov 2012, Bill Meahan wrote: On 11/18/2012 07:53 PM, Aditya Mahajan wrote: 1. Run mtxrun --generate as normal user followed by context --make; otherwise: Won't run as me - same error messages. Ran as another normal user but it didn't do anything for me. Same running via sudo In general, it is a bad idea to run context tools using sudo. [1] 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. Done that several times -- no dice Hmm... Are there any other tex related directories like $HOME/texmf-var or $HOME/texmf-cache? If so try moving those as well. Otherwise, it could be because of some shell variable that you set (that is not set for a new user). Try starting with a clean .shellrc. Aditya [1] Traditional TeX tools provide a -sys version,(e.g., fmtutil and fmtutil-sys, updmap and updman-sys, etc.) that is to be run by the system administrator. Context tools do not provide any such version, so `sudo mtxrun ...` is equivalent to creating files for the root user. As such, for a multi-user installation, you should avoid running sudo mtxrun etc. ___ 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] Suddenly can't run context
On Sun, 18 Nov 2012, Bill Meahan wrote: 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. Done that several times -- no dice I normally do not use TL, but looked into it, and the texmfcnf.lua script distributed with texlive does not look right. I am attaching the output of mtxrun --generate that I get. Note the following liines: resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr' resolvers | resolving | variable 'SELFAUTOPARENT' set to '.' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to '/usr' resolvers | resolving | found configuration file '/usr/share/texmf/web2c/texmfcnf.lua' resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/texmfcnf.lua' ... Now, the /usr/share/texmf/web2c/texmfcnf.lua file says: TEXMFSYSVAR = selfautoparent:texmf-var, TEXMFVAR= home:.texlive2012/texmf-var, TEXMFMAIN = selfautoparent:texmf, TEXMFDIST = selfautoparent:texmf-dist, Note from the mtxrun that selfautoparent is set to '', therefore, TEXMFMAIN is set to 'texmf' and TEXMFDIST is set to 'texmf-dist'. And therefore, `mtxrun --generate` is not scanning the right trees, therefore does not build a cache of the right trees, and consequently, cannot find mtx-context.lua. To check my theory, I followed the following steps: 1. Create a directory ~/mytexmfcnf and copied the texmfcnf.lua file from /usr/share/texmf/web2c/ to this directory. 2. Open ~/mytexmfcnf/texmfcnf.lua and change %s/selfautoparent:/\/usr\/share\/ 3. Run TEXMFCNF=~/mytexmfcnf mtxrun --generate 4. Run TEXMFCNF=~/mytexmfcnf context --version which then gives mtx-context | ConTeXt Process Management 0.52 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/context.mkiv mtx-context | current version: 2012.05.30 11:26 So I wonder how does context (MkIV) work at all with TL2012! Aditya resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr' resolvers | resolving | variable 'SELFAUTOPARENT' set to '.' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to '/usr' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf/web2c,selfautoparent:/../texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf/web2c}' resolvers | resolving | resolvers | resolving | unknown configuration file '/home/adityam/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/bin/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/bin/share/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/bin/share/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/bin/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/bin/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/share/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | found configuration file '/usr/share/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file '/usr/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './../texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './texmfcnf.lua' resolvers | resolving | unknown configuration file './share/texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './share/texmf/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './texmf-local/web2c/texmfcnf.lua' resolvers | resolving | unknown configuration file './texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving |
Re: [NTG-context] Suddenly can't run context
On Mon, Nov 19, 2012 at 4:34 AM, Aditya Mahajan wrote: On Sun, 18 Nov 2012, Bill Meahan wrote: 2. Something is messed up in $HOME/texmf or $HOME/.texlive2012. Rename these directories to something different and try again. Done that several times -- no dice I normally do not use TL, but looked into it, and the texmfcnf.lua script distributed with texlive does not look right. I am attaching the output of mtxrun --generate that I get. Note the following liines: resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr' resolvers | resolving | variable 'SELFAUTOPARENT' set to '.' It looks as if you were using Debian/Ubuntu? Or any other flavour of Linux with a native TeX Live package? resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to '/usr' resolvers | resolving | found configuration file '/usr/share/texmf/web2c/texmfcnf.lua' resolvers | resolving | loading configuration file 'selfautodir:/share/texmf/web2c/texmfcnf.lua' ... mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/local/texlive/2012/bin/x86_64-darwin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr/local/texlive/2012/bin' resolvers | resolving | variable 'SELFAUTOPARENT' set to '/usr/local/texlive/2012' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'bin' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf/web2c,selfautoparent:/../texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf/web2c}' resolvers | resolving | ... resolvers | resolving | found configuration file '/usr/local/texlive/2012/texmfcnf.lua' ... resolvers | resolving | found configuration file '/usr/local/texlive/2012/texmf/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | loading configuration file 'selfautoparent:/texmfcnf.lua' resolvers | resolving | resolvers | resolving | loading configuration file 'selfautoparent:/texmf/web2c/texmfcnf.lua' Now, the /usr/share/texmf/web2c/texmfcnf.lua file says: TEXMFSYSVAR = selfautoparent:texmf-var, TEXMFVAR= home:.texlive2012/texmf-var, TEXMFMAIN = selfautoparent:texmf, TEXMFDIST = selfautoparent:texmf-dist, Note from the mtxrun that selfautoparent is set to '', therefore, TEXMFMAIN is set to 'texmf' and TEXMFDIST is set to 'texmf-dist'. And therefore, `mtxrun --generate` is not scanning the right trees, therefore does not build a cache of the right trees, and consequently, cannot find mtx-context.lua. To check my theory, I followed the following steps: 1. Create a directory ~/mytexmfcnf and copied the texmfcnf.lua file from /usr/share/texmf/web2c/ to this directory. 2. Open ~/mytexmfcnf/texmfcnf.lua and change %s/selfautoparent:/\/usr\/share\/ 3. Run TEXMFCNF=~/mytexmfcnf mtxrun --generate 4. Run TEXMFCNF=~/mytexmfcnf context --version which then gives mtx-context | ConTeXt Process Management 0.52 mtx-context | mtx-context | main context file: /usr/share/texmf-dist/tex/context/base/context.mkiv mtx-context | current version: 2012.05.30 11:26 So I wonder how does context (MkIV) work at all with TL2012! Maybe it just doesn't work with your linux box :P One explanation could be that texmfcnf.lua hasn't been configured properly. It works with plain TeX Live with default installation. MacPorts would do the following: post-patch { foreach x {texmf.cnf.d/10paths.cnf texmfcnf.lua texlive-update-cnf} { reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/${x} reinplace s|@@TEXMFMAIN@@|${texlive_texmfmain}|g ${worksrcpath}/${x} reinplace s|@@TEXMFDIST@@|${texlive_texmfdist}|g ${worksrcpath}/${x} reinplace s|@@TEXMFPORTS@@|${texlive_texmfports}|g ${worksrcpath}/${x} reinplace s|@@TEXMFLOCAL@@|${texlive_texmflocal}|g ${worksrcpath}/${x} reinplace s|@@TEXMFSYSVAR@@|${texlive_texmfsysvar}|g ${worksrcpath}/${x} reinplace s|@@TEXMFSYSCONFIG@@|${texlive_texmfsysconfig}|g ${worksrcpath}/${x} reinplace s|@@TEXMFHOME@@|${texlive_texmfhome}|g ${worksrcpath}/${x} reinplace s|@@TEXLIVE_BINDIR@@|${texlive_bindir}|g ${worksrcpath}/${x} } } To Bill: can you try