* seeking ConTeXt code @ 1999-09-06 1:13 Ed L. Cashin 1999-09-06 19:26 ` Hans Hagen 0 siblings, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-06 1:13 UTC (permalink / raw) Hi. I am thinking that the time has come for me to use ConTeXt for a big project. I need several features at once and eplain and LaTeX are not able to do them all well at the same time: * multicolumns (different numbers of columns on the same page) * table of contents (all can do, but conflicts with fancybox, quire.tex) * fancy boxes * quire collation (for booklet-style pagination but without post-processing) I have the ConTeXt beginners manual in English and the teTeX installation on Linux. I would very much appreciate the opportunity to look at other people's ConTeXt sources, since that's often the fastest way for me to learn. Also, any tips on configuring a teTeX installation would be a great help. -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 1:13 seeking ConTeXt code Ed L. Cashin @ 1999-09-06 19:26 ` Hans Hagen 1999-09-06 20:59 ` RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) Ed L. Cashin ` (8 more replies) 0 siblings, 9 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-06 19:26 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > * multicolumns (different numbers of columns on the same page) some text \startcolumns [n=2] some text \stopcolumns some text \startcolumns [n=5] some text \stopcolumns etc > * table of contents (all can do, but conflicts with fancybox, > quire.tex) You can have them in many disguises, at every level and in every combination, you can influence expansion, influence the layout and influence interaction etc etc > * fancy boxes What are they? Something like \framed? > * quire collation (for booklet-style pagination but without > post-processing) The big manual shows some examples. (dutch but not that hard to translate; just ask). > I have the ConTeXt beginners manual in English and the teTeX > installation on Linux. I would very much appreciate the opportunity > to look at other people's ConTeXt sources, since that's often the > fastest way for me to learn. at the beta page : demo suite at the third party page: sieps sampes at the download page : the style archive > Also, any tips on configuring a teTeX installation would be a great > help. That should be rather easy because tetex is context aware. Just make sure you have texexec.pl renamed to texexec and copied to the bin path. The same for texutil. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) 1999-09-06 19:26 ` Hans Hagen @ 1999-09-06 20:59 ` Ed L. Cashin 1999-09-07 7:54 ` Hans Hagen 1999-09-08 3:08 ` seeking ConTeXt code Ed L. Cashin ` (7 subsequent siblings) 8 siblings, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-06 20:59 UTC (permalink / raw) Cc: ntg-context (Sorry this email is so long, but it has some verbose debugging info.) Hans Hagen <pragma@wxs.nl> writes: ... > > * fancy boxes > > What are they? Something like \framed? Yes. They are boxes like \framed, but in an oval shape or with a shadow effect. I was very surprised that it has a known bug where using fancybox (a standard package that's part of the LaTeX base) breaks the Table of Contents in LaTeX. It seems that kind of bug would be fixed immediately; perhaps LaTeX is too complex to fix. But I digress. > > * quire collation (for booklet-style pagination but without > > post-processing) > > The big manual shows some examples. (dutch but not that hard to > translate; just ask). OK. I have the dutch manual, and I'll take a stab at reading about the quire collation features when I get ConTeXt working, but so far I haven't been able to get "Hello, world!" working. (More below.) ... > > Also, any tips on configuring a teTeX installation would be a great > > help. > > That should be rather easy because tetex is context aware. Just make > sure you have texexec.pl renamed to texexec and copied to the bin path. > The same for texutil. I'm using the teTeX that comes with the RedHat 6.0 distribution. I hadn't had any trouble with it, but I've had trouble with earlier teTeX rpms ... anyway, this is what's happenning: I have a small ConTeXt source file: % interface=en \starttext Hello, world! \stoptext % (end first.tex) It won't compile with "texexec --pdf --verbose first", although I've already uncommented the context lines using texconfig (also tried fmtutil -edit): This is pdfeTeX, Version 3.14159-13c-2.1 (Web2C 7.3) Sorry, I can't find the format `cont-en.efmt'; will try `context.efmt'. I can't find the format file `context.efmt'! The problem seems to be installation-related, since this is what happens when I run "texexec --make en" (even though etex.src _is_ in my installation of teTeX): jane:1:ecashin ecashin$ su Password: [root@jane ecashin]# texexec --make en This is pdfeTeX, Version 3.14159-13c-2.1 (Web2C 7.3) (INITEX) entering extended mode (/usr/share/texmf/tex/context/config/cont-en.ini (/usr/share/texmf/tex/context/base/cont-en.tex (/usr/share/texmf/tex/context/base/context.tex (/usr/share/texmf/tex/context/base/syst-tex.tex (/usr/share/texmf/tex/plain/base/plain.tex Preloading the plain format: codes, registers, parameters, fonts, skipping \font in plain skipping \font in plain ... skipping \font in plain skipping \font in plain more fonts, skipping \font in plain skipping \font in plain ... macros, math definitions, skipping used \tenex in plain output routines, hyphenation skipping \input in plain skipping \tenrm in plain ) line 171: inserting E-TEX code etex.src etexdefs.lib ! I can't find file `etex.src'. l.183 \normalinput etex.src \relax Please type another input file name: ! Emergency stop. l.183 \normalinput etex.src \relax No pages of output. Transcript written on cont-en.log. fmtutil: `pdfetex -ini -efmt=cont-en -progname=context *cont-en.ini' failed. TeXExec 1.2 - ConTeXt / PRAGMA ADE 1997-1999 executable : pdfetex format(s) : en But ... [root@jane ecashin]# locate etex.src /usr/share/texmf/etex/plain/base/etex.src Is the next step to get the teTeX sources and try again, or is this something that I can work with sticking with my teTeX-from-rpm installation? -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) 1999-09-06 20:59 ` RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) Ed L. Cashin @ 1999-09-07 7:54 ` Hans Hagen 1999-09-07 14:45 ` Ed L. Cashin 0 siblings, 1 reply; 28+ messages in thread From: Hans Hagen @ 1999-09-07 7:54 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > line 171: inserting E-TEX code etex.src etexdefs.lib > ! I can't find file `etex.src'. > l.183 \normalinput etex.src > \relax > Please type another input file name: > ! Emergency stop. > l.183 \normalinput etex.src > \relax > No pages of output. > Transcript written on cont-en.log. > Is the next step to get the teTeX sources and try again, or is this > something that I can work with sticking with my teTeX-from-rpm > installation? Can you check the texmf.cnf file and see if the etex path is added to the context specific input path? 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) 1999-09-07 7:54 ` Hans Hagen @ 1999-09-07 14:45 ` Ed L. Cashin 0 siblings, 0 replies; 28+ messages in thread From: Ed L. Cashin @ 1999-09-07 14:45 UTC (permalink / raw) Cc: ntg-context, Thomas Esser Hans Hagen <pragma@wxs.nl> writes: > "Ed L. Cashin" wrote: [ having trouble with "Hello, World!" in ConTeXt ] > > > > line 171: inserting E-TEX code etex.src etexdefs.lib > > ! I can't find file `etex.src'. > > l.183 \normalinput etex.src ... > Can you check the texmf.cnf file and see if the etex path is added to > the context specific input path? Hey, thanks! I am now the proud owner of a ConTeXt document that says, "Hello, World!" I'm going to CC Thomas Esser in case he thinks that others would benefit from the change. *** texmf.cnf.dist Mon Apr 5 21:23:26 1999 --- texmf.cnf Tue Sep 7 10:30:59 1999 *************** *** 170,179 **** TEXINPUTS.omega = .;$TEXMF/{omega,tex}/{plain,generic,}// % Context macros by Hans Hagen: ! TEXINPUTS.cont-de = .;$TEXMF/{pdftex,tex}/{context,plain,generic,}// ! TEXINPUTS.cont-en = .;$TEXMF/{pdftex,tex}/{context,plain,generic,}// ! TEXINPUTS.cont-nl = .;$TEXMF/{pdftex,tex}/{context,plain,generic,}// ! TEXINPUTS.context = .;$TEXMF/{pdftex,tex}/{context,plain,generic,}// % odd formats needing their own paths TEXINPUTS.lamstex = .;$TEXMF/tex/{lamstex,plain,generic,}// --- 170,179 ---- TEXINPUTS.omega = .;$TEXMF/{omega,tex}/{plain,generic,}// % Context macros by Hans Hagen: ! TEXINPUTS.cont-de = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{context,plain,generic, }// ! TEXINPUTS.cont-en = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{context,plain,generic, }// ! TEXINPUTS.cont-nl = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{context,plain,generic, }// ! TEXINPUTS.context = .;$TEXMF/{pdfetex,pdftex,etex,tex}/{context,plain,generic, }// % odd formats needing their own paths TEXINPUTS.lamstex = .;$TEXMF/tex/{lamstex,plain,generic,}// -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen 1999-09-06 20:59 ` RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) Ed L. Cashin @ 1999-09-08 3:08 ` Ed L. Cashin 1999-09-08 8:12 ` Hans Hagen ` (2 more replies) 1999-09-09 2:45 ` Ed L. Cashin ` (6 subsequent siblings) 8 siblings, 3 replies; 28+ messages in thread From: Ed L. Cashin @ 1999-09-08 3:08 UTC (permalink / raw) Cc: ntg-context Hans Hagen <pragma@wxs.nl> writes: > > * quire collation (for booklet-style pagination but without > > post-processing) > > The big manual shows some examples. (dutch but not that hard to > translate; just ask). I was looking for that section in the Dutch manual, but I don't speak Dutch, and I'm not sure where the section on special booklet collation is. I noticed "Pagineren" and "Paginanummers", but I didn't see it there. Is it hard to do? Basically, I'm interested in taking a document with dynamically-generated context (so I won't know beforehand how many pages there are) and making it have pages ready for double-sided front-and-back printing, as if I ran my LaTeX "[twosided]" document through the psutils' psbook and "psnup -n 2". By the way, I'm excited about ConTeXt! I didn't really understand what it is--a whole new format like plain and LaTeX. It's very coherent, consistent, common-sensical, and _powerful_. Also, is there a way to generate printed documentation from the ConTeXt sources? I see there's a lot of information in there, and it looks like it's all or mostly English. And lastly, is there a searchable archive of this mailing list? -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 3:08 ` seeking ConTeXt code Ed L. Cashin @ 1999-09-08 8:12 ` Hans Hagen 1999-09-09 0:01 ` Ed L. Cashin 1999-09-13 20:33 ` Ed L. Cashin 1999-09-08 8:35 ` Gilbert van den Dobbelsteen 1999-09-08 12:11 ` Hans Hagen 2 siblings, 2 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-08 8:12 UTC (permalink / raw) Cc: ntg-context Hi Ed, > > > * quire collation (for booklet-style pagination but without > > > post-processing) > > > > The big manual shows some examples. (dutch but not that hard to > > translate; just ask). > > I was looking for that section in the Dutch manual, but I don't speak > Dutch, and I'm not sure where the section on special booklet collation > is. I noticed "Pagineren" and "Paginanummers", but I didn't see it > there. It can be of help to set up 'texshow', which provides you with some basic help on the commands. This concerns \stelarrangerenin or \setuparranging > Is it hard to do? Basically, I'm interested in taking a document with > dynamically-generated context (so I won't know beforehand how many > pages there are) and making it have pages ready for double-sided > front-and-back printing, as if I ran my LaTeX "[twosided]" document > through the psutils' psbook and "psnup -n 2". There are two ways to do this: (1) while typesetting (2) afterwards Actually (2) comes down to (1) where each page is pasted in as a figure. This feature is built in texexec: texexec --pdfarrange --paper=a4a5 --pdf --print=up yourfile.pdf Method 1 is the most natural one because there the typesetting is tuned to the natural paper size. You pick up a paperformat and map it onto a print format. Then you set up the arrangement. The next sample is from the manual ( \setuppapersize [A7][A3] \setuparranging [2*8,rotated,doublesided] \setuppagenumber [alternative=doublesided] \setuplayout [margin=0pt,width=fit] \setupbackgrounds [text][text][background=screen] \setupcolors [state=start] \setuplayout [location=middle,marking=color] \setuptolerance [tolerant] \setupbodyfont [6pt] \starttext \dorecurse{30}{\input tufte \par \input knuth \par} \stoptext Now, the main problem is that arrangement takes place in the last stage. This means running with the arrangement commented and then run a last one with the arrangement. The reson behind this is that otherwise all the references and indexes and lists get spoiled (page 5 can be output before page 1). When you use a5 on a4, you can use texexec. Just set up your document for a5, and run texexec: texexec --paper=a5a4 --print=up yourfile will run context untill all refs are sorted out, and then apply a last pass doing the reshuffel. I can add a feature to texexec (--arrange) that does the 'commenting' (sort of), so that one has full controll in the source. I'll give this some thought. Concerning the manual, we will start uploading soon on a chapter by chapter base. The first 4 chapters are in typesetting stage (chapter 4 is what you need). > By the way, I'm excited about ConTeXt! I didn't really understand > what it is--a whole new format like plain and LaTeX. It's very > coherent, consistent, common-sensical, and _powerful_. Thanks. You can add: still growing (especially in the graphics). > Also, is there a way to generate printed documentation from the > ConTeXt sources? I see there's a lot of information in there, and it > looks like it's all or mostly English. > > And lastly, is there a searchable archive of this mailing list? Hm. I would not now. The NTG is preparing a CDROM with all the MAPS issues as well as all mailing list discussions on lists hosted by the NTG. So in a few months there will be an archive. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 8:12 ` Hans Hagen @ 1999-09-09 0:01 ` Ed L. Cashin 1999-09-09 7:23 ` Hans Hagen 1999-09-13 20:33 ` Ed L. Cashin 1 sibling, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-09 0:01 UTC (permalink / raw) Cc: ntg-context Hans Hagen <pragma@wxs.nl> writes: > It can be of help to set up 'texshow', which provides you with some > basic help on the commands. What is texshow? I could not find a file or command by that name. -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-09 0:01 ` Ed L. Cashin @ 1999-09-09 7:23 ` Hans Hagen 0 siblings, 0 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-09 7:23 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > What is texshow? I could not find a file or command by that name. texshow.pl this file is in the distribution (and will be updated soon due to some changes by taco). ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 8:12 ` Hans Hagen 1999-09-09 0:01 ` Ed L. Cashin @ 1999-09-13 20:33 ` Ed L. Cashin 1999-09-13 23:29 ` Hans Hagen 1 sibling, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-13 20:33 UTC (permalink / raw) Cc: ntg-context Hans Hagen <pragma@wxs.nl> writes: > Hi Ed, [Ed wrote:] > > > > * quire collation (for booklet-style pagination but without > > > > post-processing) ... > This concerns \stelarrangerenin or \setuparranging [Ed wrote:] > > Is it hard to do? Basically, I'm interested in taking a document with > > dynamically-generated context (so I won't know beforehand how many > > pages there are) and making it have pages ready for double-sided > > front-and-back printing, as if I ran my LaTeX "[twosided]" document > > through the psutils' psbook and "psnup -n 2". > > There are two ways to do this: > > (1) while typesetting > (2) afterwards > > Actually (2) comes down to (1) where each page is pasted in as a figure. > This feature is built in texexec: texexec --pdfarrange --paper=a4a5 > --pdf --print=up yourfile.pdf Just to make sure I'm following you, are you saying that 2 is done with the command, texexec --pdfarrange --paper=a4a5 --pdf --print=up yourfile.pdf ... ? I tried that; and I'll refer to this method later as the "--pdfarrange" method. > Method 1 is the most natural one because there the typesetting is tuned > to the natural paper size. You pick up a paperformat and map it onto a > print format. Then you set up the arrangement. The next sample is from > the manual ( > > \setuppapersize [A7][A3] > \setuparranging [2*8,rotated,doublesided] > \setuppagenumber [alternative=doublesided] > \setuplayout [margin=0pt,width=fit] > \setupbackgrounds [text][text][background=screen] > \setupcolors [state=start] > \setuplayout [location=middle,marking=color] > \setuptolerance [tolerant] > \setupbodyfont [6pt] > > \starttext > \dorecurse{30}{\input tufte \par \input knuth \par} > \stoptext I have been playing with this, and it seems to work, but it is has a much longer execution time compared to, e.g., psbook. It seems that the "--pdfarrange" method is significantly faster. Is that what you'd expect? > Now, the main problem is that arrangement takes place in the last > stage. This means running with the arrangement commented and then > run a last one with the arrangement. The reson behind this is that > otherwise all the references and indexes and lists get spoiled (page > 5 can be output before page 1). I haven't been using documents that have references and lists in my experiments. Are you saying that the --pdfarrange method will generate documents with incorrect indices, references, etc.? > When you use a5 on a4, you can use texexec. Just set up your document > for a5, and run texexec: > > texexec --paper=a5a4 --print=up yourfile > > will run context untill all refs are sorted out, and then apply a last > pass doing the reshuffel. > > I can add a feature to texexec (--arrange) that does the 'commenting' > (sort of), so that one has full controll in the source. I'll give this > some thought. What would be the advantage of the texexec --arrange option versus putting the pagination commands in the source? I noticed that a while back Taco Hoekwater posted to the pdftex list a method that consisted of just directly noodling with the page number order in the PDF document itself. You warned that the number of bytes has to stay the same, but it sounded like it would work. That wouldn't work in this case, would it? I'm putting the pages 2 per sheet of paper. > Concerning the manual, we will start uploading soon on a chapter by > chapter base. The first 4 chapters are in typesetting stage (chapter 4 > is what you need). Whoo!! That is very good news! -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-13 20:33 ` Ed L. Cashin @ 1999-09-13 23:29 ` Hans Hagen 0 siblings, 0 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-13 23:29 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > I have been playing with this, and it seems to work, but it is has a > much longer execution time compared to, e.g., psbook. Indeed, but the difference is that here we are dealing with typesetting. I'm thinking of adding features that act on the spread and so, in which case psbook is less adequate. Another advantage of the tex method is that is is pretty save on colors. > It seems that the "--pdfarrange" method is significantly faster. Is > that what you'd expect? Sure, because here we only copy already typeset stuff. Both have their pros and cons. > > Now, the main problem is that arrangement takes place in the last > > stage. This means running with the arrangement commented and then > > run a last one with the arrangement. The reson behind this is that > > otherwise all the references and indexes and lists get spoiled (page > > 5 can be output before page 1). > > I haven't been using documents that have references and lists in my > experiments. Are you saying that the --pdfarrange method will > generate documents with incorrect indices, references, etc.? No, but it will definitely loose all annotations. This no problem because we're dealing with printed matter. In general, pdf inclusions will loose annotations (there was a time distiller included them, which could give nice effects: cropboxes migrating from illustrations to the main document). This is one reason why we for instance wrote the flowchart module. That way we could add hyperlinks in cells (and more) which isnearly impossible with imported graphics. Expect more of this stuff in context. > > When you use a5 on a4, you can use texexec. Just set up your document > > for a5, and run texexec: > > > > texexec --paper=a5a4 --print=up yourfile > > > > will run context untill all refs are sorted out, and then apply a last > > pass doing the reshuffel. > > > > I can add a feature to texexec (--arrange) that does the 'commenting' > > (sort of), so that one has full controll in the source. I'll give this > > some thought. > > What would be the advantage of the texexec --arrange option versus > putting the pagination commands in the source? It saves you commenting the arrangement out when doing normal runs, although you could say: \startmode[arrange] all kind of setups \stopmode ... and for the final run: texexec --mode=arrange --once etc etc. (It's not the easiest context things you've started with) > I noticed that a while back Taco Hoekwater posted to the pdftex list a > method that consisted of just directly noodling with the page number > order in the PDF document itself. You warned that the number of bytes > has to stay the same, but it sounded like it would work. Very dangerous, when 3 changes into 40 and 40 into 3 thereis a big change that many objects have pointers one off. > That wouldn't work in this case, would it? I'm putting the pages 2 > per sheet of paper. Right. > > Concerning the manual, we will start uploading soon on a chapter by > > chapter base. The first 4 chapters are in typesetting stage (chapter 4 > > is what you need). > > Whoo!! That is very good news! (after eurotex ...) 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 3:08 ` seeking ConTeXt code Ed L. Cashin 1999-09-08 8:12 ` Hans Hagen @ 1999-09-08 8:35 ` Gilbert van den Dobbelsteen 1999-09-08 10:12 ` Hans Hagen 1999-09-08 12:11 ` Hans Hagen 2 siblings, 1 reply; 28+ messages in thread From: Gilbert van den Dobbelsteen @ 1999-09-08 8:35 UTC (permalink / raw) > I was looking for that section in the Dutch manual, but I don't speak > Dutch, and I'm not sure where the section on special booklet collation > is. I noticed "Pagineren" and "Paginanummers", but I didn't see it > there. > > Is it hard to do? Basically, I'm interested in taking a document with > dynamically-generated context (so I won't know beforehand how many > pages there are) and making it have pages ready for double-sided > front-and-back printing, as if I ran my LaTeX "[twosided]" document > through the psutils' psbook and "psnup -n 2". Don't know what that does, but try this to create a A6 book printed on A4: % interface=en \setuppapersize[A6][A4] \setuparranging[2UP,rotated] \setuppagenumbering[alternative=doublesided] \setupcolors[status=start] \setuplayout [width=fit, height=fit, marking=color, location=middle] \starttext \showframe First page \page Second page \page Third page \stoptext You could also try to setup A5 on a A4, but this doesn't give you the nice color-bars, since they reside out of the page boundary. > > By the way, I'm excited about ConTeXt! I didn't really understand > what it is--a whole new format like plain and LaTeX. It's very > coherent, consistent, common-sensical, and _powerful_. We know :-) > And lastly, is there a searchable archive of this mailing list? Send help in the body to majordomo@ntg.nl. This provides you with some details. Otherwise contact the list-owner: Majordomo-owner@ntg.nl Gilbert. ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 8:35 ` Gilbert van den Dobbelsteen @ 1999-09-08 10:12 ` Hans Hagen 1999-09-09 8:37 ` Tobias Burnus 0 siblings, 1 reply; 28+ messages in thread From: Hans Hagen @ 1999-09-08 10:12 UTC (permalink / raw) Cc: Context List Gilbert van den Dobbelsteen wrote: > > And lastly, is there a searchable archive of this mailing list? > Send help in the body to majordomo@ntg.nl. This provides you with some > details. > Otherwise contact the list-owner: Majordomo-owner@ntg.nl Can you imagine, that's me. Lucky me that I can consult Jules when in troubles ... I'm not that much a list guru. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 10:12 ` Hans Hagen @ 1999-09-09 8:37 ` Tobias Burnus 0 siblings, 0 replies; 28+ messages in thread From: Tobias Burnus @ 1999-09-09 8:37 UTC (permalink / raw) Hans Hagen wrote: > > Gilbert van den Dobbelsteen wrote: > > > > And lastly, is there a searchable archive of this mailing list? > > Send help in the body to majordomo@ntg.nl. This provides you with some > > details. > > Otherwise contact the list-owner: Majordomo-owner@ntg.nl > > Can you imagine, that's me. Lucky me that I can consult Jules when in > troubles ... I'm not that much a list guru. Well, how about: mailto:majordomo@ntg.nl and in the body: help <---- A commandoview intro ntg-context <---- A small intro info ntg-context <---- A small info about the list index ntg-context <---- The file list (See excerpt below) end This gives a list of 1966 files, where one file matches one posting. Excerpt: --------------------------------------- >>>> index ntg-context total 1966 -rw-r--r-- 1 daemon majordom 756 Aug 31 09:55 ype{stuff} -r--r--r-- 1 daemon majordom 500 Oct 24 1998 $math$.in.headlines -r--r--r-- 1 daemon majordom 1208 Oct 24 1998 $math$.in.headlines.19981024.1982 -r--r--r-- 1 daemon majordom 3304 Oct 29 1998 (continued).howto.integrate.co --------------------------------------- example: get ntg-context $math$.in.headlines.19981024.1982 get ntg-context (continued).howto.integrate.co end Tobias ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 3:08 ` seeking ConTeXt code Ed L. Cashin 1999-09-08 8:12 ` Hans Hagen 1999-09-08 8:35 ` Gilbert van den Dobbelsteen @ 1999-09-08 12:11 ` Hans Hagen 1999-09-09 0:38 ` Ed L. Cashin 2 siblings, 1 reply; 28+ messages in thread From: Hans Hagen @ 1999-09-08 12:11 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > Also, is there a way to generate printed documentation from the > ConTeXt sources? I see there's a lot of information in there, and it > looks like it's all or mostly English. You can download: www.pragma-ade.nl/context/cont-doc.zip Install the files into the context base path, and then say (for instance): texexec --modu supp-fun.tex to get the documented module. I still need to document these styles. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-08 12:11 ` Hans Hagen @ 1999-09-09 0:38 ` Ed L. Cashin 1999-09-09 7:13 ` Hans Hagen 0 siblings, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-09 0:38 UTC (permalink / raw) Cc: ntg-context Hans Hagen <pragma@wxs.nl> writes: > "Ed L. Cashin" wrote: > > > Also, is there a way to generate printed documentation from the > > ConTeXt sources? I see there's a lot of information in there, and it > > looks like it's all or mostly English. > > You can download: > > www.pragma-ade.nl/context/cont-doc.zip > > Install the files into the context base path, and then say (for > instance): > > texexec --modu supp-fun.tex > > to get the documented module. I still need to document these styles. Thank you. I managed to install the files (and remember to rebuild the ls -R database), compile the "nl" interface, and run the "texexec --module" command. I have a feeling I may be missing some files, since I find some errors: ) (/usr/share/texmf/tex/context/base/mult-com.tex loading : Context Multilingual Macros / Commands ) setup : de karakters < en > zijn globaal actief! ) (/usr/share/texmf/tex/context/base/pragma/sources/setupb.tex ! Undefined control sequence. \!!stringa ->\@@setup \y!clip \setgvalue #1->\expandafter \gdef \csname #1 \endcsname <to be read again> { <to be read again> \doprocesssetup <to be read again> \number <to be read again> [ ... l.8018 \stopsetup ? ... and after hitting 'R' ... l.8093 \stopsetup )) (/usr/share/texmf/tex/context/base/pragma/sources/modu-pap.tex [pushing catcode < from 13] [pushing catcode > from 13] (/usr/share/texmf/tex/context/base/font-ams.tex) [popping catcode < to 13] [popping catcode > to 13]) ! I can't find file `modu-opt'. l.8 \input modu-opt Please type another input file name ! Emergency stop. l.8 \input modu-opt No pages of output. Transcript written on texexec.log. It seems like it almost works, though. -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-09 0:38 ` Ed L. Cashin @ 1999-09-09 7:13 ` Hans Hagen 1999-09-10 15:08 ` Ed L. Cashin 0 siblings, 1 reply; 28+ messages in thread From: Hans Hagen @ 1999-09-09 7:13 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > the ls -R database), compile the "nl" interface, and run the "texexec > --module" command. I have a feeling I may be missing some files, > since I find some errors: > > ) (/usr/share/texmf/tex/context/base/mult-com.tex > loading : Context Multilingual Macros / Commands > ) > setup : de karakters < en > zijn globaal actief! > ) (/usr/share/texmf/tex/context/base/pragma/sources/setupb.tex > ! Undefined control sequence. > \!!stringa ->\@@setup \y!clip It looks like your modu files are more recent than your context. Are you sure you have the latest context? In mult-com.tex search for "clip:". When you are also running the dutch context (needed indeed for the documentation) it makes sense to say UsedInterfaces en,nl in texexec.ini. That way texexec --make generates both formats. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-09 7:13 ` Hans Hagen @ 1999-09-10 15:08 ` Ed L. Cashin 1999-09-10 16:13 ` Hans Hagen 0 siblings, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-10 15:08 UTC (permalink / raw) Cc: ntg-context Hans Hagen <pragma@wxs.nl> writes: > "Ed L. Cashin" wrote: > > > the ls -R database), compile the "nl" interface, and run the "texexec > > --module" command. I have a feeling I may be missing some files, > > since I find some errors: > > > > ) (/usr/share/texmf/tex/context/base/mult-com.tex > > loading : Context Multilingual Macros / Commands > > ) > > setup : de karakters < en > zijn globaal actief! > > ) (/usr/share/texmf/tex/context/base/pragma/sources/setupb.tex > > ! Undefined control sequence. > > \!!stringa ->\@@setup \y!clip > > It looks like your modu files are more recent than your context. Are you > sure you have the latest context? In mult-com.tex search for "clip:". No, I don't have the latest context, and the string "clip:" is not in my mult-com.tex file. I'm trying to use the teTeX rpms. Should I upgrade to the latest version or should I use Taco Hoekwater's suggestion to ignore the error messages and create an empty opt file? I am not as concerned with missing features as bugs: i.e., I could have the latest context on *my* machine for the features, with the teTeX rpms on other machines--if bugs are not an issue. -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-10 15:08 ` Ed L. Cashin @ 1999-09-10 16:13 ` Hans Hagen 0 siblings, 0 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-10 16:13 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > Should I upgrade to the latest version or should I use Taco > Hoekwater's suggestion to ignore the error messages and create an > empty opt file? I am not as concerned with missing features as bugs: > i.e., I could have the latest context on *my* machine for the > features, with the teTeX rpms on other machines--if bugs are not an > issue. Well, you could add clip: clip clip clip to the command section in mult-com.tex and save yourself the trouble. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen 1999-09-06 20:59 ` RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) Ed L. Cashin 1999-09-08 3:08 ` seeking ConTeXt code Ed L. Cashin @ 1999-09-09 2:45 ` Ed L. Cashin 1999-09-09 7:04 ` Hans Hagen 1999-09-09 9:35 ` Hans Hagen ` (5 subsequent siblings) 8 siblings, 1 reply; 28+ messages in thread From: Ed L. Cashin @ 1999-09-09 2:45 UTC (permalink / raw) Cc: ntg-context Hans Hagen <pragma@wxs.nl> writes: > "Ed L. Cashin" wrote: > > > I have the ConTeXt beginners manual in English and the teTeX > > installation on Linux. I would very much appreciate the opportunity > > to look at other people's ConTeXt sources, since that's often the > > fastest way for me to learn. > > at the beta page : demo suite > at the third party page: sieps sampes > at the download page : the style archive These are great! I am left with a couple of questions: * What is meant by the part of the page layout called "backspace"? * What is the meaning of the term "makeup" as in "\startstandardmakeup"? -- --Ed Cashin ecashin@coe.uga.edu ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-09 2:45 ` Ed L. Cashin @ 1999-09-09 7:04 ` Hans Hagen 0 siblings, 0 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-09 7:04 UTC (permalink / raw) Cc: ntg-context "Ed L. Cashin" wrote: > * What is meant by the part of the page layout called "backspace"? When setting up a layout, the main area of concern is header+text+footer this makes up the height. This area is positioned in the page by topspace and backspace (something bindingedge). I admit that some english keywords are less typo than some dutch ones, but alas. The width is the width of the typeset area. One can at all points ask for the \textwidth and the \makeupwidth, these are normally the same, but when typesetting in 10 columns, the first is is much smaller than the second. > * What is the meaning of the term "makeup" as in > "\startstandardmakeup"? It sort of reflects that you are doing a manual makeup. It's one page, actually a vbox similar to the text area. This is often used when making a title page. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen ` (2 preceding siblings ...) 1999-09-09 2:45 ` Ed L. Cashin @ 1999-09-09 9:35 ` Hans Hagen 1999-09-09 9:37 ` Hans Hagen ` (4 subsequent siblings) 8 siblings, 0 replies; 28+ messages in thread From: Hans Hagen @ 1999-09-09 9:35 UTC (permalink / raw) Cc: ecashin, ntg-context Taco Hoekwater wrote: > 'rename' and 'chmod' and 'mv' it (unix) or create a bat file that > calls 'perl <texmf>\context\perltk\texshow.pl' (windows) Fabrice Popineau made me a perl script launcher: runperl.exe. Copy it to texshow and texexec and texutil in the same path and it does the job, with the advantage of long command line arguments. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen ` (3 preceding siblings ...) 1999-09-09 9:35 ` Hans Hagen @ 1999-09-09 9:37 ` Hans Hagen 1999-09-09 18:11 ` Berend de Boer 1999-09-09 10:05 ` Taco Hoekwater ` (3 subsequent siblings) 8 siblings, 1 reply; 28+ messages in thread From: Hans Hagen @ 1999-09-09 9:37 UTC (permalink / raw) Cc: ntg-context Taco Hoekwater wrote: > The space between the inner (binding) side of a book's paper sheet and > the horizontal start/end of the text on the page (like \evensidemargin > and \oddsidemargin in latex but using a different approach to do the > needed calculations). Ah, reminds me of Berends context for latex users manual ... how far is that? It makes sense to discuss the differences in page models there. 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.nl ----------------------------------------------------------------- ^ permalink raw reply [flat|nested] 28+ messages in thread
* RE: seeking ConTeXt code 1999-09-09 9:37 ` Hans Hagen @ 1999-09-09 18:11 ` Berend de Boer 0 siblings, 0 replies; 28+ messages in thread From: Berend de Boer @ 1999-09-09 18:11 UTC (permalink / raw) > Ah, reminds me of Berends context for latex users manual ... > how far is > that? It makes sense to discuss the differences in page models there. Not really far enough for public distribution. If someone wants an absolutely private copy they can get one, but it's missing to much currenly. Groetjes, Berend. (-: ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen ` (4 preceding siblings ...) 1999-09-09 9:37 ` Hans Hagen @ 1999-09-09 10:05 ` Taco Hoekwater 1999-09-09 10:14 ` Taco Hoekwater ` (2 subsequent siblings) 8 siblings, 0 replies; 28+ messages in thread From: Taco Hoekwater @ 1999-09-09 10:05 UTC (permalink / raw) Cc: pragma, ntg-context >>>>> "Ed" == Ed L Cashin <ecashin@coe.uga.edu> writes: Ed> Hans Hagen <pragma@wxs.nl> writes: >> It can be of help to set up 'texshow', which provides you with >> some basic help on the commands. Ed> What is texshow? I could not find a file or command by that Ed> name. It's part of the context distrib as <texmf>/context/perltk/texshow.pl If you don't have that file, you need to download a newer context. It's a perl script just like the rest, so you can either 'rename' and 'chmod' and 'mv' it (unix) or create a bat file that calls 'perl <texmf>\context\perltk\texshow.pl' (windows) Greetings, Taco ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen ` (5 preceding siblings ...) 1999-09-09 10:05 ` Taco Hoekwater @ 1999-09-09 10:14 ` Taco Hoekwater 1999-09-09 10:26 ` Taco Hoekwater 1999-09-09 11:04 ` Taco Hoekwater 8 siblings, 0 replies; 28+ messages in thread From: Taco Hoekwater @ 1999-09-09 10:14 UTC (permalink / raw) >>>>> "Ed" == Ed L Cashin <ecashin@coe.uga.edu> writes: >> You can download: >> >> www.pragma-ade.nl/context/cont-doc.zip >> [..] Ed> Thank you. I managed to install the files (and remember to Ed> rebuild the ls -R database), compile the "nl" interface, and Ed> run the "texexec --module" command. I have a feeling I may be Ed> missing some files, since I find some errors: Ed> ) (/usr/share/texmf/tex/context/base/mult-com.tex loading Ed> : Context Multilingual Macros / Commands ) setup : de Ed> karakters < en > zijn globaal actief! ) Ed> (/usr/share/texmf/tex/context/base/pragma/sources/setupb.tex ! Ed> Undefined control sequence. \!!stringa ->\@@setup \y!clip [your] cont-doc.zip probably does not match cont-tmf.zip. Just ignore this error (which is not really all that important) and/or get a newer context core distribution. Ed> (/usr/share/texmf/tex/context/base/pragma/sources/modu-pap.tex Ed> [pushing catcode < from 13] [pushing catcode > from 13] Ed> (/usr/share/texmf/tex/context/base/font-ams.tex) [popping Ed> catcode < to 13] [popping catcode > to 13]) ! I can't find Ed> file `modu-opt'. l.8 \input modu-opt modu-opt is actually an optional file. Creating an empty file with the name modu-opt.tex will solve the problem. Greetings, Taco ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen ` (6 preceding siblings ...) 1999-09-09 10:14 ` Taco Hoekwater @ 1999-09-09 10:26 ` Taco Hoekwater 1999-09-09 11:04 ` Taco Hoekwater 8 siblings, 0 replies; 28+ messages in thread From: Taco Hoekwater @ 1999-09-09 10:26 UTC (permalink / raw) Ed> * What is meant by the part of the page layout called Ed> "backspace"? The space between the inner (binding) side of a book's paper sheet and the horizontal start/end of the text on the page (like \evensidemargin and \oddsidemargin in latex but using a different approach to do the needed calculations). Ed> * What is the meaning of the term "makeup" as in Ed> "\startstandardmakeup"? Like a layout definition with a name (in this case, the name is 'standard'; which reflects contexts default page layout as it is when the context format has just initialized, with empty headers and footers). Taco ^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: seeking ConTeXt code 1999-09-06 19:26 ` Hans Hagen ` (7 preceding siblings ...) 1999-09-09 10:26 ` Taco Hoekwater @ 1999-09-09 11:04 ` Taco Hoekwater 8 siblings, 0 replies; 28+ messages in thread From: Taco Hoekwater @ 1999-09-09 11:04 UTC (permalink / raw) >> Can you imagine, that's me. Lucky me that I can consult Jules >> when in troubles ... I'm not that much a list guru. Tobias> This gives a list of 1966 files, where one file matches Tobias> one posting. Excerpt: You might have problems getting some of these files though. It seems the auto-disk dump feature of majordomo occasionally writes files it can no longer read itself due to special characters in file names. Probably we should try to set up an automatic HTML bridge to the web, but with everything being on different machines at different institutions this is not very straightforward. Taco ^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~1999-09-13 23:29 UTC | newest] Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 1999-09-06 1:13 seeking ConTeXt code Ed L. Cashin 1999-09-06 19:26 ` Hans Hagen 1999-09-06 20:59 ` RH 6.0 teTeX (was Re: seeking ConTeXt code) (long) Ed L. Cashin 1999-09-07 7:54 ` Hans Hagen 1999-09-07 14:45 ` Ed L. Cashin 1999-09-08 3:08 ` seeking ConTeXt code Ed L. Cashin 1999-09-08 8:12 ` Hans Hagen 1999-09-09 0:01 ` Ed L. Cashin 1999-09-09 7:23 ` Hans Hagen 1999-09-13 20:33 ` Ed L. Cashin 1999-09-13 23:29 ` Hans Hagen 1999-09-08 8:35 ` Gilbert van den Dobbelsteen 1999-09-08 10:12 ` Hans Hagen 1999-09-09 8:37 ` Tobias Burnus 1999-09-08 12:11 ` Hans Hagen 1999-09-09 0:38 ` Ed L. Cashin 1999-09-09 7:13 ` Hans Hagen 1999-09-10 15:08 ` Ed L. Cashin 1999-09-10 16:13 ` Hans Hagen 1999-09-09 2:45 ` Ed L. Cashin 1999-09-09 7:04 ` Hans Hagen 1999-09-09 9:35 ` Hans Hagen 1999-09-09 9:37 ` Hans Hagen 1999-09-09 18:11 ` Berend de Boer 1999-09-09 10:05 ` Taco Hoekwater 1999-09-09 10:14 ` Taco Hoekwater 1999-09-09 10:26 ` Taco Hoekwater 1999-09-09 11:04 ` Taco Hoekwater
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).