page
works ok (following
https://wiki.contextgarden.net/Command/setuplistalternative and Aditya's
presentation slides on their blog). My challenge is that when a makeup page
is inserted, it leaves a page with the section name blank before it. How do
I fix it? Any other way to achieve this is
the
same behaviour: the leading dots are not aligned.
Compiling the same document with MkIV leads to correct alignment of the filler
dots in both instances. Here is an MWE:
\setuplistalternative[c][width=2em]
\starttext
\completecontent[alternative=c]
\chapter{Short title}
Lorem ipsum
aligned.
Compiling the same document with MkIV leads to correct alignment of the filler
dots in both instances. Here is an MWE:
\setuplistalternative[c][width=2em]
\starttext
\completecontent[alternative=c]
\chapter{Short title}
Lorem ipsum \hskip.5em\gleaders\hbox to
.5\emwidth{\hss.\hss
command.
\setuplist
[chapter,section,subsection]
[alternative=c]
\setuplist
[chapter]
[textstyle=\tfa]
\setuplist
[subsection]
[textstyle=\tfx]
\definefiller
[willi]
[method=global,
width=1em]
\setuplistalternative
[c]
[filler=willi]
\starttext
\completecontent
Hi,
the following used to work with 2014.02.14 17:07 but a current
2016.05.01 09:52 throws the error:
Use of \syst_helpers_set_local_hsize_yes doesn't match its definition
\definefiller [myfiller]
\setupcombinedlist [content] [alternative=c]
\setuplistalternative [c] [filler={\filler[myf
> On 21 Mar 2016, at 15:28, Hans Hagen wrote:
>
> when playign with some new feature i commented too much
>
> around line 722, uncomment:
>
> \setuplistalternative
> [\c!command=\strictlistparameter\c!command,
> \c!symbol=.]
>
>
Done, and it
.
when playign with some new feature i commented too much
around line 722, uncomment:
\setuplistalternative
[\c!command=\strictlistparameter\c!command,
\c!symbol=.]
Thanks a lot
Thomas
\definelist[MyTopics][criterium=all]
\def\MyMark{}
\def\Topic%
{\dosingleargument\doTopic}
\def
g Schuster wrote:
Hans Hagen <mailto:pra...@wxs.nl>
4. März 2016 um 12:01
\starttext
\setuplistalternative
[c]
[filler=symbol,
symbol=\hbox to .25em{\periodcentered},
symcolor=darkred,
symstyle=\bf]
\startsubject[title=Contents]
\placelist[se
On 3/7/2016 9:59 PM, Wolfgang Schuster wrote:
Hans Hagen <mailto:pra...@wxs.nl>
4. März 2016 um 12:01
\starttext
\setuplistalternative
[c]
[filler=symbol,
symbol=\hbox to .25em{\periodcentered},
symcolor=darkred,
symstyle=\bf]
\startsubject
Hans Hagen <mailto:pra...@wxs.nl>
4. März 2016 um 12:01
\starttext
\setuplistalternative
[c]
[filler=symbol,
symbol=\hbox to .25em{\periodcentered},
symcolor=darkred,
symstyle=\bf]
\startsubject[title=Contents]
\placelist[section][criteri
\starttext
\setuplistalternative
[c]
[filler=symbol,
symbol=\hbox to .25em{\periodcentered},
symcolor=darkred,
symstyle=\bf]
\startsubject[title=Contents]
\placelist[section][criterium=all,alternative=c]
\stopsubject
eringsetup=\??listrenderings:overview]
\setuplistalternative
[overviewpage]
[\c!before=\dontleavehmode,
\c!after=\hskip\zeropoint\relax,
% \c!width=\ctxlua{moduledata.overviewpage.calculatedwidth(\listlength)}]
\c!width=\ctxlua{moduledata.overviewpage.calculatedwidth(structures.lists.size())}]
\s
box\scratchbox}%
\fi
\page_shipouts_normal{\box\nextbox}%
\fi}
\installshipoutmethod{overview}\overview_save_page
\definelistalternative
[overview]
[\c!renderingsetup=\??listrenderings:overview]
\setuplistalternative
[overview]
[\c!before=\dontleavehmode,
\c!after=\space,
\c
2][pavel-0][align=middle]
\newconditional\PavelState
\define\PavelFiller
{\ifconditional\PavelState
\global\setfalse\PavelState
\filler[pavel-1]%
\else
\global\settrue\PavelState
\filler[pavel-2]%
\fi}
% \define\PavelFiller
% {\ifodd\structurelistlocation % does the valu
[pavel]
[alterntive=symbol,
%method=global,
width=1em,
leftmargin=.5em,
rightmargin=.5em]
\setuplistalternative[c][filler={\filler[pavel]}]
\starttext
\completecontent[alternative=c]
\chapter{First chapter}
\chapter{Second chapter}
\stoptext
Wolfgang
___
Is that a complete
;
>>> requested look:
>>>
>>> 1. First chapter . . . . . . . . . . 1
>>> 2. Second chapter . . . . . . . . . . 10
>> \definefiller
>> [pavel]
>> [alterntive=symbol,
>> %method=global,
>>width=1em,
>>left
argin=.5em]
\setuplistalternative[c][filler={\filler[pavel]}]
\starttext
\completecontent[alternative=c]
\chapter{First chapter}
\chapter{Second chapter}
\stoptext
Wolfgang
___
Is that a complete MWE? It doesn't work on ConTeXt ver: 2013.01.10
01:04 MKIV.
I get:
---
! Un
ter ... 1
> 2. Second chapter ... 10
>
> requested look:
>
> 1. First chapter . . . . . . . . . . 1
> 2. Second chapter . . . . . . . . . . 10
\definefiller
[pavel]
[alterntive=symbol,
%method=global,
width=1em,
leftmargin=.
etupbibtex [sort=author]
\setuppublicationlist [maybeyear=off]
\setuplistalternative
[ieee]
[\c!distance=1em,
\c!width=2em,
\c!stretch=0em,
\c!command=,
]
\setuppublicationlist
[\c!numbercommand=\!!ieee@brackets,
\c!width=2em,
\c!alternative=ieee,
m=Dec.]
\setupbibtex [sort=author]
\setuppublicationlist [maybeyear=off]
\setuplistalternative
[ieee]
[\c!distance=1em,
\c!width=2em,
\c!stretch=0em,
\c!command=,
]
\setuppublicationlist
[\c!numbercommand=\!!i...@brackets,
\c!width=2em,
er\c!numbercommand{\currentlistsymbol}}\relax
\hbox{\box4\listparameter\c!separator}\relax
%\box4\relax
\relax
\fi%
\dostoplistattributes%
\listparameter\c!after\hskip1sp
}}
\enableregime[utf]
\language[de]
\setupinteraction [state=start]
\setuplistaltern
%% no interactions
%% #3\nobreak\kern1ex\nobreak%
%% \hbox{#4}\nobreak\kern1ex\nobreak%
%% {\sl#6}\hskip0.1explus1ex%
}
\protect
%%
\language[de]
\setupinteraction [state=start]
\setuplistalternative [a] [command=\hskip.8em]
\setupcombinedlist [content] [alter
or the table of contents):
| \setupinteraction [state=start]
| \setuplistalternative [a] [command=\hskip.8em]
| \setupcombinedlist [content] [alternative=a, interaction=all,
| level=section, partnumber=no]
| \setuplist [chapter] [after=\blank
Steffen Wolfrum wrote:
> Hi,
>
> is hyphenation by default off in lists?
>
This is resolved in the latest release. It allows control
of the alternative=(a|b|c) parameters by
\setuplistalternative[a]
See texshow for the precise details.
24 matches
Mail list logo