[NTG-context] Project Structure - inheritance rules for environments
Hi, I'm just having a look a project structure again. I am using the example given in the wiki: https://wiki.contextgarden.net/Project_structure, i.e., in my component I'm linking to the product, but not to the project. Now I was expecting that the component inherits the environment set in the project via the product. The wiki currently explains: "If you tex (compile) one single component (e.g. a chapter of a book) or product (e.g. one volume of a magazine), the environment file of the project is used." That does not seem to be the case here. Can anyone confirm this? Is this a bug or does the wiki needs to be revised? Best, Denis ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Genealogy and context
Hello, My son is very much interested in genealogy. He already has collected information on thousands of people. Now it would be nice to be able to present this information in the form of a book. There is a possibility to have this done by a commercial service, however then it's not possible to adapt the format or to insert custom text. Media can be added but not in the way we like it. Genealogical information is stored as structured data. I have added a fragment of an Gramps XML file below. In such a file there are events, people, families and other groupings of data and these are linked by handles. What we would like to produce is a book with a number of blocks on every page describing a family: Father, mother, dates of birth and death, date of marriage, occupations and children. It would also be good it there are references to the grandparents. My question is: Where should I get started with a project in which a document is generated automatically from data? As far as I know context should be very suitable for this but I don't have any experience with this. Until now I've used context to make documents without any data being added automatically, except for the bibliography. Thank you in advance, David van Diepen Example Gramps XML file is below: http://gramps-project.org/xml/1.7.1/grampsxml.dtd;> http://gramps-project.org/xml/1.7.1/;> Birth Death Marriage F Catharina Geldof M Cornelis Geldof F Maatje de Voogd ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Indenting on all TEXpages
Dear list, is it possible to enable indenting globally for TEXpage environments? Or is it recommended to create a separate environment for that purpose? Please find a MWE below. It seems to me that \setupindenting must be set explicitly for every page that needs indenting. Best, Jacob Kauffmann \setupTEXpage[width=10cm] \setupindenting[yes,medium] % not working \starttext \startTEXpage \input knuth \stopTEXpage % working \startTEXpage \setupindenting[yes,medium] \input knuth \stopTEXpage \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Log overful boxes
Hi, How can you add information about underfulor overful boxes to the log? Ideally both vboxes and hboxes. Best, Denis ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Indenting on all TEXpages
On 2/28/2021 4:13 PM, Jacob Kauffmann wrote: Dear list, is it possible to enable indenting globally for TEXpage environments? Or is it recommended to create a separate environment for that purpose? Please find a MWE below. It seems to me that \setupindenting must be set explicitly for every page that needs indenting. Best, Jacob Kauffmann \setupTEXpage[width=10cm] \setupindenting[yes,medium] % not working \starttext \startTEXpage \input knuth \stopTEXpage % working ^^^ not working because you introduce a space: \startTEXpage \setupindenting[yes,medium]% add a percent here \input knuth \stopTEXpage \stoptext There's is often a way: \setupTEXpage[width=10cm,setups=whatever] \startsetups whatever \setupindenting[yes,medium] \stopsetups \starttext \startTEXpage \input knuth \stopTEXpage \startTEXpage \input knuth \stopTEXpage \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug report: \setupbackend corrupts bibliography rendering
On 2/28/2021 11:42 AM, a badin wrote: % \setupbackend[export=example.xml,css=example.css] \usebtxdataset[default][ref.bib] \starttext \cite[Arrow][Arrow] \placelistofpublications \stoptext my ref.bib file: @ARTICLE{Arrow, author = {Andrej Arrow}, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, } fixed in next upload - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bug report: \setupbackend corrupts bibliography rendering
Forgot to mention that my program is LuaTeX 2.08 20210220 + ConTeXt MkIV 2021.02.23 17:47 Also I like \setupbacked for what it does (export html/xml/css), I just wasn't aware that it makes bibliography render strangely when outputting a pdf. On Sun, 28 Feb 2021 at 11:42, a badin wrote: > Dear gardeners, > > I'm new to ConTeXt and would like to share a possible bug with you. > > If I have the \setupbackend[export=example.xml,css=example.css] entry in > my .tex file, then my bibliography renders in a strange way (text copied > from pdf): 1 bfldcategoryarticle: [author: Andrej Arrow] [journal: MAPS] > [keywords: context] [pages: 2-8] [title: The Font Name Mess] [volume: 40] > [year: 2010] > > If I remove or comment that entry out, then the bibliography renders OK > (copy from pdf): 1 A. Arrow, “The Font Name Mess”, *MAPS *40, 2-8, 2010. > > my .tex source is: > % \setupbackend[export=example.xml,css=example.css] > \usebtxdataset[default][ref.bib] > > \starttext > \cite[Arrow][Arrow] > \placelistofpublications > \stoptext > > my ref.bib file: > @ARTICLE{Arrow, > author = {Andrej Arrow}, > title = {The Font Name Mess}, > journal = {MAPS}, > year = {2010}, > volume = {40}, > pages = {2-8}, > keywords = {context}, > } > > Hope this helps, > best, > Andrej > -- > Andrej Badin > +31 6 82 23 50 33 > -- Andrej Badin +31 6 82 23 50 33 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Bug report: \setupbackend corrupts bibliography rendering
Dear gardeners, I'm new to ConTeXt and would like to share a possible bug with you. If I have the \setupbackend[export=example.xml,css=example.css] entry in my .tex file, then my bibliography renders in a strange way (text copied from pdf): 1 bfldcategoryarticle: [author: Andrej Arrow] [journal: MAPS] [keywords: context] [pages: 2-8] [title: The Font Name Mess] [volume: 40] [year: 2010] If I remove or comment that entry out, then the bibliography renders OK (copy from pdf): 1 A. Arrow, “The Font Name Mess”, *MAPS *40, 2-8, 2010. my .tex source is: % \setupbackend[export=example.xml,css=example.css] \usebtxdataset[default][ref.bib] \starttext \cite[Arrow][Arrow] \placelistofpublications \stoptext my ref.bib file: @ARTICLE{Arrow, author = {Andrej Arrow}, title = {The Font Name Mess}, journal = {MAPS}, year = {2010}, volume = {40}, pages = {2-8}, keywords = {context}, } Hope this helps, best, Andrej -- Andrej Badin +31 6 82 23 50 33 ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Write to tuc file
Oh, another thing I've learned from your example us that \starttext ...\stoptext can be nested... Von: Hans Hagen Gesendet: Samstag, 27. Februar 2021 19:26:52 An: Maier, Denis Christian (UB); mailing list for ConTeXt users Betreff: Re: AW: [NTG-context] Write to tuc file On 2/27/2021 6:28 PM, denis.ma...@ub.unibe.ch wrote: > It's a book that will be published in two volumes, continually paginated. > In the end I need two pdf files, but I thought it might be easier to treat > them as one volume and just split the files with some external tool > afterwards. > > I could also treat them as two individual books, but then I'd have to get the > last page number of volume 1 in volume 2. On the console you see the pagenumbers right? What you need is the realpage. You could actually do something: \dorecurse{10}{\samplefile{tufte}\page} \appendetoks \writestatus{!}{} \writestatus{!}{SPLIT HERE: \the\realpageno} \writestatus{!}{} \to \everystoptext \dorecurse{10}{\samplefile{tufte}\page} and then use this number in: context --extra=select --selection=1:4oeps.pdf --once --autopdf context --extra=select --selection=5: oeps.pdf --once --autopdf (We can actually relate tags to pages so maybe I will make something to pick that up from the tuc file.) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___