Re: [NTG-context] filling page to bottom

2019-05-15 Thread Wolfgang Schuster
]   \directsetup{*reset}   \nopenalties \stopsetups \showgrid \starttext \dorecurse{10}{\samplefile{knuth}} \page \setuplayout[setups=hvdm] \dorecurse{10}{\samplefile{knuth}} \stoptext Wolfgang ___ If your

Re: [NTG-context] issue with page numbering

2019-05-08 Thread Pablo Rodriguez
hapter:after] >   \page >   \resetsubpagenumber > \stopsetups > > \setuphead >   [chapter] >   [aftersection=\directsetup{chapter:after}] Many thanks for your fast reply, Wolfgang. It works perfectly fine. It doesn’t work in my real document, but it took me a while to realize that

Re: [NTG-context] issue with page numbering

2019-05-08 Thread Wolfgang Schuster
at the end of each chapter. \startsetups [chapter:after]   \page   \resetsubpagenumber \stopsetups \setuphead   [chapter]   [aftersection=\directsetup{chapter:after}] Wolfgang ___ If your question is of interest to others

Re: [NTG-context] endnotes customizing how?

2019-04-09 Thread Rik Kabel
[setups:endnotes] \setupwhitespace[0pt] \stopsetups % textstyle influences endnotemarker in the text. \setupnote[endnote][textcommand=\hifnmarker,before=\directsetup{setups:endnotes}] (4)\setupnotes[endnote][bodyfont=italic] Where (3) made a difference in linespacing, nothing else does. How can one

Re: [NTG-context] endnotes customizing how?

2019-04-09 Thread Wolfgang Schuster
) \startsetups[setups:endnotes] \setupwhitespace[0pt] \stopsetups % textstyle influences endnotemarker in the text. \setupnote[endnote][textcommand=\hifnmarker,before=\directsetup{setups:endnotes}] \setupnote [endnote] [setups=setups:endnotes] (4)\setupnotes[endnote][bodyfont=italic] Where (3) made

[NTG-context] endnotes customizing how?

2019-04-09 Thread Hans van der Meer
] \stopsetups % textstyle influences endnotemarker in the text. \setupnote[endnote][textcommand=\hifnmarker,before=\directsetup{setups:endnotes}] (4) \setupnotes[endnote][bodyfont=italic] Where (3) made a difference in linespacing, nothing else does. How can one determine the text characteristics

Re: [NTG-context] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
pulate the page number. However I > get an error: > > > MWE: > > \setuppapersize [A6] [A6] > > \setuppagenumbering[location=none] > > \startsetups [Pagenumber] > \doifrightpageelse >{\cldcontext{"\letterpercent d",(\pagenumber+1)/2}} >

[NTG-context] Troubles with the \cldcontext command

2019-04-02 Thread Willi Egger
stopsetups \setupfootertexts [\directsetup{Pagenumber}] \setupbodyfont [pagella,9pt] \starttext \startstandardmakeup Hello world! \stopstandardmakeup \dorecurse{3}{TEST\page} \stoptext Error: \cldcontext #1->\directlua {context(#1)} \ignorecrlf

Re: [NTG-context] A strange request...

