>>
>>>> \starttext
>>>>
>>>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
>>>> \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
>>>>
>>>>
>>>>
>>>> \startsetup
ently have.
\starttext
\definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
\defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
\setlayerframed
[pagenumber]
[preset=rightbottom]
{p}
\stopsetups
\bTABLE
\
t;>
>> Here's the minimal example of what I currently have.
>>
>> \starttext
>>
>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
>> \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
>>
>>
rlayheight]
\defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
\setlayerframed
[pagenumber]
[preset=rightbottom]
{p}
\stopsetups
\bTABLE
\setupTABLE[each][each][background=pagenumber]
\bTR
\bTD multiline \par text \eTD
\bTD
pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
\setlayerframed
[pagenumber]
[preset=rightbottom]
{p}
\stopsetups
\bTABLE
\setupTABLE[each][each][background=pagenumber]
\bTR
\bTD multiline \par text \eTD
\bTD some cell \par with even \par more \par text \
range={0x00400-0x2FA1F}%
,force=yes%
,features=vertical%
]
\definefontfamily
[mainface]
[serif]
[TeX Gyre Termes]
[features=vertical]
\definefontfamily
[mainface]
[sans]
[TeX Gyre Heros]
[features=vertical]
\definefontfamily
[mainface]
[mono]
[TeX Gyre Cursor]
[
er \starttext or load a font before you set it,
> otherwise context uses a monospace font as fallback.
Many thanks for the tip. But I really use foregroundstyle with
\setlayerframed.
>> \definelayer[test2][x=.5\paperwidth, y=.5\paperheight, state=continue]
> Remove "state=continu
On 02/04/2016 05:39 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 4. Februar 2016 um 17:19
>>
>> I’m afraid that dimensions seem not to be adapted:
> [...]
> \startsetups[testlayer]
> \setlayer[test]{abcde}
> \stopsetups
>
> \setupbackgrounds[page][set
height,state=repeat]
\setlayer[test]{abcde}
\setupbackgrounds[page][background={test}]
You have to reset the layer on each page.
\definelayer[test][x=.5\paperwidth, y=.5\paperheight]
\startsetups[testlayer]
\setlayer[test]{abcde}
\stopsetups
\setupbackgrounds[page][setups=testlayer,backgroun
ospace font as fallback.
\definelayer[test2][x=.5\paperwidth, y=.5\paperheight, state=continue]
Remove "state=continue".
\startsetups[testlayer]
\setlayer[test2]{page2}
\stopsetups
You have to include a check for the first page, possible are
\startsetups[testlayer]
\ifnum\rawcount
> page:
> Do you want layer “test1” to appear on the second page, if not don’t put
> it in the setups environment.
But I get two test2 on page 2:
\definelayer[test1][x=.5\paperwidth, y=.5\paperheight, state=start]
\setlayer[test1]{page1}
\definelayer[test2][x=.5\paperwidth, y=.5\paperheight, s
makeup environment is the right mechanism. You can combine this
with the \setvariables command and create the title page when you set
the values.
\definemakeup[titlepage][align=middle]
\startsetups[titlepage]
\startmakeup[titlepage]
\startfont[SansBold sa 3]
\getvariable{tit
the previous problem and this one please ?
Are notes a alternative for you?
\startsetups[marginnotes]
\startframed[width=max,height=max,align=high,strut=no]
\placenotes[marginnote][before=,after=,rule=off]
\stopframed
\stopsetups
\setuptexttexts[margin][][\directsetup{marginnotes
s does not apply to footnotes either.
Having numbers in the TRL footnote text produces incorrect typesetting.
ConTeXt resets many settings for headers, footers, footnotes etc. and
have to set them again for these elements.
To apply the bidi setting to footnotes you have to add
\startsetups[bi
t produces incorrect typesetting.
>
> ConTeXt resets many settings for headers, footers, footnotes etc. and have
> to set them again for these elements.
>
> To apply the bidi setting to footnotes you have to add
>
> \startsetups[bidi:footnotes]
> \setupdirection[bidi
This makes all the text LTR, for instance if one has an English word
embedded in the RTL text, that will be shown incorrectly. Or even if one
of the headers (say, on the left side) is plain English.
Why wouldn't something like the following work?
\startsetups setup:bidi
\setupdirections[bidi
: 2015.11.19 19:13 MKIV beta with
LuaTeX 0.85)
Alan
\startsetups[tightspace]
\spaceskip .7\interwordspace plus .5\interwordstretch minus
\interwordshrink
\stopsetups
\def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]}
\def\startbibitem{\dosingleempty\dostartbibitem}
\def\stopbibitem
a alternative for you?
\startsetups[marginnotes]
\startframed[width=max,height=max,align=high,strut=no]
\placenotes[marginnote][before=,after=,rule=off]
\stopframed
\stopsetups
\setuptexttexts[margin][][\directsetup{marginnotes}]
\definenote [marginnote][criterium=page]
\setupnotation
apping and not being stacked.
If the “left note” is removed the right side notes are stacked
properly again.
Is there any solution to avoid the previous problem and this one please ?
Are notes a alternative for you?
\startsetups[marginnotes]
\startframed[width=max,height=max,align=high
are stacked properly again.
Is there any solution to avoid the previous problem and this one please ?
Are notes a alternative for you?
\startsetups[marginnotes]
\startframed[width=max,height=max,align=high,strut=no]
\placenotes[marginnote][before=,after=,rule=off]
\stopframed
want to
change with width of a space.
\startsetups[footnote:space]
\spaceskip .7\interwordspace plus .5\interwordstretch minus
\interwordshrink
\stopsetups
\setupnote[footnote][setups=footnote:space]
\starttext
\input zapf
\startfootnote
\input zapf
\stopfoo
Henning Hraban Ramm <mailto:te...@fiee.net>
8. Dezember 2015 um 12:11
Thank you for the suggestion, but I can’t see any change, even if I
use extreme values for \spaceskip (like 0.1 or 10.0), neither in footnotes
The footnote on the second page is a line shorter.
\startsetups[footnote
finedescription?).
Hi Hraban,
I don’t know whether this is right, but this works for me:
\startsetups[footnote:space]
\spaceskip .7\interwordspace
plus .5\interwordstretch minus \interwordshrink
\stopsetups
\definedescription[definition][before=\directsetup
gt;> a unicode point?
>> after={\egroup}, %\spac_spacecodes_set_stretch},
>> ]
>> \protect
>>
>> I’d also like to have footnotes in tighter spacing.
>
> You have to change the value of the \spaceskip register when you want to
> change with width of a
r in footnotes
>> nor in my description (is the setups key even supposed to work in
>> \definedescription?).
>
> Hi Hraban,
>
> I don’t know whether this is right, but this works for me:
>
>\startsetups[footnote:space]
> \spaceskip .7\interwordspace
>p
pacing=packed]
You don’t have add a new language because
\startsetups[tightspace]
\spaceskip 0.7\interwordspace plus .5\interwordstretch minus
\interwordshrink
\stopsetups
\definedescription[BibItem][
before={\directsetup{tightspace}\bgroup\language[packed]},
after={\egroup},
]
you can us
On 11/24/2015 10:33 PM, Thomas A. Schmitz wrote:
> On 11/24/2015 07:38 PM, Pablo Rodriguez wrote:
>> How can I define indenting in startsetups so that Bibliography has the
>> same margin that the indentation for the rest of the text and
>> indentation in that section is nega
On 11/24/2015 07:38 PM, Pablo Rodriguez wrote:
How can I define indenting in startsetups so that Bibliography has the
same margin that the indentation for the rest of the text and
indentation in that section is negative (the same amount as the general
indentation)?
Sorry, but this is a standard
Dear list,
I have the following sample:
\setupindenting[always,yes,big]
\startsetups[bibliography:indent]
\setupindenting[negative]
\stopsetups
\definehead[Bibliography][subject]
\setuphead[Bibliography]
[setups=bibliography:indent,
indentnext=yes
middle]
> \setupmarginframed[inmargin][align=middle,location=outer]
>
> \definelayer[infolayer][width=\framedwidth,height=\framedheight]
>
> \startsetups[infolayer:place]
>
> \setlayer[infolayer][preset=middleright]{\rotate{\getvariable{infotext}{points}}}
> \stopsetups
>
ground for the frame.
\setupmargindata[inmargin][style={\ss\tfx},location=outer,align=middle]
\setupmarginframed[inmargin][align=middle,location=outer]
\definelayer[infolayer][width=\framedwidth,height=\framedheight]
\startsetups[infolayer:place]
\setlayer[infolayer][preset=middleright]{\rotate{\getva
Thanks a lot, Wolfgang
just now I was posting a solution of mine,
but yours is more elegant and concise.
Best regards,
Massi
PS: here's my solution (but I'll use yours):
\definemarking[headertitle]
\setupheadertexts[]
\setupheadertexts[\setups{oddpages}][][][\setups{evenpages}]
\startsetups
On 10/22/2015 05:59 PM, Wolfgang Schuster wrote:
You have to use the \fetchmark command (which is currently broken but I
sent a fix to the dev list)
to check the content of both marks because \getmarking isn’t expandable.
\startsetups [test header]
\doifelse{\fetchmark[test][top
Hi,
I'm trying to set up a header: if a page contains only one marking, it
should display this, if it has more than one, display the first and
last. Here's what I tried, unsuccessfully:
\definemarking [test]
\startsetups [test header]
\doifelse {\expanded{\getmarking[test][top
[test]
\startsetups [test header]
\doifelse {\expanded{\getmarking[test][top]}}
{\expanded{\getmarking[test][bottom]}}
{\getmarking[test][top]}
{\getmarking[test][top] and \getmarking[test][bottom]}
\stopsetups
\setupheadertexts [\setups{test header}]
\starttext
\marking[test] {One}
\input
= "Duane Bibby",
year= 2014,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[dataset=duane,
method=local,
]
\setupbtxlist
[du
h
>> a recent context version):
>>
>> ~~~~~~~~
>>
>> starttext
>>
>> startsetups[s:footer]
> insidesplitfloatfalse
>
>> startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch]
>> startxrow
>> start
author = "Duane Bibby",
year= 2012,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[dataset=duane,
method=dataset,
]
%method=local only works
\startsetups[s:footer]
\startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch]
\startxrow
\startxcell Filename: \stopxcell
\startxcell[distance=1cm] \outputfilename.pdf \stopxcell
\stopxrow
\stopembeddedxtable
\stopsetups
\setupheader[style=\tx
Andreas Schneider <mailto:ak...@gmx.de>
1. Oktober 2015 um 12:52
Hello,
In the following minimal example, an error occurs when build the file
(with a recent context version):
\starttext
\startsetups[s:
> \definebtxdataset
> [duane]
>
> % That we will fill with some records:
>
> \usebtxdataset
> [duane]
> [duane.buffer]
>
> % And a rendering:
>
> \definebtxrendering
> [duane]
> [dataset=duane,
> method=dataset,
> specification=duane]
>
\usebtxdataset
[duane]
[duane.buffer]
% And a rendering:
\definebtxrendering
[duane]
[dataset=duane,
method=dataset,
specification=duane]
% We also set up the associated list (a description):
\setupbtxlist
[duane]
[number=no]
% This is the image renderer:
\startsetups btx:duane
Hello,
In the following minimal example, an error occurs when build the file
(with a recent context version):
\starttext
\startsetups[s:footer]
\startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option
Hi,
If you compile the following file with new beta, the placement of the table
and the figure is incorrect.
Thank you,
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\startsetups[table:initialize]
\setupTABLE[start][align={middle,lohi},offset
Hi,
If you compile the following file with new beta, the placement of the table
and the figure is incorrect.
Thank you,
Fabrice
\definefloat
[recipe]
[figure]
\setupfloat
[recipe]
[default={right,none}]
\startsetups[table:initialize]
\setupTABLE[start][align={middle,lohi},offset
.
\startsetups[table:whitespace]
\setupwhitespace[medium]
\stopsetups
\starttext
\bTABLE
\bTR
\bTD \setupwhitespace[medium] \input knuth \eTD
\eTR
\bTR
\bTD[style={\setupwhitespace[medium]}] \input knuth \eTD
\eTR
\bTR
\bTD[setups=table:whitespace
Many thanks, Hans, as that seems to have done the trick!
On 9 Aug 2015, at 11:59, Hans Hagen pra...@wxs.nl wrote:
On 8/9/2015 2:42 AM, tala...@fastmail.fm mailto:tala...@fastmail.fm wrote:
Hello,
I currently use the following to define my even and odd page headers.
—
\startsetups
On 8/9/2015 2:42 AM, tala...@fastmail.fm wrote:
Hello,
I currently use the following to define my even and odd page headers.
—
\startsetups[header]
{\doifoddpageelse
{\getmarking[section]}
{\getmarking[chapter]}
}
\doiftextelse
Hello,
I currently use the following to define my even and odd page headers.
—
\startsetups[header]
{\doifoddpageelse
{\getmarking[section]}
{\getmarking[chapter]}
}
\doiftextelse
{\getmarking[chapter]}
\stopsetups
EnvironmentA’s layout, while the second part—ComponentB—uses EnvironmentB's. If
any startsetups need to be defined, I’d be grateful for any example, showing
also where to place them.
# Product
\startproduct MyProduct
\component ComponentA
\component ComponentB
\stopproduct
# EnvironmentA
=righttoleft,
alternative=serried,
width=broad,
distance=.5em,
display=no,
numberconversion=arabicdecimals,
headstyle=\lefttoright,
]
\startsetups[note:footnote]
\setupdirections[bidi=on,method=two,fences=no]
\stopsetups
\startsetups
mented out the \startsetups[note:linenote]. The lines may be toggled to see the effect it has.=\mainlanguage[arabic] \definefontfamily [mainface] [rm] [ALM Fixed] [range=arabic,features=arabic]\setupbodyfont[mainface,12pt]\setupdirections[bidi=global,method=two]\setupalign[r2l]%% CONVERSION INTO AR
]
\setupfloat
[MyFloat]
[default={right,none}]
\startsetups[table:initialize]
\setupTABLE[start][align={middle,lohi},width=2cm,offset=1ex]
\setupTABLE[column][first][width=4cm]
\setupTABLE[row][first][background=color,backgroundcolor=lightgray]
\stopsetups
\showframe
\starttext
settings with this ones:
\setupdirections[bidi=global, method=two]
\startsetups[note:linenote]
\setupdirections[bidi=global,method=two,fences=yes]
\stopsetups
\setupalign[r2l]
At least, they work for me.
Pablo
--
http://www.ousia.tk
elow:Hi Talal,replace you bidi settings with this ones:\setupdirections[bidi=global, method=two]\startsetups[note:linenote] \setupdirections[bidi=global,method=two,fences=yes]\stopsetups\setupalign[r2l]At least,
, correct ordering of the footnotes within the paragraph). But it
seems that the ‘paragraph’ option doesn’t play well with RTL generally,
resulting in the second note disappearing when using
\startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.
can you try
\unprotect
disappearing when using
\startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.
can you try
\unprotect
\unexpanded\def\leftorrightvbox{\ifconditional\displaylefttoright\expandafter\lefttorightvbox\else\expandafter\righttoleftvbox\fi}
\def\strc_notes_flush_global
{\begingroup
disappearing when using
\startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.
can you try
\unprotect
\unexpanded\def\leftorrightvbox{\ifconditional\displaylefttoright\expandafter\lefttorightvbox\else\expandafter\righttoleftvbox\fi}
\def\strc_notes_flush_global
{\begingroup
You’re right. The patch gets us half way to the desired behaviour (namely,
correct ordering of the footnotes within the paragraph). But it seems that the
‘paragraph’ option doesn’t play well with RTL generally, resulting in the
second note disappearing when using \startsetups[note:footnote
the following:
\startsetups[note:footnote]
\setupdirections[bidi=global]
\stopsetups
\setupnote[footnote][setups=note:footnote] % align=righttoleft
However, if one does this with your patch, the second footnote gets dropped.
Here is the MWE:
The second note disappears even without the patch
I’ve come across a snag. When using parentheses in Arabic footnotes, they are
flipped. In any earlier email
(http://article.gmane.org/gmane.comp.tex.context/91501/match=setupdirections+bidi+global),
you had advised adding the following:
\startsetups[note:footnote]
\setupdirections[bidi
that the
solution lies in using \startsetups…\stopsetups + \definestartstop.
However, despite many attempts, I haven't been able to concoct the
right set of macros within that to get it working.
I'd be grateful for any help that could be offered.
Many thanks, Talal
p.s. Hans: When using
Hello,
\pushbackground seems to be broken in the last beta - this doesn't compile (but
it did till now):
\defineheadalternative
[PartAlt]
[renderingsetup=set:PartPage]
\startsetups[set:PartPage]
\startmakeup[mu:PartPage]
\white
\headnumbercontent
\blank[2*big
\defineheadplacement[HeadA][vertical]#1#2%
{\startframedtext
#1\quad #2%
\stopframedtext}
\definehead[HeadA][section][alternative=HeadA]
% HeadB
\defineheadalternative[HeadB][renderingsetup=HeadB] % alternative=vertical
\startsetups[HeadB]
\startframedtext
\headnumbercontent
.
% HeadA
\defineheadplacement[HeadA][vertical]#1#2%
{\startframedtext
#1\quad #2%
\stopframedtext}
\definehead[HeadA][section][alternative=HeadA]
% HeadB
\defineheadalternative[HeadB][renderingsetup=HeadB] % alternative=vertical
\startsetups[HeadB]
\startframedtext
want an inline heading (e.g. \setuphead[...][alternative=text]).
% No headalternative here
\startsetups[partpage]
\startmakeup[part]
\headsetupspacing
\headnumbercontent
\blank[big]
\headtextcontent
\stopmakeup
\stopsetups
\definemakeup
[part]
[align
the \pushbackground and \popbackground command to limit the
background changes to a certain part of your document.
Could anyone help me to tune the \setuphead[part]?
\defineheadalternative
[partpage]
[renderingsetup=partpage]
\startsetups[partpage]
\startmakeup[part
simplify to:
% No headalternative here
\startsetups[partpage]
\startmakeup[part]
\headsetupspacing
\headnumbercontent
\blank[big]
\headtextcontent
\stopmakeup
\stopsetups
\definemakeup
[part]
[align=middle,
top=\vfill\vfill,
bottom=\vfill\vfill\vfill
]%
\grabbufferdata[variable][startvariable][stopvariable]}
\def\stopvariable
{\directsetup{variable:content}%
\endgroup}
\startsetups[variable:content]
\startlinealignment[middle]
\variablealias
\qquad
\variablename
\hfill
\variablerange
.
I replacing \subsection with \section gives the right page break:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
\stopsetups
gives the right page break:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
\stopsetups
\setupbodyfont[pagella, 12.6pt]
\starttext
:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
\stopsetups
\setupbodyfont[pagella, 12.6pt]
\starttext
\chapter{Quotes}
\section{Zapf
On 5/27/2015 10:38 PM, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
list,
I have the following sample:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
\stopsetups
\setupbodyfont[pagella, 12.6pt]
\starttext
Dear list,
I have the following sample:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=0
\stopsetups
\setupbodyfont[pagella, 12.6pt
for this because
its content is flushed before context resets the value and your whitespace
setting
is never used.
\definemakeup[abstractpage]
\startsetups[makeup:abstractpage]
\setupwhitespace[line]
\stopsetups
\setupmakeup[abstractpage][setups=makeup:abstractpage]
\setupwhitespace[line
,
after=\directsetup{libraryentries}]
\startsetups[libraryentries]
\determinelistcharacteristics[Library]
\ifnum\structurelistsize=0
\startframed[frame=off,width=\textwidth,height=\dimexpr\textheight-\strutdp\relax,align={middle,lohi
},
after=\directsetup{Library:after}]
\startsetups[Library:before]
\ifconditional\libraryentries
\page
\else
\settrue\libraryentries
\fi
\stopsetups
\startsetups[Library:after]
\startframed[frame=off,width=\textwidth
}]
\startsetups[Library:before]
\ifconditional\libraryentries
\page
\else
\settrue\libraryentries
\fi
\stopsetups
\startsetups[Library:after]
\startframed[frame=off,width=\textwidth,height=\dimexpr\textheight-\strutdp\relax,align={middle,lohi
.
%\setuphead[part][placehead=yes,after=\directsetup{chapterentries}]
\setuphead[part][placehead=empty,after=\directsetup{chapterentries}]
\startsetups[chapterentries]
\determinelistcharacteristics[chapter]
\ifcase\structurelistsize
No chapter in this part.
\or
One chapter in this part
use the list mechanism
for this) in each volume.
%\setuphead[part][placehead=yes,after=\directsetup{chapterentries}]
\setuphead[part][placehead=empty,after=\directsetup{chapterentries}]
\startsetups[chapterentries]
\determinelistcharacteristics[chapter]
\ifcase\structurelistsize
{chapterentries}]
\setuphead[part][placehead=empty,after=\directsetup{chapterentries}]
\startsetups[chapterentries]
\determinelistcharacteristics[chapter]
\ifcase\structurelistsize
No chapter in this part.
\or
One chapter in this part.
\else
Two or more chapters
=\directsetup{chapterentries}]
\startsetups[chapterentries]
\determinelistcharacteristics[chapter]
\ifcase\structurelistsize
No chapter in this part.
\or
One chapter in this part.
\else
Two or more chapters in this part.
\fi
\stopsetups
\starttext
\dorecurse{4}
{\startpart[title=Part
the bidi settings again for the footnotes because
the notes mechanism resets many of these setups.
\startsetups[note:footnote]
\setupdirections[bidi=global]
\stopsetups
\setupnote[footnote][setups=note:footnote] % align=righttoleft
Wolfgang
.
So in the text I get: (ب)
And in the footnote: )ب(.
You have to set the bidi settings again for the footnotes because
the notes mechanism resets many of these setups.
\startsetups[note:footnote]
\setupdirections[bidi=global]
\stopsetups
\setupnote[footnote][setups=note:footnote
put the layer settings in a setups environment and flush the content
when the page backgrounds are applied
with the setups key for \setupbackground.
\definelayer[letterhead][width=\paperwidth,height=\paperheight]
\startsetups[letterhead]
\ifnum\rawcountervalue[userpage]=1
Dear list,
I have the following sample:
\showgrid
\setupinteraction[option=max]
\setuppapersize[S6]
\setuppagenumbering[location=]
\setupbodyfont[100pt]
\setupwhitespace[big]
\startsetups[setups:slides]
\setupwhitespace[big]
\stopsetups
\setupmakeup
Am 18.04.2015 um 18:43 schrieb Pablo Rodriguez oi...@gmx.es:
Dear list,
I have the following sample:
\showgrid
\setupinteraction[option=max]
\setuppapersize[S6]
\setuppagenumbering[location=]
\setupbodyfont[100pt]
\setupwhitespace[big]
\startsetups
On 2015-03-25 10:23, Hans Hagen wrote:
\startsetups [document:titlepage]
bla bla \documentvariable{title} bla bla
\stopsetups
\setupdocument
[before=\directsetup{document:titlepage}]
\startdocument[title=Some title]
...
\stopdocument
Thanks.
Can one always use
On 3/27/2015 11:27 PM, Sam Ḥilluc wrote:
On 2015-03-25 10:23, Hans Hagen wrote:
\startsetups [document:titlepage]
bla bla \documentvariable{title} bla bla
\stopsetups
\setupdocument
[before=\directsetup{document:titlepage}]
\startdocument[title=Some title]
...
\stopdocument
Thanks
% prd.tex
\startproduct prd
\project prj
\starttext
Bla bla
\stoptext
\stopproduct
Note that when using \everystoptext rather than \everystarttext, it does work
(it adds the text to the last page)
So what am I doing wrong ?
\startsetups [document:titlepage]
bla bla
[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right
!
By the way, something like
\setupdelimitedtext[blockquote][indentnext=yes]
\startparagraph[indenting=no]
\input ward
\stopparagraph
would be a nice feature. Any chance?
\startsetups[paragraph:noindent]
\setupindenting[no]
\stopsetups
\defineparagraph[noindent][setups=paragraph:noindent
:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\startsetups[headertext]
\startframed[frame=off,align=flushleft,width=fit]
abc\\
def\\
ghi\\
jkl
\stopframed
\stopsetups
\setupheadertexts[\directsetup{headertext}]
\starttext
a bug indeed... I hope Hans is reading this -)
By the way, something like
\setupdelimitedtext[blockquote][indentnext=yes]
\startparagraph[indenting=no]
\input ward
\stopparagraph
would be a nice feature. Any chance?
\startsetups[paragraph:noindent]
\setupindenting[no]
\stopsetups
On Tue, 17 Mar 2015 15:04:32 -0600, Wolfgang Schuster
schuster.wolfg...@gmail.com wrote:
\startsetups[paragraph:noindent]
\setupindenting[no]
\stopsetups
\defineparagraph[noindent][setups=paragraph:noindent]
\setupindenting[yes,big]
\starttext
\startparagraph
\input ward
Thanks. I tried this
% Every chapter starts with a quote on the LHS page:
\setuphead
[chapter]
[page=,
before={\setups[chapter:before]},
after={\setups[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated
Am 16.03.2015 um 13:54 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
Hello,
how to create multiline header?
This code ignores all attempts to force a new line:
\setupheadertexts[{abc\par def\\ ghi\crlf jkl}]
\startsetups[headertext]
\startframed
doesn't work.
Hi Idris,
this does what you need:
\setupindenting[big,yes]
\startsetups[footnote:indenting]
\setupindenting[big,yes]
\stopsetups
\setupheads[indentnext=no]
\setupnote[footnote][setups=footnote:indenting]
\setupnotation[footnote][indenting=yes,next]
\starttext
\startsubject[title
[chapter:after]}]
\startsetups chapter:before
\page[left]
\noheaderandfooterlines
\startalignment[left,nothyphenated]
\startnarrower[4*left]
\em \getbuffer[chapter:quote]
\stopnarrower
\stopalignment
\resetsetups[quote:text]
\page[right
601 - 700 of 1475 matches
Mail list logo