Re: [NTG-context] Remove bold face
anuar lezama wrote: > Hello Everybody, My problem is the following: I'm creating chapter's > titles with a mix of styles. For example. \chapter{ something > {\bolditalic another thing}} This give me the result that I expect with \nomarking {\bolditalic } should do the trick. Best wishes, Taco ___ 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] osx-64-binaries/minimals
Mojca Miklavec wrote: The software test: Yue:context yue$ if test `uname -r|cut -f1 -d"."` -ge 10 ; then echo yes; else echo no; fi yes hm, we need to use the methods built in luatex Someone should check what is returned in the os.uname() return table. Mine returns t={ ["machine"]="x86_64", ["nodename"]="...[my ip]...", ["release"]="10.0.0", ["sysname"]="Darwin", ["version"]="Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64", } but I'm booting in 64-bit mode (I need to reboot first to check for return value in 32-bit mode). On one hand uname doesn't return anything usable when booting with 32-bit kernel, but on the other hand one probably already runs the 64-bit luatex at the time when mtxrun needs to determine the architecture. Well, I doubt you can discover whether you have a totally 32bit software environment with a 64bit kernel without lots of trickery (but I could be wrong about that). In any case, os.uname() will give the same results as the shell command uname. 64bit osx runs 32bit executables (I assume) so you could make the initial luatex (the one used during install) be a 32bit one, then make that one decide on which one to use for normal typesetting? Best wishes, Taco ___ 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] Remove bold face
Hello Everybody, My problem is the following: I'm creating chapter's titles with a mix of styles. For example. \chapter{ something {\bolditalic another thing}} This give me the result that I expect with my titles, but when I use this title's string to create a header, part of the header appears with the bold italic style on it and I would like to remove it. So far I have tried to define my header's style as normal but the bolditalic style keeps appearing on the "another thing" part. Is there a way to remove this bold style? Thank you in advance for the help -- Kind Regards Anuar ___ 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] framed items
On Tue, Nov 17, 2009 at 4:41 PM, Aditya Mahajan wrote: .. done at http://wiki.contextgarden.net/Framed#Width_broad_and_local -- 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] the meaning of cutspace
On Tue, Nov 17, 2009 at 1:54 PM, Taco Hoekwater wrote: > > > luigi scarso wrote: >> >> to wikify ... where ? > > http://wiki.contextgarden.net/Layout ? done -- 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] Pstricks and Asymptote
Am 17.11.2009 um 18:25 schrieb Hans Hagen: >>> Thomas or someone else can you please confirm that the pstricks module >>> works with MKIV. Also, where I can find the module? It is not there >>> with the other third party modules. > > if i'd know where to search i could fix it ... has to do with adding > resources to the pdf http://tug.org/mailman/htdig/macostex-archives/2009-April/040222.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] Pstricks and Asymptote
Curiouslearn wrote: I think I should give Metapost a try. There are two reasons, I tried out asymptote (i) Its syntax seems easier to remember (ii) It can find intersections of curves (not only straight lines) quite easily. mp can do intersections and future versions of mp might provide new functionality as well 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] Pstricks and Asymptote
I think I should give Metapost a try. There are two reasons, I tried out asymptote (i) Its syntax seems easier to remember (ii) It can find intersections of curves (not only straight lines) quite easily. Can Metapost do the second? Anyhow, I am going to give it a try again to see if I like it. Thanks. On Tue, Nov 17, 2009 at 2:59 PM, Mojca Miklavec wrote: > On Tue, Nov 17, 2009 at 20:35, Curiouslearn wrote: >> Thanks to all who made some suggestions about where I can find >> Metapost libraries. Will look into those. >> >> It seems Asymptote + Tikz is a good way to go and also try out Metapost >> again. >> >> Mojca, you said that number of pstricks users are decreasing. > > I didn't say that it's decreasing. I just said that it's really low, > but I meant ConTeXt users with that. There are still plenty LaTeX > users around. > > The main problem is that PS Tricks cannot be very well integrated > unless one uses tex->dvips, but ConTeXt doesn't use that for ages and > there is basically no support for dvi in ConTeXt either. > >> Is this >> amongst Context users, or in general amongst all users who use >> pstricks. If the overall number of users is decreasing then perhaps I >> don't want to spend time learning it as it won't have new features in >> the future. I don't like its syntax, though it can do neat things. > > Are there any "neat features" that you won't to do, but cannot do with > TikZ? (I'm sure there are some, but I'm also sure that 99% of drawings > can be done in a very similar way in TikZ as well unless there is a > well-developed PSTricks library around that's missing in TikZ.) > > Asymptote is very similar to MetaPost. The main reason why I would > want to use it is to draw 3D, else I would go for MetaPost since it's > much faster and better integrated when used within ConTeXt. > > 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 > ___ > ___ 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 20:35, Curiouslearn wrote: > Thanks to all who made some suggestions about where I can find > Metapost libraries. Will look into those. > > It seems Asymptote + Tikz is a good way to go and also try out Metapost > again. > > Mojca, you said that number of pstricks users are decreasing. I didn't say that it's decreasing. I just said that it's really low, but I meant ConTeXt users with that. There are still plenty LaTeX users around. The main problem is that PS Tricks cannot be very well integrated unless one uses tex->dvips, but ConTeXt doesn't use that for ages and there is basically no support for dvi in ConTeXt either. > Is this > amongst Context users, or in general amongst all users who use > pstricks. If the overall number of users is decreasing then perhaps I > don't want to spend time learning it as it won't have new features in > the future. I don't like its syntax, though it can do neat things. Are there any "neat features" that you won't to do, but cannot do with TikZ? (I'm sure there are some, but I'm also sure that 99% of drawings can be done in a very similar way in TikZ as well unless there is a well-developed PSTricks library around that's missing in TikZ.) Asymptote is very similar to MetaPost. The main reason why I would want to use it is to draw 3D, else I would go for MetaPost since it's much faster and better integrated when used within ConTeXt. 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] Pstricks and Asymptote
Thanks to all who made some suggestions about where I can find Metapost libraries. Will look into those. It seems Asymptote + Tikz is a good way to go and also try out Metapost again. Mojca, you said that number of pstricks users are decreasing. Is this amongst Context users, or in general amongst all users who use pstricks. If the overall number of users is decreasing then perhaps I don't want to spend time learning it as it won't have new features in the future. I don't like its syntax, though it can do neat things. Asymptote syntax is really good. Thanks again. On Tue, Nov 17, 2009 at 1:21 PM, Mojca Miklavec wrote: > On Tue, Nov 17, 2009 at 18:22, Hans Hagen wrote: >> Mojca Miklavec wrote: >>> >>> I just forgot to add: MKIV is currently broken in TL 2009 and >>> asymptote is not part of minimals (yet). In both cases I guess that >>> I'm the one to blame for both. I'll be on "health leave" (skipping >>> work) for the next 7-10 days, so you should better hurry up if you >>> need anything :) :) :) >> >> hey, you're not to blame for tex live .. that's just because tl was frozen >> already long ago > > I'm to blame for not setting up the ConTeXt-specific TL repository yet > (for which Norbert has written the code twice already). > > 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 > ___ > ___ 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 18:22, Hans Hagen wrote: > Mojca Miklavec wrote: >> >> I just forgot to add: MKIV is currently broken in TL 2009 and >> asymptote is not part of minimals (yet). In both cases I guess that >> I'm the one to blame for both. I'll be on "health leave" (skipping >> work) for the next 7-10 days, so you should better hurry up if you >> need anything :) :) :) > > hey, you're not to blame for tex live .. that's just because tl was frozen > already long ago I'm to blame for not setting up the ConTeXt-specific TL repository yet (for which Norbert has written the code twice already). 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] spacing between floating figure caption and surrounding text
Hello Hans, sidespacebefore sidespaceafter Yes, I played with them, but did not understand their logic. Is 'high' equals to sidespacebefore=0 'low' -- to sidespaceafter=0? In other words, how to duplicate the effect of 'low' using sidespace options? Vyatcheslav ___ 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 18:25, Hans Hagen wrote: > Mojca Miklavec wrote: > >> In past Till has *always* fixed any bug reported, but I have not heard >> from him since March (neither as reply to off-list requests nor any >> response to the mailing list). > > if i'd know where to search i could fix it ... has to do with adding > resources to the pdf tex/generic/pgf/utilities/pgfutil-context.def (and pgfutil-common.def) > does all tikz graphics fail? Yes. Close-to-minimal-example (the really minimal examyle is just loading the module): \usemodule[tikz] \starttext \starttikzpicture \fill[gray] (1,1) rectangle +(1,1); \stoptikzpicture \stoptext ! Undefined control sequence. \pgfu...@addpdfresource@colorspaces ...olorspaces {#1} l.396 ...rspaces{ /pgfprgb [/Pattern /DeviceRGB] } ? 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] Pstricks and Asymptote
Mojca Miklavec wrote: In past Till has *always* fixed any bug reported, but I have not heard from him since March (neither as reply to off-list requests nor any response to the mailing list). Thomas or someone else can you please confirm that the pstricks module works with MKIV. Also, where I can find the module? It is not there with the other third party modules. if i'd know where to search i could fix it ... has to do with adding resources to the pdf does all tikz graphics fail? 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] Pstricks and Asymptote
Mojca Miklavec wrote: On Tue, Nov 17, 2009 at 17:57, Mojca Miklavec wrote: On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote: The reason I am asking is that eventually all the new Context features will be in MKIV. I want to know what graphics packages I can use with it other than Metapost. Answering that question alone: I would go with TikZ. You are free to use Asymptote whenever other packages don't satisfy your needs. A quick-and-dirty(-and-not-too-fast) support can be implemented easily. I just forgot to add: MKIV is currently broken in TL 2009 and asymptote is not part of minimals (yet). In both cases I guess that I'm the one to blame for both. I'll be on "health leave" (skipping work) for the next 7-10 days, so you should better hurry up if you need anything :) :) :) hey, you're not to blame for tex live .. that's just because tl was frozen already long ago - 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] Pstricks and Asymptote
Mojca Miklavec wrote: On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote: The reason I am asking is that eventually all the new Context features will be in MKIV. I want to know what graphics packages I can use with it other than Metapost. Answering that question alone: I would go with TikZ. You are free to use Asymptote whenever other packages don't satisfy your needs. A quick-and-dirty(-and-not-too-fast) support can be implemented easily. als, even if tikz might have problems with mkiv now (probaly only special colors) it has always been shippd with proper context support which is important as aditya pointed out, asymptote has some hard wired assumptions and does not integrate well with context 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 6:01 PM, Mojca Miklavec wrote: > I just forgot to add: MKIV is currently broken in TL 2009 AFAIK it was not a strict target, and anyway I see no problem > and asymptote is not part of minimals (yet). nothing against asy, but maybe we don't need it in minimals -- 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 17:57, Mojca Miklavec wrote: > On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote: >> >> The reason I am asking is that eventually all the new Context features will >> be >> in MKIV. I want to know what graphics packages I can use with it other than >> Metapost. > > Answering that question alone: I would go with TikZ. You are free to > use Asymptote whenever other packages don't satisfy your needs. A > quick-and-dirty(-and-not-too-fast) support can be implemented easily. I just forgot to add: MKIV is currently broken in TL 2009 and asymptote is not part of minimals (yet). In both cases I guess that I'm the one to blame for both. I'll be on "health leave" (skipping work) for the next 7-10 days, so you should better hurry up if you need anything :) :) :) 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] Pstricks and Asymptote
On Mon, Nov 16, 2009 at 15:12, curiouslearn wrote: > > The reason I am asking is that eventually all the new Context features will be > in MKIV. I want to know what graphics packages I can use with it other than > Metapost. Answering that question alone: I would go with TikZ. You are free to use Asymptote whenever other packages don't satisfy your needs. A quick-and-dirty(-and-not-too-fast) support can be implemented easily. 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] Pstricks and Asymptote
On Mon, Nov 16, 2009 at 23:57, Curiouslearn wrote: > Thanks everyone for replying. > > Mojca, in case you read this, can you please let me know what the > status on asymptote is. I read it***, but I already forgot what the state was. I had to find the thread where I suggested a few changes, but the main people involved were Michail and Aditya. (Those who knew what was going on behind the scenes.) (***I ofter skip threads where no "hot" keywords appear in subject. You can CC me if you don't get any answer from me for some reasonable time.) >From what I remember (Michail, please correct me if I'm wrong) and apart from what Aditya wrote: - you can always use standalone asymptote files to generate figures, for example: settings.tex="context"; texpreamble("\usetypescript[iwona]"); texpreamble("\usetypescript[antykwa-torunska]"); label("$A$",0,N,font("iwona")); label("$A$",0,S,font("antykwa")+red); - Aditya described the integrated graphics (\startASY ... \stopASY) pretty well - in a quick-and-dirty way it can be done easily, but more difficult to do it properly. If it would help you a lot to have a quick-and-dirty solution for that, let us know. Now that TeX Live includes asymptote it is much easier for everyone to test it. - Michail was working on 3D support (that is making 3D text out of tex labels), but I have no idea what the status of that is. > Alan, the tikz module does not work with MKIV. From what I have read > before, it seems it will not unless the creator of tikz makes some > changes to tikz package so that it works with Context. I am not sure > how likely that is. In past Till has *always* fixed any bug reported, but I have not heard from him since March (neither as reply to off-list requests nor any response to the mailing list). > Thomas or someone else can you please confirm that the pstricks module > works with MKIV. Also, where I can find the module? It is not there > with the other third party modules. It's part of ConTeXt core, but the problem is that one needs a separate TeX run (PSTricks only works with tex->dvips->ps2pdf and that is awfully slow). I cannot tell you if it works with mkiv - probably not, but I can only tell you that the number of users is limiting towards zero and with that number of users you are almost on your own. I would say that tikz is much better in almost any respect, but then ... I have no idea why Till has been so silent for such a long time. 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] osx-64-binaries/minimals
On Tue, Nov 17, 2009 at 17:16, Taco Hoekwater wrote: > Hans Hagen wrote: >> Mojca Miklavec wrote: >>> On Mon, Nov 16, 2009 at 11:33, Andreas Harder wrote: Hi all! If I update the minimals via first-setup.sh I get the 32bit-binaries (luatex) although I'm on Snow Leopard. If I change the binaries myself it works fine and the compilation is notable faster! >>> >>> We had a lengthy discussion about Snow Leopard. The last message was >>> Yue Wang's proposal to check for 64-bit compatibility: >>> The hardware test: Yue:context yue$ if test `sysctl -n hw.cpu64bit_capable | grep -c 1` = 1 ; then echo yes; else echo no; fi yes The software test: Yue:context yue$ if test `uname -r|cut -f1 -d"."` -ge 10 ; then echo yes; else echo no; fi yes >> >> hm, we need to use the methods built in luatex > > Someone should check what is returned in the os.uname() return table. Mine returns t={ ["machine"]="x86_64", ["nodename"]="...[my ip]...", ["release"]="10.0.0", ["sysname"]="Darwin", ["version"]="Darwin Kernel Version 10.0.0: Fri Jul 31 22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64", } but I'm booting in 64-bit mode (I need to reboot first to check for return value in 32-bit mode). On one hand uname doesn't return anything usable when booting with 32-bit kernel, but on the other hand one probably already runs the 64-bit luatex at the time when mtxrun needs to determine the architecture. 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] Sort register (index) by Bible book
Jelle Huisman wrote: > On 17/11/2009 07:48, Taco Hoekwater wrote: >> Using >>\index[Samuel 1 1:1]{1 Samuel 1:1} >> >> Should change the sort order. Untested, though. >> > > He probably wants to get Genesis before Exodus (etc.) instead. So would > it be possible to tell the index mechanism to sort certain items in an > arbitrary order? (I don't know what \sort and \loadsorts do?) You could pre-assign a zero-padded number to each book (Genesis=001, Exodus=002), and use that number inside the square brackets. Best wishes, Taco ___ 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] kpathsea510.dll couldn't be found
On Tue, Nov 17, 2009 at 16:57, Helmut Schwertner wrote: > Hello Mojca, > > thank you very much. I played it little bit and curiously and unexpected the > file ›kpathsea510.dll‹ is in the directory ›C:\context\tex\texmf-mswin\bin‹. > Perfect. All works fine. > > Beforehand I copied the ›luatex.exe‹ in the directory ›C:\context\bin‹. Is > it possible that there ist a relation between the (new) file luatex.exe in > my directory ›C:\context\bin‹ and the (for me) new file kpathsea510.dll? I > understand nothing about this. I don't understand the question. I added the file to repository and suspect that this problem will hit again unless I fix the problem properly. 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] Sort register (index) by Bible book
On 17/11/2009 07:48, Taco Hoekwater wrote: Using \index[Samuel 1 1:1]{1 Samuel 1:1} Should change the sort order. Untested, though. He probably wants to get Genesis before Exodus (etc.) instead. So would it be possible to tell the index mechanism to sort certain items in an arbitrary order? (I don't know what \sort and \loadsorts do?) Jelle ___ 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] osx-64-binaries/minimals
Hans Hagen wrote: > Mojca Miklavec wrote: >> On Mon, Nov 16, 2009 at 11:33, Andreas Harder wrote: >>> Hi all! >>> >>> If I update the minimals via first-setup.sh I get the 32bit-binaries >>> (luatex) although I'm on Snow Leopard. If I change the binaries >>> myself it works fine and the compilation is notable faster! >> >> We had a lengthy discussion about Snow Leopard. The last message was >> Yue Wang's proposal to check for 64-bit compatibility: >> >>> The hardware test: >>> Yue:context yue$ if test `sysctl -n hw.cpu64bit_capable | grep -c 1` >>> = 1 ; then echo yes; else echo no; fi >>> yes >>> >>> The software test: >>> Yue:context yue$ if test `uname -r|cut -f1 -d"."` -ge 10 ; then >>> echo yes; else echo no; fi >>> yes > > hm, we need to use the methods built in luatex Someone should check what is returned in the os.uname() return table. Best wishes, Taco ___ 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] spacing between floating figure caption and surrounding text
Taco Hoekwater wrote: Vyatcheslav Yatskovsky wrote: Hello, Another question about figures. How to get rid of big spacing between floating figure caption and surrounding text? In the following example, I want the spacing between "Figure 1" and the text below to be twice less. Normally, you would do \setupfloat[figure][after=] but that does not seem to work very well for side floats, sorry. sidespacebefore sidespaceafter - 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] Pstricks and Asymptote
luigi scarso wrote: On Tue, Nov 17, 2009 at 4:30 PM, Hans Hagen wrote: fyi: you can define extra mp instances in order avoid clashes: \defineMPinstance[whatever1][format=metafun,extensions=yes,initializations=yes] \defineMPinstance[whatever2][format=mpost] \startMPdefinitions{whatever1} input metaobj; \stopMPdefinitions \startuseMPgraphic{whatevere1::mygraphic} Is there something for luatex too ? eh .. this is for mkiv 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] Producing PDF x/1-a:2001 output.
John Culleton wrote: There are two tasks for crating a PDF x/1-a:2001 file. First limits must be imposed per the standard. Second the pdf file must "look" like a PDF x1-a:2001 file to the printer and his software. The tag at the top of the file is of course trivial. But there is some xml code embedded also. mkiv can include the xml blob but currently the code is disabled as we need an uncompressed stream which currently is not possible at the lua end (under construction) and i'm not going to write a temporary solution - 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] kpathsea510.dll couldn't be found
Hello Mojca, thank you very much. I played it little bit and curiously and unexpected the file ›kpathsea510.dll‹ is in the directory ›C:\context\tex\texmf-mswin\bin‹. Perfect. All works fine. Beforehand I copied the ›luatex.exe‹ in the directory ›C:\context\bin‹. Is it possible that there ist a relation between the (new) file luatex.exe in my directory ›C:\context\bin‹ and the (for me) new file kpathsea510.dll? I understand nothing about this. Thanks and greetings, Helmut Mojca Miklavec schrieb am 17.11.2009 14:50: On Tue, Nov 17, 2009 at 12:22, Helmut Schwertner wrote: Hello, On my contextminimals there ist no file named kpathsea510.dll. Only kpathsea500.dll etc. What can I do? Yell at me for not setting up Arthur's lua code yet. (Though the file should be there now.) Mojca Helmut Schwertner Kirchweg 154 28201 Bremen Phone: 0421 528 58 22 Mobil: 01577 195 37 78 eMail: helmut.schwert...@gmx.de ___ 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] Producing PDF x/1-a:2001 output.
On Monday 02 November 2009 08:36:41 Hans Hagen wrote: > John Culleton wrote: > > The documentation for pdfx goes through the source section by > > section and discusses what each does. > > it's easier for me to preflight a file and see what acrobat reports > > btw, things like color and fonts are easy as one can configure this; and > there might be a few additional resources needed but that's easy > > in my experience the problem is more with embedded graphics and these > are out of our control > > 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 > ___ > There are two tasks for crating a PDF x/1-a:2001 file. First limits must be imposed per the standard. Second the pdf file must "look" like a PDF x1-a:2001 file to the printer and his software. The tag at the top of the file is of course trivial. But there is some xml code embedded also. If a dummy file were created in e.g., pdf 1.4, and then a copy were made in Distiller with PDF X/1-a:2001, then a differential analysis could show out the elements (e.g., xml code) spelled out above. In Linux I would use the diff command but I don't think that is available to Windows users. Scribus will soon produce PDF X/1-a:2001 documents. It is already a menu choice in the alpha version Scribus 1.5.0. But the code behind the menu choice isn't in place yet. When it is I will do a diff run on two versions of the same file and see what is different. -- John Culleton "Create Book Covers with Scribus" http://www.booklocker.com/books/4055.html ___ 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 4:30 PM, Hans Hagen wrote: > fyi: > > you can define extra mp instances in order avoid clashes: > > \defineMPinstance[whatever1][format=metafun,extensions=yes,initializations=yes] > \defineMPinstance[whatever2][format=mpost] > > \startMPdefinitions{whatever1} > input metaobj; > \stopMPdefinitions > > \startuseMPgraphic{whatevere1::mygraphic} Is there something for luatex too ? -- 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] rotate a figure
Peter Münster wrote: On Tue, Nov 17 2009, R. Bastian wrote: \rotate[rotation=90]{\externalfigure[filename]} \externalfigure[filename][orientation=90] ;) OK, it is the param I hoped to get, but how to find it in the doc ? Hello, I suppose, that you can find "orientation=..." only in the sources, but \rotate[]{} is a standard command that you can find in the wiki, in mp-cb-en.pdf and in texshow. \placefigure[here,90]{}{} - 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] osx-64-binaries/minimals
Mojca Miklavec wrote: On Mon, Nov 16, 2009 at 11:33, Andreas Harder wrote: Hi all! If I update the minimals via first-setup.sh I get the 32bit-binaries (luatex) although I'm on Snow Leopard. If I change the binaries myself it works fine and the compilation is notable faster! We had a lengthy discussion about Snow Leopard. The last message was Yue Wang's proposal to check for 64-bit compatibility: The hardware test: Yue:context yue$ if test `sysctl -n hw.cpu64bit_capable | grep -c 1` = 1 ; then echo yes; else echo no; fi yes The software test: Yue:context yue$ if test `uname -r|cut -f1 -d"."` -ge 10 ; then echo yes; else echo no; fi yes hm, we need to use the methods built in luatex 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] framed items
On Tue, 17 Nov 2009, luigi scarso wrote: On Tue, Nov 17, 2009 at 4:32 PM, Aditya Mahajan wrote: I did not know about width=local (and therefore wanted width=broad to behave like it). Given that, I think that broad behaves just fine. These differnt options need to be documented better. yes, in the wiki... where ? Not sure. It could go on the page on Framed, but how ConTeXt treats \textwidth, \hsize, \localhsize is more general, so maybe on a new page. 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] framed items
On Tue, Nov 17, 2009 at 4:32 PM, Aditya Mahajan wrote: > I did not know about width=local (and therefore wanted width=broad to behave > like it). Given that, I think that broad behaves just fine. These differnt > options need to be documented better. yes, in the wiki... where ? -- 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] framed items
On Tue, 17 Nov 2009, luigi scarso wrote: On Tue, Nov 17, 2009 at 12:24 AM, Wolfgang Schuster wrote: from pack-rul: \else\ifx\localwidth\v!broad \boxhaswidthtrue \!!framedwidth\hsize \else\ifx\localwidth\v!local \boxhaswidthtrue \setlocalhsize \!!framedwidth\localhsize use \framed[width=local] and don't forget \setlocalhsize after \startitemize. yes, right. I remembered of something similar That's what I mean with not sure that \hsize and \startitemize must play well together \showframe \starttext \framed[width=\hsize,align=middle]{width=hsize\the\hsize} \startitemize \setlocalhsize \item \framed[width=\hsize,align=middle] {width=hsize,hsize=\the\hsize} \item \framed[width=broad,align=middle] {width=broad,hsize=\the\hsize} \item \framed[width=local,align=middle] {width=local,hsize=\the\hsize} \item \framed[width=\localhsize,align=middle]{width=localsize,hsize=\the\hsize,localsize=\the\localhsize} \stopitemize \stoptext Aditya, what do you think ? I did not know about width=local (and therefore wanted width=broad to behave like it). Given that, I think that broad behaves just fine. These differnt options need to be documented better. 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] Pstricks and Asymptote
luigi scarso wrote: On Tue, Nov 17, 2009 at 3:29 PM, Curiouslearn wrote: Also I like them : google search Metapost metaobj Metapost metagraph Metapost UML Metapost melusine fyi: you can define extra mp instances in order avoid clashes: \defineMPinstance[whatever1][format=metafun,extensions=yes,initializations=yes] \defineMPinstance[whatever2][format=mpost] \startMPdefinitions{whatever1} input metaobj; \stopMPdefinitions \startuseMPgraphic{whatevere1::mygraphic} . should work - 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] Pstricks and Asymptote
On Mon, 16 Nov 2009, Curiouslearn wrote: Mojca, in case you read this, can you please let me know what the status on asymptote is. I am not Mojca, but I'll comment on this anyways :) I looked into integrating asymptote this summer (spent around a month going to asymptote macro code). Asymptote works fine with mkiv, if you use asymptote in a stand alone mode. Getting asymptote to run within context is easy or extremely difficult; depending on how you look at it. If one wants to set everything the asymptote way, and simply want \startASYcode ... \stopASYcode to copy its content to its file, create a asymptote figure and insert it in context, that is easy. You just need to tweak three lines of m-r.tex and you are done (m-r.tex is around 15 lines only). But that means that the user is responsible for setting all the fonts on his own (using asymptote syntax). To be at par with metapost, we should have \startASYenvironment to set the fonts, \startASYinclusions to define macros, and then \startASYcode to create figures; maybe also have \defineASYgraphic (need to set OverlayWidth etc.) and \defineASYreusablegraphic. Ideally, we should also have the equivalent of \sometxt, but after going through asymptote code, I gave up on that (establishing a two way communication between asymptote and context is difficult). Most of the above is easy (in terms of implementation); but one needs to understand asymptote and context to implement them. I did not completely understand the low level asymptote code, so after a while, integrating asymptote got low on my priorities. Maybe someone else should look at it seriously. 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 4:06 PM, Alan BRASLAU wrote: > The ConTeXt community (and via the minimals distribution) can keep > this active... So much to do! yes, true: for example metaobj is in the minimals -- 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] Pstricks and Asymptote
On Tuesday 17 November 2009 14:40:04 Curiouslearn wrote: > I tried Metapost last year for a few graphs and liked the fact that it > is tightly integrated with Context. I found John Hobby's document a > good place to learn it and then used Hans' Metafun to learn further. > The reason I am looking at Asymptote and pstricks is because they have > libraries or functionality which Metapost lacks. For example, the tree > drawing library in pstricks. If Metapost has such a library I don't > know since I cannot find any document that explains the new things > added to Metapost other than what is mentioned in Metafun(2001). As > you said documentation is lacking. pgf/tikz has a nice tree building function. pgfplots is a fairly evolved and active data plotting package. Concerning metapost, graph.mp is pretty powerful, but is missing some functionality. piechartmp is also available (although I never use pie charts!) featpost and mp3d give some nice, basic, 3d capability. metagraph, metaobj, ... It would be interesting to see a good tree drawing macro package under metapost; I have yet to take the time to see what is out there. The ConTeXt community (and via the minimals distribution) can keep this active... So much to do! Alan ___ 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] osx-64-binaries/minimals
On Mon, Nov 16, 2009 at 11:33, Andreas Harder wrote: > Hi all! > > If I update the minimals via first-setup.sh I get the 32bit-binaries (luatex) > although I'm on Snow Leopard. If I change the binaries myself it works fine > and the compilation is notable faster! We had a lengthy discussion about Snow Leopard. The last message was Yue Wang's proposal to check for 64-bit compatibility: > The hardware test: > Yue:context yue$ if test `sysctl -n hw.cpu64bit_capable | grep -c 1` = 1 ; > then echo yes; else echo no; fi > yes > > The software test: > Yue:context yue$ if test `uname -r|cut -f1 -d"."` -ge 10 ; then echo yes; > else echo no; fi > yes This test needs to be fixed in: - first-setup.sh - setuptex - mtxrun.lua The biggest problem is the latest one. I'm not sure if Hans is willing to implement that in MKIV and I'm still not decided if I want to mess with that ugly code or not. The reason for the change: - a bit faster and a bit more puristic The reason against the change: - a bit ugly - the 32-bit binaries work - one can always boot in 64-bit mode There's always a third option to provide fat binaries, but as others would probably confirm: they are a bit fat indeed. Three times the original size since we now support 3 platforms. Any other votes? 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] Pstricks and Asymptote
On Tue, Nov 17, 2009 at 3:29 PM, Curiouslearn wrote: Also I like them : google search Metapost metaobj Metapost metagraph Metapost UML Metapost melusine -- 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] Pstricks and Asymptote
Thanks, Hraban. On Tue, Nov 17, 2009 at 8:55 AM, Henning Hraban Ramm wrote: > 2009/11/17 Curiouslearn : >> The reason I am looking at Asymptote and pstricks is because they have >> libraries or functionality which Metapost lacks. For example, the tree >> drawing library in pstricks. If Metapost has such a library I don't >> know since I cannot find any document that explains the new things >> added to Metapost other than what is mentioned in Metafun(2001). As >> you said documentation is lacking. > > Google for "metapost tree", and you'll find at least this: > http://www.isi.edu/~chiang/software/texmf/texmf.html > > Don't know it it works, I don't use MetaPost myself. > > 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] Pstricks and Asymptote
2009/11/17 Curiouslearn : > The reason I am looking at Asymptote and pstricks is because they have > libraries or functionality which Metapost lacks. For example, the tree > drawing library in pstricks. If Metapost has such a library I don't > know since I cannot find any document that explains the new things > added to Metapost other than what is mentioned in Metafun(2001). As > you said documentation is lacking. Google for "metapost tree", and you'll find at least this: http://www.isi.edu/~chiang/software/texmf/texmf.html Don't know it it works, I don't use MetaPost myself. 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 ___
Re: [NTG-context] kpathsea510.dll couldn't be found
On Tue, Nov 17, 2009 at 12:22, Helmut Schwertner wrote: > Hello, > > On my contextminimals there ist no file named kpathsea510.dll. Only > kpathsea500.dll etc. > > What can I do? Yell at me for not setting up Arthur's lua code yet. (Though the file should be there now.) 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] Pstricks and Asymptote
I tried Metapost last year for a few graphs and liked the fact that it is tightly integrated with Context. I found John Hobby's document a good place to learn it and then used Hans' Metafun to learn further. The reason I am looking at Asymptote and pstricks is because they have libraries or functionality which Metapost lacks. For example, the tree drawing library in pstricks. If Metapost has such a library I don't know since I cannot find any document that explains the new things added to Metapost other than what is mentioned in Metafun(2001). As you said documentation is lacking. Similarly, Asymptote allows one to find intersection points of any two paths (even nonlinear paths). I am not sure whether Metapost can do that. I keep reading that Taco is working on development of Metapost. However, I am not sure what exactly has changed. If there is any new documentation, I would love to read it. Thanks. On Tue, Nov 17, 2009 at 2:13 AM, Alan BRASLAU wrote: > On Monday 16 November 2009 23:57:28 Curiouslearn wrote: >> Thanks everyone for replying. >> >> Alan, the tikz module does not work with MKIV. From what I have read >> before, it seems it will not unless the creator of tikz makes some >> changes to tikz package so that it works with Context. I am not sure >> how likely that is. >> > > I know that tikz is (currently) not working under mkiv, but I choose to ignore > this as I expect that this will be fixed. I have not been concerned with this, > as I no longer actively use tikz. Indeed, since learning (and still learning) > metapost, I find it far superior: cleaner syntax, much more powerful... Tikz > is/was a very welcome addition to laTeX, but metapost, whose syntax is more > closely related to plain TeX, is more coherent with ConTeXt. So I now find the > syntax of tikz uncomfortable under ConTeXt. > > I still sometimes use LaTeX for the submission of articles to scientific > journals (in particular using RevTeX), but I now use ConTeXt > (\startTEXpage\stopTEXpage) to make the figures (that must be submitted as > separate files in any case). > > Alan > > P.S. What I really liked about tikz is the quality of its documentation, in > particular the tutorial that is very clear. The documentation for metapost > (and metafun) is very good, but not so easy. *We* need to write a good > tutorial! > ___ > 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] the meaning of cutspace
On Tue, Nov 17, 2009 at 1:54 PM, Taco Hoekwater wrote: > > http://wiki.contextgarden.net/Layout ? OK, I will wait until this evening and then I will do it . -- 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] the meaning of cutspace
luigi scarso wrote: > > to wikify ... where ? http://wiki.contextgarden.net/Layout ? Best wishes, Taco ___ 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] the meaning of cutspace
> The first thing context does is to check the value of width: > (the width of the textarea is stored in \makeupwidth, not \textwidth) > > 1. width=middle > > if cutspace=0pt then cutspace=backspace endif > > makeupwidth = paperwidth - backspace - cutspace > > > 2. width=fit > > when i look at the source i don't know if anyone want this setting because > very complicated and the calculation is > > makeupwidth = paperwidth - (backspace - leftmargin - leftmargindistance - > leftedge - ...) - (cutspace - rightmargin - ...) > > > 3. width= > > makeupwidth = > > > Example: > > \definelayout[1][backspace=4cm,width=12cm] > \definelayout[2][backspace=5cm,cutspace=7cm,width=middle] > \definelayout[3][backspace=3cm,cutspace=0pt,width=middle] > \definelayout[4][backspace=4cm,width=fit] > \definelayout[5][backspace=4cm,leftmargin=3cm,width=fit] > \definelayout[6][backspace=4cm,leftmargin=4cm,width=fit] > \definelayout[7][backspace=4cm,leftmargin=2cm,width=fit] > \definelayout[8][backspace=4cm,leftmargin=2cm,rightmargin=3cm,width=fit] > \definelayout[9][backspace=4cm,leftmargin=2cm,rightmargin=4cm,width=fit] > \definelayout[10][backspace=4cm,leftmargin=2cm,rightmargin=2cm,width=fit] > > \showframe > > \starttext > > \dorecurse{10} > {\starttabulate > \NC backspace \EQ \PtToCm\backspace \NC\NR > \NC textwidth \EQ \PtToCm\textwidth \NC\NR > \NC cutspace \EQ \PtToCm\cutspace \NC\NR > \stoptabulate > \page} > > \stoptext > > Wolfgang to wikify ... where ? -- 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] place figure without \placefigure
On Tue, 17 Nov 2009 13:01:11 +0100 Wolfgang Schuster scribit: > > Am 17.11.2009 um 12:26 schrieb R. Bastian: > > > Hello, > > > > in a german text I have to place two figures and a table. > > > > If I use \placefigure they are well centered - but with french captions: > > Table > > or Figure. I dont need the captions. > > Without \placefigure, the figures are not centered. > > > > Is there a way ? > > \placefigure[none]{}{\externalfigure[...]} it wörks nit, but \midaligned{{\externalfigure[...]}} wörks ;-) > > 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 > ___ > -- René Bastian www.pythoneon.org www.musiques-rb.org ___ 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] spacing between floating figure caption and surrounding text
Hello Taco Normally, you would do \setupfloat[figure][after=] but that does not seem to work very well for side floats, sorry. Thanks for trying to help! :) Actually, I discovered from "It's in details" that \placefigure[inner, low]{ } is ok for my situation. Another questions is: how to setup "low" parameter for all figures globally? Regards, Vyatcheslav ___ 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] place figure without \placefigure
Am 17.11.2009 um 12:26 schrieb R. Bastian: > Hello, > > in a german text I have to place two figures and a table. > > If I use \placefigure they are well centered - but with french captions: Table > or Figure. I dont need the captions. > Without \placefigure, the figures are not centered. > > Is there a way ? \placefigure[none]{}{\externalfigure[...]} 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] the meaning of cutspace
Am 17.11.2009 um 11:40 schrieb Peter Münster: > I'm sorry, I still don't understand... When width=middle adjusts the width > to "paperwidth - backspace - cutspace", what should width=fit then do? > What does "middle" mean, in the middle of *what*? > > I suggest, that specifying backspace + cutspace + width=middle should > output an error or warning, and backspace + cutspace + width=fit should do > it right... The first thing context does is to check the value of width: (the width of the textarea is stored in \makeupwidth, not \textwidth) 1. width=middle if cutspace=0pt then cutspace=backspace endif makeupwidth = paperwidth - backspace - cutspace 2. width=fit when i look at the source i don't know if anyone want this setting because very complicated and the calculation is makeupwidth = paperwidth - (backspace - leftmargin - leftmargindistance - leftedge - ...) - (cutspace - rightmargin - ...) 3. width= makeupwidth = Example: \definelayout[1][backspace=4cm,width=12cm] \definelayout[2][backspace=5cm,cutspace=7cm,width=middle] \definelayout[3][backspace=3cm,cutspace=0pt,width=middle] \definelayout[4][backspace=4cm,width=fit] \definelayout[5][backspace=4cm,leftmargin=3cm,width=fit] \definelayout[6][backspace=4cm,leftmargin=4cm,width=fit] \definelayout[7][backspace=4cm,leftmargin=2cm,width=fit] \definelayout[8][backspace=4cm,leftmargin=2cm,rightmargin=3cm,width=fit] \definelayout[9][backspace=4cm,leftmargin=2cm,rightmargin=4cm,width=fit] \definelayout[10][backspace=4cm,leftmargin=2cm,rightmargin=2cm,width=fit] \showframe \starttext \dorecurse{10} {\starttabulate \NC backspace \EQ \PtToCm\backspace \NC\NR \NC textwidth \EQ \PtToCm\textwidth \NC\NR \NC cutspace \EQ \PtToCm\cutspace \NC\NR \stoptabulate \page} \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 ___
[NTG-context] place figure without \placefigure
Hello, in a german text I have to place two figures and a table. If I use \placefigure they are well centered - but with french captions: Table or Figure. I dont need the captions. Without \placefigure, the figures are not centered. Is there a way ? Thanks, -- René Bastian www.pythoneon.org www.musiques-rb.org ___ 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] kpathsea510.dll couldn't be found
Hello, if I try to update the contextmininals (command line method under windows) or to reinstall contextminimals I get the message "mpost.exe" could not found because kpathsea510.dll are not found. The same happens with "pdftex.exe". The update or the reinstall stopped. I started the update with "first-setup.bat --keep" (initialized the tree with C:\context\tex\setuptex.bat C:\context\tex). On my contextminimals there ist no file named kpathsea510.dll. Only kpathsea500.dll etc. What can I do? Thanks, Helmut -- Helmut Schwertner Kirchweg 154 28201 Bremen Phone: 0421 528 58 22 Mobil: 01577 195 37 78 eMail: helmut.schwert...@gmx.de ___ 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] rotate a figure
On Tue, Nov 17 2009, R. Bastian wrote: > > > \rotate[rotation=90]{\externalfigure[filename]} > > > > \externalfigure[filename][orientation=90] ;) > > > OK, it is the param I hoped to get, but how to find it in the doc ? Hello, I suppose, that you can find "orientation=..." only in the sources, but \rotate[]{} is a standard command that you can find in the wiki, in mp-cb-en.pdf and in texshow. Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] the meaning of cutspace
On Mon, 16 Nov 2009, Wolfgang Schuster wrote: > After reading the source 'width=middle' make sense, when both backspace > and cutspace > are set the width of the textarea is 'paperwidth - backspace - cutspace' > but when > cutspace is set to 0pt the textarea is 'paperwidth - 2*backspace'. Hello Wolfgang, I'm sorry, I still don't understand... When width=middle adjusts the width to "paperwidth - backspace - cutspace", what should width=fit then do? What does "middle" mean, in the middle of *what*? I suggest, that specifying backspace + cutspace + width=middle should output an error or warning, and backspace + cutspace + width=fit should do it right... Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ 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] Context Live setup ?
On Tue, Nov 17, 2009 at 10:02, Patrick Gundlach wrote: > Hello, > > >> I would like to make a ConTeXt Live server in LAN for testing >> purposes, but I can not found any document for setup this kind of >> server. >> What are requirements ? Anyone could give me some help please ? > > You can find the sourcecode of live.contextgarden.net at github: > > http://github.com/contextgarden/contextlive > > > Of course, there is more to it. You should put it in a chrooted > environmet etc. Thank you, ___ 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] Context Live setup ?
Hello, > I would like to make a ConTeXt Live server in LAN for testing > purposes, but I can not found any document for setup this kind of > server. > What are requirements ? Anyone could give me some help please ? You can find the sourcecode of live.contextgarden.net at github: http://github.com/contextgarden/contextlive Of course, there is more to it. You should put it in a chrooted environmet etc. Patrick -- ConTeXt wiki and more: 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] Context Live setup ?
Hi, I would like to make a ConTeXt Live server in LAN for testing purposes, but I can not found any document for setup this kind of server. What are requirements ? Anyone could give me some help please ? Thanks, ___ 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] rotate a figure
On Mon, 16 Nov 2009 22:16:34 +0100 Wolfgang Schuster scribit: > > Am 16.11.2009 um 19:37 schrieb Alan BRASLAU: > > > On Monday 16 November 2009 19:29:12 R. Bastian wrote: > >> Hello, > >> > >> is there a way to rotate a pdf-figure ? > >> > >> http://wiki.contextgarden.net/Using_Graphics > >> > >> thanks, > > > > \rotate[rotation=90]{\externalfigure[filename]} > > \externalfigure[filename][orientation=90] ;) > > Wolfgang OK, it is the param I hoped to get, but how to find it in the doc ? > > ___ > 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 > ___ > -- René Bastian www.pythoneon.org www.musiques-rb.org ___ 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] framed items
Am 17.11.2009 um 09:12 schrieb luigi scarso: > What I mean is that I already found that \startitemize and \framed with > width=broad was not ok, because broad is related to \hsize but it's > ok in other situations. You can't use \hsize because it the width of the complete text area which TeX use to determine line breaks and this includes in itemize the space for the symbol and the left margin. To give the user a length he could use on such a situation ConTeXt introduced \localhsize which compensates \leftskip/\rightskip settings. \starttext \framed[width=broad]{} \startnarrower[left] \framed[width=broad]{} \dontleavehmode\framed[width=broad]{} \dontleavehmode\framed[width=local]{} \stopnarrower \blank \hsize.5\hsize \framed[width=broad]{} \startnarrower[left] \framed[width=broad]{} \dontleavehmode\framed[width=broad]{} \dontleavehmode\framed[width=local]{} \stopnarrower \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] framed items
On Tue, Nov 17, 2009 at 6:52 AM, luigi scarso wrote: > That's what I mean with not sure that \hsize and \startitemize must > play well together No, sorry, wrong phrase. What I mean is that I already found that \startitemize and \framed with width=broad was not ok, because broad is related to \hsize but it's ok in other situations. -- 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 ___