Re: [NTG-context] Special look of \item
... Thanks a lot, that gave me a hint! Finally I'm using: \define[1]\ItemCommand{\hangindent=1.5in\relax\simplealignedbox{1.5in}{flushleft}{#1\hss--- }\ignorespaces} \setupitemize[command=\ItemCommand] \starttext \startitemize \item{Ward} \input ward \input ward \item{Knuth} \input knuth \stopitemize \stoptext BTW: I tried to wikify but the result differs from that I'm getting with the latest beta (attached to this mail); so I wikified nothing. 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 241 096 751 Fax: +420 244 461 038 Item.mkiv Description: Binary data Item.pdf Description: Adobe PDF document ___ 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] “Case-insensitive” sorting for \placelistofsynonyms?
Hi list, according to case-insensitive sorting for \placeregister[…][…, method=…], I tried to figure out how to achieve similar results for \placelistofsynonyms (has method-key too). I tried this modified minimal example (that originally was proposed by Hans here: http://www.ntg.nl/pipermail/ntg-context/2010/052950.html), but failed: \setuplayout[topspace=1cm,height=middle] \setupbodyfont[11pt] \starttext \definesynonyms[abbr][abbrs][\unabbr] \def\Test#1{\vbox{{\bf#1}\blank\placelistofabbrs[criterium=all,language=cz,method={#1}]}\blank} wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=2] \Test{before} \Test{first} \Test{default}\Test{after}\Test{last} \stopcolumns \page wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=3] \Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc} \Test{zc,mm,uc} \Test{zc,zm,uc} \Test{zc,pm,uc} \Test{pc,mm,uc} \Test{pc,zm,uc} \Test{pc,pm,uc} \stopcolumns \page wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=3] \Test{mm,mc,uc} \Test{zm,mc,uc} \Test{pm,mc,uc} \Test{mm,zc,uc} \Test{zm,zc,uc} \Test{pm,zc,uc} \Test{mm,pc,uc} \Test{zm,pc,uc} \Test{pm,pc,uc} \stopcolumns \page \dorecurse {2} { \page \recurselevel: \abbr{oá}{oáz} \abbr{öb}{öbz} \abbr{Oč}{Očz} \abbr{Öď}{Öďz} \abbr{oo}{ooz} \abbr{öo}{öoz} \abbr{Oo}{Ooz} \abbr{Öo}{Öoz} \abbr{Öq}{Öqz} \abbr{öř}{öřz} \abbr{Oš}{Ošz} \abbr{oů}{oůz} done } \stoptext Is there yet another way to modify sorting behaviour? Many thanks for your help! ___ 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] Special look of \item
BTW: I tried to wikify but the result differs from that I'm getting with the latest beta (attached to this mail); so I wikified nothing. The wiki uses an old context version. You should try the example with context mode=mkiv source=yes ... /context If not, post the code and upload the image from your computer. That is better than not adding this to the wiki at all! 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 ___
[NTG-context] Character and word spacing
I am setting some text from Geoffrey Dowding's /Finer Points in the Spacing and Arrangement of Type/. I am trying to set it using his recommendations. For those not familiar with his book, the key point is that he promotes extremely tight spacing to achieve a uniform density across the page in the belief that this leads to a pleasing presentation and improved readability. Among his recommendations is that an opening single quote together with the space preceding it should take up no more space than a normal word space, and similarly following a closing single quote; that the space after some punctuation be minimized (some of his commas appear to have perhaps just a hairspace, following them); that the space between punctuation and letters be adjusted according to the shape of the letter; and that 'and' be replaced by '' as necessary to improve word spacing. While this last is probably beyond the scope of ConTeXt, I am hoping that the first few might be managed through \definecharacterspacing, \setupcharacterspacing, and \setcharacterspacing. Alas, I have found no documentation on this set of commands, and what I see in the source is opaque. If you have pointers to the details of these commands, or other suggestions for such typographic exercises, please let me know. -- 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] placement of graphics across coluums.
On Wed, 28 May 2014 22:22:44 -0700 Mica Semrick m...@silentumbrella.com wrote: John, Perhaps you may find the columnsets command to your liking. See more here: http://pragrama-ade.com/general/manuals/columns.pdf Best, Mica Thnkas doe yor reply. Here is where I found that manual: http://www.pragma-ade.com/general/manuals/columns.pdf Unfortunately it does not cover the situation I mentioned, where a graphic is place in the center of a two column page but does not span either column edge to edge but rather protrudes part of the distance across each each column with text flowing around it on both sides. In Context as far as I can tell protrusion is all or nothing in double columns. But a partial protrusion into a single column has been available for a long time, see The Context Manual section 15.2. -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html PDF e-book: Create Book Covers with Scribus available at http://www.booklocker.com/books/4055.html ___ 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] “Case-insensitive” sorting for \placelistofsynonyms?
On 5/29/2014 10:51 AM, Benjamin Buchmuller wrote: Hi list, according to case-insensitive sorting for \placeregister[…][…, method=…], I tried to figure out how to achieve similar results for \placelistofsynonyms (has method-key too). I tried this modified minimal example (that originally was proposed by Hans here: http://www.ntg.nl/pipermail/ntg-context/2010/052950.html), but failed: \setuplayout[topspace=1cm,height=middle] \setupbodyfont[11pt] \starttext \definesynonyms[abbr][abbrs][\unabbr] \def\Test#1{\vbox{{\bf#1}\blank\placelistofabbrs[criterium=all,language=cz,method={#1}]}\blank} wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=2] \Test{before} \Test{first} \Test{default}\Test{after}\Test{last} \stopcolumns \page wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=3] \Test{mc,mm,uc} \Test{mc,zm,uc} \Test{mc,pm,uc} \Test{zc,mm,uc} \Test{zc,zm,uc} \Test{zc,pm,uc} \Test{pc,mm,uc} \Test{pc,zm,uc} \Test{pc,pm,uc} \stopcolumns \page wanted result: oá öb Oč Öď Oo Öo oo öo Öq öř Oš oů \blank \startcolumns[n=3] \Test{mm,mc,uc} \Test{zm,mc,uc} \Test{pm,mc,uc} \Test{mm,zc,uc} \Test{zm,zc,uc} \Test{pm,zc,uc} \Test{mm,pc,uc} \Test{zm,pc,uc} \Test{pm,pc,uc} \stopcolumns \page \dorecurse {2} { \page \recurselevel: \abbr{oá}{oáz} \abbr{öb}{öbz} \abbr{Oč}{Očz} \abbr{Öď}{Öďz} \abbr{oo}{ooz} \abbr{öo}{öoz} \abbr{Oo}{Ooz} \abbr{Öo}{Öoz} \abbr{Öq}{Öqz} \abbr{öř}{öřz} \abbr{Oš}{Ošz} \abbr{oů}{oůz} done } \stoptext Is there yet another way to modify sorting behaviour? i'll have a look at it - 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] Character and word spacing
On 5/29/2014 8:15 PM, Rik Kabel wrote: I am setting some text from Geoffrey Dowding's /Finer Points in the Spacing and Arrangement of Type/. I am trying to set it using his recommendations. For those not familiar with his book, the key point is that he promotes extremely tight spacing to achieve a uniform density across the page in the belief that this leads to a pleasing presentation and improved readability. Among his recommendations is that an opening single quote together with the space preceding it should take up no more space than a normal word space, and similarly following a closing single quote; that the space after some punctuation be minimized (some of his commas appear to have perhaps just a hairspace, following them); that the space between punctuation and letters be adjusted according to the shape of the letter; and that 'and' be replaced by '' as necessary to improve word spacing. While this last is probably beyond the scope of ConTeXt, I am hoping that the first few might be managed through \definecharacterspacing, \setupcharacterspacing, and \setcharacterspacing. Alas, I have found no documentation on this set of commands, and what I see in the source is opaque. If you have pointers to the details of these commands, or other suggestions for such typographic exercises, please let me know. you can mess with sfcodes: \starttext \input tufte \sfcode`\.100 \sfcode`\,100 \sfcode`\?100 \sfcode`\!100 \sfcode`\:100 \sfcode`\;100 \input tufte \dostepwiserecurse{`a}{`z}{1}{\sfcode#1=100\relax} \input tufte \dostepwiserecurse{0}{}{1}{\sfcode#1=100\relax} \input tufte \stoptext I'm pretty sure I would not read books typeset that way. replacing and by can be done too but that would look even worse (for consistency one should then replace 'or' by | and even more can be saved by going sms: wandering becomes wndering, and according becomes acc|rding plus the usual messing with digits probably, omitting all vowels would work out too for reader who like that compact typesetting 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] placement of graphics across coluums.
Hi John, Sorry to hear that didn't work. Could you not have a box that spans two columns, the put the graphic in the box and position the graphic as you wish? I'm just getting started myself with columns; sorry if the suggestion doesn't make sense. Best, Mica ___ 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 ___