Re: [NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Wolfgang Schuster
\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, stopper={.}, alternative=serried] \defineprocessor[ACPROCESSOR][color=red] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \setupbodyfont[pagella] \starttext \startexercice \in

Re: [NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Alan Braslau
ION, >width=fit, >stopper={.}, >alternative=serried] > > \defineprocessor[ACPROCESSOR][color=red] > > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > > \setupbodyfont[pagella] > > \starttext > \startexercice > \input ward > \stopexercice &g

[NTG-context] How to control the space between the bottom of the frame and the text?

2018-08-07 Thread Fabrice Couvreur
={Exercice}, headstyle={\bf\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, stopper={.}, alternative=serried] \defineprocessor[ACPROCESSOR][color=red] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \setupbodyfont[pagella] \startt

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
t;> Thank you >> Fabrice >> >> \setupbodyfont[pagella,11pt] >> >> \defineframed >>[ACFRAME] >>[frame=off, >> offset=0pt, >> location=low, >> width=\struttotal, >> background=color, >> backg

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Fabrice Couvreur
frame=off, > offset=0pt, > location=low, > width=\struttotal, > background=color, > backgroundcolor=black, > foregroundcolor=white, > forgroundstyle=bold] > > > \defineprocessor[ACPROCESSOR][command=\ACFRAME] > \defineconversionset[ACCON

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
> \setupbodyfont[pagella,11pt] > > \defineframed >[ACFRAME] >[frame=off, > offset=0pt, > location=low, > width=\struttotal, > background=color, > backgroundcolor=black, > foregroundcolor=white, > forgroundstyle=

Re: [NTG-context] Strange behavior with font pagella

2018-07-15 Thread Rik Kabel
On 7/15/2018 17:39, Fabrice Couvreur wrote: \setupbodyfont[pagella,11pt] \defineframed    [ACFRAME]    [frame=off,     offset=0pt,     location=low,     width=\struttotal,     background=color,     backgroundcolor=black,     foregroundcolor=white,     forgroundstyle=bold] \defineprocessor

[NTG-context] Strange behavior with font pagella

2018-07-15 Thread Fabrice Couvreur
, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\ACFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \defineenumeration [ex] [text=, distance=0.3em, width=fit, numberconversionset=ACCONVERSION, alternative=serried] \starttext \dorecurse{5} {\startex \in

[NTG-context] highlighting in registers (index)

2018-06-11 Thread Henning Hraban Ramm
and is sorted unter the normal main entry, if there doesn’t exist a normal entry with the same subentry. (These are just observations, I wouldn’t know how it should be different.) But: Is there a way to highlight just subentries? e.g. \index{Sun+emph->rays} """ \defineprocessor[

Re: [NTG-context] Question about an environment

2018-01-31 Thread Fabrice Couvreur
background=color, >backgroundcolor=black, >foregroundcolor=white, >forgroundstyle=bold] > > \defineprocessor[ACPROCESSOR][command=\EXFRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > \defineenumeration > [ex] > [text=, >width=fit, >

[NTG-context] Question about an environment

2018-01-28 Thread Fabrice Couvreur
] [frame=off, offset=0pt, location=low, width=\struttotal, background=color, backgroundcolor=black, foregroundcolor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \defineenumeration [ex] [t

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-27 Thread Rik Kabel
or create a new command to wrap it, as \defineprocessor[Footnote][style=bold,color=blue] \define[1]\fnindex{\index[Footnote->]{#1}} of course, if you use the optional indexunder component already ( \index[as if it were spelled this way]{displayed as} ) then you will have to create a more c

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-27 Thread Florian Grammel
following can help. It has separate user page numbers for the > main matter and back matter, with a suffixed ‘n’ for the items indexed from > backmatter pages, but no suffix on the backmatter page numbers. The index > entries for figures are rubricated and have a leading ‘f’. > > \

Re: [NTG-context] Index with distinguishable entries -- again

2017-04-26 Thread Rik Kabel
g can help. It has separate user page numbers for the main matter and back matter, with a suffixed ‘n’ for the items indexed from backmatter pages, but no suffix on the backmatter page numbers. The index entries for figures are rubricated and have a leading ‘f’. \defineprocessor [backpa

Re: [NTG-context] Title without the parentheses

2017-01-31 Thread Fabrice Couvreur
t; On 29 Jan 2017, at 09:07, Fabrice Couvreur <fabrice1.couvr...@gmail.com> >> wrote: >> >> Hello, >> I would like a title without the parentheses and the text "Exercice" in >> the frame with the number. >> Thank you. >> Fabrice

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
e with the number. >> Thank you. >> Fabrice >> >> \defineframed >> [EXFRAME] >> [frame=off, >>offset=0pt, >>location=low, >>width=\struttotal, >>background=color, >>backgroundcolor=darkred, >>

Re: [NTG-context] Title without the parentheses

2017-01-30 Thread Otared Kavian
ses and the text "Exercice" in the >> frame with the number. >> Thank you. >> Fabrice >> >> \defineframed >> [EXFRAME] >> [frame=off, >>offset=0pt, >>location=low, >>width=\struttotal, >>background=color, >&

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
ot;Exercice" in > the frame with the number. > Thank you. > Fabrice > > \defineframed > [EXFRAME] > [frame=off, >offset=0pt, >location=low, > width=\struttotal, >background=color, >backgroundcolor=darkred, >foregroundco

Re: [NTG-context] Title without the parentheses

2017-01-29 Thread Otared Kavian
=color, >backgroundcolor=darkred, >foregroundcolor=white, >forgroundstyle=bold] > > \defineprocessor[ACPROCESSOR][command=\EXFRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > \defineenumeration > [ex] > [text=Exercice, >title=yes, >w

[NTG-context] Title without the parentheses

2017-01-29 Thread Fabrice Couvreur
olor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \defineenumeration [ex] [text=Exercice, title=yes, width=fit, numberconversionset=ACCONVERSION, alternative=top, number=yes] \starttext \star

Re: [NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Fabrice Couvreur
width=\struttotal, >background=color, >backgroundcolor=darkred, >foregroundcolor=white, >forgroundstyle=bold] > > \defineprocessor[ACPROCESSOR][command=\FRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > > \startsetups[table:initi

Re: [NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Wolfgang Schuster
et=0pt, location=low, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \startsetups[table:initialize] \setupTABLE[start]

[NTG-context] Strange behavior with \definelabel[][] in context standalone

2016-08-29 Thread Fabrice Couvreur
=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \startsetups[table:initialize] \setupTABLE[start] [align={middle,lohi},width=0

[NTG-context] Bug with standalone ?

2016-08-26 Thread Fabrice Couvreur
, width=\struttotal, background=color, backgroundcolor=darkred, foregroundcolor=white, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\FRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \startsetups[table:initialize] \setupTABLE[start] [align={middl

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
eur <fabrice1.couvr...@gmail.com> > 8. August 2016 um 12:27 > Hi, > I use a counter for each "Exercises" section of each chapter (Wolfgang thank > you !). > How to reset the counter to 1 for each section ? > thank you, > Fabrice > > > \defineprocessor[A

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Wolfgang Schuster
Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com> 8. August 2016 um 12:27 Hi, I use a counter for each "Exercises" section of each chapter (Wolfgang thank you!). How to reset the counter to 1 for each section ? thank you, Fabrice \defineprocessor[ACPROCESSOR][

[NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
Hi, I use a counter for each "Exercises" section of each chapter (Wolfgang thank you !). How to reset the counter to 1 for each section ? thank you, Fabrice \defineprocessor[ACPROCESSOR][command=\EXFRAME] \defineconversionset[ACCONVERSION][][ACPR

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Fabrice Couvreur
my original post, if I want only the counter is white and surrounded > by a red frame, just write : > > \defineenumeration > [ex] >[text=, > distance=0.3em, > width=fit, > numberconversionset=ACCONVERSION, > alternative=serried, >

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Wolfgang Schuster
[ex] [text=, distance=0.3em, width=fit, numberconversionset=ACCONVERSION, alternative=serried, ] \defineprocessor[ACPROCESSOR][command=\ACFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] You can play with the position of the frame and place the number on the

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Fabrice Couvreur
, alternative=serried, ] \defineprocessor[ACPROCESSOR][command=\ACFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] Thanks, Fabrice 2016-07-22 8:08 GMT+02:00 Wolfgang Schuster <schuster.wolfg...@gmail.com>: > Fabrice Couvreur <fabrice1.couvr...@gmail.com> > 2

Re: [NTG-context] Question about headcommand

2016-07-22 Thread Wolfgang Schuster
dyfont[pagella,11pt] \defineprocessor[ACPROCESSOR][color=red] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \defineenumeration [ex] [text=, distance=0.3em, width=fit, numberconversionset=ACCONVERSION, alternative=serried] \starttext \dorecurse{5} {\startex \in

[NTG-context] Question about headcommand

2016-07-21 Thread Fabrice Couvreur
, framecolor=red, ] \defineenumeration [ex] [text=, distance=0.3em, width=fit, headcommand=\ACFRAME, %numberconversionset=ACCONVERSION, alternative=serried, ] %\defineprocessor[ACPROCESSOR][color=white,command=\groupedcommand{}{}] %\defineconversionset[ACCONVERSION

Re: [NTG-context] a question about \setuphead

2016-02-11 Thread Wolfgang Schuster
apply a processor the counter for the subsection number. begin example \setuplabeltext[subsection=Párrafo~] \defineprocessor[delimiters][left=(,right=)] \defineconversionset[sectionnumbers][n,n,n,delimiters->n][n] \setuphead [subsection] [sectionconversionset=sectionnumbers] \

Re: [NTG-context] RTL problem with figure numbers

2016-01-17 Thread Mohammad Hossein Bateni
[][] > {Test figure.} > {\centerline{FIGURE BODY}} > > \page > } > > \stoptext > > You can use processors. > > \setupalign[righttoleft] > > \defineprocessor [lefttoright][style=\lefttoright] > \defineconversionset[lefttorightnumber][][lefttoright->n] > >

Re: [NTG-context] RTL problem with figure numbers

2016-01-17 Thread Mohammad Hossein Bateni
dorecurse{20}{ >> >> \section{Test} >> This is a very simple text. >> And we have a footnote\footnote{Footnote text}. >> >> \placefigure >> [][] >> {Test figure.} >> {\centerline{FIGURE BODY}} >> >> \page >> } >> >> \

Re: [NTG-context] RTL problem with figure numbers

2016-01-09 Thread Wolfgang Schuster
figure [][] {Test figure.} {\centerline{FIGURE BODY}} \page } \stoptext You can use processors. \setupalign[righttoleft] \defineprocessor [lefttoright][style=\lefttoright] \defineconversionset[lefttorightnumber][][lefttoright->n] \setupcaption[figure][numberconversionset=lefttorightnumber] \

Re: [NTG-context] \defineprocessor and \at

2015-08-12 Thread Wolfgang Schuster
numbers need to be marked to distinguish them from bodymatter pages. I can automate applying a processor based on the location for index register entries, but not for references.) \defineprocessor [bodypart] [style=bold] \defineprocessor [backpart] [style=italic] \defineconversionset

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
pages. I can automate applying a processor based on the location for index register entries, but not for references.) \defineprocessor [bodypart] [style=bold] \defineprocessor [backpart] [style=italic] \defineconversionset[bodypart:pagenumber][][bodypart-n] \defineconversionset[backpart:pagenumber

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
register entries, but not for references.) \defineprocessor[xx][style=slanted,after=n] \starttext \section[xxx]{Processor testing} Why cannot a processor be applied to a reference? \at[xx-xxx] \stoptext Anyone? -- Rik

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Wolfgang Schuster
on the location for index register entries, but not for references.) \defineprocessor [bodypart] [style=bold] \defineprocessor [backpart] [style=italic] \defineconversionset[bodypart:pagenumber][][bodypart-n] \defineconversionset[backpart:pagenumber][][backpart-n] \setupheadertexts

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
pages. I can automate applying a processor based on the location for index register entries, but not for references.) \defineprocessor [bodypart] [style=bold] \defineprocessor [backpart] [style=italic] \defineconversionset[bodypart:pagenumber][][bodypart-n] \defineconversionset[backpart:pagenumber

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Wolfgang Schuster
Rik Kabel mailto:cont...@rik.users.panix.com 11. August 2015 21:41 On 2015-08-11 14:49, Wolfgang Schuster wrote: Thank you, Wolfgang, for that. But it still does not handle the after key, as I had in my example, and which works in a processor for index entries. Is there no way to do this? The

Re: [NTG-context] \defineprocessor and \at

2015-08-11 Thread Rik Kabel
I replied. When I add it to your solution it does work. \defineprocessor[Back][ style=slanted, right=n, ] \defineprocessor[notBack][ style=normal

[NTG-context] \defineprocessor and \at

2015-08-03 Thread Rik Kabel
.) \defineprocessor[xx][style=slanted,after=n] \starttext \section[xxx]{Processor testing} Why cannot a processor be applied to a reference? \at[xx-xxx] \stoptext -- Rik ___ If your question

Re: [NTG-context] Register customization for backmatter page numbers

2015-08-01 Thread Pablo Rodriguez
that has been suggested is to prefix the pagenumber displayed in the index with a mark to indicate that the page is in the backmatter, or to italicize it, or to use an alternate font. I have looked at the defineconversionset and defineprocessor documentation and find no way to mark index

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
, page numbers are not unique. One method that has been suggested is to prefix the pagenumber displayed in the index with a mark to indicate that the page is in the backmatter, or to italicize it, or to use an alternate font. I have looked at the defineconversionset and defineprocessor documentation

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
at the defineconversionset and defineprocessor documentation and find no way to mark index entries appropriately. Can anyone suggest a way to do this, or some other method? Perhaps a pagecommand that compares the register item real page number to the highest real page number of the body? I would prefer a solution

[NTG-context] Register customization for backmatter page numbers

2015-07-31 Thread Rik
and defineprocessor documentation and find no way to mark index entries appropriately. Can anyone suggest a way to do this, or some other method? Perhaps a pagecommand that compares the register item real page number to the highest real page number of the body? I would prefer a solution that does

[NTG-context] Title and defineenumeration

2014-12-31 Thread Fabrice Couvreur
\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, alternative=top, title=yes, ] \defineprocessor[ACPROCESSOR][color=red,command=\groupedcommand{}{.}] \defineconversionset[ACCONVERSION][][ACPROCESSOR-n] \starttext \startac{En Bretagne, il

Re: [NTG-context] distinguishing index entries according to function by using \setupregister

2014-06-07 Thread Hans Hagen
to the definition:: key.) we have a better and mnore powerful mechanism now \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] \starttext \index{it-italic}\index{normal} This is a \index[bf-bold]{test with bold number}test. This is a less important \index{test}test

Re: [NTG-context] distinguishing index entries according to function by using \setupregister

2014-06-07 Thread Sanjoy Mahajan
Hans Hagen pra...@wxs.nl writes: hm, it's already an old (mkiv) feature we have a better and mnore powerful mechanism now \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] Thanks for this, and sorry for the noise. I didn't even see that material on the Registers wiki

Re: [NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster
: \setupreferencestructureprefix[section][default][% prefixconversion=Romannumerals, prefixstyle=\bf] \defineprocessor[sectionstyle][style=italic,color=red] \defineconversionset[sectionconversion][][sectionstyle-Romannumerals] \setupreferencestructureprefix[section][default

[NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Maggyero
Thank you Wolfgang, your hack is perfect. Hans, what do you think about adding a style and color key in \setupreferencestructureprefix to avoid having to use this defineprocessor hack? And by the way, the name \setupreferencestructureprefix does not sound really natural to me because we

Re: [NTG-context] Setting the style and conversion of the reference numbers for the \in command

2014-05-22 Thread Wolfgang Schuster
Am 23.05.2014 um 01:09 schrieb Maggyero maggy...@gmail.com: Thank you Wolfgang, your hack is perfect. Hans, what do you think about adding a style and color key in \setupreferencestructureprefix to avoid having to use this defineprocessor hack? The processor command is meant

Re: [NTG-context] Numbering in a frame with a new environment

2014-04-27 Thread Wolfgang Schuster
=flushleft, location=low, background=color, backgroundcolor=lightgray] \defineenumeration [ac] [text={Activité}, headstyle={\bf\feature[+][f:smallcaps]}, headcommand=\ACFRAME, numberconversionset=ACCONVERSION, width=fit, stopper={.}, alternative=left] \defineprocessor

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
wonder it looks better \defineprocessor[twolines][style=\aftergroup\hangafter\aftergroup\plustwo] \setupregister [balance=no] \starttext \index{primary+secondary+tertiary} \index{twolines-primary long primary long primary long primary long primary long} \index{twolines-primary

Re: [NTG-context] [Index] Indenting long primaries after secondaries

2014-03-16 Thread Hans Hagen
the \dorecurse command first and then apply the grouping/sorting etc. My main wish is fixing that indentation (or offering any workaround). stylistic variant: \defineprocessor[twolines][command=\MyStyle] \unexpanded\def\MyStyle#1% {\setbox\scratchbox\hbox{#1}% \scratchdimen\dimexpr\hsize-\leftskip

Re: [NTG-context] suggestion on [option=TEX]

2014-02-12 Thread Pablo Rodriguez
also be careful with the text in the comments because commands are expanded, e.g. take a look at the \TeX in the comment. \setupbodyfont[dejavu] \defineprocessor[myescape][style=\ttbf,color=gray,left={\letterpercent}] \setuptyping[TEX][escape=myescape-{\letterpercent,}] \starttext

Re: [NTG-context] suggestion on [option=TEX]

2014-02-06 Thread Pablo Rodriguez
] \defineprocessor[myescape][style=bold,color=gray, left=\%] \setuptyping[TEX][escape=myescape-{\%}] \starttext \startTEX This is a c%omment. % And this is another one. \command [with colored] {brackets} \stopTEX \stoptext But this doesn’t work. I must be missing something obvious. What am I

Re: [NTG-context] suggestion on [option=TEX]

2014-02-06 Thread Wolfgang Schuster
with: \definefontfamily[mainface][mono][DejaVu Sans Mono] \setupbodyfont[mainface] \defineprocessor[myescape][style=bold,color=gray, left=\%] \setuptyping[TEX][escape=myescape-{\%}] \starttext \startTEX This is a c%omment. % And this is another one. \command [with colored] {brackets} \stopTEX

Re: [NTG-context] Handling index entries with many references

2013-11-15 Thread honyk
by 'and many' phrase. Can something like this be done in the ConTeXt (MkIV)? I found an elegant way for this: \defineprocessor[many][right= and many] This processor is then applied just for the last index entry page reference: \index[many-]{primary} This can be automated in my system. Wow, great

Re: [NTG-context] stoppers in section heading without having stoppers in references?

2013-04-18 Thread Wolfgang Schuster
, not In Chapter 1. we learn? I have tried many variants of the following minimal example: \setuphead[chapter][sectionstopper=.] \definereferenceformat [inchapter] [text={Chapter~}] \starttext \chapter[one]{First heading} \input knuth \inchapter[one] we learn. \stoptext \defineprocessor

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Wolfgang Schuster
Am 17.04.2013 um 21:35 schrieb Meer, H. van der h.vanderm...@uva.nl: A minor point perhaps on this textcommand= \groupedcommand for the marking of the notes in the text. I tried this but now the marking is not typeset as a superscript. \defineprocessor[footnote][left={[},right

Re: [NTG-context] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Wolfgang Schuster
Am 23.10.2012 um 19:36 schrieb Shane Peelar lookatyouhac...@gmail.com: Hi Wolfgang, Thanks for the quick and helpful reply. Is there also a way to change just the number colour and style in the example you provided? \defineseparatorset [testseparator] [][–] \defineprocessor[teststyle

Re: [NTG-context] ntg-context Digest, Vol 100, Issue 65

2012-10-23 Thread Shane Peelar
? \defineseparatorset [testseparator] [][?] \defineprocessor[teststyle][style=bolditalic] \defineconversionset[testconversion][][teststyle-number] %\defineprocessor[one][style=italic,color=red] %\defineprocessor[two][style=normal,color=blue] %\defineconversionset[testconversion][one-number,two-number

Re: [NTG-context] \seeindex and processors

2012-07-14 Thread Wolfgang Schuster
place: % \defineprocessor[smallcaps][style=\sc] \starttext % this works nicely {\sc Test}\index{smallcaps-Test} % this is what I want it to look like % (which does not work for \seeindex[.]) \index{{\sc Cauchy}||Problem} % this is what I tried after you have suggested

[NTG-context] \seeindex and processors

2012-07-13 Thread Wolfgang Schuster
Hi Hans, processors aren’t applied to the second argument of \seeindex, only the first is formatted. \defineprocessor[smallcaps][style=\sc] \starttext Apples\index{smallcaps-Apple} Malus domestica\seeindex{smallcaps-Malus domestica}{smallcaps-Apple} \placeindex[n=1] \stoptext

Re: [NTG-context] seeindex: accents and such

2012-07-13 Thread Wolfgang Schuster
not for \seeindex. Secondly, the \sc (command) issue persists. MkIV provides a new mechanism to format index entries called processors, it doesn't work yet with \seeindex (see my other mail on the list) but I guess Hans will fix this in one of the next betas. \defineprocessor[sc][style=\sc

Re: [NTG-context] \seeindex and processors

2012-07-13 Thread Hans Hagen
On 13-7-2012 09:57, Wolfgang Schuster wrote: Hi Hans, processors aren’t applied to the second argument of \seeindex, only the first is formatted. \defineprocessor[smallcaps][style=\sc] \starttext Apples\index{smallcaps-Apple} Malus domestica\seeindex{smallcaps-Malus domestica}{smallcaps

Re: [NTG-context] \seeindex and processors

2012-07-13 Thread Andreas Mang
Dear Hans Wolfgang, Thanks for looking into this. I know that this has quite low priority. As it seems to me processors do not really seem to provide the behaviour I had in mind. Clearly, I should have thought of a better example in the first place: % \defineprocessor[smallcaps

Re: [NTG-context] Formatting Indexed Words Within the Text

2012-03-24 Thread Alan Braslau
On Fri, 23 Mar 2012 19:42:38 +0100 Hans Hagen pra...@wxs.nl wrote: in the test suite: registers/processors-001.tex \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] \starttext \index{it-italic}\index{normal} This is a \index[bf-bold]{test with bold number

Re: [NTG-context] Formatting Indexed Words Within the Text

2012-03-24 Thread Hans Hagen
On 24-3-2012 11:20, Alan Braslau wrote: On Fri, 23 Mar 2012 19:42:38 +0100 Hans Hagenpra...@wxs.nl wrote: in the test suite: registers/processors-001.tex \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] \starttext \index{it-italic}\index{normal

Re: [NTG-context] Formatting Indexed Words Within the Text

2012-03-23 Thread Hans Hagen
the that term can be found in the index. Ideally, I'd like to do that without explicit manual formatting. Is that possible? in the test suite: registers/processors-001.tex \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] \starttext \index{it-italic}\index{normal

[NTG-context] ppchtex, color and mkiv

2010-11-19 Thread Jörg Hagmann
colour on atoms works with {\blue C} etc. or \defineprocessor ... etc. chemred-C etc.. However, I couldn't find a way to colour the bonds belonging to the group. Is there one? ppchTEX does a superb job and I hope that the most useful features will be implemented in the near future in mkiv! Jörg

Re: [NTG-context] ppchtex, color and mkiv

2010-11-19 Thread Alan BRASLAU
implemented in mkiv. Is that still correct? Putting colour on atoms works with {\blue C} etc. or \defineprocessor ... etc. chemred-C etc.. However, I couldn't find a way to colour the bonds belonging to the group. Is there one? The only way that I managed to do this is to draw the chemical

Re: [NTG-context] index sorting and formatting mixed up

2010-05-14 Thread Hans Hagen
\stoptext Confirmed: mkiv is different from mkii. This is becuase that feature is not implemented in mkiv. There we will use a different method: processors, which will be available for finetuning rendering. \defineprocessor[bf][style=bold] \defineprocessor[it][style=italic] \starttext \index

Re: [NTG-context] \setupcaption stopper does not work in mkiv

2009-06-14 Thread Hans Hagen
with processors \defineprocessor[demo][color=red,style=\bfd] \setupcaption[figure][numberstopper=demo-.,numberconversion=Characters] \starttext \chapter{first} \section{first} \placefigure{}{} \placefigure{}{} \stoptext (but somehow there is a bleed to the page number rendering that i need

Re: [NTG-context] ppchtex color

2009-05-13 Thread Hans Hagen
. The following extension would also be useful: \usemodule[chemic] \starttext \startchemical \chemical[SIX,B,rulecolor=red,AU][] \stopchemical \stoptext in mkiv syntax that is: \defineprocessor[chemred][color=red] \startchemical \chemical[SIX,SB,C135,R,Z][chemred-A,chemred-C,chemred