ight be able 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 sorte
> \setupinteractionscreen[option=bookmark]
> \placebookmarks[section][section]
>
> \def\What{This\autoinsertnextspace}
>
> \definesorting[Name]
> \setupsorting[Name][next=\autoinsertnextspace]
> \Name[AName]{Knuth}
>
>
ction][section]
> >
> > \def\What{This\autoinsertnextspace}
> >
> > \definesorting[Name]
> > \setupsorting[Name][next=\autoinsertnextspace]
> > \Name[AName]{Knuth}
> >
> > \usemodule[abr-01]
> > \setupsorting[logo][next=\autoinsertnextspace]
> >
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
]
\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
extensions):
\definesynonyms
[myabbreviation]
\setupsynonyms
[myabbreviation]
[headstyle=bold,
headcolor=darkred,
synonymstyle=boldslanted,
synonymcolor=darkblue,
textstyle=slanted,
textcolor=darkgreen,
style=normal,
color=darkyellow]
\definesorting
[mylogo]
\se
; alphabetically.
>
> Adding the code from sorted lists, I get the following:
>
> \definesorting[meaning][meanings]
> \setupsorting[meaning][criterium=all]
> \definenote[dict]
> \setupnote[dict][number=no,command=\placelistofmeanings]
> \setupnotation[dict][number=no,com
\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[me
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)
% \placelistof
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 \TE
current version: 2009.11.10 13:30
%%% test.tex
\starttext
\tracingall \autoinsertnextspace\tracingnone
A
\stoptext
#context test
{undefined}
! Undefined control sequence.
l.2 \tracingall \autoinsertnextspace
\tracingnone
# grep autoinsertnextspace *
spac-gen.mkii:%
...
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
___
If your question
e 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 an entry to the
Wiki!
mai
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, 07462310
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]
\t
the 4th parameter of \listentry is printed in the
> index.
>
> My fault or a bug?
I haven't tested you example but you can try my solution.
\def\doplacesectiontitles#1:#2\relax
{\line{#1\hfill\hbox to 3em{#2\hss}}}
\def\placesectiontitles#1%
{\doplacesectiontitles#1\
some other 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{
\ifseco
setuppublications[options]
\setupquote[options]
\setupreferencelist[names][options]
\setupreferencing[options]
\setupregister[singular][name][options]
\setuprotate[options]
\setuprule[name][options]
# \setups
\setupscreens[options]
\setupsection[name][name][options]
\setupsectionbloc
ConTeXt}}}{This is \ConTeXt}% does 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
"abbreviation" mechanism for the kind
of thing that you are doing. 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[l
ocommalist{##1}\sortedcommalist}%
\setupsorting[listsort][criterium=all,command=\makesortedlist]%
\placelistoflistsorts
\let#1\sortedcommalist}
\def\citylist{Londen,Berlijn,New York,Parijs,Amstelveen}
\sortalphacommacommand\citylist
Cheers, taco
_
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}
&
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
o far that show
> the problem.
>
> See the attached zip archive.
>
> There are four files:
>
> brl-doc.tex % the master file which '\input's the other
>
move:
\input brltool_preamble
\input brltool_version
to before where you set the bookmarks
>
--keep, that uses .keep 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 can
en !\else \ifx\nexttoken ?\else
> \ifx\nexttoken :\else \ifx\nexttoken ;\else
> \ifx\nexttoken '\else \ifx\nexttoken "\else
> \ifx\nexttoken )\else
> \ifx\nexttoken -\else \ifx\nexttoken |\else
> % \ifx\ne
\fi
\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}
\protect
\setupsorting[logo][next=\autoinsertnextspace]
\logo[TEX]{\TeX}
bla bla \TEX test test
bla bla \TEX (t
tsortexpansion{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{\
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
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
of next test
file was: C B A.
% -
\definesorting[address][addressbook]
\setupsorting[address][criterium=all]
\address{A}
\address{C}
\address{B}
\placelistofaddressbook
%-
Thank you for answers
Vit Zyka
___
ntg-context mailing list
[EMAIL
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
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
33 matches
Mail list logo