[NTG-context] TOC struggles
Good morning! Hm, i test-TOC.tex Description: Binary data s there a problem with placing the TOC with restrictions to the typeset levels? Please refer to the attached example. Willi ___ 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] TOC struggles
On Thu 20 Oct 2011, Willi Egger wrote: Hm, i s there a problem with placing the TOC with restrictions to the typeset levels? Please refer to the attached example. Hi, I'm afraid I don't have time to run your example, but looking at it I note that you're using ‘\placecontent[level=section]’. If you're using MkIV, the level parameter no longer works: see e.g. http://archive.contextgarden.net/message/20100217.135437.92543d63.ca.html Try something like \placelist[chapter,section] instead. Hope this helps, Pont ___ 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] Problem with MPpage
Does your result differ from mine here? The endpoints on the line suggest it was fully drawn and thus metapost behaves correctly. This was with ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.19 int: english/english on a Macintosh. standalone.pdf Description: standalone.pdf Hans van der Meer On 20 okt. 2011, at 07:18, Lutz Haseloff wrote: Hi all, next Metapost problem. \starttext \startMPpage pickup pencircle scaled 2mm ; draw (0,0)--(5cm,5cm) withcolor red; \stopMPpage \stoptext The resulting pdf does not show the whole red line. The size of the pdf is right but it is shifted to the upper right. Thanks for any help Lutz ___ ___ 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] Problem with MPpage
Yes it differs, but i think it is a problem of last nights Context beta only. My older ConTeXts work ok. 2011/10/20 Meer, H. van der h.vanderm...@uva.nl: Does your result differ from mine here? The endpoints on the line suggest it was fully drawn and thus metapost behaves correctly. This was with ConTeXt ver: 2011.10.14 22:47 MKIV fmt: 2011.10.19 int: english/english on a Macintosh. ___ 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 ___ minitest.pdf Description: Adobe PDF document minitest.log 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] [m-chart] Focus feature
Another one on flow cells: The latest beta adds an unwanted frame around the text ' radiations that ionise', for cells like: \startFLOWcell \name{episode_04_title} \location {1,5} \shape{7} \text[align=left]{{\bf Radiations that ionise}} \connection[nb,pt]{episode_05_title} \stopFLOWcell And I'm not expert enough to figure out another way of aligning them left… On 19 Oct 2011, at 21:00, Otared Kavian wrote: On 18 oct. 2011, at 23:49, Hans Hagen wrote: On 18-10-2011 21:32, Marco wrote: Another issue: According to the manual, “action” should be the default shape. However, when no shape is specified, an error is raised. Is it a bug? fixed in next beta also connection parsing is more tolerant now: + left - right in addition to lr etc Dear Hans, The command \comment[r]{blabla} does not work anymore in mkiv when using \usemodule[chart]: one gets an error message. (ConTeXt version 2011.10.19 00:02). It seems that in the file m-chart.mkvi there is a typo at line 277: one finds there \do_FLOW_commment instead of \do_FLOW_comment. Fixing this typo eliminates the error message but the comment does not show up. Best regards: OK ___ 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] Bug in latest beta
Hi Hans, something is wrong with the \mathprime definition in math-pln.mkiv. The compilation of \starttext $f'(x)$ \stoptext Stopps with: \dodomathprime -\normalprime \futurelet \nexttoken \dododomathprime 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] For Windows users: ConTeXt + SciTe installation instructions updated
Hi Mari, if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit, i can no longer scroll the text in the editor. Windows quits SciTe because of an unknown error :-( Has someone else the same error? Greetings Lutz 2011/10/19 Mari Voipio mari.voi...@iki.fi: Hello! At the recent ConTeXt meeting Hans helped me update my ConTeXt installation and explained about a new way of getting ConTeXt to work with SciTe, it now uses external lexers and even spell-checking is now possible for some languages. The SciTe tips and tricks page will have to wait, but I made a new wiki page for the installation instructions. This one isn't linked anywhere yet and the page title should probably be changed before that, but I leave that to wiki admins. My old Simple Windows installation page should probably be unlinked or even deleted after this new and better one has found its proper spot. For now, the new Windows+SciTe page is at http://wiki.contextgarden.net/Windows:_ConTeXt_Suite_with_editor_%28SciTe%29 I checked the instructions by installing the combo on a blank new Win64-laptop (of the cheap and sleazy type, this keyboard drives me nuts!) and it works. It is not exactly out-of-the-box, but nothing a seasoned Windows user or a half-good admin couldn't manage. I assume small .bat scripts could be written to automatize it even further, but I'm no programmer, it is faster for me to do a bit of manual work instead. Hope this helps, Mari (who'll now proceed onwards to write a ConTeXt 101 suite for Windows/Word dummies) ___ 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] For Windows users: ConTeXt + SciTe installation instructions updated
On Thu, Oct 20, 2011 at 11:50, Lutz Haseloff lutz.hasel...@googlemail.com wrote: if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit, i can no longer scroll the text in the editor. Windows quits SciTe because of an unknown error :-( Has someone else the same error? Do you have special mouse/scroll software installed? If, which one and whose? Did you try reinstalling it after you installed SciTe? I did notice a scrolling problem, but it is not that bad: I'm using a marble mouse that doesn't have a scroll wheel at all, so I had to install Logitech's software to turn a scroller on and of with the fourth mouse button. That works everywhere else, but not in SciTe - the scroll bar moves, but nothing happens... [Not having scroll wheel drives me nuts, but that was the only pointing device we had of this type that fitted for left hand; a new 'marble' of different brand, with a scroll wheel, has been ordered!] When I first installed the documented combo at ConTeXt User Meeting, I was successfully using a Logitech Bluetooth Travel mouse, but I did *not* have the Logitech software in the laptop. I cannot recall having problems with the right-handed cordless marble mouse, either, not even after installing Logitech Setpoint, it scrolled fine with the scroll wheel - I was quite happy with everything until my elbow forced me to switch to left-handed mousing for now. NB. These experiences were like two beta versions ago, don't know if that makes any difference... I didn't put any external mouse on my test bench computer I used to check the wiki instructions, so I can't say anything about it. If the computer is still on my desk when I'm back at the office on Monday, I can test it a bit, we've got plenty of 'normal' mice floating around. Hans also uses a scroll mouse with his Windows+SciTe combo, so usually these work. My first guess would be some kind of conflict between mouse software and SciTe, but I might be wrong. BTW, if you remove SciTe with the lexers and stuf and reinstall it, but don't put lexers and ConTeXt modifications in the SciTe directory, what happens then? Just my 5 cents, Mari ___ 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 (mtxrun still unpatched?)
Hi Hans, with the latest beta I still have to patch mtxrun to make xmldir work … Besides, the root-parameter (--root=some/path) don’t seem to have any impact. As an workaround I’m using \startmode[*first] \executesystemcommand {cd some/path mtxrun --script tools --dirtoxml --pattern=*.pdf --output=some/path/xmldir.xml} \stopmode Thanks in advance 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] For Windows users: ConTeXt + SciTe installation instructions updated
2011/10/20 Mari Voipio mari.voi...@iki.fi: On Thu, Oct 20, 2011 at 11:50, Lutz Haseloff lutz.hasel...@googlemail.com wrote: if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit, i can no longer scroll the text in the editor. Windows quits SciTe because of an unknown error :-( Has someone else the same error? Do you have special mouse/scroll software installed? If, which one and whose? Did you try reinstalling it after you installed SciTe? I use SetPoint by LogiTech. No. It is not only a mouse Problem, dragging the slider down and holding down the PageDown key has the same effect. I did notice a scrolling problem, but it is not that bad: I'm using a marble mouse that doesn't have a scroll wheel at all, so I had to install Logitech's software to turn a scroller on and of with the fourth mouse button. That works everywhere else, but not in SciTe - the scroll bar moves, but nothing happens... [Not having scroll wheel drives me nuts, but that was the only pointing device we had of this type that fitted for left hand; a new 'marble' of different brand, with a scroll wheel, has been ordered!] When I first installed the documented combo at ConTeXt User Meeting, I was successfully using a Logitech Bluetooth Travel mouse, but I did *not* have the Logitech software in the laptop. I cannot recall having problems with the right-handed cordless marble mouse, either, not even after installing Logitech Setpoint, it scrolled fine with the scroll wheel - I was quite happy with everything until my elbow forced me to switch to left-handed mousing for now. NB. These experiences were like two beta versions ago, don't know if that makes any difference... I didn't put any external mouse on my test bench computer I used to check the wiki instructions, so I can't say anything about it. If the computer is still on my desk when I'm back at the office on Monday, I can test it a bit, we've got plenty of 'normal' mice floating around. I will try it without SetPoint. Hans also uses a scroll mouse with his Windows+SciTe combo, so usually these work. My first guess would be some kind of conflict between mouse software and SciTe, but I might be wrong. BTW, if you remove SciTe with the lexers and stuf and reinstall it, but don't put lexers and ConTeXt modifications in the SciTe directory, what happens then? Then it works as expected but without the excellent new syntax highlighting. Just my 5 cents, Mari ___ 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] For Windows users: ConTeXt + SciTe installation instructions updated
On 20-10-2011 10:50, Lutz Haseloff wrote: if i install SciTe and the the ConTeXt files for SciTe on my Win 7 64 bit, i can no longer scroll the text in the editor. Windows quits SciTe because of an unknown error :-( Has someone else the same error? I assume that you installed the lexer lua libs too. I don't know if that one is 64 bit (I'm on a by now pretty old 32 bit machine). 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] Bug in latest beta
On 20-10-2011 10:46, Andreas Harder wrote: \starttext $f'(x)$ \stoptext Fixed (a definition order issue). The prime handling is somewhat weird as it does some look ahead for superscripts (1) because there can b emultiple primes and (2) because traditional tex fonts have large prime that needs to be superscripts. The current setup works ok with proper opentype math fonts as well as virtual lm (which has the big prime). Multiple primes are collapsed onto \doubleprime and \tripleprime. 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] [m-chart] Focus feature
On 20-10-2011 10:43, Ian Lawrence wrote: Another one on flow cells: The latest beta adds an unwanted frame around the text ' radiations that ionise', for cells like: \startFLOWcell \name{episode_04_title} \location {1,5} \shape{7} \text[align=left]{{\bf Radiations that ionise}} \connection[nb,pt]{episode_05_title} \stopFLOWcell \text[l]{...} - 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] Problem with MPpage
On 20-10-2011 10:43, Lutz Haseloff wrote: Yes it differs, but i think it is a problem of last nights Context beta only. fixed (side effects of makeup's now having inheritance and fallback on layout with the same name 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] [m-chart] Focus feature
On 19-10-2011 22:00, Otared Kavian wrote: On 18 oct. 2011, at 23:49, Hans Hagen wrote: On 18-10-2011 21:32, Marco wrote: Another issue: According to the manual, “action” should be the default shape. However, when no shape is specified, an error is raised. Is it a bug? fixed in next beta also connection parsing is more tolerant now: + left - right in addition to lr etc Dear Hans, The command \comment[r]{blabla} does not work anymore in mkiv when using \usemodule[chart]: one gets an error message. (ConTeXt version 2011.10.19 00:02). It seems that in the file m-chart.mkvi there is a typo at line 277: one finds there \do_FLOW_commment instead of \do_FLOW_comment. Fixing this typo eliminates the error message but the comment does not show up. I've added comment to the new code but I'm not sure how compatible it is. However, there is more control, compare [t] (anchored at edge) with [t:0.5] (anchored halfway along the path) ... comments now relate to the connection that they follow so each connection can have a whole bunch of comments. 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] Standardmakeup
Am 19.10.2011 um 22:03 schrieb Willi Egger: Hi, Hans told me, that one needs to set before and after for the lines to nil. Indeed that solves the problem as long as you do not want to insert extra white space between the lines. The effect of moving down the lines occurs also with inserting an empty line. Add \vfill before \stopstandardmakeup. \setupmakeup[standard][top=,bottom=] \setuplines[before=,after=] \starttext \startstandardmakeup[doublesided=no,page=yes] \strut \godown[.25\textheight] \startalignment[middle] \startlines {\bfd Der Titel} \blank[line] {\bf De Untertitel} \stoplines \stopalignment \stopstandardmakeup \stoptext You don’t need the lines environment because with the blank you get two separate lines and the \strut is a bad idea because you get at the top a extra line with the command. \startstandardmakeup[doublesided=no,align=middle,page=yes] \godown[.25\textheight] {\bfd Der Titel} \blank[line] {\bf De Untertitel} \vfill \stopstandardmakeup 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] MetaFun: Confusion with `function()` and `xyscaled`
Dear ConTeXt/MetaFun folks, looking at the example for grid and functions in the MetaFun manual [1] section 9.3 drawoptions(withpen pencircle scaled .25pt withcolor .5white) ; draw hlingrid(0, 20, .2, 20cm, 10cm) ; draw vloggrid(0, 10, .5, 10cm, 20cm) ; drawoptions(withpen pencircle scaled .50pt) ; draw hlingrid(0, 20, 1, 20cm, 10cm) ; draw vloggrid(0, 10, 1, 10cm, 20cm) ; fmt_pictures := false ; % use TeX as formatting engine textextoffset := ExHeight ; % a variable set by ConTeXt draw hlintext.lft(0, 20, 5, 20cm, @3e) ; draw vlogtext.bot(0, 10, 9, 10cm, @3e) ; draw function(1,log(x),x,1,10,1) xyscaled (10cm,2cm) withpen pencircle scaled 5mm withcolor transparent(1,.5,yellow) ; I am confused how the resulting function is scaled correctly. The resulting dimensions seem to be 10cm and 18 cm. So I guess the 2 cm mean to shift it up some how. Could someone please explain to me how `xyscaled` works in this case please. I though `xyscaled (αcm, ζcm)` would set the object/path to a width of α cm and a height of ζ cm. Thanks, Paul [1] http://www.pragma-ade.com/general/manuals/metafun-s.pdf test.pdf Description: Adobe PDF document \starttext \startMPcode drawoptions(withpen pencircle scaled .25pt withcolor .5white) ; draw hlingrid(0, 20, .2, 20cm, 10cm) ; draw vloggrid(0, 10, .5, 10cm, 20cm) ; drawoptions(withpen pencircle scaled .50pt) ; draw hlingrid(0, 20, 1, 20cm, 10cm) ; draw vloggrid(0, 10, 1, 10cm, 20cm) ; fmt_pictures := false ; % use TeX as formatting engine textextoffset := ExHeight ; % a variable set by ConTeXt draw hlintext.lft(0, 20, 5, 20cm, @3e) ; draw vlogtext.bot(0, 10, 9, 10cm, @3e) ; draw function(1,log(x),x,1,10,1) xyscaled (10cm,2cm) withpen pencircle scaled 5mm withcolor transparent(1,.5,yellow) ; draw fullsquare xyscaled (10cm,2cm); \stopMPcode \startMPcode draw fullsquare xyscaled (1cm,1cm); \stopMPcode \startMPcode draw fullsquare xyscaled (2cm,1cm); \stopMPcode \startMPcode draw fullsquare xyscaled (1cm,2cm); \stopMPcode \startMPcode draw fullsquare xyscaled (1,2); \stopMPcode \stoptext signature.asc Description: This is a digitally signed message part ___ 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 ___