[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

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] 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] 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

Re: [NTG-context] \autoinsertnextspace in MKIV?

2010-05-15 Thread Hans Hagen
of my eyes“. i'll add a mkiv variant to the beta so that you can do \setupsorting[logo][next=\autoinsertnextspace] \starttext bla \TEX\autoinsertnextspace bla bla \TEX\autoinsertnextspace (bla) bla (\TEX\autoinsertnextspace) bla bla \TEX\autoinsertnextspace\ bla \usemodule[abr-01] bla \TEX bla

Re: [NTG-context] new beta

2009-03-27 Thread Wolfgang Schuster
\CONTEXT I couldn't figure out what is wrong. Smallcaps did not work in start/stopattributes, use \setupsorting[logo] [style=\tx\WORD] Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] new beta

2009-03-27 Thread Aditya Mahajan
} \endgroup \getvalue {\??so... l.3 \CONTEXT I couldn't figure out what is wrong. Smallcaps did not work in start/stopattributes, use \setupsorting[logo][style=\tx\WORD] Thanks. I just switched to abr-02 :) Aditya

[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
[options] \setupregister[singular][name][options] \setuprotate[options] \setuprule[name][options] # \setups \setupscreens[options] \setupsection[name][name][options] \setupsectionblock[name][options] \setupsorting[name][options] \setupspacing[broad|packed] \setupstrut[yes|no|cap|text] \setupsubpagenumber

Re: [NTG-context] unsetting textstyle for one synonym

2007-05-04 Thread Hans Hagen
not work %\Test[CONTEXT]{{\tf\ConTeXt}}{This is \ConTeXt}% does not work \starttext \BLA\ and \CONTEXT. \stoptext Greetings, Peter \definealternativestyle[xxx][\cap][\bf] \setupsorting[logo][style=xxx] \logo[TEST]{Test} \starttext \title{Test \TEST} test \TEST test {\dontconvertfont

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
}\sortedcommalist}% \setupsorting[listsort][criterium=all,command=\makesortedlist]% \placelistoflistsorts \let#1\sortedcommalist} \def\citylist{Londen,Berlijn,New York,Parijs,Amstelveen} \sortalphacommacommand\citylist Cheers, taco ___ ntg-context

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

Re: [NTG-context] Tex Errors But Good PDF Output

2006-07-03 Thread Hans Hagen
% the master file which '\input's the other move: \input brltool_preamble \input brltool_version to before where you set the bookmarks files: brltool_preamble.tex % my definitions (converted from tex style to context style) \setupsorting[logo][style=it] \logo[brLT] {brltool} \logo

[NTG-context] Context 2006.02.15 released

2006-02-16 Thread Taco Hoekwater
--keep, that uses tt.keep/tt as extension for temporary files * texmfstart has a new switch --showenv, that dumps the runtime environment. * There is now some support for intelligent spaces after logos, use \setupsorting[logo][next=\autoinsertnextspace] * Trailing empty lines in verbatims

Re: [NTG-context] Implementing xspace

2006-02-09 Thread Hans Hagen
\fi\fi\fi\fi\fi\fi} \protect \setupsorting[logo][next=\autoinsertnextspace] \logo[TEX]{\TeX} bla bla \TEX test test bla bla \TEX (test) test bla bla (\TEX) test \stoptext Hans - Hans

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