Re: [NTG-context] \| should give two || and not one
Indeed, luigi, but is that what you expect? /Mikael On Fri, Feb 15, 2013 at 5:19 PM, luigi scarso luigi.sca...@gmail.com wrote: On Fri, Feb 15, 2013 at 11:14 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Dear list, \starttext $\|v\|$ \stoptext I expect two vertical bars on each side of v, but see only one. Tested with the latest beta. For what I see \starttext $\|v\|$ $\Vert v\Vert$ $\vert v\vert$ $‖v‖$ \stoptext |푣| ‖푣‖ |푣| ‖푣‖ -- 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 ___ ___ 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] recalculate background on every page with \uniqueMPgraphic?
On Fri, Feb 15, 2013 at 4:02 PM, Marco Patzer home...@lavabit.com wrote: On 2013–02–15 Mikael P. Sundqvist wrote: with the (almost minimal) example below, I reduced your minimal example slightly further: \startuseMPgraphic{figram} StartPage; fill Field[Text][Text]; StopPage; \stopuseMPgraphic \starttext \useMPgraphic{figram} %% using the graphic a second time fails %% \useMPgraphic{figram} \stoptext I hoped that the frame would be recalculated at every page. That's not how uniqueMPgraphics work. 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 ___ Thank you Marco for giving a better example. I thought that uniqueMPgraphic meant it was redrawn everytime while useMPgraphic meant it was done once and then gave the same result everytime used. I probably misunderstood something in the MetaFun manual. In any case: Is there a way to get different frames for every page in a random way? /Mikael ___ 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] mtxrun error
On 2/17/2013 9:07 PM, Philipp Gesang wrote: Hi Alessandro! ···date: 2013-02-17, Sunday···from: Alessandro Perucchi··· Apparently nobody is interested in correcting this error on Mac OS X :-D Afaict it’s not OSX related. no .. binary so you have to wait till a new luatex release shows up (it only affects a few fonts) 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] \| should give two || and not one
On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Indeed, luigi, but is that what you expect? Hm, hard to say for me. I find natural to use \vert and \Vert or, if possible, | and ‖ . LaTeXt users find natural that \| is ‖, but I don't see, as a ConTeXt user, a particular meaning in \| . -- 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 ___
Re: [NTG-context] \| should give two || and not one
On Mon, Feb 18, 2013 at 10:42 AM, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Indeed, luigi, but is that what you expect? Hm, hard to say for me. I find natural to use \vert and \Vert or, if possible, | and || . LaTeXt users find natural that \| is ||, but I don't see, as a ConTeXt user, a particular meaning in \| . I think that since \| is defined as \Vert in the TeXbook and everyone writing mathematics in LaTeX are used to \| to mean \Vert there is no reason to have different behaviour in ConTeXt. /Mikael ___ 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] recalculate background on every page with \uniqueMPgraphic?
On 2013–02–18 Mikael P. Sundqvist wrote: Thank you Marco for giving a better example. I thought that uniqueMPgraphic meant it was redrawn everytime while useMPgraphic meant it was done once and then gave the same result everytime used. http://thread.gmane.org/gmane.comp.tex.context/79507/focus=79538 In any case: Is there a way to get different frames for every page in a random way? Using \startuseMPgraphic is the correct way, since you want the graphic to be recalculated every time. I have no clue why this fails at the moment. It works fine in older versions, so I assume it's a bug. Marco signature.asc Description: Digital 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] simpleslides bug?
With older version: ConTeXt ver: 2013.01.02 18:19 MKIV fmt: 2013.1.7 int: english/english works too! (Win7 64b). In actual TeXlive 2012 version this example work too. It seems that we gradually stop working other variations simpleslides module. Eg. in my version does not work either as this: \usemodule[simpleslides][style=BottomSquares] \starttext \SlideTitle{Test} test \stoptext Win7 64b This dont work neither in actual TeXlive 2012 version. Jaroslav Hajtmar Dne 18.2.2013 13:41, Procházka Lukáš Ing. - Pontex s. r. o. napsal(a): ... Works well with an older version: ConTeXt ver: 2012.11.26 13:31 MKIV fmt: 2012.11.27 int: english/english (WinXP 32b) Lukas On Mon, 18 Feb 2013 04:41:36 +0100, Zhichu Chen zhichu.c...@gmail.com wrote: \usemodule[simpleslides][style=BigNumber] \starttext \SlideTitle{Test} test \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] mp inclusions etc
Hi, I updated the inclusion mechanism a bit. It's now: % initializations: % % - pass settings from tex to mp (delayed expansion) % - used by context core (and modules) % - cummulative definitions % - flushed each graphic % - can be disabled per instance % - managed at the tex end % % extensions: % % - add mp functionality (immediate expansion) % - cummulative % - all instances or subset of instances % - can be disabled per instance % - managed at the lua/mp end % - could be managed at the tex end but no real reason and also messy % % definitions: % % - add mp functionality (delayed expansion) % - cummulative % - per instance % - managed at the tex end % % inclusions: % % - add mp functionality (delayed expansion) % - cummulative only when [+] % - per instance % - managed at the tex end % % order of execution: % % definitions % extensions % inclusions % beginfig % initializations % graphic % endfig So, the main differences are: (1) inclusions bound to default or specific instanced (2) extensions more flexible \starttext \startMPextensions color ColorOne ; ColorOne := red ; color ColorTwo ; ColorTwo := green ; color ColorThree ; ColorThree := blue ; \stopMPextensions \startMPextensions{doublefun} color ColorThree ; ColorThree := magenta ; \stopMPextensions \startMPinclusions def DoWhatever = draw textext(N) ; enddef ; \stopMPinclusions \startMPinclusions def DoWhatever = draw textext(Y) ; enddef ; \stopMPinclusions \startMPinclusions{doublefun} def DoWhatever = draw textext(Y) ; enddef ; \stopMPinclusions \startMPinclusions[+]{doublefun} def DoWhatever = draw textext(YY) ; enddef ; \stopMPinclusions \startMPcode{metafun} draw fullcircle scaled 1cm withcolor ColorOne withpen pencircle scaled 1mm ; draw fullcircle scaled 2cm withcolor ColorTwo withpen pencircle scaled 1mm ; draw fullcircle scaled 3cm withcolor ColorThree withpen pencircle scaled 1mm ; DoWhatever ; \stopMPcode \startMPcode{doublefun} draw fullcircle scaled 1cm withcolor ColorOne withpen pencircle scaled 1mm ; draw fullcircle scaled 2cm withcolor ColorTwo withpen pencircle scaled 1mm ; draw fullcircle scaled 3cm withcolor ColorThree withpen pencircle scaled 1mm ; DoWhatever ; \stopMPcode \stoptext 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 ___
[NTG-context] gnuplot module broken
Hi Mojca et al. todays beta broke the gnuplot module. This is probably due to the changes in the MP inclusion mechanism. \usemodule [gnuplot] \starttext \stoptext Marco signature.asc Description: Digital 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 ___
[NTG-context] bug in paragraph notes
Hi Hans, two months ago, I reported a bug with paragraph linenotes not properly separated from body. Here was my sample: \definelinenote[A] \setupnote[A][paragraph=yes] \setupnotation[A][alternative=serried] \starttext \startlinenumbering \dorecurse{500}{body\A{note} } \stoplinenumbering \stoptext Wolfgang confirmed that the bug appeared with paragraph notes: \setupnote[footnote][paragraph=yes] \setupnotation[footnote][alternative=serried,display=no] \starttext \dorecurse{200}{text text text\footnote{note} } \stoptext Using the beta from today, the bug is still there. Could you fix the bug? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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] gnuplot module broken
On Mon, Feb 18, 2013 at 5:40 PM, Marco Patzer wrote: Hi Mojca et al. todays beta broke the gnuplot module. This is probably due to the changes in the MP inclusion mechanism. \usemodule [gnuplot] \starttext \stoptext Here's an almost minimal example: \def\abc{1cm} \startMPextensions a := \abc; color b; b := \MPcolor{currentcolor}; \stopMPextensions \def\abc{3cm} \starttext \startcolor[blue] \startMPcode fill fullcircle scaled a withcolor b; \stopMPcode \stopcolor \stoptext The old ConTeXt draws a blue circle with diameter 3cm and the new ConTeXt draws a black circle with diameter 1cm. Which one is right? From a recent message by Hans: - add mp functionality (immediate expansion) It seems that ConTeXt now parses everything inside MPextensions earlier than it did before and I don't have the slightest idea how to account for this in the module without a major rewrite. In case that Hans wants to keep the new functionality, I either need [quite some] help with the module or I'll simply stick to TeX Live 2012 for the foreseeable future ;) 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] \| should give two || and not one
Hi All, In a way, it is correct that for compatibility reasons and and convert it is good to keep the old syntax. Yet, ConTeXt is suppose to be more natural. Personally, I find some of the names used in TeX and LaTeX often hard to find. Whenever, I needed a function or symbol I to often go look it up. I mean that \vert and \Vert are still cryptic. They can stand for abs, for all in, etc. .. Me, I prefer names that reflect the their functions, regards Keith. Am 18.02.2013 um 10:51 schrieb Mikael P. Sundqvist mic...@gmail.com: On Mon, Feb 18, 2013 at 10:42 AM, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Feb 18, 2013 at 10:23 AM, Mikael P. Sundqvist mic...@gmail.com wrote: Indeed, luigi, but is that what you expect? Hm, hard to say for me. I find natural to use \vert and \Vert or, if possible, | and || . LaTeXt users find natural that \| is ||, but I don't see, as a ConTeXt user, a particular meaning in \| . I think that since \| is defined as \Vert in the TeXbook and everyone writing mathematics in LaTeX are used to \| to mean \Vert there is no reason to have different behaviour in ConTeXt. ___ 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 ___