[NTG-context] Letter module
Hello, Is there any updated documentation for the letter/correspondence module? All I can find is version 2010.08.27 and I can see from this list that things have changed, I just don't know where to find out what. Also, can anyone tell me how to remove the label above the date, how to add a pdf containing my letterheading as the page background, and how to add a horizontal line between the backaddress and the toaddress? For the page background I currently have: \setupletter[ backgroundimage={letterhead} ] but it doesn't seem to do anything. I've tried adding the file extension. Thanks, Mo. ___ 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] Letter module
Hello again, I managed to get the backaddress looking how I wanted by reading again through the main ConTeXt manual. I've also got my letterhead loading as the page background to some degree like so: \defineletterelement[layer][lettermain][Stationery]{\externalfigure[letterhead][width=210mm,height=297mm]} \setupletterlayer [lettermain] [x=0mm, y=0mm, alternative=Stationery] but there seems to be a tiny border around it rather than being flush to the edges of the page. I've tried other methods using layers and \setupbackgrounds but they seem to have no effect at all. Can someone help with that? I still haven't worked out how to remove the lavel above the date, and to make matters worse it doesn't seem to be affected by changing the document language either! Mo. On Wed, Jun 25, 2014 at 05:30:56PM +0200, Mo Abrahams wrote: Hello, Is there any updated documentation for the letter/correspondence module? All I can find is version 2010.08.27 and I can see from this list that things have changed, I just don't know where to find out what. Also, can anyone tell me how to remove the label above the date, how to add a pdf containing my letterheading as the page background, and how to add a horizontal line between the backaddress and the toaddress? For the page background I currently have: \setupletter[ backgroundimage={letterhead} ] but it doesn't seem to do anything. I've tried adding the file extension. Thanks, Mo. -- Mo ___ 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] Preparing a weird index.
john Culleton j...@wexfordpress.com writes: Hello, I have looked into Xindy for this job but the learning curve is pretty steep and the documentation pretty opaque. makeindex won't handle decimals for locators. in the past when working on some books with the English/Croatian/Sanskrit(diacritics) using Xindy in companion with LyX/LaTeX was the only option to ger proper sorting. I was playing with the ConTeXt more than 10 years ago, but lack of proper docs was always keeping me back from fully embracing it. Today after checking (again) I see that there are even some printed books and MkIV/LuaTeX seems to be quite stable, so I wonder about ConTeXt's capabilities to generate index/glossary in regard to xindy which is powerful, but I never really grokked it properly? Other typesetting features of ConTeXt are certainly very tempting and along with Emacs/AUCTeX everything looks as very pleasant typesetting environment. @John: I'm curios if you were able to prepare desired index *without* makeindex/xindy? Sincerely, Gour -- ___ 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] Character alignment in math mode
On Wed, 25 Jun 2014, Wolfgang Schuster wrote: Am 25.06.2014 um 23:20 schrieb Brian R. Landy br...@landy.cx: Out of curiosity, how do you do that (i.e., revert back to lining, and tabular, figures in a table, or even in running text)? For example, if I do this: \starttext \bf 12345\par \tf 12345\par \stoptext the first line is bold but the second is not. But if I do the same with \os: \starttext \os 12345\par \tf 12345\par \stoptext both lines use old style numbers. Is there a way to switch the current font back to lining figures without reloading the font with \switchtobodyfont or something similar? The \os command enables oldstyle figures in your font and the setting isn’t reset when you switch to a different font alternative. \definefontfeature[f:lnum][lnum=yes] \definefontfeature[f:onum][onum=yes] \definefontfeature[f:tnum][tnum=yes,pnum=no] \definefontfeature[f:pnum][pnum=yes,tnum=no] \setupbodyfont[antykwa-poltawskiego] \starttext \starttabulate \NC onum\NC \feature[+][f:onum] 1234567890 \NC\NR \NC onum + tnum \NC \feature[+][f:onum]\feature[+][f:tnum]1234567890 \NC\NR \NC onum + pnum \NC \feature[+][f:onum]\feature[+][f:pnum]1234567890 \NC\NR \TB \NC lnum\NC \feature[+][f:lnum] 1234567890 \NC\NR \NC lnum + tnum \NC \feature[+][f:lnum]\feature[+][f:tnum]1234567890 \NC\NR \NC lnum + pnum \NC \feature[+][f:lnum]\feature[+][f:pnum]1234567890 \NC\NR \stoptabulate \stoptext Wolfgang This was exactly what I needed, thank you! Brian ___ 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] Preparing a weird index.
On 6/26/2014 4:17 PM, Gour wrote: Today after checking (again) I see that there are even some printed books and MkIV/LuaTeX seems to be quite stable, so I wonder about ConTeXt's capabilities to generate index/glossary in regard to xindy which is powerful, but I never really grokked it properly? i don't know xindy but normally the context mkiv index mechanism is flexible enough (and it can be configured) 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] latest beta, problem with natural tables and alignment character
On 6/26/2014 5:06 AM, Brian Landy wrote: On Jun 25, 2014, at 6:53 PM, Hans Hagen pra...@wxs.nl wrote: On 6/25/2014 11:26 PM, Brian R. Landy wrote: When you say next beta do you mean a subsequent minimals release (i.e., this fix should be the 2014.06.22 release)? Or do you mean a new beta that you announce more formally on the list? I'm not sure what I should look for before I test again, so I don't end up testing a version without the fix. netx beta == next upload == already done Great, thanks. I wanted to make sure before mentioning I'm still seeing problems. When you have a combination number/character sequence (i.e., 1D or 11-22+) and specify an alignment (flushleft/middle/flushright) spaces get inserted between the final digit and the first trailing character. So 1D might print as 1 D, 11-22+ prints as 11-22 +, etc. This happens using . or , for alignment, it's not exclusive to aligning on a hyphen. i now have two methods, number and text and {-} triggers text you can force a method with text- and number- no upload yet - 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] latest beta, problem with natural tables and alignment character
On 6/26/2014 10:48 PM, Hans Hagen wrote: On 6/26/2014 5:06 AM, Brian Landy wrote: On Jun 25, 2014, at 6:53 PM, Hans Hagen pra...@wxs.nl wrote: On 6/25/2014 11:26 PM, Brian R. Landy wrote: When you say next beta do you mean a subsequent minimals release (i.e., this fix should be the 2014.06.22 release)? Or do you mean a new beta that you announce more formally on the list? I'm not sure what I should look for before I test again, so I don't end up testing a version without the fix. netx beta == next upload == already done Great, thanks. I wanted to make sure before mentioning I'm still seeing problems. When you have a combination number/character sequence (i.e., 1D or 11-22+) and specify an alignment (flushleft/middle/flushright) spaces get inserted between the final digit and the first trailing character. So 1D might print as 1 D, 11-22+ prints as 11-22 +, etc. This happens using . or , for alignment, it's not exclusive to aligning on a hyphen. i now have two methods, number and text and {-} triggers text you can force a method with text- and number- no upload yet I'll also add \nocharacteralign so that one can disable this mechanism in a table cell. - 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] meeting
Hi, In case you didn't consider it yet ... in a couple of months we have the context meeting and this is a perfect opportunity to meet those involved in development and support. You can participate in discussions about upcoming developments, express wishes, get sneak previews, get your problems solved (meetings are quite efficient for that). Personally I like those meetings because it gives a face to users and also gives an idea in what direction to move. Also, tex related meetings are kind of special (beware, one can get hooked to them). If you have ideas for topics, let us know asap, 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] Preparing a weird index.
Hans Hagen pra...@wxs.nl writes: i don't know xindy but normally the context mkiv index mechanism is flexible enough (and it can be configured) Here are some snippets from my old xindy setup... ;; define order of sorting runs (use-rule-set :run 0 :rule-set (resolve-sanskrit-diacritics hr-alphabetize hr-ignore-special)) (use-rule-set :run 1 :rule-set (hr-resolve-diacritics hr-ignore-special)) (use-rule-set :run 2 :rule-set (hr-resolve-case hr-ignore-special)) (use-rule-set :run 3 :rule-set (hr-resolve-special)) which says that the sorting should be done in the following order: first rules for sanskrit diacriticits, then alphabetic sort of Croatian (hr) characters etc. followed by another set of rules saying to sort Croatian diacritics (I was using latin2 encoding) etc. Here is example of resolve-sanskrit-diacritics: (define-rule-set resolve-sanskrit-diacritics :rules ((\\={(a)} \1 :bregexp :again) (\\={\\i} i :bregexp :again) (\\={I} I :bregexp :again) (\\\.{(.)} \1 :bregexp :again) (\\d{(r)} ri :bregexp :again) (\\d{(t)} \1 :bregexp :again) (\\d{(T)} \1 :bregexp :again) (\\d{(d)} \1 :bregexp :again) (\\d{(n)} \1 :bregexp :again) (\\d{(s)} š :bregexp :again) (\\d{(S)} Š :bregexp :again) (\\~{(.)} \1 :bregexp :again) (\\'{(c)} ć :bregexp :again) (\\'{(C)} Ć. :bregexp :again) (\\'{(s)} š :bregexp :again) (\\'{(S)} Š :bregexp :again) )) which says that e.g. 'ṣ' which is pronounced similar to Croatian 'š' should go in the same letter-group, same with 'Ś' which goes to 'Š'. 'ṛ' is pronounced as 'ri' and it should goes in the letter group 'ri' etc. Of course, at that time, without proper Unicode support, it was a bit cumbersome but I was able to see everything properly in LyX as well as properly sorted in the final PDF/PS outputs. Is something like that possible in ConTeXt? Sincerely, Gour -- The working senses are superior to dull matter; mind is higher than the senses; intelligence is still higher than the mind; and he [the soul] is even higher than the intelligence. ___ 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] meeting
Hans Hagen pra...@wxs.nl writes: In case you didn't consider it yet ... in a couple of months we have the context meeting and this is a perfect opportunity to meet those involved in development and support. You can participate in discussions about upcoming developments, express wishes, get sneak previews, get your problems solved (meetings are quite efficient for that). For several years I'm TUG member and always add some small donations for the LuaTeX project, free fonts etc. so I wonder whether e.g. LuaTeX is really getting some support from TUG membership? Yearly fee of 40€ for ConTeXt group is for ordinary members, right? Sincerely, Gour -- The senses, the mind and the intelligence are the sitting places of this lust. Through them lust covers the real knowledge of the living entity and bewilders him. ___ 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 ___