Re: [NTG-context] Absolute position in table cell

2016-02-16 Thread Volker Mische
>> >>>> \starttext >>>> >>>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] >>>> \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}] >>>> >>>> >>>> >>>> \startsetup

Re: [NTG-context] Absolute position in table cell

2016-02-15 Thread Hans Hagen
ently have. \starttext \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}] \startsetups pagenumber \setlayerframed [pagenumber] [preset=rightbottom] {p} \stopsetups \bTABLE \

Re: [NTG-context] Absolute position in table cell

2016-02-15 Thread Volker Mische
t;> >> Here's the minimal example of what I currently have. >> >> \starttext >> >> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] >> \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}] >> >>

Re: [NTG-context] Absolute position in table cell

2016-02-15 Thread Hans Hagen
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

[NTG-context] Absolute position in table cell

2016-02-15 Thread Volker Mische
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 \

[NTG-context] Character rotation font feature available?

2016-02-14 Thread Zhichu Chen
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] [

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
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

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
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

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Wolfgang Schuster
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

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Wolfgang Schuster
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

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
> 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

Re: [NTG-context] which is the best/right element for elements in cover and title pages?

2016-01-26 Thread Wolfgang Schuster
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

Re: [NTG-context] Problem with \inouter and text justification

2016-01-22 Thread josephcanedo
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

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster
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

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
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

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-18 Thread Mohammad Hossein Bateni
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

[NTG-context] inter-word space in bibliographies

2015-12-17 Thread Alan Bowen
: 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

Re: [NTG-context] Problem with \inouter and text justification

2015-12-15 Thread josephcanedo
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

Re: [NTG-context] Problem with \inouter and text justification

2015-12-11 Thread Wolfgang Schuster
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

Re: [NTG-context] Problem with \inouter and text justification

2015-12-11 Thread josephcanedo
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

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
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

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
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

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Pablo Rodriguez
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

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
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

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Henning Hraban Ramm
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

Re: [NTG-context] horizontal spacing under special circumstances

2015-12-08 Thread Wolfgang Schuster
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

Re: [NTG-context] inverse indentation

2015-11-28 Thread Pablo Rodriguez
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

Re: [NTG-context] inverse indentation

2015-11-24 Thread Thomas A. Schmitz
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

[NTG-context] inverse indentation

2015-11-24 Thread Pablo Rodriguez
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

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread DesdeChaves
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 >

Re: [NTG-context] anchor points for \inmargin

2015-11-12 Thread Wolfgang Schuster
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

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
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

Re: [NTG-context] markings and syncing

2015-10-22 Thread Thomas A. Schmitz
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

[NTG-context] markings and syncing

2015-10-22 Thread Thomas A. Schmitz
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

Re: [NTG-context] markings and syncing

2015-10-22 Thread Wolfgang Schuster
[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

Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
= "Duane Bibby", year= 2014, } \stopbuffer \definebtxdataset [duane] \usebtxdataset [duane] [duane.buffer] \usebtxdefinitions [duane] \definebtxrendering [duane] [dataset=duane, method=local, ] \setupbtxlist [du

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
h >> a recent context version): >> >> ~~~~~~~~ >> >> starttext >> >> startsetups[s:footer] > insidesplitfloatfalse > >> startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] >> startxrow >> start

[NTG-context] custom :cite setups with new bibliography system

2015-10-06 Thread Eidenbenz Michael
author = "Duane Bibby", year= 2012, } \stopbuffer \definebtxdataset [duane] \usebtxdataset [duane] [duane.buffer] \usebtxdefinitions [duane] \definebtxrendering [duane] [dataset=duane, method=dataset, ] %method=local only works

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
\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

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Wolfgang Schuster
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:

Re: [NTG-context] Setups for images in publication framework

2015-10-05 Thread Eidenbenz Michael
> \definebtxdataset > [duane] > > % That we will fill with some records: > > \usebtxdataset > [duane] > [duane.buffer] > > % And a rendering: > > \definebtxrendering > [duane] > [dataset=duane, > method=dataset, > specification=duane] >

[NTG-context] Setups for images in publication framework

2015-10-03 Thread Eidenbenz Michael
\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

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
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

[NTG-context] New beta

2015-09-02 Thread Fabrice Couvreur
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