2019-02-20 Thread Wolfgang Schuster
[pagenumber] \doifoddpageelse {\cldcontext{"\letterpercent d",(\pagenumber+1)/2}} {} \stopsetups \setupheadertexts [\directsetup{pagenumber}] \starttext \dorecurse{10}{\samplefile{knuth}} \stoptext Variant 2: \defineexpandable[1]\DwarsliggerNumber {\cldcontext{"\

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Otared Kavian
\stopframed > > }] > > [{ > > \startframed [headerframed] > > [align=flushright,foregroundstyle=\ssx] > >Lycée LA SALLE\\ > > > > \date[d=\getvariable{headertext}{day},m=\getvariable{headertext}{month

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Fabrice Couvreur
t; }] > > [{ > > \startframed [headerframed] > [align=flushright,foregroundstyle=\ssx] > >Lycée LA SALLE\\ > > > > \date[d=\getvariable{headertext}{day},m=\getvariable{headertext}{month},y=\getvariable{headertext}{year}] > > \stopframed >

Re: [NTG-context] Macro for a header does not work as well

2019-02-18 Thread Otared Kavian
> \date[d=\getvariable{headertext}{day},m=\getvariable{headertext}{month},y=\getvariable{headertext}{year}] > \stopframed > }] > > \stopsetups > > > \setvariable{headertext}{set}{\directsetup{headertext}} > \setvariables > [headertext] > [title={Devoir

[NTG-context] Macro for a header does not work as well

2019-02-18 Thread Fabrice Couvreur
}] [{ \startframed [headerframed] [align=flushright,foregroundstyle=\ssx] Lycée LA SALLE\\ \date[d=\getvariable{headertext}{day},m=\getvariable{headertext}{month},y=\getvariable{headertext}{year}] \stopframed }] \stopsetups \setvariable{headertext}{set}{\directsetup

Re: [NTG-context] Issue with the latest beta of context standalone

2019-02-04 Thread Fabrice Couvreur
headertext}{set}{\directsetup{headertext}} \setvariables [headertext] [title={Interrogation écrite}, number={6}, day={4}, month={02}, year={2019}, location={Seconde GTE}, time={55 minutes}] \starttext \input Knuth \stoptext Le dim. 27 janv. 2019 à 17:54, Ota

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Hans Hagen
LA SALLE\\ \date[d=\getvariable{headertext}{day},m=\getvariable{headertext}{month},y=\getvariable{headertext}{year}]     \stopframed     }]   \stopsetups   \setvariable{headertext}{set}{\directsetup{headertext}}   \setvariables   [headertext]   [title

Re: [NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Otared Kavian
ée LA SALLE\\ > > \date[d=\getvariable{headertext}{day},m=\getvariable{headertext}{month},y=\getvariable{headertext}{year}] > \stopframed > }] > > \stopsetups > > \setvariable{headertext}{set}{\directsetup{headertext}} > > \setvar

[NTG-context] Issue with the latest beta of context standalone

2019-01-27 Thread Fabrice Couvreur
}{\directsetup{headertext}} \setvariables [headertext] [title={Interrogation écrite}, number={6}, day={29}, month={01}, year={2019}, location={Seconde GTE}, time={55 minutes}] \starttext \input Knuth \stoptext

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Ursula Hermann
> \startsetups [chapter:before] > \doifoddpageelse > {} > {\pushbackground[page] > \setupbackgrounds[page][background=color,backgroundcolor=gray] > \page[right] > \popbackground} > \stopsetups > > \setuphead > [chapter] > [page=yes, >before=\

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Otared Kavian
> > \startsetups [chapter:before] > \doifoddpageelse > {} > {\pushbackground[page] > \setupbackgrounds[page][background=color,backgroundcolor=gray] > \page[right] > \popbackground} > \stopsetups > > \setuphead > [chapter] > [page=

[NTG-context] Changes \setuphead

2019-01-21 Thread Ursula Hermann
] \doifoddpageelse {} {\pushbackground[page] \setupbackgrounds[page][background=color,backgroundcolor=gray] \page[right] \popbackground} \stopsetups \setuphead [chapter] [page=yes, before=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth}] \dorecurse{2

Re: [NTG-context] How to adjust inter item vertical space

2019-01-16 Thread Otared Kavian
Hi, You can define your own white space and then attribute it to each item, as in the following: \setupwhitespace[big] \startsetups[mywhitespace] \setupwhitespace[small] \setupblank[small] \stopsetups \setupitemize[each][inner=\directsetup{mywhitespace}] \starttext \input knuth

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Hans Hagen
ackground=color,backgroundcolor=black]  \page[empty,right]  \popbackground} \stopsetups \setuphead   [chapter]   [page=yes,    before=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth}] \dorecurse{10}{\samplefile{knuth}} \stopchapter \startchapter[title={Zapf}] \dorecurse{1

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
color to a named color, placing an image >>>>>> or some graphics on the page. >>>>>> >>>>>> Is there a way to define such a page, name it and call it in >>>>>> \startchapter so that it is placed on the left side. >>>&

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Hans Hagen
ng [alternative=doublesided] \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page] \setupbackgrounds[page][background=color,backgroundcolor=black] \page[empty,right] \popbackground} \stopsetups \setuphead [chapter] [page=yes, befo

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
an change the background color > of a empty page before the chapter title. > > \setuppagenumbering > [alternative=doublesided] > > \startsetups [chapter:before] > \doifoddpageelse > {} > {\pushbackground[page] > \setupbackgrounds[page][background=

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-14 Thread Wolfgang Schuster
]   \doifoddpageelse     {}     {\pushbackground[page] \setupbackgrounds[page][background=color,backgroundcolor=black] \page[empty,right] \popbackground} \stopsetups \setuphead   [chapter]   [page=yes,    before=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Jan U. Hasecke
>   \doifoddpageelse >     {} >     {\pushbackground[page] > \setupbackgrounds[page][background=color,backgroundcolor=black] > \page[empty,right] > \popbackground} > \stopsetups > > \setuphead >   [chapter] >   [page=yes, >    before=\directsetup{chapter:before}] >

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-13 Thread Wolfgang Schuster
] \setupbackgrounds[page][background=color,backgroundcolor=black] \page[empty,right] \popbackground} \stopsetups \setuphead   [chapter]   [page=yes,    before=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth}] \dorecurse{10}{\samplefile{knuth}} \stopchapter

