Re: [NTG-context] Project, product, component...
On Thu, 01 Mar 2012 09:53:23 +0100, Hans Hagen wrote: the tags are (an always will be) mandate they are also used in - cross document referencing (component processing) - logging and reporting - keeping track of loading environments once - internal pusp/pop states and hashes - whatever we need in the future (so, naming all environments _ will load only one) Hans ... OK, thanks for the explanation. Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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] Broken Nightly 2012.02.29
Hey list, Another broken nightly to report. I got this error while compiling my book: ... structure > sectioning > subsubsubject @ level 5 : 0.7.1.0.0 -> \bf 44 Aquarius, 48 B.R. structure > sectioning > subsubsubject @ level 5 : 0.7.1.0.0 -> \bf 48 Aries, 15 B.R. structure > sectioning > subsubsubject @ level 5 : 0.7.1.0.0 -> \bf 12 Cancer, 14 B.R. structure > sectioning > subsubsubject @ level 5 : 0.7.1.0.0 -> \bf 2 Libra, 14 B.R. structure > sectioning > subsubsubject @ level 5 : 0.7.1.0.0 -> \bf 3 Libra, 14 B.R. graphics> invalid region for 'tbg:1' ! TeX capacity exceeded, sorry [input stack size=1]. \next \doifmeaningelse ...>\edef \!!stringa {\meaning #1 }\def \!!stringb {#2}\edef... \spac_lines_between ...ningelse \next \obeyedline {\linesparameter \c! inbetw... \doifmeaningelse ...meaning #1}\def \!!stringb {#2 }\edef \!!stringb {\meanin... \spac_lines_between ...ningelse \next \obeyedline {\linesparameter \c! inbetw... \doifmeaningelse ...meaning #1}\def \!!stringb {#2 }\edef \!!stringb {\meanin... ... l.34 ... and the methane/oxygen return propellant. ! ==> Fatal error occurred, no output PDF file produced! mtx-context | fatal error: return code: 1 Unfortunately my luck with ConTeXt hasn't been so good lately. Every single nightly has been broken since late last January (2012.01.27). Fortunately I still have debs I can revert to. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message part ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setuphead problem
Am 01.03.2012 um 18:37 schrieb Alan Bowen: > The following code works in MKII; but in MKIV, I get the header text on the > page before the page with the title. How can I fix this? Can you show the output of mkii and mkiv because i can’t see a difference between both. 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] Bug with \startpostponing
Hi, The following works fine in MkII but gives a TeX capacity exceeded error in MkIV. \starttext \input ward \startpostponing[+1] \framed[align=normal]{\input knuth \endgraf} \stoppostponing \dorecurse{15}{\input ward} \stoptext 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] Float on opposite page
Le 01/03/2012 18:17, Aditya Mahajan a écrit : On Thu, 1 Mar 2012, Charles wrote: Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - "\placetable[opposite]" but then the tables are not included. - "\placetable[rightpage]" but then each table is on a new page. I would like to have my figures/tables on a new even page, but if 2 figures/tables fit on one page, they should not be on two different pages but together on the same even page (I was thinking "opposite" should do that). Untested: \setuppagenumbering[alternative=doublesided] \starttext Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada. \startpostponing[+1] \placetable[top]{Legend 1}{Content of Table 1} \placetable[top]{Legend 1}{Content of Table 2} \stoppostponing Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non. \stoptext Aditya Thanks but it doesn't work (TeX capacity exceeded) and anyway the figures would not be centered on the page. Charles ___ 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] Scribus vs ConTeXt
On Mar 1, 2012, at 11:15 AM, Martin Schröder wrote: > May I suggest you contact our sales agent: http://www.priint.net/en/ - > if you truely want to do Database Publishing with InDesign. :-) Naturally, the rules change if one is using InDesign CS Server --- we have a license and use it and some other proprietary plug-ins (the company bought XMPie) --- we truly do database publishing with InDesign (and other tools), but that's not something of interest to the typical user --- kind of like all those old discussions where people would state all of TeX's awkward aspects are addressed in 3B2. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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] Float on opposite page
On Thu, 1 Mar 2012, Charles wrote: Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - "\placetable[opposite]" but then the tables are not included. - "\placetable[rightpage]" but then each table is on a new page. I would like to have my figures/tables on a new even page, but if 2 figures/tables fit on one page, they should not be on two different pages but together on the same even page (I was thinking "opposite" should do that). Untested: \setuppagenumbering[alternative=doublesided] \starttext Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada. \startpostponing[+1] \placetable[top]{Legend 1}{Content of Table 1} \placetable[top]{Legend 1}{Content of Table 2} \stoppostponing Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non. \stoptext 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] Scribus vs ConTeXt
2012/3/1 William Adams : > Unfortunately, there aren't many hooks in InDesign (and none I'm aware of in > Quark) to activate scripts automatically, so that a document will build > itself --- one which is pretty cool is Dirk Becker's auto-indexing script > which will run a script to format index entries (so as to make up for > InDesign's inability to capture character styles in index entries). May I suggest you contact our sales agent: http://www.priint.net/en/ - if you truely want to do Database Publishing with InDesign. :-) Best Martin ___ 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] CaLi2CoPi
FYI: On the ghostscript-devel list I came accross this announcement. Don't be frightened by the language: Google can translate catalan. :-) Best Martin -- Forwarded message -- From: Marc Antoni Malagarriga i Picas Date: 2012/3/1 Subject: Re: [gs-devel] Separating PDF layers with ghostscript To: gs-de...@ghostscript.com Hi Simone, Al 01/03/12 8:06, En/na simoneces...@libero.it ha escrit: > I need to separate layers in PDF files (created in adobe illustrator) into > different files - pdf or raster - via the command line. You can try our open source CaLi2CoPi library (PostScript code), online via Ghostscript, to separate in PDF layers different graphic elements (vectors, XObjects, inLine images, text, shading patterns and FormXObjects), upload a PDF file e voilà... http://www.l·l.cat/femfum/CaLi2CoPi_10/ ...this is one of several specialized flags that performs jobs inside PDF files. Here you have the project in SF... http://femfumcali2copi.sourceforge.net/ Ciao, -- Marc Antoni Malagarriga-Picas (34) 938721642 | (34) 667517069 (·][ www.femfum.com PostScript&PDF Tool Developers Desenvolupadors d'Eines PostScript i PDF ___ 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] Float on opposite page
Hi, I have a problem with float positioning. I would like to have text on even pages and text on odd pages. I tried: - "\placetable[opposite]" but then the tables are not included. - "\placetable[rightpage]" but then each table is on a new page. I would like to have my figures/tables on a new even page, but if 2 figures/tables fit on one page, they should not be on two different pages but together on the same even page (I was thinking "opposite" should do that). Thanks for your help Charles \setuppagenumbering[alternative=doublesided] \starttext Lorem ipsum dolor sit amet, maecenas malesuada, ut tellus ac a egestas donec, lectus aliquam, purus orci fermentum porta sed. Ut quis risus suspendisse, convallis vel velit suspendisse amet diam urna, erat auctor vestibulum nec amet lorem, at fringilla cursus aenean donec dui at. Neque duis luctus netus magna, orci nulla vivamus consectetuer nulla, amet felis in sodales dictum parturient ipsum, consequuntur malesuada. \placetable[opposite]{Legend 1}{Content of Table 1} \placetable[opposite]{Legend 1}{Content of Table 2} Vestibulum ut pretium fringilla dui dui odio, pellentesque arcu leo id. Malesuada curabitur, urna nostrum mauris lobortis, ante luctus donec a, congue arcu placerat dictum non integer, nulla non. \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Scribus vs ConTeXt
On Feb 29, 2012, at 3:25 PM, Henning Hraban Ramm wrote: > I'd like to add that the mentioned GUI programs all are scriptable - > Scribus in Python (AFAIK), InDesign in JavaScript or AppleScript; > don't know about the current state of XPress, in old versions on the > Mac it supported Frontier, then AppleScript. As I noted, the oars are customizable. Unfortunately, there aren't many hooks in InDesign (and none I'm aware of in Quark) to activate scripts automatically, so that a document will build itself --- one which is pretty cool is Dirk Becker's auto-indexing script which will run a script to format index entries (so as to make up for InDesign's inability to capture character styles in index entries). Even more egregious is that many features in Quark are specifically prohibited from being scripted (last I checked), requiring one to use interface events. Moreover, as was recently noted on the InDesign mailing list, long document support in InDesign is sorely lacking (the new span columns feature trumps keep specifications for minimum number lines in a paragraph for example, and it's all-too easy to have an index in a book be too large to be generated by InDesign in one pass, requiring one to do it in sections, then use a script or a specialty indexing program to merge the sub-indices. Lastly, AIUI InDesign's (and probably Quark's) licensing prohibits remote usage from a server unless one purchases the Server version. William -- William Adams senior graphic designer Fry Communications Sphinx of black quartz, judge my vow. ___ 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] Is it bibliography really problem for MKIV?
Hello Thomas, I have experimented a bit and found that the problem is not in the presence of citation in the caption of figure. It seems that the problem does not occur only when you insert a figure without caption. See the following example: Jaroslav \setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite] \starttext citations are \cite[hh2010b] and \cite[hh2010a]. % \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991] with citation} % with problem % {\externalfigure[fig1]} % \placefigure[force, none][fig1]{} %Figure without caption - no problem with bibliography %{\externalfigure[fig1]} \placefigure[force][fig1]{Caption of figure without citation} % with problem too {\externalfigure[fig1]} \placepublications[criterium=cite] \stoptext Dne 1.3.2012 11:09, Thomas A. Schmitz napsal(a): On 03/01/2012 10:49 AM, Jaroslav Hajtmar wrote: Thanx Thomas Thank you dealt with my problem. Maybe I'm the first to met this bug (if a mistake is it). Regarding the use of buffers: I'll have to remake it, because everything I have in principle based just on buffers. If I could not give a citation link to figure caption then would be a huge problem. I'd probably have to deal manually finding bibliography items and direct write its numbers into captions to square brackets (ie without cite referencing). Although I do not think, it could cause this problem. He is occurs even if the citation not appears in caption of figure. For me it is now very unfortunate that the thesis supervisor requires strict order of bibliography as I wrote. I'll try to wait for a possible correction, or try about hundred bibliographic items rearrange "manually" so that it will by his requirement. Once again, many thanks. With greetings Jaroslav Yes, it looks like nobody put \cite into captions before you, but I can imagine that this is a fairly normal requirement in the sciences. So this should in fact work, and you shouldn't have to do this manually, this is a bug and should be fixed. The question is a bit how urgently you need it. The bibliography mkiv code is something that only Hans can touch, so the fix will come, but it will probably take him some time. Best wishes Thomas ___ 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] Is it bibliography really problem for MKIV?
On 03/01/2012 10:49 AM, Jaroslav Hajtmar wrote: Thanx Thomas Thank you dealt with my problem. Maybe I'm the first to met this bug (if a mistake is it). Regarding the use of buffers: I'll have to remake it, because everything I have in principle based just on buffers. If I could not give a citation link to figure caption then would be a huge problem. I'd probably have to deal manually finding bibliography items and direct write its numbers into captions to square brackets (ie without cite referencing). Although I do not think, it could cause this problem. He is occurs even if the citation not appears in caption of figure. For me it is now very unfortunate that the thesis supervisor requires strict order of bibliography as I wrote. I'll try to wait for a possible correction, or try about hundred bibliographic items rearrange "manually" so that it will by his requirement. Once again, many thanks. With greetings Jaroslav Yes, it looks like nobody put \cite into captions before you, but I can imagine that this is a fairly normal requirement in the sciences. So this should in fact work, and you shouldn't have to do this manually, this is a bug and should be fixed. The question is a bit how urgently you need it. The bibliography mkiv code is something that only Hans can touch, so the fix will come, but it will probably take him some time. Best wishes Thomas ___ 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] Is it bibliography really problem for MKIV?
Thanx Thomas Thank you dealt with my problem. Maybe I'm the first to met this bug (if a mistake is it). Regarding the use of buffers: I'll have to remake it, because everything I have in principle based just on buffers. If I could not give a citation link to figure caption then would be a huge problem. I'd probably have to deal manually finding bibliography items and direct write its numbers into captions to square brackets (ie without cite referencing). Although I do not think, it could cause this problem. He is occurs even if the citation not appears in caption of figure. For me it is now very unfortunate that the thesis supervisor requires strict order of bibliography as I wrote. I'll try to wait for a possible correction, or try about hundred bibliographic items rearrange "manually" so that it will by his requirement. Once again, many thanks. With greetings Jaroslav Dne 1.3.2012 10:08, Thomas A. Schmitz napsal(a): On 02/29/2012 09:33 PM, Jaroslav Hajtmar wrote: Hello Thomas. Thanks for your interest in my problem. My problem is that while simple basic aplication works fine, in complex applications (including components, images, tables etc) is not bibliography in the correct order, or there are errors in the references to literature. I had a look at your examples. First, if the sequence of cited items is important for you (and it is because you want sorttype=cite), I wouldn't put citations and figures into a buffer, that's asking for trouble. That leaves the problem with a \cite command within a caption. This looks like a real bug to me; I hope Hans has the time to look into it. The minimal example is: \setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite] \starttext citations are \cite[hh2010b] and \cite[hh2010a]. \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991]} {\externalfigure[fig1]} \placepublications[criterium=cite] \stoptext All best Thomas ___ 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] Is the \definecolumnsetspan still supported!?
On 03/01/2012 09:55 AM, Hans Hagen wrote: On 29-2-2012 16:22, Verhaag, G.C.H.M. wrote: Hi all, I want to use the \definecolumnsetspan for typesetting text in columns as described in the Columns manual (2003) by Hans, but get an Undefined control sequence ... error when using it! no example, no answer Hans Hi, Sorry, but here is the example file (testcol.tex) which doesn't compile using ConTeXt ver: 2012.02.18 10:50 MKIV fmt: 2012.2.18 int: english/english. Thanks! Regards, Gerard Verhaag \definecolumnset[example][n=3] \definecolumnsetspan[wide][n=2,background=contrast] \starttext \startcolumnset[example] \startcolumnsetspan[wide] \dorecurse{40}{Zomaar een column tekst!} \stopcolumnsetspan \dorecurse{40}{Zomaar een column tekst!} \stopcolumnset \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is it bibliography really problem for MKIV?
On 02/29/2012 09:33 PM, Jaroslav Hajtmar wrote: Hello Thomas. Thanks for your interest in my problem. My problem is that while simple basic aplication works fine, in complex applications (including components, images, tables etc) is not bibliography in the correct order, or there are errors in the references to literature. I had a look at your examples. First, if the sequence of cited items is important for you (and it is because you want sorttype=cite), I wouldn't put citations and figures into a buffer, that's asking for trouble. That leaves the problem with a \cite command within a caption. This looks like a real bug to me; I hope Hans has the time to look into it. The minimal example is: \setupbibtex[database=sample] \setuppublications[alternative=ams, sorttype=cite] \starttext citations are \cite[hh2010b] and \cite[hh2010a]. \placefigure[force][fig1]{Caption of figure \cite[Eijkhout1991]} {\externalfigure[fig1]} \placepublications[criterium=cite] \stoptext All best Thomas ___ 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] Font embedding
On 29-2-2012 08:34, Honza Hejzl wrote: Just a little P. S. Here is the typical view of fully embedded fonts (Scribus made): http://dl.dropbox.com/u/4393365/embedded.png I wonder if that one has the proper tounicode vectors which are definitely needed when the printing house wants to cut / paste / mess around - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Is the \definecolumnsetspan still supported!?
On 29-2-2012 16:22, Verhaag, G.C.H.M. wrote: Hi all, I want to use the \definecolumnsetspan for typesetting text in columns as described in the Columns manual (2003) by Hans, but get an Undefined control sequence ... error when using it! no example, no answer Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Project, product, component...
On 1-3-2012 09:30, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, as no new answer so far, I started to experiment. It seems that [at least] component id(s) cannot be omitted: the tags are (an always will be) mandate I tested the case when all product/component ids were the same, i.e. "_", as a dummy value. As later the ids are referred nowhere, it seems that they are necessary just due to syntactical rules. they are also used in - cross document referencing (component processing) - logging and reporting - keeping track of loading environments once - internal pusp/pop states and hashes - whatever we need in the future (so, naming all environments _ will load only one) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Project, product, component...
Hello, as no new answer so far, I started to experiment. It seems that [at least] component id(s) cannot be omitted: Prod.mkiv \startproduct % PPP \component Comp.mkiv Product \stopproduct And: Comp.mkiv \startcomponent % CCC %\product Prod %\project Proj Component \stopcomponent - Gives a wrong product, as Prod.pdf doesn't include the component. Another test: Prod.mkiv \startproduct _ % PPP \component Comp.mkiv \component Comp2.mkiv Product \stopproduct And: Comp.mkiv \startcomponent _ % CCC Component \stopcomponent Comp2.mkiv \startcomponent _ % CCC Component2 \stopcomponent Gives a good result. So it seems that [at least some] ids are required, and just not-to-be-empty. I tested the case when all product/component ids were the same, i.e. "_", as a dummy value. As later the ids are referred nowhere, it seems that they are necessary just due to syntactical rules. Or - ? Lukas On Tue, 28 Feb 2012 19:01:52 +0100, Marco wrote: On 2012-02-28 Jaroslav Hajtmar wrote: Project structure use quite often, but yet similar question not occurred to me. It's a very interesting question, I was asking myself the same and I'm curious about the answer. The ConTeXt magazine #1101 - Project Structure¹ is reserved about this topic and simply states: “The names given after the start command are not that important…” I had always previously PPP and CCC as existing filenames on the disk. I always used filenames, too. But I would like to extend Luke's question on this issue: You can load an existing component to other components? The ConTeXt magazine #1101 includes a table of the possible combinations of the commands. From this table I conclude that components are allowed between: ∙ \starttext \stoptext ∙ \startcomponent \stopcomponent ∙ \startproduct \stopproduct Marco [1] http://pragma-ade.com/general/magazines/mag-1101.pdf ___ 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 ___ -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 ___ 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 ___