Re: [NTG-context] OT: Neo keyboard layout for entering math characters
On 15-10-2011 21:15, Paul Menzel wrote: Dear Andreas, Am Samstag, den 15.10.2011, 14:02 +0200 schrieb Andreas Richter: \starttext \startformula J:\blackboard{R}^\infty \rightarrow \blackboard{R},f \mapsto J[f] \stopformula \stoptext since you seem to be a German native speaker, this is just a shameless plug to recommend to you the Neo2 layout [1] with which you easily can type the following. \startformula J \colon ℝ^∞ → ℝ, f ↦ J[f] \stopformula […] if only these were cheaper ... http://www.artlebedev.com/everything/optimus/ - 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] [solved] MetaFun: hlintext: `! Missing `)' has been inserted.`, `formatstr: ! Not implemented: (pair)-(unknown numeric).`
On 15-10-2011 21:41, Paul Menzel wrote: Dear Hans, Am Freitag, den 14.10.2011, 15:16 +0200 schrieb Hans Hagen: On 14-10-2011 08:02, Paul Menzel wrote: trying to draw a grid and label it, I get an error when using the (alsa attached) example from the MetaFun manual [1]. Fixed in next beta as always thank you very much for this fast fix. I confirm that this is fixed in current ConTeXt Standalone or latest Beta. ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.15 int: english/english (however, instead of mp formatting lua formatting is used, a prelude to the graph rewrite that Alan and I have in mind). Not that I know the syntax of it. I hope the article FormattingNumbers [2] in the lua-users Wiki is the correct place to look. Reading other sources [3] it seems to be the same syntax as the `printf()` implementation of the respective system. sort of (in our case the @ is also seen as % as passing %'s on tex is somewhat tricky) 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] hybrid-italics.pdf: Small corrections
On 15-10-2011 16:45, Paul Menzel wrote: Dear Hans, Am Freitag, den 14.10.2011, 23:26 +0200 schrieb Hans Hagen: A new beta has been uploaded. Nothing new apart from some experimental code and a few bugfixes. I also uploaded http://www.pragma-ade.com/preliminaries/hybrid-italics.pdf I read your document and not being able to contribute anything having to do with programming below you can find the thing which should be corrected in my opinion. Not being a native English speaker they could be wrong though. 1. s/motto’s/mottos/ 2. s/cambria/Cambria/ 3. `\par` not used everywhere 4. … *at* a boundary … 5. … by not passing the italic information *to* the font machinery … Thanks 6. For math italics I do not see a difference in the output when the value is `2` and `3`. That's work in progress .. we need to adapt lfg files and so (but at least it offers a mechanism). 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] OT: Neo keyboard layout for entering math characters
On Sun, Oct 16, 2011 at 12:52 PM, Hans Hagen pra...@wxs.nl wrote: On 15-10-2011 21:15, Paul Menzel wrote: Dear Andreas, Am Samstag, den 15.10.2011, 14:02 +0200 schrieb Andreas Richter: \starttext \startformula J:\blackboard{R}^\infty \rightarrow \blackboard{R},f \mapsto J[f] \stopformula \stoptext since you seem to be a German native speaker, this is just a shameless plug to recommend to you the Neo2 layout [1] with which you easily can type the following. \startformula J \colon ℝ^∞ → ℝ, f ↦ J[f] \stopformula […] if only these were cheaper ... http://www.artlebedev.com/**everything/optimus/http://www.artlebedev.com/everything/optimus/ http://www.acer.it/ac/it/IT/content/iconia -- luigi ___ 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] Spurious space when using space=on with \startlines
Hi, \startlines with the space=on option produces a spurious space. Is that intended? I don't see a reason to introduce a space. \setuplines [style=mono] \starttext % for whatever \startlines for {\it whatever} \stoplines % for whatever \startlines [space=on] for {\it whatever} \stoplines % Workaround % for whatever \startlines [space=on] for {\it{}whatever} % or for{\it whatever} \stoplines \stoptext Regards Marco Patzer ___ 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] arguments on context call
The context --help shows the following option: --arguments=list set variables that can be consulted during a run (key/value pairs) It looks like something I need at the moment. There seems to be no further information on it, at least not be searching the wiki with context arguments. I have the two questions: (1) how is the list given? context arguments=key1=value1,key2=value2 or context arguments=key1=value1,key2=value2 or otherwise (2) how are these values picked up inside the TeX-run for use in typesetting? Hans van der Meer ___ 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] arguments on context call
On 10/16/11 5:35 PM, Meer, H. van der wrote: The context --help shows the following option: --arguments=list set variables that can be consulted during a run (key/value pairs) It looks like something I need at the moment. There seems to be no further information on it, at least not be searching the wiki with context arguments. I have the two questions: (1) how is the list given? context arguments=key1=value1,key2=value2 or context arguments=key1=value1,key2=value2 or otherwise (2) how are these values picked up inside the TeX-run for use in typesetting? Hans van der Meer I recently looked that up on the list archive, so here's a link: http://archive.contextgarden.net/message/20110107.215824.8d1287ab.en.html 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] Spurious space when using space=on with \startlines
Am 16.10.2011 um 16:31 schrieb Marco: Hi, \startlines with the space=on option produces a spurious space. Is that intended? I don't see a reason to introduce a space. \setuplines [style=mono] \starttext % for whatever \startlines for {\it whatever} \stoplines % for whatever \startlines [space=on] for {\it whatever} for \italic{whatever} You can use the commands \italic, \bold etc. which accept the text as argument or you can define your own commands with \definehighlight or \definestyle which will then also accept a argument like \italic above. 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] Spurious space when using space=on with \startlines
On 2011-10-16 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: % for whatever \startlines [space=on] for {\it whatever} for \italic{whatever} This works, thanks. However I still don't know, where the space comes from, since the space after \it is eaten by TeX. Marco ___ 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] Include section number in reference
On 2011-10-15 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: [Description of \setupreferencestructureprefix] wikified Marco ___ 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] xmldir
Hello, I would like to use some tricks described in xmldir manual (only with MkIV) but mtxrun --script tool --dirtoxml stops with /Users/ah/context-old/tex/texmf-osx-64/bin/mtxrun:3248: bad argument #1 to '(for generator)' (directory metatable expected, got nil) Regards Andreas ___ 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] arguments on context call
Thanks, but I am afraid I do not understand the mechanism well enough. I did the follwoing call in the shell: context --fontchoice=my font choice test And in the test.tex file: variable mykey = \getvariable{documents.arguments}{fontchoice}\crlf But that clearly didn't work. Hans van der Meer On 16 okt. 2011, at 18:02, Thomas A. Schmitz wrote: On 10/16/11 5:35 PM, Meer, H. van der wrote: The context --help shows the following option: --arguments=list set variables that can be consulted during a run (key/value pairs) It looks like something I need at the moment. There seems to be no further information on it, at least not be searching the wiki with context arguments. I have the two questions: (1) how is the list given? context arguments=key1=value1,key2=value2 or context arguments=key1=value1,key2=value2 or otherwise (2) how are these values picked up inside the TeX-run for use in typesetting? Hans van der Meer I recently looked that up on the list archive, so here's a link: http://archive.contextgarden.net/message/20110107.215824.8d1287ab.en.html 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 ___ ___ 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] arguments on context call
Am 16.10.2011 um 19:14 schrieb Meer, H. van der: Thanks, but I am afraid I do not understand the mechanism well enough. I did the follwoing call in the shell: context --fontchoice=my font choice test And in the test.tex file: variable mykey = \getvariable{documents.arguments}{fontchoice}\crlf But that clearly didn't work. file name=test.tex \doifdocumentargument {bodyfont} {\setupbodyfont[\getdocumentargument{bodyfont}]} \starttext This document uses “\doifdocumentargumentelse{bodyfont}{\getdocumentargument{bodyfont}}{Latin Modern}” as bodyfont. \stoptext /file $ context --bodyfont=pagella test.tex 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] arguments on context call
Thanks, I was already trying to jump through the hoops of \ctxlua, but this is really simple and exactly what I needed. The offline calls to context/metapost figure production now can get all the information needed to synchronize with the main document. Hans van der Meer On 16 okt. 2011, at 19:32, Wolfgang Schuster wrote: Am 16.10.2011 um 19:14 schrieb Meer, H. van der: Thanks, but I am afraid I do not understand the mechanism well enough. I did the follwoing call in the shell: context --fontchoice=my font choice test And in the test.tex file: variable mykey = \getvariable{documents.arguments}{fontchoice}\crlf But that clearly didn't work. file name=test.tex \doifdocumentargument {bodyfont} {\setupbodyfont[\getdocumentargument{bodyfont}]} \starttext This document uses “\doifdocumentargumentelse{bodyfont}{\getdocumentargument{bodyfont}}{Latin Modern}” as bodyfont. \stoptext /file $ context --bodyfont=pagella test.tex 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] [solved] \cite doesn't work correctly
Beste Hans, Am 12.10.2011 um 16:23 schrieb Steffen Wolfrum: Am 12.10.2011 um 11:33 schrieb Pontus Lurcock: On Wed 12 Oct 2011, Steffen Wolfrum wrote: the \cite command behaves strange, when used in projects: The expected output would be: Me and You; Name, P..Test.. but it is only ; Name, P..Test.. And this result is the same when run from product or from component. Hmm. When I comment out your \setupcite [author] [left={},right={}] and process the chapter with context 2011.10.01, it seems to work. I don't know why setting left and right should kill the author citation type, and then only when in a project structure and with context 2011.10.08 it doesn't work at all (even when commented out as you propose). I think it must be a bug. @Hans: can this be fixed in next beta, please? I happily confirm that this is fixed in vers. 2011 10 14. Thank you very much for this fast fix! Steffen ___ 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 ___