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
]
\placebookmarks[section][section]
\def\What{This\autoinsertnextspace}
\definesorting[Name]
\setupsorting[Name][next=\autoinsertnextspace]
\Name[AName]{Knuth}
\usemodule[abr-01]
\setupsorting[logo][next=\autoinsertnextspace
\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
]
\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
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
):
\definesynonyms
[myabbreviation]
\setupsynonyms
[myabbreviation]
[headstyle=bold,
headcolor=darkred,
synonymstyle=boldslanted,
synonymcolor=darkblue,
textstyle=slanted,
textcolor=darkgreen,
style=normal,
color=darkyellow]
\definesorting
[mylogo]
\setupsorting
\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
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
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
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
\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
}
\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
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
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
.
\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
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
[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
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
. 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
}\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
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
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
% 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
--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
\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
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
}
\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
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
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
29 matches
Mail list logo