[NTG-context] paragraph numbering in[..] with paragraph resolution
Hi, as I am still new to context I really have no idea how to realize following: After each paragraph I like to have at the right bottom corner a small number. This number shout increase with every paragraph. The counting should restart after every heading (doesn't care which level). How can I realize this? Additionaly I like to use this number with the in-command: Instead of referering only to the heading number (e.g. 2.3.1) I want to refer to the paragraph (e.g. 2.3.1 / 16). But it should also be possible to refer to a group of paragraphs (e.g. 2.3.1 / 16-18 or 2.3.1 / 16, 21). Maybe with the possibility to exchange the / with anything else (e.g. 2.3.1 Abs. 17). I am really happy for any hint, tip, implementing strategy to realize this. Of course: if I have finally a working solution i will enter it into the context-wiki. Thanks, H. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Basic TeX question, how to redefine ^^M
Aditya Mahajan wrote: On Fri, 20 Apr 2007, Zhichu Chen wrote: Hi everybody, = \def\^^M{\endgraf\page[yes]} = nothing happened. So I'm lost. Can you tell me how to make it? This seems to work for me: \starttext \catcode`\^^M=\active \def^^M{\page[yes]} This Test \stoptext \obeylines \def\obeyedline{\page[yes]} should also 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] layout maximal width and height
Hi, Is it any way to set only left and right margin on layout and that width and height of the text are automatically set to the maximal of the possible width (that is \printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the same with right margins})? I think that it will be useful if there were something like: \setuplayout[ leftmargin=0mm, leftedge=10mm, %distance between border of paper and margin leftmargindistance=0mm, %distance between margin ant text leftedgedistance=0mm, %distance between margin and leftedge rightmargin=0mm, rightedge=10mm, %distance between border of paper and margin rightmargindistance=0mm, %distance between margin ant text rightedgedistance=0mm, %distance between margin and leftedge width=maximal] (see the last line) Thanks, Xan ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] layout maximal width and height
2007/4/20, Xan [EMAIL PROTECTED]: Hi, Is it any way to set only left and right margin on layout and that width and height of the text are automatically set to the maximal of the possible width (that is \printpaperwidth-\leftmargin-\leftedge-\leftedgedistance-\leftmarginditance-{the same with right margins})? I think that it will be useful if there were something like: \setuplayout[ leftmargin=0mm, leftedge=10mm, %distance between border of paper and margin leftmargindistance=0mm, %distance between margin ant text leftedgedistance=0mm, %distance between margin and leftedge rightmargin=0mm, rightedge=10mm, %distance between border of paper and margin rightmargindistance=0mm, %distance between margin ant text rightedgedistance=0mm, %distance between margin and leftedge width=maximal] (see the last line) Thanks, Xan Hi Xan, I think you misunderstood the layout of ConTeXt. You are looking for backspace and cutspace. \setuplayout [backspace=2cm, % left margin on the page cutspace=4cm, % right margin on the page height=fit] \starttext \dorecurse{10}{\input knuth\par} \stoptext Wolfgang ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Basic TeX question, how to redefine ^^M
On Fri, 20 Apr 2007, Zhichu Chen wrote: Hi Aditya, Thank you for pointing out my foolish mistake. Remember that this only works if each paragraph is a single line. See the output of \starttext \catcode`\^^M=\active \def^^M{\page[yes]} \input knuth \stoptext Aditya On 4/20/07, Aditya Mahajan [EMAIL PROTECTED] wrote: On Fri, 20 Apr 2007, Zhichu Chen wrote: Hi everybody, = \def\^^M{\endgraf\page[yes]} = nothing happened. So I'm lost. Can you tell me how to make it? This seems to work for me: \starttext \catcode`\^^M=\active \def^^M{\page[yes]} This Test \stoptext Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Aditya Mahajan | EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam | Ph: 734.262.4008 ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt versioning model critique
[EMAIL PROTECTED] wrote: I strongly agree that ConTeXt needs an improved versioning model. I agree. We probably all agree, Hans included. But we also need improved days with more (or longer) hours. That, and pdftex and xetex should stop evolving. Nothing is as disruptive as new features :-) In the autumn, Hans and I hopefully have the spare time to think about some of the issues related to context releases, patches and distributions. Best wishes, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt versioning model critique
Vyatcheslav Yatskovsky wrote: Dear Patrtic, ... ConTeXt would probably stabilize, which IMHO is not a good thing. One thing I really love ConTeXt for is the speed new techniques are adopted (pdf features, luatex,...) One day we might have a ConTeXt MKII book for those who are afraid of swithing to pdftex2. ConTeXt should be eventually stabilized so that someone can make some use of it. But, there is a way for rapid adopting of new techniques too. My experience of using open-source products (I'm best familiar with Moodle) suggest that there should be overlapping cycles in development: 1. Allocate new version number and start implementing new features. Many things are broken at the moment and the version becomes unusable for production purposes. 2. Stabilize this version and make definite release (number x.x.). Now it can be used for production. 3. Continue resolve bugs in this version AND perform Step 1 IN PARALLEL. Moodle follows this model and I always wandered how smooth it was to migrate between releases. Everything is completely predictable. Please, look at http://download.moodle.org/ to get the idea of their versioning. I think ConTeXt needs similar versioning model badly. Now it has rather naive model (release dates) that doesn't help in deciding about stability at all. I strongly agree that ConTeXt needs an improved versioning model. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] ConTeXt versioning model critique
[EMAIL PROTECTED] wrote: Vyatcheslav Yatskovsky wrote: Dear Patrtic, ... ConTeXt would probably stabilize, which IMHO is not a good thing. One thing I really love ConTeXt for is the speed new techniques are adopted (pdf features, luatex,...) One day we might have a ConTeXt MKII book for those who are afraid of swithing to pdftex2. ConTeXt should be eventually stabilized so that someone can make some use of it. But, there is a way for rapid adopting of new techniques too. My experience of using open-source products (I'm best familiar with Moodle) suggest that there should be overlapping cycles in development: 1. Allocate new version number and start implementing new features. Many things are broken at the moment and the version becomes unusable for production purposes. in addition to taco's answer: i seldom do big chances in the distributed version; actually, i always use the alpha/beta/whatever in production here; 2. Stabilize this version and make definite release (number x.x.). Now it can be used for production. 3. Continue resolve bugs in this version AND perform Step 1 IN PARALLEL. you can consider the tex live versions the formal stable versions -) fyi: the real experimental stuff is in mkiv code and only a few have this on their machines; it's not in alpha/beta releases at all keep in mind that a more complex versioning model will put my/taco's time for 'paid' work even more under pressure Moodle follows this model and I always wandered how smooth it was to migrate between releases. Everything is completely predictable. Please, look at http://download.moodle.org/ to get the idea of their versioning. I think ConTeXt needs similar versioning model badly. Now it has rather naive model (release dates) that doesn't help in deciding about stability at all. I strongly agree that ConTeXt needs an improved versioning model. in principle you can take any version you want from the svn repos (nicely packages in zips btw) 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 - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Table of contents and 2UP or 2SIDE
Hello: When I use (just for saving paper and print time) \setuparranging[2UP] o \setuparranging[2SIDE] my table of content is empty, just the header (Indice) appears in that page. But if I don't use any arranging the TOC it's ok. I can print the TOC alone, but I want to know if I'm doing somethig wrong, as usual... Thankyou in advance. _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context