of table mechanism. The wiki has an example
when using the (now deprecated) TaBlE macros
https://wiki.contextgarden.net/Table#Booktabs
The same effect is rather easy to achieve when using natural tables as well.
\startsetups booktabs
\setupTABLE[each][each][frame=off]
\setupTABLE[row][first]
because
> the notes mechanism resets many of these setups.
> \startsetups[note:footnote]
> \setupdirections[bidi=global]
> \stopsetups
>
> \setupnote[footnote][setups=note:footnote] % align=righttoleft
Is that still true? Anything else I need to
by setups such as this one:
there is no linear processing, you just start someplace and
recursively deal with the tree (which often looks like linear when you
start at the root but basically you can access everything everywhere)
\startsetups abstract
\startabstract
\docume
no linear processing, you just start someplace and recursively
deal with the tree (which often looks like linear when you start at the
root but basically you can access everything everywhere)
\startsetups abstract
\startabstract
\documentvariable{abstract}
\stopabstract
\
erstanding of how these things work. I
thought storing the text and retrieving it later would be the easiest
way to get rid of the constraints of linar processing of the XML file.
The layout itself is determined by setups such as this one:
\startsetups abstract
\startabstract
\docume
Jairo A. del Rio schrieb am 15.09.2020 um 04:38:
Hi, list. I've adapted the following example from the mailing list. My
aim is to use endnotes for each chapter:
\mainlanguage[es]
\definehead[footnotetitle][title]
\startsetups[chapter:after]
\ifcase\rawcountervalue[footnote]\relax
> Am 15.09.2020 um 04:38 schrieb Jairo A. del Rio :
>
> Hi, list. I've adapted the following example from the mailing list. My aim is
> to use endnotes for each chapter:
>
> \mainlanguage[es]
> \definehead[footnotetitle][title]
> \startsetups[chapter:after]
>
as Hala who had to struggle with the old one but
still gave a presentation using it. Here's an example:
\definedocument[thesis]
\setupdocument[a=b,e=f]
\setupdocument[thesis][a=x,c=d]
% \startsetups[thesis:start]
\startsetups[document:start]
START
\stopsetups
\startsetups[thesis
Hi, list. I've adapted the following example from the mailing list. My aim
is to use endnotes for each chapter:
\mainlanguage[es]
\definehead[footnotetitle][title]
\startsetups[chapter:after]
\ifcase\rawcountervalue[footnote]\relax
\else
\startfootnotetitle[title={
> Am 04.09.2020 um 16:20 schrieb Wolfgang Schuster
> :
>
> \startsetups [userdata:myquote]
> \startnarrow [left=2em,right=1.5em]
> %\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation]
> \symbol[leftquotation]\getinlineuserdata\
?
\startsetups [userdata:myquote]
\startnarrow [left=2em,right=1.5em]
%\dontleavehmode\llap{\symbol[leftquotation]}\getinlineuserdata\symbol[rightquotation]
\symbol[leftquotation]\getinlineuserdata\symbol[rightquotation]
\doifsomething{\userdataparameter{source}}
{\footnote[\userdataparameter
ve me that
will lead me to finding my own solution? It would be much appreciated.
A rose by any other name would smell as sweet ...
\showframe
\setupheadertexts[\setups{header}]
\startsetups header
\getmarking[chapter]
\stopsetups
\starttext
\startchapter[title={This is a chapte
not a direct solution, are there any clues someone might give me that
will lead me to finding my own solution? It would be much appreciated.
A rose by any other name would smell as sweet ...
\showframe
\setupheadertexts[\setups{header}]
\startsetups header
\getmarking[chapter]
\stops
roduces the correct result, utlimatley, in the
> > > TOC, Is it possible that I may have something else in my preamble that
> > > is causing the problem? If so, I can't expect someone to 'guess' that
> > > from outside! But at the moment I don't think that
On 8/13/20 10:11 PM, Wolfgang Schuster wrote:
> Wolfgang Schuster schrieb am 13.08.2020 um 20:47:
>> [...]
>> You can use nested frames:
>>
>> \startsetups[...]
>> \startframed[offset=overlay,frame=off]
>> \framed[width=.22\textiwdth]{\pinter}
\pcentr\NC\latext\NC\pexter\NC\NR
\stoptabulate
You can use nested frames:
\startsetups[...]
\startframed[offset=overlay,frame=off]
\framed[width=.22\textiwdth]{\pinter}
\framed[width=.24\textiwdth]{\latint}
\framed[width=.08\textiwdth]{\pcentr}
\framed[width
can use nested frames:
\startsetups[...]
\startframed[offset=overlay,frame=off]
\framed[width=.22\textiwdth]{\pinter}
\framed[width=.24\textiwdth]{\latint}
\framed[width=.08\textiwdth]{\pcentr}
\framed[width=.24\textiwdth]{\latext}
\framed[width=.22
Dear list,
I have this sample:
\showframe
\startsetups[footers]
\starttabulate
[|cw(.5\textwidth)|
cw(.5\textwidth)|]
[unit=0pt]
\NC one\NC two\NC\NR
\stoptabulate
\stopsetups
\setupfootertexts[\directsetup{footers}]
\starttext
\dorecurse{20}{\input{zapf.tex}\par
rose by any other name would smell as sweet ...
\showframe
\setupheadertexts[\setups{header}]
\startsetups header
\getmarking[chapter]
\stopsetups
\starttext
\startchapter[title={This is a chapter}]
\input knuth
\page
\input knuth
\stopchapter
\startchapter[title={This is a title}, num
eadertexts[\setups{header}]
\startsetups header
\getmarking[chapter]
\stopsetups
and referencing it in the \chapter or \title items, was able to achieve
the desired result in every way, including that missing header on one page.
Thank you.
J
On 13/8/20 3:36 pm, Aditya Mahajan wrote:
On T
ive me that
will lead me to finding my own solution? It would be much appreciated.
A rose by any other name would smell as sweet ...
\showframe
\setupheadertexts[\setups{header}]
\startsetups header
\getmarking[chapter]
\stopsetups
\starttext
\startchapter[title={This is a chapter}]
\in
someone might give me that
> will lead me to finding my own solution? It would be much appreciated.
A rose by any other name would smell as sweet ...
\showframe
\setupheadertexts[\setups{header}]
\startsetups header
\getmarking[chapter]
\stopsetups
\starttext
\startchapter[title={This is
,
conversion=Romannumerals,
numbercommand=\groupedcommand{\blank[20mm]}{\blank[10mm]},
after={\blank[3cm]},
]
\setupheadtext[content=]
\setupheadertexts[]
\setupheadertexts[\setups{text a}][][][\setups{text b}]
\startsetups[text a]
\rlap{whatever}
\hfill
\getmarking[chapter]
\hfill
llowing sample:
>
> \showframe\showgrid
> \setuppapersize[A7]
> \setuplayout[setups=*lessstrict]
> \startsetups[*lessstrict]
> \widowpenalty=1000
> \clubpenalty=1000
> \brokenpenalty=1000
> \stopsetups
> \setupbodyfont[
Dear list,
I have the following sample:
\showframe\showgrid
\setuppapersize[A7]
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\widowpenalty=1000
\clubpenalty=1000
\brokenpenalty=1000
\stopsetups
\setupbodyfont[15pt]
\starttext
le below shows a
> better method.
>
> 2. What you do with \doifelse{...}{even} is to compare the numeric value of
> the section with the string "even" which is always false. To check whether
> the value is odd or even you have to use the \ifodd command.
>
>>
to compare the numeric value
of the section with the string "even" which is always false. To check
whether the value is odd or even you have to use the \ifodd command.
What to change in order to get the desired result?
begin example
\startsetups [section:odd]
\vfill
\bo
Hi,
now I have another hurdle to be taken :-) — Depending on the odd or even number
of the section I have to place an ornament at the end of the section.
I have sofar the following setup:
\define\stopmysection
{\setups{endsection}}
\startsetups endsection
\doifelse
[margin]
[] [{\directsetup{notabene}}]
\newbox\MyNoteOverflow
\setupnotation[endnote]
[interaction=yes,
after={\blank[big]}]
\startsetups notabene
\setbox\scratchbox\vbox
\bgroup
\setupalign[tolerant]
\ifvoid\MyNo
ayout
[cutspace=5cm,
width=middle,
margin=4cm]
\setuptexttexts
[margin]
[] [{\directsetup{notabene}}]
\startsetups notabene
\vbox to \textheight \bgroup
\setupalign[tolerant]
\topskipcorrection
\placenotes[endnote][before=,after=]
\vfilll
\e
>>>
>>> Good evening!
>>>
>>> I have a bookproject in which sections are ended with a small graphical
>>> element. Now as usual this graphic might be moved to a new page which is of
>>> course unwanted.
>>>
>>> A
; Subject: Re: [NTG-context] Unknown script 'fonts.lua' or
>'mtx-fonts.lua'
> Message-ID:
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>> On Thu, 30 Jul 2020, Marcus Vinicius Mesquita wrote:
>>
>> Hi, Hans
>>
>>
have:
\startsetups endsection
\vfil
\placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
\stopsection
\stopsetups
\def\stopmysection{\setups{endsection}}
I use then instead of \stopsection the \stopmysection. This works except that
the ornament is in some cases
> On 29 Jul 2020, at 23:08, Willi Egger wrote:
>
> Good evening!
>
> I have a bookproject in which sections are ended with a small graphical
> element. Now as usual this graphic might be moved to a new page which is of
> course unwanted.
>
> At this momen
Good evening!
I have a bookproject in which sections are ended with a small graphical
element. Now as usual this graphic might be moved to a new page which is of
course unwanted.
At this moment I have:
\startsetups endsection
\vfil
\placefigure[middle,none][]{}{\externalfigure[ornament2
s on what you want to achieve exactly, I think
>
> \useMPlibrary[dum]
>
> \setuppapersize[A4]
>
> \setuplayout
> [width=12cm,
>rightmargin=5cm]
>
> \defineuserdata [margintext] [alternative=margintext]
>
> \defineuserdataalternative [margintext]
> [rend
=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[style={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad},
stack=yes]
{\startframedtext[before=,after=,offset=0pt,width=max,frame=off]
\getinlineuserdata
right]
> > \setupmargindata [marginfigure][command=\vbox,align=middle]
>
> \setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
>
> > \startsetups [userdata:margintext]
> > \margindata
> > [inright]
> > [%style=\smallbodyfont,
> > st
lign=middle]
\setupmargindata [marginfigure][command=\vbox,align=middle,stack=yes]
> \startsetups [userdata:margintext]
> \margindata
> [inright]
> [%style=\smallbodyfont,
> style={\switchtobodyfont[9pt]},
> width=\rightmarginwidth,
stack=yes,
>
idth=force,
align=flushleft,
before=,
after=,
frame=off]
\definenarrower[poemnarrower]
\definelines
[poemlines]
[before={\startpoemnarrower[left]},
after=\stoppoemnarrower]
\definebuffer[poem]
\def\stoppoem{\setups{poems:buffer}}
\startsetups poems:buffer
\set
]
\setupmargindata [marginfigure][command=\vbox,align=middle]
\defineuserdata [margintext] [alternative=margintext]
\defineuserdataalternative [margintext] [renderingsetup=userdata:margintext]
\startsetups [userdata:margintext]
\margindata
[inright]
[%style=\smallbodyfont,
style
t a few values for
> the \setupbackgrounds command which can be done by hand.
>
> To make everything a bit nice I put the backgrounds setup in a
> setup-block and call only these blocks in the document.
>
> begin example
> \startsetups[showframe]
> \setupbac
ample
\startsetups[showframe]
\setupbackgrounds [header,text,footer] [leftmargin,text,rightmargin]
[frame=on]
\stopsetups
\startsetups[hideframe]
\setupbackgrounds [header,text,footer] [leftmargin,text,rightmargin]
[frame=off]
\stopsetups
\starttext
\input knuth
\page \setup[showframe]
\input
On 6/17/20 10:47 PM, Wolfgang Schuster wrote:
> Pablo Rodriguez schrieb am 16.06.2020 um 22:17:
>> Dear list,
>>
>> I have the following sample:
>>
>>\startsetups[tinytiny]
>> \setupwhitespace[-2em]
>> \setupbodyfont[0.01pt]
>>
> Am 17.06.2020 um 22:47 schrieb Wolfgang Schuster
> :
>
> Pablo Rodriguez schrieb am 16.06.2020 um 22:17:
>> Dear list,
>> I have the following sample:
>> \startsetups[tinytiny]
>> \setupwhitespace[-2em]
>> \setupbodyfont[0.01pt]
>>
Pablo Rodriguez schrieb am 16.06.2020 um 22:17:
Dear list,
I have the following sample:
\startsetups[tinytiny]
\setupwhitespace[-2em]
\setupbodyfont[0.01pt]
\setupinterlinespace[1sp]
\stopsetups
???
\setupinteraction[state=start]
\showframe\showgrid
\starttext
Dear list,
I have the following sample:
\startsetups[tinytiny]
\setupwhitespace[-2em]
\setupbodyfont[0.01pt]
\setupinterlinespace[1sp]
\stopsetups
\setupinteraction[state=start]
\showframe\showgrid
\starttext
\blank[force, 10em]
\section{Move comment above this
as well as maintaining the style
of the standard chapter head.
You can add a check for odd/even chapter numbers and use only a single
command.
\startsetups[chapter:after]
\ifodd\namedheadnumber{chapter}
\blank[4cm]
\else
\blank[1cm]
\fi
\stopsetups
\setuphead
[chapter
In a similar setup I wanted to start every chapter with image and short vita
the author and came up with the following (of course not without help from our
wizards):
\definefont[ChapterFont][Sans*default at 30pt]
\startsetups normalheader
% default numbers of my bodyfont are oldstyle
Hi Wolfgang,
thank you very much. Amazing!
Am 29.05.20 um 15:35 schrieb Wolfgang Schuster:
> \definedataset [chapter]
>
> \startsetups [chapter:before]
>
> \page[yes]
>
> \doglobal\increment\ChapterCounter
>
> \doifoddpageelse
> {}
> {\doifsom
found now way to put it
on the
even page.
So what I really want to achieve is a way to redefine this setups at
some point
in the text to insert eg. a picture on the even page before a chapter.
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page
TEXpage is
>> not counted
>> correctly like a normal page. And secondly I found now way to put it
>> on the
>> even page.
>>
>> So what I really want to achieve is a way to redefine this setups at
>> some point
>> in the text to insert eg. a picture
this setups at some point
in the text to insert eg. a picture on the even page before a chapter.
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setupbackgrounds[page][background=color,backgroundcolor=blue,]
\page[empty,right]
\popbackground
to insert eg. a picture on the even page before a chapter.
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbackground[page]
\setupbackgrounds[page][background=color,backgroundcolor=blue,]
\page[empty,right]
\popbackground}
\stopsetups
Here comes the not so mwe
a way
to create readable lists, below is another one but in the end it depends
on your use case.
begin example
\starttext
\startsetups [check]
\doifelseinset
{
i7
}
{
i4,
i5,
i7,
}
{yes}
en you knwo the dimensions you can do
this:
\usemodule[article-basic]
\definelistalternative
[whatever]
[renderingsetup=whatever]
\setuplist
[chapter]
[alternative=whatever]
\startsetups whatever
\framed [offset=overlay,frame=off] {
\framed [width=25mm,align=flushleft,frame
[section:chapter] [way=bychapter]
\definecounter [section:section] [way=bysection]
\appendtoks
\incrementcounter[section:chapter]%
\incrementcounter[section:section]%
\to \everybeforepagebody
\startsetups[header:pagenumber]
\starttabulate[|l|rw(1em)|]
\NC Pagenumber \EQ \pagenumber
ader area).
\setuppapersize[A4,landscape]
\setuplayout
[location=middle,
width=27.5cm,
height=18cm,
backspace=1cm,
header=4cm,
headerdistance=5mm]
\startsetups[header]
\startframed[width=max,height=max,frame=off,offset=overlay]
\startframed[height=1cm,width=max,frame=o
he Wiki’s ConTeXt online) or have been disabled/changed
>> for some reason?
>> Thanks!
>> Benjamin
>> (1) palcenamedfloat
>> ---
>> This is the example from the Wiki:
>> [...]
>> (2) Footnotes at the end of each chapter
>> ---
Also an example from the Wiki:
\startsetups
chapter:after
\ifcase\rawcountervalue[footnote]\relax
\or
\startsubject[title=Footnote]
\placefootnotes
\stopsubject
\else
\startsubject[title=Footnotes
each chapter
Also an example from the Wiki:
\startsetups
chapter:after
\ifcase\rawcountervalue[footnote]\relax
\or
\startsubject[title=Footnote]
\placefootnotes
\stopsubject
\else
Thank you Wolfgang,
Now is there a way to persuade the quotation marks to protrude?
Cheers,
Michael
\startsetups[userdata:extendedquotation]
\startnarrow[]
“\getinlineuserdata”\userdataparameter{source}
\stopnarrow
\stopsetups
\defineuserdataalternative
[extendedquotation
use the userdata environment to create a custom environment with
optional arguments.
\startsetups[userdata:extendedquotation]
\startnarrow[middle=4em]
“\getinlineuserdata”\userdataparameter{source}
\stopnarrow
\stopsetups
\defineuserdataalternative
[extendedquotation]
[renderingsetup=userdata:e
Hi Wolfgang,
# You can use the default language for the reset:
#
# \startsetups [language:czech]
# \setbreakpoints [czcompound]
# \stopsetups
#
# \startsetups [language:other]
# \resetbreakpoints
# \stopsetups
#
# \setuplanguage
# [cz]
# [setups=language:czech]
#
# \setuplanguage
inlanguage[\langpar]
> }
>
> which repeats only the Czech hyphen but with a side effect -- hyphenated
> words are not broken anymore in other languages.
> What am I doing wrong? Or is there any system solution?
> %%
>
> Best wishes,
>
> Tomáš
>
>
> begin ex
reakpoints [czcompound]
\definebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4]
\startsetups [czech]
\setbreakpoints [czcompound]
\stopsetups
\setuplanguage
[cz]
[setups=czech]
\definefontfeature [default] [default] [protrusion=tomas_hala]
%\def\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlan
pound]
\definebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4]
\startsetups [czech]
\setbreakpoints [czcompound]
\stopsetups
\setuplanguage
[cz]
[setups=czech]
\definefontfeature [default] [default] [protrusion=tomas_hala]
\setupalign [hanging]
\mainlanguage [cz]
\showframe [text] [
aps:cite:margin][authorconversion=normalshort]
\startsetups btx:aps:cite:margin
\texdefinition{btx:aps:title}
\texdefinition{btx:aps:author}
\doiftextelse\currentbtxrighttext{
\currentbtxrighttext
} {
\removeunwantedspaces
\removepunctuation
}
this works and is perfect for my style, b
width depends on the columnset? e.g. like
\definecolumnsetspan[Title][n=2]
\definecolumnsetspan[Intro][n=2]
\startsetups cs:TwoCol
\setupcolumnsetspan[Title][n=2]
\setupcolumnsetspan[Intro][n=1]
\stopsetups
\startsetups cs:ThreeCol
\setupcolumnsetspan[Title][n=3]
\setupcolumns
on and the \page command in my setup, the
header text changed too early.
\definedataset[chapter]
\startsetups[chapter:leftpage]
\page[left]
\doglobal\increment\ChapterData
\doifsomething{\datasetvariable{chapter}{\ChapterData}{subtitle}}
{
\starttabulate
Since the structureuservariables of a section aren’t defined in that section’s
"before", I would need a macro or buffer to define the contents of that
epigraph page, like this:
\def\PreImg{Dummy}
\startsetups FancyChapter
\setupheadertexts[][][][]
\doifelsebu
”, while “My Fancy Story” doesn’t show
anything.
Is that why you used buffers?
Since I only need two user settings (image name and quote), only one in the
example, I’d like to avoid a buffer for every chapter.
\startsetups FancyChapter
\setupheadertexts[][][][]
\doifnot{\structureuse
in a separate overlay to better control the positioning. Perhaps
a bit overthought, but it works for me ...
\setupheadertexts [][{\it\getmarking[section]}]
[{\it\getmarking[chapter]}][]
\startsetups section:epigraph
\doifelsebuffer{SectionEpigraph}
{\getbu
)--
(0,1.05*OverlayHeight)--cycle;
fill p shifted (3,-3);
fill p withcolor 0.8white;
draw p;
setbounds currentpicture to p;
\stopuseMPgraphic
\defineoverlay[framewithshadow][\useMPgraphic{framewithshadow}]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext
alue of a key can be cumbersome to read. So, we can use
setups:
\def\totalpoints{0}
\startsetups updatepoints
\edef\totalpoints{\the\numexpr(\totalpoints +
\getvariable{exam}{points})\relax}
\stopsetups
\setvariables
[exam]
[
points=0,
set=\directsetup{updatepoints},
]
onset [frontpart:pagenumber] [] [romannumerals]
\startsectionblockenvironment [bodypart]
\setcounter [userpage] [1]
\stopsectionblockenvironment
\setuppagenumbering[location=,alternative=doublesided]
\setupheadertexts[\setups{text right}][][][\setups{text left}]
\startsetups[text right]
\rlap{}
\hfill
\sc \getma
[frontpart:pagenumber] [] [romannumerals]
\startsectionblockenvironment [bodypart]
\setcounter [userpage] [1]
\stopsectionblockenvironment
\setuppagenumbering[location=,alternative=doublesided]
\setupheadertexts[\setups{text right}][][][\setups{text left}]
\startsetups[text right]
\rlap{}
\hfill
\sc \getmarking
to use braces or brackets as
delimiters for the argument. The \directsetup skips the check for the
argument form and allows only braces as delimiter.
\startsetups[example-1]
\startparagraph
First example!
\stopparagraph
\stopsetups
\startsetups[example-2]
\startparagraph
> A solution which uses only existing commands in the document.
>
> \startsetups [martin]
> \startlua
> local points = tonumber(\getvariable{martin}{question}) or 0 ;
> points = points * 92 ;
> local answer = 42 ;
> context.setv
es only existing commands in the document.
>
> \startsetups [martin]
> \startlua
> local points = tonumber(\getvariable{martin}{question}) or 0 ;
>points = points * 92 ;
> local answer = 42 ;
> context.setvariable("martin",&q
\stoptext
A solution which uses only existing commands in the document.
\startsetups [martin]
\startlua
local points = tonumber(\getvariable{martin}{question}) or 0 ;
points = points * 92 ;
local answer = 42 ;
context.setvariable("martin&q
gt;
> \definecolor[ColorA][0.8(white)]
>
>
> \startsetups [headertext]
>
> \setupheadertexts
> [{\startframed [headerframed]
> [foregroundstyle=bold,background=framewithshadow]
> \getvariable{headertext}{title}
8 instead of day 2.
> > Thank you
> > Fabrice
> >
> > \defineframed
> >[headerframed]
> >[frame=off,
> > height=fit,
> > width=fit]
> >
> > \definecolor[ColorA][0.8(white)]
> >
> >
> > \startsetups [headertex
age number.
>>
>> Is there a simple solution to that request?
>> Otherwise I delete the page numbers from the PDF...
> % remove header when the text fills less than half of the page
>
> \startsetups[chapter:after]
> \par
> \ifdim\pagetotal<.5\pagegoal
...
% remove header when the text fills less than half of the page
\startsetups[chapter:after]
\par
\ifdim\pagetotal<.5\pagegoal
\page[header,yes]
\fi
\stopsetups
% remove header when there are less than 20 lines of text
% \startsetups[chapter:after]
% \par
% \getnofli
Hi all,
Sorry, I corrected my MWE. As you can see, \currentitemnumber seems strange
when used for \marking inside a nested itemize.
MWE:
\definemarking[M]
\startsetups S
default=(\getmarking[M])~
first=(\getmarking[M][first])~
last=(\getmarking[M][last])~
previous=(\getmarking[M
Hi all,
It seems that \currentitemnumber won’t work for \marking if inside a nested
itemize?
MWE:
\definemarking[M]
\startsetups S
default=(\getmarking[M])~
first=(\getmarking[M][first])~
last=(\getmarking[M][last])~
previous=(\getmarking[M][previous])~
both=(\getmarking[M][both
Hi Wolfgang!
Sadly, it still didn’t work:
\startsetups[headertext]
\startframed[frame=off,align=flushright,width=fit]
\setuplocalinterlinespace[12pt]
\the\baselineskip\\
abc
\stopframed
\stopsetups
\setupheadertexts[\directsetup{headertext}]
\starttext
\setupinterlinespace
Hi,
Yikes! Erm…
MWE:
\startsetups[headertext]
\startframed[frame=off,align=flushright,width=fit]
{
\setupinterlinespace[12pt]
\the\baselineskip\\
abc
}
\stopframed
\stopsetups
\setupheadertexts[\directsetup{headertext}]
\starttext
{
\setupinterlinespace[24pt]
\input
Hi all,
How does \marking really work? Can’t seem to get \currentitemnumber into it.
MWE:
\definemarking[M]
\startsetups S
\getmarking[M]
\stopsetups
\setupheadertexts[\setups{S}][][][\setups{S}]
\starttext
\startitemize[n]
\item First item
\marking[M]{Really? \currentitemnumber
On Wed, 28 Aug 2019, Fabrice Couvreur wrote:
Hello,
The date display is incorrect : I get day 28 instead of day 2.
Thank you
Fabrice
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext
Hello,
The date display is incorrect : I get day 28 instead of day 2.
Thank you
Fabrice
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext]
\setupheadertexts
[{\startframed [headerframed
eaderframed]
> [frame=off,
> height=fit,
> width=fit]
>
> \definecolor[ColorA][0.8(white)]
>
>
> \startsetups [headertext]
>
> \setupheadertexts
> [{\startframed [headerframed]
> [foregroundstyle=bold,background=color,backgr
,
topframe=off,
bottomframe=off,
framecolor=,
rulethickness=2pt]
\defineframed
[headerframed]
[frame=off,
height=fit,
width=fit]
\definecolor[ColorA][0.8(white)]
\startsetups [headertext]
\setupheadertexts
[{\startframed [headerframed
solutions, even if we leave in place for reasons of backward
compatibility habits that can be hard to quit.
What limitations? \foo[{sometext}] is not that different from
\foo[text={sometext}] and often I do
\setupheadertexts[\setups[header}]
\startsetups
lots of stuff
\stopsetups
because
; (even) page, everything works as expected (no color-filled page, no header
> in the start-chapter page).
>
> MWE:
>
> %% START MWE
>
> [...]
>
> \startsetups [chapter:before]
>\doifoddpageelse
> {}
> {\pushbackground[p
he color filled page. But, if the start-chapter page comes after a
regular (even) page, everything works as expected (no color-filled
page, no header in the start-chapter page).
MWE:
%% START MWE
[...]
\startsetups [chapter:before]
\doifoddpageelse
l (bottomboundary Page -- cycle)
enlarged(0,0.25u)
shifted (0,6i)
withcolor \MPcolor{rojo} ;
fi;
StopPage;
\stopuseMPgraphic
\defineoverlay
[chapter:background]
[\useMPgraphic{page:background}]
\setupbackgrounds[page][background=chapter:background
lor{rojo} ;
fi;
StopPage;
\stopuseMPgraphic
\defineoverlay
[chapter:background]
[\useMPgraphic{page:background}]
\setupbackgrounds[page][background=chapter:background]
\definepagebreak[firstpagebreak][yes,header]
\startsetups [chapter:before]
\doifoddpageelse
{}
{\pushbac
language= {english},
hyphenation = {english}, % ignored
pagetotal = {206}, % ignored
pages = {206},
}
\stopbuffer
\usebtxdataset[bib.buffer]
\usebtxdefinitions[apa]
\setupbtx[apa:cite:authoryear][left={[},right={]}]
\startsetups btx:apa:list:book
\btxdoif {author} {
301 - 400 of 1547 matches
Mail list logo