[NTG-context] How to sort list of sections?

2019-11-06 Thread Kerry Sainsbury
to sort sections. I was wrong :-) \definesorting[section][sections] \setupsorting[sections][criterium=all] % I thought something like this might work too \definesorting[wahs] \definesorting[wah][wahs][\getmarking[section]][\getmarking[section]] \starttext placelist (not sorted, as you would

[NTG-context] Register sort method for unicode quotes

2015-10-05 Thread Rik Kabel
oblem. Is there a sort method that can be applied as well to sorted lists to do this? \definesorting[Sort][Sorts] \starttext \placelistofSorts[criterium=all] \placeindex[n=1,method=default] \index{"Hope" is the thing with feathers} \index{Hope is the thing with feathers

Re: [NTG-context] Expansion in bookmarks

2015-07-09 Thread Hans Hagen
] \placebookmarks[section][section] \def\What{This\autoinsertnextspace} \definesorting[Name] \setupsorting[Name][next=\autoinsertnextspace] \Name[AName]{Knuth} \usemodule[abr-01] \setupsorting[logo][next=\autoinsertnextspace

Re: [NTG-context] Expansion in bookmarks

2015-07-09 Thread Christoph Reller
\This and \AName not work, while \TEX does work? I appreciate any feedback, Christoph MWE: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[section][section] \def\What{This\autoinsertnextspace} \definesorting[Name] \setupsorting[Name][next

[NTG-context] Expansion in bookmarks

2015-07-08 Thread Christoph Reller
] \setupinteractionscreen[option=bookmark] \placebookmarks[section][section] \def\What{This\autoinsertnextspace} \definesorting[Name] \setupsorting[Name][next=\autoinsertnextspace] \Name[AName]{Knuth} \usemodule[abr-01] \setupsorting[logo][next=\autoinsertnextspace] \starttext \startsection[title={\What

Re: [NTG-context] Expansion in bookmarks

2015-07-08 Thread Hans Hagen
MWE: \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[section][section] \def\What{This\autoinsertnextspace} \definesorting[Name] \setupsorting[Name][next=\autoinsertnextspace] \Name[AName]{Knuth} \usemodule[abr-01] \setupsorting[logo][next

Re: [NTG-context] Synonyms - feature request?

2015-04-15 Thread Hans Hagen
): \definesynonyms [myabbreviation] \setupsynonyms [myabbreviation] [headstyle=bold, headcolor=darkred, synonymstyle=boldslanted, synonymcolor=darkblue, textstyle=slanted, textcolor=darkgreen, style=normal, color=darkyellow] \definesorting [mylogo] \setupsorting

[NTG-context] \placetable whitespace problem in columnset

2014-11-02 Thread Bryor Snefjella
=] \definedescription [MyEntry][alternative=serried,width=fit,before=\indentation,indenting=yes] \unexpanded\def\MyCommand#1#2#3% {\startMyEntry{\bi#2:}#3\stopMyEntry} \definesorting[My][Mys] \starttext \startcolumnset[TwoColumns] \definecolumnsethsize{TwoColumns}{1}{1}\One

Re: [NTG-context] Sorting descriptions alphabetically

2012-04-06 Thread Wolfgang Schuster
{\placeannotationcontent}% \endgroup \expanded{\definitions[\DefinitionContent]{\startdefinitiondescription[title={\placeannotationtitle}]\placeannotationcontent\stopdefinitiondescription}}} \defineannotation[definition][alternative=command,command=\DefintionCommand] \definesorting[definitions

[NTG-context] sorting footnotes alphabetically

2012-04-01 Thread Pablo Rodríguez
\dict{command: orden} for a complex\dict{complex: complejo} text\dict{text: texto}. \stoptext What I'm trying to achieve is that the \dict footnotes are sorted alphabetically. Adding the code from sorted lists, I get the following: \definesorting[meaning][meanings] \setupsorting[meaning

Re: [NTG-context] sorting footnotes alphabetically

2012-04-01 Thread Wolfgang Schuster
the following: \definesorting[meaning][meanings] \setupsorting[meaning][criterium=all] \definenote[dict] \setupnote[dict][number=no,command=\placelistofmeanings] \setupnotation[dict][number=no,command=\meaning] \starttext This is my dictionary\dict{dictionary: vocabulario} command\dict{command: orden

[NTG-context] Two questions about sort lists

2011-12-24 Thread Vyatcheslav Yatskovsky
Hi! I have two questions about sort lists. 1) Is there a way to reset (empty) the sorting list, to reuse it several times? \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {#2 \crlf} \starttext \startlinenumbering \startlines \setupinterlinespace[big] \song{Sway} \song{Hit

Re: [NTG-context] Alphabetical sort

2011-10-07 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, nice example - I put it to the wiki - http://wiki.contextgarden.net/Reference/en/definesorting. But the result doesn't appear with error message internal error: pdfcrop failed, although the compilation on a computer is OK. Any idea what causes wiki compilation failure? Best regards

Re: [NTG-context] Alphabetical sort

2011-10-06 Thread Wolfgang Schuster
\item Fly me to the moon \item Hit the road jack \item Sway … \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {\startitemize[packed] \startitem#2\stopitem \stopitemize} \starttext \song{Hit the road jack} \song{Sway} \song{Fly me to the moon} \placelistofsorts[song

[NTG-context] placelistofsorts

2010-11-17 Thread Andreas Harder
Hi Hans, also with the newest beta—the bug is still there. \definesorting[test][texts] \setupsorting [test][criterium=all,after=\hairline] \starttext \test{bb} \test{cc} \test{xx} \test{aa} % \placelistofsorts[test][] % works (but one can't customize the formatting) % \placelistoftests

[NTG-context] lists in mkiv

2009-02-22 Thread Johan Sandblom
For a small manual-type document I am trying to include a phone directory. I would like it to be sorted. The following produces no output other than test. Shouldn't it? Johan Sandblom \starttext test \definesorting[telefon][telefoner] \setupsorting[telefon][criterium=all] \telefon{Milad El

Re: [NTG-context] lists in mkiv

2009-02-22 Thread Johan Sandblom
would like it to be sorted. The following produces no output other than test. Shouldn't it? Johan Sandblom \starttext test \definesorting[telefon][telefoner] \setupsorting[telefon][criterium=all] \telefon{Milad El Segaie, 0746231022} \telefon{Carina C, 33050} \placelistoftelefoner

Re: [NTG-context] header to register

2008-01-21 Thread Wolfgang Schuster
. \def\doplacesectiontitles#1:#2\relax {\line{#1\hfill\hbox to 3em{#2\hss}}} \def\placesectiontitles#1% {\doplacesectiontitles#1\relax} \definesorting [sectiontitle] [sectiontitles] \setupsorting [sectiontitle] [criterium=all, command=\placesectiontitles] \def\titleformat#1

Re: [NTG-context] place figures at the end of document

2008-01-19 Thread Carsten Fechtmann
name of your choosing for this macro) Cheers Carsten %-- setting things up - \definesorting[Figure][Figures] \setupsorting[Figure][criterium=all] \newcounter\FigureCounter \def\PlaceFigure{\dodoubleempty\doPlaceFigure} \def\doPlaceFigure[#1][#2]#3#4{ \ifsecondargument

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
\definerawfont[name][file][settings] \definereference[name][references] \definereferenceformat[name][options] \definereferencelist[name][settings] \defineregister[singular][plural] \definerule[name][settings] \definesection[name] \definesectionblock[name][settings] \definesorting[singular][plural

[NTG-context] sorting bug in mkiv

2007-11-25 Thread Wolfgang Schuster
Hi, I found a bug in the mkiv code with the \definsorting macros. When I try to output the sorted list with \placelistofsorts ConTeXt give me only the name of the sort list but not the list entries. \definesorting[test][tests] \starttext \test[One]{one} \test[Two]{Two} \test[Three]{3} text

Re: [NTG-context] Spacing after defined word: beginner's question

2006-12-25 Thread Aditya Mahajan
. With \definesorting or \abbreviation, you can also get a list of logos or list of abbreviations free of cost :). Look up the manual for details. And as a futher incentive, you can use \setupsorting[logo][next=\autoinsertnextspace] to get the behaviour you want. Aditya

Re: [NTG-context] sorting commalist?

2006-07-28 Thread Taco Hoekwater
it through the unix sort command): % This sorts the list contained in it's argument \def\sortalphacommacommand#1% {\definesorting[listsort][listsorts]% \processcommacommand[#1]\listsort \def\sortedcommalist{}% \def\makesortedlist##1% {\doglobal\appendtocommalist{##1

Re: [NTG-context] sorting list

2006-07-24 Thread Taco Hoekwater
Hans van der Meer wrote: Some things I do not understand about sorting: This is the example: \def\sortprocess#1{{\bf #1}} \definesorting[city][cities][\callupcities] \setupsorting[city][criterium=all,command=\sortprocess] \city{Londen} \city{Berlijn} \city{New York} \city{Parijs

[NTG-context] sorting list

2006-07-23 Thread Hans van der Meer
Some things I do not understand about sorting:This is the example:\def\sortprocess#1{{\bf #1}}\definesorting[city][cities][\callupcities]\setupsorting[city][criterium=all,command=\sortprocess]\city{Londen}\city{Berlijn}\city{New York}\city{Parijs}\city{Amstelveen}\placelistofcities

[NTG-context] setuphead and command

2006-07-22 Thread Hubertus Schmidt
of the commands? Manually like the solution above or with something like definesorting? Is there a good way doing this? Thanks a lot Hubertus ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] Sorting question

2006-01-22 Thread Vit Zyka
Bernd Militzer wrote: Hello, is it possible to produce a sorted list without unsing the entry \Ueberall in text? % \definesorting[person][personen] \setupsorting[person][criterium = all] % \person{Unsinn, Klaus} \person{Militzer, Bernd} \person{Horten, Hans} \person[Ueberall]{Überall, Heinrich

Re: [NTG-context] Sorting question

2006-01-22 Thread Vit Zyka
} \exportsortexpansion{Udiaeresis}{u+4} \exportsortdivision{u+1}{u} \exportsortdivision{u+2}{u} \exportsortdivision{u+3}{u} \exportsortdivision{u+4}{u} \stopmode \setmode{sortorder-de} \starttext \definesorting[person][personen] \setupsorting[person][criterium = all] %\def\person#1{#1\expanded{\index

[NTG-context] reverse order sorting

2004-03-05 Thread Vit Zyka
Dear Hans and ConTeXters, I go back to this question since it was not answered: is possible to change sorting order (e.g. sort in reverse order: not A, B, C but C, B, A) in the mechanism: - \definesorting[address][addressbook] \setupsorting[address][criterium=all] \address

[NTG-context] reverse order sorting

2004-02-01 Thread Vit Zyka
Hallo ConTeXt debaters, is possible to change sorting order (e.g. sort in reverse order) in the mechanismn: - \definesorting[address][addressbook] \setupsorting[address][criterium=all] \address{A} \address{B} \placelistofaddressbook - Thanks Vit Zyka