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
, 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
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
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
?
\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
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
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
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
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
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
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
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
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
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
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
\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
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
. 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
101 - 118 of 118 matches
Mail list logo