Re: [NTG-context] whitespace inside a description

2018-12-01 Thread Wolfgang Schuster
}, inbetween={\directsetup[small:whitespace]}] \starttext \input knuth \startdescription{Knuth} \input knuth \stopdescription \stoptext How can I get a different whitespace inside the description? \setupdescription [description] [style={\setupwhitespace[small

[NTG-context] whitespace inside a description

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupwhitespace[big] \startsetups[small:whitespace] \setupwhitespace[small] \stopsetups \definedescription [description] [setups={small:whitespace}, inbetween={\directsetup[small:whitespace

Re: [NTG-context] Disable overlay on chapter pages

2017-08-04 Thread Mikael P. Sundqvist
> on chapter pages? > > one of the many ways ... > > \definelayer > [chapter] > [width=\paperwidth, >height=\paperheight] > > \defineoverlay > [pagebackground] > [\directsetup{pagebackground}] > > \setupbackgrounds > [page] > [background=pageb

Re: [NTG-context] Disable overlay on chapter pages

2017-08-04 Thread Hans Hagen
=\paperheight] \defineoverlay [pagebackground] [\directsetup{pagebackground}] \setupbackgrounds [page] [background=pagebackground] \startsetups pagebackground \doifelsemode {chapterpage} { \setlayer [chapter] [preset=middle] {\scale[width=\textwidth

Re: [NTG-context] whitespace between endnotes

2017-07-14 Thread Meer, Hans van der
\startsetups[setups:endnotes] >\setupwhitespace[5em] >\stopsetups > >\setupnote >[endnote] >[before=\directsetup{setups:endnotes}] > >\starttext >\dorecurse{5}{\input zapf\endnote{\input knuth}} >\place

Re: [NTG-context] whitespace between endnotes

2017-07-14 Thread Pablo Rodriguez
n \setupnote, \setupnotation > or one of its friends perhaps? Hans, I guess this is what you need: \startsetups[setups:endnotes] \setupwhitespace[5em] \stopsetups \setupnote [endnote] [before=\directsetup{setups:endnotes}] \starttext \dorecurse{5}{\inp

[NTG-context] hunting a lua stack error

2017-03-13 Thread Alan Bowen
ext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] %\setupinteract

[NTG-context] list items not broken in lines

2017-03-06 Thread Pablo Rodriguez
] [alternative=d, pagenumber=no, headnumber=no, style=\itx, criterium=local] \par \stopalign \stopsetups \setuplist[chapter][after=\directsetup{placelist:section}] \starttext \placelist[chapter] \dorecurse{4}{\chapter{Chapter} \dorecurse{20}{\section{Section

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Alan Bowen
f\startbibitem{\dosingleempty\dostartbibitem} >> \def\stopbibitem{\stopBibItem} >> >> \definedescription[BibItem][ >> width=broad, >> margin=1.5pc, >> indenting={no}, >> indentnext=no

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Hans Hagen
c, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferencefo

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
t;>> >>> \def\dostartbibitem[#1]{\startBibItem[title={#1},reference={#1}]} >>> \def\startbibitem{\dosingleempty\dostartbibitem} >>> \def\stopbibitem{\stopBibItem} >>> >>> \definedescription[BibItem][ >>> width=broad, >>> margin=1.5pc, &

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
artbibitem} >> \def\stopbibitem{\stopBibItem} >> >> \definedescription[BibItem][ >> width=broad, >> margin=1.5pc, >> indenting={no}, >> indentnext=no, >> alternative=hanging, >> hang=1, >> headcommand=\gobbleoneargument, >> align=rig

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Hans Hagen
={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \definereferenceformat [cite] [type=title,left={},right={}] \definereferenceformat [bibpage] [type=page] \starttext \startbibitem[A, B, and C]\stopbibitem % TEST by commenting these %\startbibitem[A{,} B{,} and C]\stopbibitem

Re: [NTG-context] new lua/stack error

2017-02-22 Thread Alan Bowen
}]} \def\startbibitem{\dosingleempty\dostartbibitem} \def\stopbibitem{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed

Re: [NTG-context] question about \startitemize...\stopitemize (again)

2016-11-29 Thread Pablo Rodriguez
gt;> >> \setupwhitespace[5em] >> \startsetups[smallwspa] >> \setupwhitespace[small] >> \setupblank[small] >> \stopsetups >> \setupitemize[each][indenting=no, setups=smallwspa] > > \setupitemize[each][indenting=no,inner=\directsetup{smallwspa}] Wolfgang

Re: [NTG-context] question about \startitemize...\stopitemize (again)

2016-11-29 Thread Wolfgang Schuster
[small] \stopsetups \setupitemize[each][indenting=no, setups=smallwspa] \setupitemize[each][indenting=no,inner=\directsetup{smallwspa}] Wolfgang ___ If your question is of interest to others as well, please add an

Re: [NTG-context] bug in \directsetup?

2016-11-17 Thread Pablo Rodriguez
On 11/17/2016 09:29 PM, Hans Hagen wrote: > On 11/17/2016 8:53 PM, Pablo Rodriguez wrote: >> [...] >> I need the \directsetup to be able to set up a different interline space >> in the section list from TOC. I’m using latest beta from 2016.11.17 14:19. >> >> Ther

Re: [NTG-context] bug in \directsetup?

2016-11-17 Thread Hans Hagen
[line=2.8ex] \placelist [section] [alternative=d, numbersegments=section, pagenumber=no, style=\itx] \par \stop \stopsetups \setuplist [chapter] [before={\blank[medium]}, after=\directsetup

[NTG-context] bug in \directsetup?

2016-11-17 Thread Pablo Rodriguez
[section] [alternative=d, numbersegments=section, pagenumber=no, style=\itx] \par \stop \stopsetups \setuplist [chapter] [before={\blank[medium]}, after=\directsetup{placesect}] \starttext \placelist[chapter

[NTG-context] interline space for \setuplist[alternative=d]

2016-11-02 Thread Pablo Rodriguez
, pagenumber=no, style=\itx] \par \stop \stopsetups \setuplist [chapter] [before={\blank[medium]}, after=\directsetup{plsect}] \starttext \placelist[chapter] \dorecurse{5}{\chapter{Knuth}\input knuth \dorecurse{8}{\section{Zapf

Re: [NTG-context] annotated text: main text in narrower text, annotations on the right

2016-09-30 Thread Jean-Pierre Delange
et de la grâce fondés en raison,} 1714. \stopTwoThird \stoptext Another solution is : \defineparagraphs[TwoColumns][n=2,align=verytolerant] \startsetups[TwoColumns] \setupinterlinespace[line=5ex] \stopsetups \setupparagraphs[TwoColumns:2][inner=\directsetup{TwoColumns}] \starttext \input tufte

Re: [NTG-context] bug in widows and orphans prevention?

2016-08-23 Thread Pablo Rodriguez
I missing something? > > You can use the \setpenalties command which gives you more options. > > \startsetups[orphanwidow] > \directsetup{*reset} > \setpenalties \widowpenalties{1}{1} > \setpenalties \clubpenalties {1}{1} > \brokenpenalty\plusone > \stop

Re: [NTG-context] bug in widows and orphans prevention?

2016-08-23 Thread Wolfgang Schuster
u more options. \startsetups[orphanwidow] \directsetup{*reset} \setpenalties \widowpenalties{1}{1} \setpenalties \clubpenalties {1}{1} \brokenpenalty\plusone \stopsetups Wolfgang ___ If your qu

Re: [NTG-context] Strange problem with Blockquote

2016-08-17 Thread Pablo Rodriguez
\startsetups[interlinear:general] \setupinterlinespace[line=5ex] \stopsetups \setupdelimitedtext [blockquote] [before={\directsetup{interlinear:general}}] \startsectionblockenvironment[frontpart] \setupdelimitedtext [blockquote] [befor

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-13 Thread Jean-Pierre Delange
5ex] \stopsetups \setupparagraphs[TwoColumns:2][inner=\directsetup{TwoColumns}] \starttext \startTwoColumns \input knuth \TwoColumns \input tufte \stopTwoColumns \stoptext Wolfgang ___ If your question is of interest to others

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-13 Thread Wolfgang Schuster
th the inner key: \defineparagraphs[TwoColumns][n=2,align=verytolerant] \startsetups[TwoColumns] \setupinterlinespace[line=5ex] \stopsetups \setupparagraphs[TwoColumns:2][inner=\directsetup{TwoColumns}] \starttext \startTwoColumns \input knuth \TwoColumns \input tufte \stopTwoColumns \st

Re: [NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Hans Hagen
context(true) -- Trial 1 but doesn't give the same as "" context("EF") context.crlf() -- Trial 2 but doesn't give the same as "" context("GH") context.stopframed() conte

[NTG-context] Nicer than 'context("\\\\")'?

2016-08-08 Thread Procházka Lukáš Ing .
\\" context("EF") context.crlf() -- Trial 2 but doesn't give the same as "" context("GH") context.stopframed() context.stopsetups() \stopluacode \setupheadertexts[][\directsetup{headertext}] Foo \stoptext Best

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
, pagenumber=no, style=\itxx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}] \starttext \completecontent \dorecurse{5}{\chapter{Chapter \Romannumerals{\recurselevel}} \dorecurse{10}{\section{Section}\input zapf\par

Re: [NTG-context] How to get the current section level?

2016-04-04 Thread Procházka Lukáš Ing .
dinformation] \starttabulate \NC Name \EQ \currenthead \NC\NR \NC Level \EQ \currentheadlevel \NC\NR \stoptabulate \stopsetups \setuphead[chapter,section,subsection,subsubsection][after=\directsetup{headinformation}] \starttext \chapter{Chapter} \section{Section} \subsubsection{S

Re: [NTG-context] How to get the current section level?

2016-04-04 Thread Wolfgang Schuster
setups \setuphead[chapter,section,subsection,subsubsection][after=\directsetup{headinformation}] \starttext \chapter{Chapter} \section{Section} \subsubsection{Subsubsection} \stoptext Wolfgang ___ If your qu

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

2016-02-17 Thread Volker Mische
nnotationcontent` way, but there I get the >>>> same error. Here's the full example: >>>> >>>> \starttext >>>> >>>> \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] >>>> \defineoverlay[pagenumber][{\dire

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

2016-02-16 Thread Hans Hagen
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 \setlayerframed [pagenumber] [

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

2016-02-16 Thread Volker Mische
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] >> \defineoverlay[pagenu

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

2016-02-16 Thread Wolfgang Schuster
rttext \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] \defineoverlay[pagenumber][{\directsetup{pagenumber}\tightlayer[pagenumber]}] \startsetups pagenumber \setlayerframed [pagenumber] [preset=rightbottom] {\getvariable{table}{p}} \stopsetups \define[2]\PageWrapper{\setgvariable{table}

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

2016-02-16 Thread Volker Mische
gt; Best for me would be if I could define the text directly within the >>>> cell. I'm surely open to a completely different solution that has the >>>> same outcome. >>>> >>>> Here's the minimal example of what I currently have. >>

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
uld define the text directly within the cell. I'm surely open to a completely different solution that has the same outcome. Here's the minimal example of what I currently have. \starttext \definelayer [pagenumber][width=\overlaywidth,height=\overlayheight] \defineoverlay[pagenumber][{\directsetup{

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

[NTG-context] inter-word space in bibliographies

2015-12-17 Thread Alan Bowen
{\stopBibItem} \definedescription[BibItem][ width=broad, margin=1.5pc, indenting={no}, indentnext=no, alternative=hanging, hang=1, headcommand=\gobbleoneargument, align=right, before={\directsetup{tightspace}\bgroup\language[packed]}, after={\egroup}, ] \starttext Martin, J. 1956. \emph{Histoire du texte

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] horizontal spacing under special circumstances

2015-12-13 Thread Henning Hraban Ramm
Am 2015-12-09 um 04:16 schrieb Wolfgang Schuster <schuster.wolfg...@gmail.com>: >> \definedescription[BibItem][ >> before={\directsetup{tightspace}\bgroup\language[packed]}, >> after={\egroup}, >> ] > you can use here (the grouping isn’t necessary) >

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

2015-12-11 Thread Wolfgang Schuster
,strut=no] \placenotes[marginnote][before=,after=,rule=off] \stopframed \stopsetups \setuptexttexts[margin][][\directsetup{marginnotes}] \definenote [marginnote][criterium=page] \setupnotation[marginnote][number=no] \starttext \dorecurse{100}{\input ward\expanded{\marginnote{This is note \recurs

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

2015-12-11 Thread josephcanedo
\stopsetups \setuptexttexts[margin][][\directsetup{marginnotes}] \definenote [marginnote][criterium=page] \setupnotation[marginnote][number=no] \starttext \dorecurse{100}{\input ward\expanded{\marginnote{This is note \recurselevel}} } \stoptext

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
lus .5\interwordstretch minus \interwordshrink >\stopsetups > >\definedescription[definition][before=\directsetup{footnote:space}] >\definedescription[definitiona] > >\starttext >\definition{Hermann Zapf} \input zapf > >\definitiona{Hermann Zapf}

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 16:22 Thank you, this is really nice. Didn’t know \directsetup (i.e. I can’t handle these setups at all). I also tried to get rid of the bigger space after stops: \installlanguage[packed][en] \setuplanguage[packed][s

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] 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
for help with. \definehead [Volume] [part] \definehead [Library] [chapter] \definehead [Manpage] [section] \setuphead [Volume] [placehead=empty, after=\directsetup{libraryentries}] \setuphead [Library] [ page=, placehead=empty, before=\directsetup{Library:before

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

2015-05-21 Thread Wolfgang Schuster
] [part] \definehead [Library] [chapter] \definehead [Manpage] [section] \setuphead [Volume] [placehead=empty, after=\directsetup{libraryentries}] \setuphead [Library] [ page=, placehead=empty, before=\directsetup{Library:before}, after=\directsetup{Library:after

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
it would make things more difficult for getting the text right on those pages. Change your manpage headings to \chapter and test at the begin of each new volume for the number of chapters (you can use the list mechanism for this) in each volume. %\setuphead[part][placehead=yes,after=\directsetup

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

2015-05-19 Thread Wolfgang Schuster
on those pages. Change your manpage headings to \chapter and test at the begin of each new volume for the number of chapters (you can use the list mechanism for this) in each volume. %\setuphead[part][placehead=yes,after=\directsetup{chapterentries}] \setuphead[part][placehead=empty,after

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
\documentvariable{title} bla bla \stopsetups \setupdocument [before=\directsetup{document:titlepage}] \startdocument[title=Some title] ... \stopdocument - Hans Hagen | PRAGMA ADE

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] Multiline header

2015-03-16 Thread Wolfgang Schuster
[frame=off,align=flushleft,width=fit] abc\\ def\\ ghi\\ jkl \stopframed \stopsetups \setupheadertexts[\directsetup{headertext}] \starttext aaa \stoptext Wolfgang

Re: [NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Wolfgang Schuster
the bug? It’s not a bug, the setups key is only used when notes are placed at the bottom of the page but not when you flush them with the \placenotes command. Many thanks for your reply. Wolfgang. Is there no other way to apply setups to a chapter? You can try to add before=\directsetup

Re: [NTG-context] [location=text] breaks setups in \setupnotes

2014-12-11 Thread Pablo Rodriguez
command. Many thanks for your reply. Wolfgang. Is there no other way to apply setups to a chapter? You can try to add before=\directsetup{setups:footnote}” to \setupnotes. Many thanks for your reply, Wolfgang. It worked like charm. Many thanks for your help, Pablo -- http

[NTG-context] still buggy TOC generation

2014-11-08 Thread Pablo Rodriguez
, pagenumber=no] \par \stop \stopsetups \setuplist [chapter] [before={\blank[big]}, after=\directsetup{placelist:section}] \starttext \title{Inside}\placelist[part,chapter][criterium=all] \chapter{Foreword} \dorecurse{10}{\section{Section from Foreword}} \part{Introduction} \chapter{\ConTeXt

[NTG-context] [doifinset] how it works ?

2014-08-21 Thread Pierre-François Bonnefoi
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups \startsetups slide:stop \stopnarrower

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Otared Kavian
{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber[slide] \switchtobodyfont[14pt] \setupinteractionbar[state=start] \startnarrower[left] \stopsetups

Re: [NTG-context] [doifinset] how it works ?

2014-08-21 Thread Wolfgang Schuster
}\slidelist } % then I define my slide where I increment the counter \def\startSlide{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] \directsetup{slide:start}} \def\stopSlide{\directsetup{slide:stop}} \startsetups slide:start \page \incrementnumber

Re: [NTG-context] Stop Hyphenating Across Columns and Page Breaks

2014-07-10 Thread Wolfgang Schuster
apply them with \setuplayout. To create your own setting use the following method. Use the setups environment where the values are set, the default parameters can be loaded with \directsetup{*reset}. \startsetups[mypenalties] \directsetup{*reset} \widowpenalty\plustenthousand

Re: [NTG-context] indenting in enumerations in mkiv

2014-07-02 Thread Wolfgang Schuster
the \directsetup line in strc-con.mkvi: \unexpanded\setvalue{\??constructionstarthandler\v!construction}% this will be redone (reorganized) .. too much boxing {\dostarttagged\t!construction\currentconstruction ... \edef\p_strc_constructions_indenting{\constructionparameter\c!indenting}% \ifx

Re: [NTG-context] \doifemptyelse

2014-02-20 Thread Wolfgang Schuster
] } { \getmarking[section] } { \getmarking[chapter] } } \stopsetups \setupheadertexts[\directsetup{header}] \setupfootertexts[pagenumber] \starttext \chapter{Chapter A} \page \chapter{Chapter B} \page \dorecurse{5} {\chapter

<    1   2   3   >