ge may things all over
the place.
Now I learn from the ConTeXtgarden that startMPenvironment is deprecated and
that I should use defineMPinstance and setupMPinstance instead.
Thus I tried
\defineMPinstance[mp:local][metafun][setups=mp:smallfont,textcolor=red]
\startsetups mp:smallfont
\switchtobo
Lukáš Procházka <mailto:l...@pontex.cz>
3. April 2016 um 22:02
Hello,
is there a (Lua) way how to get the current section level?
\startsetups[headinformation]
\starttabulate
\NC Name \EQ \currenthead \NC\NR
\NC Level \EQ \currentheadlevel \NC\NR
\stoptabulate
\stop
startMPenvironment is deprecated and
that I should use defineMPinstance and setupMPinstance instead.
Thus I tried
\defineMPinstance[mp:local][metafun][setups=mp:smallfont,textcolor=red]
\startsetups mp:smallfont
\switchtobodyfont[small]
\stopsetups
\startMPpage and also \startMPpage[mp:local
use defineMPinstance and setupMPinstance instead.
Thus I tried
\defineMPinstance[mp:local][metafun][setups=mp:smallfont,textcolor=red]
\startsetups mp:smallfont
\switchtobodyfont[small]
\stopsetups
\startMPpage and also \startMPpage[mp:local]
% metafont code
\stopMPpage
\stoptext
\endinput
have a minimal sample that shows the issue:
\showframe\showgrid
\setuppapersize[A5]
\setuplayout[setups=*lessstrict, topspace=4.5cm, height=middle]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty
\setuplayout[setups=*lessstrict, topspace=4.5cm, height=middle]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=1
\stopsetups
\starttext
\dorecurse{5}{\input quevedo-es\par}
\page
\dorecurs
On 03/06/2016 07:35 PM, Wolfgang Schuster wrote:
>> Pablo Rodriguez 6. März 2016 um 17:12
>> [...]
>> How can I have differet setups for blockquotes in footnotes?
>
> \startsetups[note:blockquote]
>
> \setupdelimitedtext
> [blockquote]
> [b
s text.
\startblockquote
This is a quote\footnote{This is a footnote.
\startblockquote This is another quote.\stopblockquote}
\stopblockquote
\stoptext
How can I have differet setups for blockquotes in footnotes?
\startsetups[note:blockquote]
\setupdelimitedtext
[blockquote]
[before={
tate=start]
\startsetups[myTEXpagesetup]
\setupwhitespace[line]
\setuptolerance[space]
\stopsetups
\setupfittingpage[TEXpage]
[command=\texsetup{myTEXpagesetup},
height=fit,
width=210mm,
offset=10mm]
\starttext
\startTEXpage
\startsection[title={My Section}]
\placecontent
\s
genumber+1]. Here is
my document:
***
\setupinteraction[state=start]
\startsetups[myTEXpagesetup]
\setupwhitespace[line]
\setuptolerance[space]
\stopsetups
\setupfittingpage[TEXpage]
[command=\texsetup{myTEXpagesetup},
height=fit,
width=210mm,
offset=10mm]
\starttext
\st
On 3/3/2016 11:45 PM, Alan BRASLAU wrote:
On Thu, 3 Mar 2016 22:42:22 +0100
Hans Hagen wrote:
\startsetups chapter:footer
{\goto{\CONTEXT\
garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups
\definetext
[chapterfooter]
[footer]
[\setups{chapter:footer}]
Thanks
On Thu, 3 Mar 2016 22:42:22 +0100
Hans Hagen wrote:
> \startsetups chapter:footer
> {\goto{\CONTEXT\
> garden}[url(http://http://wiki.contextgarden.net)]} \stopsetups
>
> \definetext
>[chapterfooter]
>[footer]
>[\setups{chapter:footer}]
Thanks,
I
://wiki.contextgarden.net)]}]
\setuphead [chapter]
[footer=chapterfooter]
\starttext
\startchapter [title=A chapter]
\input knuth
\stopchapter
\stoptext
(partly-)MWE
\startsetups chapter:footer
{\goto{\CONTEXT\ garden}[url(http://http://wiki.contextgarden.net)]}
\stopsetups
\definetext
Thanks for the reply. \thispage is producing no output in all the places it is
being invoked
Aidan
> On 24 Feb 2016, at 15:35, ntg-context-requ...@ntg.nl wrote:
>
> startsetups[referenceformat:thispage]
>\doifelse{\filterreference{page}}{\rawcountervalue[userpage]}
>
Thanks for the reply. \thispage is producing no output in all the places it is
being invoked
Aidan
> On 24 Feb 2016, at 15:35, ntg-context-requ...@ntg.nl wrote:
>
> startsetups[referenceformat:thispage]
> \doifelse{\filterreference{page}}{\rawcountervalue[userpage]}
>
I get is with
\doifelse{\at[ref2]}{\at[ref2]}…. which is pretty useless
Presumably I’m doing something stupid. Or do i have to go for a much
lower level approach
\startsetups[referenceformat:thispage]
\doifelse{\filterreference{page}}{\rawcountervalue[userpage]}
{
thing changed I missed?
Hans van der Meer
The error occurs in this code, my suspect is the cases macro.
\starttext
\startsetups[dif-1]
$\displaystyle
\Delta_{in} = 1000_2 \cases{(A,2)(2,A)&\cr (6,E)(E,6)&\cr}
\buildrel S_1 \over \rightarrow \quad
\Delta_{uit} = 1011_2 \cases{(6,D)(D,6)&\
s van der Meer
The error occurs in this code, my suspect is the cases macro.
\starttext
\startsetups[dif-1]
$\displaystyle
\Delta_{in} = 1000_2 \cases{(A,2)(2,A)&\cr (6,E)(E,6)&\cr}
\buildrel S_1 \over \rightarrow \quad
\Delta_{uit} = 1011_2 \cases{(6,D)(D,6)&\cr (B,0)(0,B)&a
lso tried it the `\placeannotationcontent` way, but there I get the
>>>> same error. Here's the full example:
>>>>
>>>> \starttext
>>>>
>>>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
>>>> \de
on. I've
also tried it the `\placeannotationcontent` way, but there I get the
same error. Here's the full example:
\starttext
\definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
\defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
#x27;t if I use the contents of the annotation. I've
>> also tried it the `\placeannotationcontent` way, but there I get the
>> same error. Here's the full example:
>>
>> \starttext
>>
>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
#x27;s the full example:
\starttext
\definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
\defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
\setlayerframed
[pagenumber]
[preset=rightbottom]
{\getvariable{table}{p}}
\stopsetups
\define[2]\Pa
have.
>>>>
>>>> \starttext
>>>>
>>>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
>>>> \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
>>>>
>>>>
>>>>
>>>&
of what I currently have.
\starttext
\definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
\defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
\startsetups pagenumber
\setlayerframed
[pagenumber]
[preset=rightbottom]
{p}
\stopsetups
utcome.
>>
>> Here's the minimal example of what I currently have.
>>
>> \starttext
>>
>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight]
>> \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}]
&
dth,height=\overlayheight]
\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
[{\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 some cell \par with even \par m
ngsong Std]
[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 G
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
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
ge:
> 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
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
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
setting.
>
> 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=
d this 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[
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
: 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
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
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
nd 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,st
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 use her
r 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
>plus .5
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
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
r={\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 space.
>
> \startsetup
t 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
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,location=outer]
>
> \definelayer[infolayer][width=\framedwidth,height=\framedheight]
>
> \startsetups[infolayer:place]
>
> \setlayer[infolayer][preset=middleright]{\rotate{\getvariable{infotext}{points}}}
> \stopsetups
>
>
> \defineframed[infobox][frame=off,wid
as background 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]
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}]
\s
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
inemarking [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] {On
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
nce",
author = "Duane Bibby",
year= 2014,
}
\stopbuffer
\definebtxdataset
[duane]
\usebtxdataset
[duane]
[duane.buffer]
\usebtxdefinitions
[duane]
\definebtxrendering
[duane]
[dataset=duane,
method=local,
]
\setup
duane,
method=dataset,
]
%method=local only works with beta, but then \btxfield in :cite:image (not in
:list:image) is broken
\setupbtxlist
[duane]
[number=no]
\startsetups btx:duane:cite:image
\placefigure[left]{\btxfield{description}}{\externalfigure[\btxfield{url_image}][width=1
h
>> a recent context version):
>>
>> ~~~~~~~~
>>
>> starttext
>>
>> startsetups[s:footer]
> insidesplitfloatfalse
>
>> startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch]
>> startxrow
>> start
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:
\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
se a dedicated dataset:
>
> \definebtxdataset
> [duane]
>
> % That we will fill with some records:
>
> \usebtxdataset
> [duane]
> [duane.buffer]
>
> % And a rendering:
>
> \definebtxrendering
> [duane]
> [dataset=duane,
> method=dataset,
cated dataset:
\definebtxdataset
[duane]
% That we will fill with some records:
\usebtxdataset
[duane]
[duane.buffer]
% And a rendering:
\definebtxrendering
[duane]
[dataset=duane,
method=dataset,
specification=duane]
% We also set up the associated list (a description):
\setupbtxl
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
e cell.
\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:whit
fine my even and odd page headers.
>>
>> —
>> \startsetups[header]
>> {\doifoddpageelse
>> {\getmarking[section]}
>> {\getmarking[chapter]}
>> }
>> \doiftextelse
>> {\getmarking[chapter]}
>> \stopsetups
>> —
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
—
The
produced, where the first part—ComponentA—uses
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
\comp
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
# Environ
align=righttoleft,
alternative=serried,
width=broad,
distance=.5em,
display=no,
numberconversion=arabicdecimals,
headstyle=\lefttoright,
]
\startsetups[note:footnote]
\setupdirections[bidi=on,method=two,fences=no]
\stopsetups
\starts
mmented 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 IN
]
\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
tex) below: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
ttachment (linenotes r2l 3,tex)
> below:
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 le
f 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
>>> \startsetu
> resulting in the second note disappearing when using
>> \startsetups[note:footnote] \setupdirections[bidi=global] \stopsetups.
>
> can you try
>
> \unprotect
>
> \unexpanded\def\leftorrightvbox{\ifconditional\displaylefttoright\expandafter\lefttorightvbox\else\expandaf
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
ng 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
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]
> \setupdirection
omment
like was done in EX1 in such a stopstart block. I assume 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
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[
different head alternatives where you set the differences with the
\defineheadalternative command.
% HeadA
\defineheadplacement[HeadA][vertical]#1#2%
{\startframedtext
#1\quad #2%
\stopframedtext}
\definehead[HeadA][section][alternative=HeadA]
% HeadB
\defineheadaltern
the
\defineheadalternative command.
% 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]
and the
\defineheadplacement has also a alternative key which is needed when you
want an inline heading (e.g. \setuphead[...][alternative=text]).
% No headalternative here
\startsetups[partpage]
\startmakeup[part]
\headsetupspacing
\headnumbercontent
\blank[big]
ion "\setuphead[part][renderingsetup=partpage]" we could
simplify to:
% No headalternative here
\startsetups[partpage]
\startmakeup[part]
\headsetupspacing
\headnumbercontent
\blank[big]
\headtextcontent
\stopmakeup
\stopsetups
\definemakeup
[par
ound=]},", no page is blue).
You can use 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=partp
,range=,reference=,#1]%
\grabbufferdata[variable][startvariable][stopvariable]}
\def\stopvariable
{\directsetup{variable:content}%
\endgroup}
\startsetups[variable:content]
\startlinealignment[middle]
\variablealias
\qquad
\variablename
\hfill
enation?
>>
>> Many thanks for your reply, Hans.
>>
>> Hyphenation is the same in both documents.
>>
>>> btw, brokenpenalty 1 gives a different result
>>
>> Page break is wrong when any of the three values (brokenpenalty,
>> widowpenalty or
h \section 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]
lty or clubpenalty) is 0 or above .
I replacing \subsection with \section gives the right page break:
\showframe\showgrid
\setuplayout[setups=*lessstrict]
\startsetups[*lessstrict]
\setup[reset]
\widowpenalty=1
\clubpenalty=1
\brokenpenalty=
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
t,
>
> I have the following sample:
>
>\showframe\showgrid
>\setuplayout[setups=*lessstrict]
>\startsetups[*lessstrict]
>\setup[reset]
>\widowpenalty=1
>\clubpenalty=1
>\brokenpenalty=0
>\stopsetups
>\s
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
The makeup environment resets the global indentation and whitespace settings.
To apply your own setups for the makeup environment you can put them in a setups
environment and enable them. The commands key can’t be used for this because
its content is flushed before context resets the value and yo
g nearly the same example for another time but it still
>>> does what you asked for.
>>>
>>>
>>> But it doesn't...
>>>
>>> You have a page for Volume 3 (which is made blank due to your
>>> \ifnum\structurelistsize=0):
>>>
>>
601 - 700 of 1540 matches
Mail list logo