[NTG-context] updating Minimals for MKIV
Hiya! I've decide to (finally) learn ConTeXt and use it exclusively as well as port (some of) the old documents from LaTeX/LyX. In order to do that I've installed context-minimals-git package available for Arch Linux (thank you Aditya! - mahajano yena gatah sa panthah) ;) I've some issues with update (left the note on AUR), but I'm curious what is the proper way to update ConTeXt for MKIV format? (I do not need MKII and want to focus on MKIV exclusively - to help with testing and because I've no need to keep any MK II document.) The wiki page (http://wiki.contextgarden.net/ConTeXt_Minimals) says: * For making MKIV format luatools --selfupdate mtxrun --selfupdate luatools --generate context --make while the package for Archlinux has the following update function: post_upgrade() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex echo * echo To use ConTeXt minimals run echo /opt/context-minimals/setuptex echo To use MkIV run echo luatools --generate echo * } i.e. only luatools --generate. Anyone can clarify? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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] new language and hyphenation
Hello, How do I test translation? I do it this way, is it correct? Translated lang-bal.tex (not finished yet) luatools --generate context --make But I get an error, then I run context --make ) (C:/doc/context/tex/texmf-context/tex/context/base/lang-art.tex loading : ConTeXt Language Macros / Artificial Languages ) (C:/doc/context/tex/texmf-context/tex/context/base/lang-bal.tex loading : ConTeXt Language Macros / Baltic Languages ! Undefined control sequence. argument \??la \s!lt \c!state \doifdefinedelse #1-\ifcsname #1 \endcsname \...@ea \firstoftwoarguments \else ... argument \doiflanguageelse {\s!lt } {\getparameters [\??la \s!lt ][\c!spac... \firstoftwoarguments #1#2-#1 l.38\s!righthyphenmin=2] ? % % Lettish/Latvian, Lietuvių/Lithuanian \unprotect \installlanguage [\s!lt] [\c!spacing=\v!packed, \c!leftsentence=---, \c!rightsentence=---, \c!leftsubsentence=---, \c!rightsubsentence=---, \c!leftquote=\lowerleftdoubleninequote, \c!rightquote=\upperrightdoublesixquote, \c!leftquotation=\lowerleftdoubleninequote, \c!rightquotation=\upperrightdoublesixquote, \c!date={\v!year~m.\ \v!month\ \v!day~d.}, \s!patterns=\s!lt, \s!lefthyphenmin=2, \s!righthyphenmin=2] \protect \endinput % ___ 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] updating Minimals for MKIV
On 22-1-2010 12:14, Gour wrote: Hiya! I've decide to (finally) learn ConTeXt and use it exclusively as well as port (some of) the old documents from LaTeX/LyX. In order to do that I've installed context-minimals-git package available for Arch Linux (thank you Aditya! - mahajano yena gatah sa panthah) ;) I've some issues with update (left the note on AUR), but I'm curious what is the proper way to update ConTeXt for MKIV format? (I do not need MKII and want to focus on MKIV exclusively - to help with testing and because I've no need to keep any MK II document.) The wiki page (http://wiki.contextgarden.net/ConTeXt_Minimals) says: * For making MKIV format luatools --selfupdate mtxrun --selfupdate luatools --generate context --make if you download the minimals installer script from the garden and run ./first-update.sh --engine=luatex you only get mkiv related files after that you can update with just ./first-update.sh as the state is remembered Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] new language and hyphenation
On 22-1-2010 12:16, Marius wrote: Hello, How do I test translation? I do it this way, is it correct? Translated lang-bal.tex (not finished yet) luatools --generate context --make But I get an error, then I run context --make ) (C:/doc/context/tex/texmf-context/tex/context/base/lang-art.tex loading : ConTeXt Language Macros / Artificial Languages ) (C:/doc/context/tex/texmf-context/tex/context/base/lang-bal.tex loading : ConTeXt Language Macros / Baltic Languages ! Undefined control sequence. argument \??la \s!lt \c!state \doifdefinedelse #1-\ifcsname #1 \endcsname \...@ea \firstoftwoarguments \else argument \doiflanguageelse {\s!lt } {\getparameters [\??la \s!lt ][\c!spac... \firstoftwoarguments #1#2-#1 l.38\s!righthyphenmin=2] ? % % Lettish/Latvian, Lietuvių/Lithuanian \unprotect \definesystemconstant {lithuanian}\definesystemconstant {lt} \installlanguage [\s!lt] [\c!spacing=\v!packed, \c!leftsentence=---, \c!rightsentence=---, \c!leftsubsentence=---, \c!rightsubsentence=---, \c!leftquote=\lowerleftdoubleninequote, \c!rightquote=\upperrightdoublesixquote, \c!leftquotation=\lowerleftdoubleninequote, \c!rightquotation=\upperrightdoublesixquote, \c!date={\v!year~m.\ \v!month\ \v!day~d.}, \s!patterns=\s!lt, \s!lefthyphenmin=2, \s!righthyphenmin=2] \protect \endinput % ___ 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 ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] updating Minimals for MKIV
On Fri, Jan 22, 2010 at 12:14, Gour wrote: Hiya! * For making MKIV format luatools --selfupdate mtxrun --selfupdate --selfupdate is meant for you to be on the safe side. Update mechanism should now update these two files, so it should not be really needed. luatools --generate context --make luatools --generate is definitely needed on fresh install (it should be done automatically, but it isn't for some weird md5-related reason I suppose). Once you have mkiv working, the context --make is executed automatically in case that formts don't match. while the package for Archlinux has the following update function: post_upgrade() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex This is needed for mkii only. echo * echo To use ConTeXt minimals run echo /opt/context-minimals/setuptex echo To use MkIV run echo luatools --generate echo * } i.e. only luatools --generate. Anyone can clarify? I guess that's because mkiv generates new formats automatically (I'm not sure if it also calls luatools --generate in that case, but it could if it doesn't). Mojca ___ 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] new language and hyphenation
One thing that doesn't work here is \s!mapping=, \s!encoding=, It doesn't respect the fact that I don't want to use any patterns in mkii (encoding={ec,il2} works properly, but empty parameter seem to assume ec by default). Maybe we need to add l7x support after all (or Hans needs to fix the behaviour). Else TeX MKII reports invalid patterns. Mojca ___ 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] updating Minimals for MKIV
On Fri, 22 Jan 2010 14:01:33 +0100 Mojca == Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Mojca luatools --generate is definitely needed on fresh install (it Mojca should be done automatically, but it isn't for some weird Mojca md5-related reason I suppose). Hmm here is post_install script: post_install() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex echo * echo To use ConTeXt minimals run echo /opt/context-minimals/setuptex echo To use MkIV run echo echo * } which, if I understand correctly just states to run: luatools --generate to get MKIV format. Mojca Once you have mkiv working, the context --make is executed Mojca automatically in case that formts don't match. I see...that may be part of explanation we're looking for. Mojca I guess that's because mkiv generates new formats automatically Mojca (I'm not sure if it also calls luatools --generate in that case, Mojca but it could if it doesn't). OK. I hope Aditya will show up here - it's his 'sabji' :-) Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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] updating Minimals for MKIV
On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh but it invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... In any case, thank you Hans for your continuing work on ConTeXt/LuaTeX and I sincerely hope this year will bring many new users here... Sincerely, Gour p.s. Excuse me for sending it twice to the list instead of using Gmane - somehow 'Reply' did not send to the newsgroup. :-( -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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] new language and hyphenation
On 22-1-2010 14:08, Mojca Miklavec wrote: One thing that doesn't work here is \s!mapping=, \s!encoding=, It doesn't respect the fact that I don't want to use any patterns in mkii (encoding={ec,il2} works properly, but empty parameter seem to assume ec by default). Maybe we need to add l7x support after all (or Hans needs to fix the behaviour). you could probably disable the default fallback language for lt then but maybe indeed we need to add 17x Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] new language and hyphenation
On Thu, Jan 21, 2010 at 7:33 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 20.01.10 23:53, schrieb Mojca Miklavec: For example: Figure 1: Caption of the figure 1 pav. Caption of the figure Table 1: Caption of the table 1 lentelė. Caption of the table Nice. I guess that you gave a nice homework to Hans :) I didn't check, but I have not seen any setting to change the order of number label yet. not what you want but this works \setuplabeltext[...][...={left of number}{right of number}] \setuplabeltext [\s!lt] [\v!table={xxx}{lentelė }] and output is: xxxlentelė 1.1 Name of table In a table of contents and in section names there must be period after number: This can be fixed in mkiv; a bit harder in mkii. \setupheads[sectionstopper=.] This command does not work if placed in the lang-bal.tex file. ___ 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] More questions about hiding/reusing blocks
Dear all, I have two more questions about reusing blocks and interreferencing them. First of all, I have set up problems within different chapters, and would like to have a separate chapter at the end that gathers the solutions chapter by chapter like \chapter{Solutions} \section{Solutions from chapter 1} get these here \section{Solutions from chapter 2} get those here A sample file is attached below that has the layout, but all I know is how to retrieve all blocks at once. Would I need to create another block at the end of each chapter, and retrieve these at the end? If so, how? Then, I'd like to have little inconspicuous hyperlinks from the exercise to its solution and back. So far, I can only do this manually, as indicated. I would prefer to have the text Exercise in the enumeration to become a hyperlink to the corresponding solution, and vice versa for the text Solution. Is there a way of doing this (or something similar)? Thanks a lot for all the help! Matthias test.tex Description: Binary data ___ 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] new language and hyphenation
Am 22.01.10 15:09, schrieb Marius: \setuplabeltext [\s!lt] [\v!table={xxx}{lentelė }] and output is: xxxlentelė 1.1 Name of table \setuplabeltext[\s!lt][\v!table={xxx , lentelė }] In a table of contents and in section names there must be period after number: This can be fixed in mkiv; a bit harder in mkii. \setupheads[sectionstopper=.] This command does not work if placed in the lang-bal.tex file. Don't do this because it will affect in this way each document in ConTeXt. I don't what Hans current meaning about language specific settings is but in MkII you could have done this with: \startlanguagespecifics[\s!lt] \setuphads[\c!sectionstopper=.] \stoplanguagespecifics You get now a dot at the end of the section number when write \mainlanguage[lithuanian] in the preamble of your document. 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] Calligraphic letters in Mark IV
Dear all, what's the best way to use calligraphic letters in LuaTeX? I am used to \starttext \calligraphic{H} \stoptext which doesn't work in Mark IV (undefined control sequence). Thanks, Matthias ___ 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] Multiple text flows
Dear Hraban, This works beautifully for my purpose. The section no. continue from one text to the other which looks wrong but so far I think I can do without them. I have not tried putting figures and other things yet. As I make progress with the book I will experiment more. But that will take a while. Thanks, Salil From: Henning Hraban Ramm hra...@fiee.net To: mailing list for ConTeXt users ntg-context@ntg.nl Sent: Wed, January 20, 2010 4:24:09 PM Subject: Re: [NTG-context] Multiple text flows 2010/1/20 Salil Sayed salil...@yahoo.com: My book needs to have two separate texts for two different audiences. I get the inspiration from http://books.google.co.in/books?id=qdltz8N9qSEClpg=PP1dq=the%20body%20multiplepg=PP1#v=onepageq=f=false. Try if this fits your needs: http://wiki.contextgarden.net/Columns#Streams Greetlings, Hraban ___ 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] Calligraphic letters in Mark IV
On 22-1-2010 16:55, Matthias Weber wrote: Dear all, what's the best way to use calligraphic letters in LuaTeX? I am used to \starttext \calligraphic{H} \stoptext which doesn't work in Mark IV (undefined control sequence). that was actually something math in mkiv you have to define a caligraphic font - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] Calligraphic letters in Mark IV
Yes indeed, I need this just for math. So do I really need to grab some font that has calligraphic , write/ use a typescript, and then write $text{\calligraphic H}$ or is there a simpler way that works out of the box? Sorry for asking these simple questions, I just haven't started looking into fonts yet... Matthias Weber On Jan 22, 2010, at 12:29 PM, Hans Hagen wrote: On 22-1-2010 16:55, Matthias Weber wrote: Dear all, what's the best way to use calligraphic letters in LuaTeX? I am used to \starttext \calligraphic{H} \stoptext which doesn't work in Mark IV (undefined control sequence). that was actually something math in mkiv you have to define a caligraphic font - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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 ___ ___ 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] Calligraphic letters in Mark IV
Am 22.01.10 18:49, schrieb Matthias Weber: Yes indeed, I need this just for math. So do I really need to grab some font that has calligraphic , write/use a typescript, and then write $text{\calligraphic H}$ or is there a simpler way that works out of the box? $H{\cal H}$ 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] Hyperlinks in the table of contents/ Mark IV
Dear all, it appears that the hyperlinks from the section numbers in the table of contents to the actual sections have disappeared in Mark IV. The following works in Mark II: \setupinteraction[state=start] \starttext \completecontent \section{A} \section{B} \stoptext There certainly is a magic word to re-open that door? Thanks, Matthias ___ 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] Calligraphic letters in Mark IV
Thanks! Matthias On Jan 22, 2010, at 12:53 PM, Wolfgang Schuster wrote: Am 22.01.10 18:49, schrieb Matthias Weber: Yes indeed, I need this just for math. So do I really need to grab some font that has calligraphic , write/ use a typescript, and then write $text{\calligraphic H}$ or is there a simpler way that works out of the box? $H{\cal H}$ 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 ___
Re: [NTG-context] Calligraphic letters in Mark IV
Am 22.01.10 18:29, schrieb Hans Hagen: On 22-1-2010 16:55, Matthias Weber wrote: Dear all, what's the best way to use calligraphic letters in LuaTeX? I am used to \starttext \calligraphic{H} \stoptext which doesn't work in Mark IV (undefined control sequence). that was actually something math in mkiv you have to define a caligraphic font but \calligraphic is no longer available in mkiv, can you add \unexpanded\def\calligraphic{\ifmmode\expandafter\mathscript\fi} to math-ini.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 ___
[NTG-context] beta
Hi, I uploaded a new beta. The most important new feature is that nested footnotes are working better now (like notes in tabulate). For the moment this is not enabled by default. Use \automigrateinserts if needed. Test case: \chapter{What a notes \footnote{1} \footnote{2} \footnote{3} \footnote{4} \footnote{5} \footnote{6}} \starttabulate \NC test \NC test \footnote{7} \input tufte \NC \NR \NC test \NC test \footnote{8} \input tufte \NC \NR \NC test \NC test \footnote{9} \input tufte \NC \NR \NC test \NC test \footnote{10} \input tufte \NC \NR \NC test \NC test \footnote{11} \input tufte \NC \NR \NC test \NC test \footnote{12} \input tufte \NC \NR \stoptabulate Of course this a mkiv-only feature. More control will be added later. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 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] updating Minimals for MKIV
On Fri, 22 Jan 2010, Gour wrote: On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh but it invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... This is the best compromise I could get for running MkIV in a multi-user environment. I do not ask the mtx-update script to generate the formats (the --make flag is missing), because this script is running as root. Generating the formats means that luatex-cache will be generated by root, and then a user will never be able to writing anything in the cache directory. So, I do not generate the formats during the update. In the post-install post_install() { source /opt/context-minimals/setuptex mktexlsr texexec --make cont-en metafun texexec --make --xetex echo * echo To use ConTeXt minimals run echo . /opt/context-minimals/setuptex echo To use MkIV run echo luatools --generate echo * } I generate the pdftex and xetex formats, and ask the user to run luatools --generate. When run for the first time, luatools --generate creates the $TEXMFCACHE directory. Since the command is run by the user, TEXMFCACHE is writable by the user. Once luatools --generate is run, you can simply run context filename. ConTeXt sees that the formats are wrong and regenerates them on the fly. The first luatools --generate is needed so that mtxrun can find the mtx-context script. (context is just a wrapper around mtx-context.lua). Currently something is going wrong in the installation script. Others have said that you need to press enter twice to get it to run. My guess is that something is trying to generate the luatools format, even though I have not asked for it. I will investigate further why this is happening. 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] updating Minimals for MKIV
On Fri, 22 Jan 2010, Aditya Mahajan wrote: Currently something is going wrong in the installation script. Others have said that you need to press enter twice to get it to run. My guess is that something is trying to generate the luatools format, even though I have not asked for it. I will investigate further why this is happening. Can you test the latest version from AUR. It is possible that the earlier build sometimes ended up creating a $HOME/texmf-cache directory as root. If that happened, you will need to forcably remove $HOME/texmf-cache before reinstalling the package. For those who are interested, this is what was happening. If you set TEXMFCACHE to a non-existing directory and run texexec --make cont-en, it asks you if you want to create the TEXMFCACHE directory (even though it is not needed to create the format for pdftex). pacman hides this question (don't know why), so it appeared that the program had hung. If you pressed enter twice (answering texexec's questions as no), the install proceeded as expected. I am getting around this by creating an empty directory in /opt/context-minimals/tex/texmf-cache but setting the TEXMFCACHE to $HOME/texmf-cache:/opt/context-minimals/texmf-cache Thus, texexec is happy because it can /opt/context-minimals/texmf-cache exists, and when the user runs luatools --generate for the first time, $HOME/texmf-cache gets created with the owner as the user. 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] updating Minimals for MKIV
On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh butit invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... In any case, thank you Hans for your continuing work on ConTeXt/LuaTeX and I sincerely hope this year will bring many new users here... Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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] updating Minimals for MKIV
On Fri, 22 Jan 2010 12:59:39 +0100 Hans == Hans Hagen pra...@wxs.nl wrote: Hans if you download the minimals installer script from the garden and Hans run Hans Hans./first-update.sh --engine=luatex Hmm, the build script does not run first-update.sh but it invokes the following: ... msg Starting download or update of ConTeXt distribution $srcdir/bin/texlua $srcdir/bin/mtxrun --script $srcdir/bin/mtx-update.lua \ --platform=$_platform --texroot=$srcdir/tex --engine=all --extras=all \ --context=beta --update --force || return 1 Maybe I should wait for Aditya to explain what is he doing... In any case, thank you Hans for your continuing work on ConTeXt/LuaTeX and I sincerely hope this year will bring many new users here... Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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] updating Minimals for MKIV
On Fri, 22 Jan 2010 13:53:11 -0500 (EST) Aditya == Aditya Mahajan adit...@umich.edu wrote: Aditya This is the best compromise I could get for running MkIV in a Aditya multi-user environment. I do not ask the mtx-update script to Aditya generate the formats (the --make flag is missing), because this Aditya script is running as root. Generating the formats means that Aditya luatex-cache will be generated by root, and then a user will Aditya never be able to writing anything in the cache directory. So, I Aditya do not generate the formats during the update. Thank you for explanation. Aditya I generate the pdftex and xetex formats, and ask the user to Aditya run luatools --generate. When run for the first time, luatools Aditya --generate creates the $TEXMFCACHE directory. Since the command Aditya is run by the user, TEXMFCACHE is writable by the user. Ahh, cool. Aditya Once luatools --generate is run, you can simply run context Aditya filename. ConTeXt sees that the formats are wrong and Aditya regenerates them on the fly. The first luatools --generate is Aditya needed so that mtxrun can find the mtx-context script. (context Aditya is just a wrapper around mtx-context.lua). Interesting... Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 signature.asc Description: PGP signature ___ 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 ___