[NTG-context] New beta

2015-09-02 Thread Fabrice Couvreur
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

Re: [NTG-context] \setupwhitespace and Natural Table paragraphs

2015-08-18 Thread Wolfgang Schuster
. \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

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread tala...@fastmail.fm
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

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread Hans Hagen
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

[NTG-context] Can \getmarking take more than one argument?

2015-08-08 Thread tala...@fastmail.fm
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

[NTG-context] local environment?

2015-08-04 Thread tala...@fastmail.fm
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

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-03 Thread tala...@fastmail.fm
=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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-03 Thread tala...@fastmail.fm
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

[NTG-context] Floating dimensions that adapts automaticall

2015-08-03 Thread Fabrice Couvreur
] \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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread Pablo Rodriguez
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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-02 Thread tala...@fastmail.fm
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,

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-08-01 Thread tala...@fastmail.fm
, 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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-31 Thread Hans Hagen
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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-31 Thread tala...@fastmail.fm
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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Wolfgang Schuster
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

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
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

Re: [NTG-context] Critical editions with ConTeXt

2015-07-22 Thread Talal
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

Re: [NTG-context] new beta - \pushbackground broken

2015-07-11 Thread Lukáš Procházka
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

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\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

Re: [NTG-context] \setuphead[part] - special look

2015-06-23 Thread Wolfgang Schuster
. % 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

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
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

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
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

Re: [NTG-context] How to define a new environment / function?

2015-06-20 Thread Wolfgang Schuster
]% \grabbufferdata[variable][startvariable][stopvariable]} \def\stopvariable {\directsetup{variable:content}% \endgroup} \startsetups[variable:content] \startlinealignment[middle] \variablealias \qquad \variablename \hfill \variablerange

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
. 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

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Hans Hagen
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

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Pablo Rodriguez
: \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

Re: [NTG-context] bug in latest beta?

2015-05-28 Thread Hans Hagen
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

Re: [NTG-context] bug in latest beta?

2015-05-28 Thread Otared Kavian
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

[NTG-context] bug in latest beta?

2015-05-27 Thread Pablo Rodriguez
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

Re: [NTG-context] Force to display page number on the `makeup' page

2015-05-24 Thread Wolfgang Schuster
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

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
, after=\directsetup{libraryentries}] \startsetups[libraryentries] \determinelistcharacteristics[Library] \ifnum\structurelistsize=0 \startframed[frame=off,width=\textwidth,height=\dimexpr\textheight-\strutdp\relax,align={middle,lohi

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Kate F
}, after=\directsetup{Library:after}] \startsetups[Library:before] \ifconditional\libraryentries \page \else \settrue\libraryentries \fi \stopsetups \startsetups[Library:after] \startframed[frame=off,width=\textwidth

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
}] \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

Re: [NTG-context] Preventing double title pages for nested content

2015-05-20 Thread Wolfgang Schuster
. %\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

Re: [NTG-context] Preventing double title pages for nested content

2015-05-20 Thread Kate F
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

Re: [NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Kate F
{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

Re: [NTG-context] Preventing double title pages for nested content

2015-05-19 Thread Wolfgang Schuster
=\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

Re: [NTG-context] parenthesis in Arabic text

2015-05-17 Thread Wolfgang Schuster
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

Re: [NTG-context] parenthesis in Arabic text

2015-05-17 Thread Sam Ḥilluc
. 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

Re: [NTG-context] Letterhead Usage

2015-05-01 Thread Wolfgang Schuster
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

[NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
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

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Wolfgang Schuster
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

Re: [NTG-context] \appendtoks and structuring commands

2015-03-27 Thread Sam Ḥilluc
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

Re: [NTG-context] \appendtoks and structuring commands

2015-03-27 Thread Hans Hagen
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

Re: [NTG-context] \appendtoks and structuring commands

2015-03-25 Thread Hans Hagen
% 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

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-20 Thread Gerben Wierda
[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

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Wolfgang Schuster
! 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

Re: [NTG-context] Multiline header

2015-03-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
: \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

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
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

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
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

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-16 Thread Gerben Wierda
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

Re: [NTG-context] Multiline header

2015-03-16 Thread Wolfgang Schuster
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

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
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

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
[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

<    2   3   4   5   6   7   8   9   10   11   >