Re: [NTG-context] Resetting \setupTABLE
Hello, how about to enclose the former TABLE (including its \setupTABLE) into a group - {} or \bgroup ... \egroup? I guess setups are local... Regards, Lukas On Mon, 23 Jun 2014 07:30:52 +0200, Troy Henderson thend...@gmail.com wrote: What is the proper way to reset the setups made by \setupTABLE so that successive TABLEs do no inherit the properties set by previous TABLEs? -- Troy Henderson -- 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 241 096 751 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 ___
Re: [NTG-context] Resetting \setupTABLE
Thank you both for your response. Troy ___ 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] Hanging punctuation
Am 22.06.2014 um 20:51 schrieb Tomas Hala tomas.h...@mendelu.cz: Hello, I tried hanging punctuation with Trebuchet font but without any success whereas for Latin Modern or Libertine (without simplefonts) it works OK. Is the \setupalign feature for hanging punctuation available for simplefonts module? Or did I forget some option? Minimal example: % CTX from TeXlive 2013 \usemodule[simplefonts] \setmainfont[Trebuchet MS] \setupalign[hz,hyphenated,justified,hanging] \starttext \input knuth \stoptext You have to enable the feature for the font before you can use it, to do this add \definefontfeature[default][default][expansion=quality,protrusion=quality] before \setmainfont. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] second-level seeindex entry nested too deeply
On 6/22/2014 10:30 PM, Sanjoy Mahajan wrote: I think the following minimal example is giving an incorrect index. As ascii, the index comes out as a area 1 ellipse 1 see United Kingdom, area whereas the see United Kingdom, area should be indented the same as the ellipse second-level entry. It comes out okay if I delete the \index{area+ellipse} entry. can you play with: \unprotect \unexpanded\def\startregisterseewords {\par % \ifhmode\crlf\fi \begingroup \setfalse\c_strc_registers_page_done \dostarttagged\t!registerpage\empty \useregisterstyleandcolor\c!pagestyle\c!pagecolor} \unexpanded\def\stopregisterseewords {\dostoptagged \endgroup} \protect (P.S. What's the setupregister key that puts the see ... entry in italic? I seem to have turned it off in my environment file somewhere. Oh, it's 'pagestyle', but then how can one separately set the style of the pagenumbers from the style of the see ...?) That aside, here's the example (run with 2014.05.17 MkIV): \setupregister[index][n=1] \starttext hello \index{area}area and \index{area+ellipse}area of an ellipse \seeindex{area+United Kingdom}{United Kingdom, area} \blank[3*big] \placeindex[criterium=all] \stoptext search for 'processors' - 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 ___
[NTG-context] ConTeXt meeting 2014 update
Hi all, Some new information is now available on the upcoming meeting, so here is an update with all the news. http://meeting.contextgarden.net/2014 == NTG Meeting == The NTG has set the fees for attendance of the NTG’s anniversary meeting, which will follow immediately after our meeting. If you want to stay around for that (program on Saturday and Sunday, with talks in Dutch), please check the box on the registration form. Or, if you have registered already, send me an email message. Additional fee: 50 EUR for NTG members, 70 EUR for other people, to be paid in cash. == T-shirt ? == No, not this time. We are pretty sure most of you have enough meeting shirts already, so we decided to do something different this time. In keeping with the “Cookery” meeting theme, the goody bag will have a full-sized kitchen apron instead. In fact, there will be two different apron designs each featuring a commissioned drawing by Duane Bibby. The designs will remain secret for a while longer (possibly even until the actual meeting) but we are willing to tell you that there will be “lion” and “lioness” versions, and each one is cooking up a big bowl of ConTeXt soup. On the meeting registration form you can select which version you want to receive as part of the goody bag. There is also a checkbox to pre-order the other one (get a matching pair!). After the meeting, the aprons will remain available as ConTeXt merchandise, which is why there will not be a date or place mentioned on the apron. When the time comes, we will let you know how and where to order (by then of course there will be pictures as well). == Programme == No actual schedule has been made up yet, but there are quite some entries on the Abstracts page by now. It looks to me like it is going to be a very interesting programme! Have a look for yourself, and feel free to request talks on any other subject you are interested in: http://meeting.contextgarden.net/2014/abstracts.shtml == Registration reminder == With only *one week* to go before the early bird deadline expires, now would be a great time to register! http://meeting.contextgarden.net/2014/register.shtml Hoping to see many of you in Bassenge, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] second-level seeindex entry nested too deeply
Hans Hagen pra...@wxs.nl writes: can you play with: \unprotect \unexpanded\def\startregisterseewords {\par % \ifhmode\crlf\fi \begingroup \setfalse\c_strc_registers_page_done \dostarttagged\t!registerpage\empty \useregisterstyleandcolor\c!pagestyle\c!pagecolor} \unexpanded\def\stopregisterseewords {\dostoptagged \endgroup} \protect That fixed the original test file. But the problem resurfaced upon adding one more level of nesting (the more nesting... line). Here's the revised minimal example. \unprotect \unexpanded\def\startregisterseewords {\par % \ifhmode\crlf\fi \begingroup \setfalse\c_strc_registers_page_done \dostarttagged\t!registerpage\empty \useregisterstyleandcolor\c!pagestyle\c!pagecolor} \unexpanded\def\stopregisterseewords {\dostoptagged \endgroup} \protect \setupregister[index][n=1] \starttext hello \index{area}area and \index{area+ellipse}area of an ellipse more nesting \index{area+ellipse+today}area of an ellipse today \seeindex{area+United Kingdom}{United Kingdom, area} \blank[3*big] \placeindex[criterium=all] \stoptext -Sanjoy ___ 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] small indexing glitch if index entry has extra {}
Here's a small glitch with indexing, which I ran into by chance and enclose a minimal example. Because of the extra {} in the entry \index{{two dimensional}} the index duplicates the entry: t two dimensional 1 two dimensional 1 \setupregister[index][n=1] \starttext \index{two dimensional}test1 test \index{{two dimensional}}test2 \blank[3*big] \placeindex[criterium=all] \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] Orphans/Widows in the Index
On 2014-04-23 Jan Tosovsky wrote: in my auto-generated two column index (registry) there are several cases of widows - it is the last item of the given letter which overflows to next column/page: --- (start page) --- Usti 29 (! alone !) V Vamberk 18 ... ... There are also few cases of orphans, but this is not so strange: ... ... Josef 29 K Karel 69 (! alone !) (end page) - In my setup I have defined (with no luck): \startsetups[grid][mypenalties] \setdefaultpenalties \setpenalties\widowpenalties{2}{1} \setpenalties\clubpenalties {2}{1} \stopsetups \setuplayout[grid=yes, setups=mypenalties] After finishing another duties I am back ... and still facing these issues. I think both cases could be eliminated by establishing a new constraint to the 'key letter': (1) There must be 0 or at least 3 lines at the beginning of the page/column before the Key letter. (2) There must be at least 2 lines after the Key letter. Can this be somehow set in my source file? Thanks, Jan ___ 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] Problem in natural tables with nc= and alignmentcharacter
When a wide-ish column precedes a character-aligned column and a column span is in place, the table is set improperly. With the following example, the first two columns overlap. When the first column is moved to the right side of the table there is no issue. When the setup line is removed, there is no issue. When the long entry in column is shortened, there is no issue. When the column span is removed and another cell added to that row, there is no issue. The problem occurs when the span is applied to the first two or the last two columns in the example. TL14 handles this correctly. It fails with the 20140622 beta. \starttext \bTABLE \setupTABLE[c][3][alignmentcharacter={.},aligncharacter=yes] \bTABLEbody \bTR \bTC AAA\eTC \bTC[nc=2] Location\eTC \eTR \bTR \bTC AAA Longish entry\eTC \bTC Figure\eTC \bTC 1.12\eTC \eTR \bTR \bTC AAA\eTC \bTC Table\eTC \bTC 10.8\eTC \eTR \eTABLEbody \eTABLE \stoptext -- Rik Kabel ___ 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] Problem in natural tables with nc= and alignmentcharacter
On 2014-06-23 15:03, Rik Kabel wrote: When a wide-ish column precedes a character-aligned column and a column span is in place, the table is set improperly. With the following example, the first two columns overlap. When the first column is moved to the right side of the table there is no issue. When the setup line is removed, there is no issue. When the long entry in column is shortened, there is no issue. When the column span is removed and another cell added to that row, there is no issue. The problem occurs when the span is applied to the first two or the last two columns in the example. TL14 handles this correctly. It fails with the 20140622 beta. \starttext \bTABLE \setupTABLE[c][3][alignmentcharacter={.},aligncharacter=yes] \bTABLEbody \bTR \bTC AAA\eTC \bTC[nc=2] Location\eTC \eTR \bTR \bTC AAA Longish entry\eTC \bTC Figure\eTC \bTC 1.12\eTC \eTR \bTR \bTC AAA\eTC \bTC Table\eTC \bTC 10.8\eTC \eTR \eTABLEbody \eTABLE \stoptext -- Rik Kabel Small correction. The statement When the first column is moved to the right side of the table there is no issue. is incorrect. The problem exists with the long entry in a column following the alignmentcharacter column as well. -- Rik ___ 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] Problem in natural tables with nc= and alignmentcharacter
On Mon, Jun 23 2014, Rik Kabel wrote: With the following example, the first two columns overlap. No solution, just a smaller MWE: \starttext \setupTABLE[c][3][aligncharacter=yes] \setupTABLE[height=2cm] \bTABLE \bTR \bTD A \eTD \bTD[nc=2] A \eTD \eTR \bTR \bTD A x \eTD \bTD A \eTD \bTD 1 \eTD \eTR \eTABLE \stoptext -- Peter ___ 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] Problem in natural tables with nc= and alignmentcharacter
On Mon, Jun 23 2014, Peter Münster wrote: No solution, just a smaller MWE: Yet smaller, but I don't know, if it's still the same problem: \starttext \bTABLE \bTR \bTD A x \eTD \bTD[nc=2] A \eTD \eTR \eTABLE \stoptext -- Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Rotate multiline text
On Sun, 22 Jun 2014, Hans Hagen wrote: On 6/18/2014 1:35 AM, Aditya Mahajan wrote: Hi, I want to rotate a multiline text by 90 degrees, and I thought that \framed[orientation=90] should do that. But it does not work as expected. \defineframed[tightbox] [align=middle, width=fit, height=fit] \defineframed[rotatebox][tightbox][orientation=90] \starttext \startlines ABC \rotatebox{Random \crlf text } ABC ABC \rotate{\tightbox{Random \crlf text }} ABC \stoplines \stoptext I would like \rotatebox to behave the same as \rotate{\tightbox{..}}, but it does not. It appears that the width (or height?) or \rotatebox is set to broad. Am I missing a magic option or is this a bug? works ok here Thanks. I updated and indeed this is working correctly. Sorry about the noise. 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 ___