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

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

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

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

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
t, > > I have the following sample: > >\showframe\showgrid >\setuplayout[setups=*lessstrict] >\startsetups[*lessstrict] >\setup[reset] >\widowpenalty=1 >\clubpenalty=1 >\brokenpenalty=0 >\stopsetups >\s

[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
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

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

2015-05-21 Thread Kate F
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): >>> >>

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

2015-05-21 Thread Wolfgang Schuster
have a page for Volume 3 (which is made blank due to your >> \ifnum\structurelistsize=0): >> >> >> You’re wrong, the test for \structurelistsize has nothing to do with the >> empty page. >> >> Volume 3: "Libraries" <-- no title

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

2015-05-21 Thread Wolfgang Schuster
s", and "Makefiles". > But I do not want a title page for Volume 3 itself, "Libraries" > because that would be immediately followed by the title page for > libjpeg, and my aim is to avoid having two consecutive title pages. I > have indicated these with arrows a

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

2015-05-20 Thread Kate F
itle >>>> pages. >>>> I'm trying to work out how best to do this. >>>> >>>> Would you recommend I hide Volume 3's title page? >>>> I think that must be the simplest way, but I don't know how to do it >>>>

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

2015-05-20 Thread Wolfgang Schuster
ta is coming from XML, and I'd like to avoid having a special >>> \startVolume for Volume 3, if I can. Although perhaps that could help. >>> >>> Are there any other ways which might be more sensible? >>> >>> I wondered about using \setuphea

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

2015-05-19 Thread Kate F
having a special >> \startVolume for Volume 3, if I can. Although perhaps that could help. >> >> Are there any other ways which might be more sensible? >> >> I wondered about using \setuphead[something][continue=yes] to fold the >> first blue title pages onto

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

2015-05-19 Thread Wolfgang Schuster
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{chapt

Re: [NTG-context] parenthesis in Arabic text

2015-05-17 Thread Sam Ḥilluc
\text\footnote{\text}. > >\stopdocument > > > > gives the correct order in the text but the parenthesis are not adapted in > > the > > footnote. > > > > So in the text I get: (ب) > > And in the footnote: )ب(. > > You have to set the bidi se

Re: [NTG-context] parenthesis in Arabic text

2015-05-17 Thread Wolfgang Schuster
; > 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] \stopset

Re: [NTG-context] Letterhead Usage

2015-05-01 Thread Wolfgang Schuster
ing > the layers functionality of context? You can 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]

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Wolfgang Schuster
> Am 18.04.2015 um 18:43 schrieb Pablo Rodriguez : > > Dear list, > > I have the following sample: > >\showgrid >\setupinteraction[option=max] >\setuppapersize[S6] >\setuppagenumbering[location=] >\setupbodyfont[100pt] >\se

[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] \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-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] > > ... > > \s

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

2015-03-25 Thread Hans Hagen
\stopproject % 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:title

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

2015-03-20 Thread Gerben Wierda
ut knuth >> >> \stoptext >> end example > > 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]}] > > \startsetu

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Idris Samawi Hamid ادريس سماوي حامد
On Tue, 17 Mar 2015 15:04:32 -0600, Wolfgang Schuster wrote: \startsetups[paragraph:noindent] \setupindenting[no] \stopsetups \defineparagraph[noindent][setups=paragraph:noindent] \setupindenting[yes,big] \starttext \startparagraph \input ward \stopparagraph \startparagraph[noindent

Re: [NTG-context] indentnext=auto

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

Re: [NTG-context] indentnext=auto

2015-03-17 Thread Wolfgang Schuster
entnextparameter\delimitedtextparameter - \dorechecknextindentation}% AM: This was missing! + \aftergroup\dorechecknextindentation}% AM: This was missing! > By the way, something like > > \setupdelimitedtext[blockquote][indentnext=yes] > > \startparagraph[indenting=no] > \

Re: [NTG-context] Multiline header

2015-03-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
}] \startsetups[headertext] \startframed[frame=off,align=flushleft,width=fit] abc\\ def\\ ghi\\ jkl \stopframed \stopsetups \setupheadertexts[\directsetup{headertext}] \starttext aaa \stoptext Wolfgang this works

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. > : > > Hello, > > how to create multiline header? > > This code ignores all attempts to force a new line: > > > \setupheadertexts[{abc\par def\\ ghi\crlf jkl}] \startsetups[heade

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

2015-03-16 Thread Gerben Wierda
t; \writetolist[chapter]{}{}\GotoPar > > \input knuth > > \stoptext > end example 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]

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
th* commands are >>> needed? Toggling these two commands doesn't work. >> >> \setupindenting[big,yes] >> \startsetups[footnote:indenting] >> \setupindenting[big,yes] >> \stopsetups >> \setupheads[indentnext=no] >> \setupnote[footnote][setups=f

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
explain why *both* commands are needed? Toggling these two commands doesn't work. \setupindenting[big,yes] \startsetups[footnote:indenting] \setupindenting[big,yes] \stopsetups \setupheads[indentnext=no] \setupnote[footnote][setups=footnote:indenting] \setupnotation[footnote][indentin

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
[big,yes]},indenting=yes,next] > > 1. You have to put braces around the arguments for the indenting key. > > 2. Change the notation setup to > \setupnotation[footnote][indenting={yes,big}] because notes ignore the > global indent value. Hi Wolfgang, with the following sample: \s

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Pablo Rodriguez
Toggling these two commands 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] \

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

2015-03-15 Thread Gerben Wierda
tups[chapter:after]}] \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[r

Re: [NTG-context] \placefootnotes at the end of each chapter, conditionally

2015-03-13 Thread Alan BRASLAU
On Thu, 12 Mar 2015 22:59:33 +0100 Hans Hagen wrote: > > Supplementary question, just for fun: > > how to specify title=Footnote if there is only one? > > \startsetups chapter:after > \ifcase\rawcountervalue[footnote]\relax > \or > \

Re: [NTG-context] Tables, Row Span, and Colors

2015-03-13 Thread Wolfgang Schuster
nd. > to have the (spanned) cell containing "Region" (from #1) have a gray > background. > to have the "row heading" cells (i.e., the ones containing "East", Midwest", > "South", "West", and "Total") have a gray ba

Re: [NTG-context] \placefootnotes at the end of each chapter, conditionally

2015-03-12 Thread Hans Hagen
have empty Footnotes subjects appearing in my document. Supplementary question, just for fun: how to specify title=Footnote if there is only one? \startsetups chapter:after \ifcase\rawcountervalue[footnote]\relax \or \startsubject[title=Footnote] \placefootnotes

Re: [NTG-context] bug in paragraph footnotes?

2015-03-12 Thread Hans Hagen
On 3/12/2015 5:52 PM, Pablo Rodriguez wrote: Dear list, I’m afraid that the following sample shows a bug in interline space for footnotes: \startsetups[setups:footnote] \setupinterlinespace[line=6ex] \stopsetups \setupnotation[footnote][alternative=serried

[NTG-context] bug in paragraph footnotes?

2015-03-12 Thread Pablo Rodriguez
Dear list, I’m afraid that the following sample shows a bug in interline space for footnotes: \startsetups[setups:footnote] \setupinterlinespace[line=6ex] \stopsetups \setupnotation[footnote][alternative=serried] \setupnote[footnote][paragraph=yes, setups=setups:footnote

Re: [NTG-context] paragraph footnotes line height

2015-03-10 Thread Hans Hagen
ation=page ] \startsetups[footnote:interlinespace] \setupinterlinespace[line=10pt] \stopsetups \setupnote[footnote][setups=footnote:interlinespace] Wolfgang I have found a solution, searching with docfetcher for the occurrencies of "\baselineskip" in all the ConTeXt documentation I'

Re: [NTG-context] paragraph footnotes line height

2015-03-10 Thread mf
; way=bypage, > > width=0pt, > > location=page > > ] > > \setupnote[footnote][ > > paragraph=yes, > > inbetween= \emdash{} , > > location=page > > ] > > \startsetups[footnote:interlinespace] > \setupinterlinespace[line=10pt] > \stopsetups &g

Re: [NTG-context] paragraph footnotes line height

2015-03-09 Thread massifr
>On 03/07/2015 10:59 AM, Wolfgang Schuster wrote: >>> Am 07.03.2015 um 00:08 schrieb mf: >>> I'd like to know how I can set the line height of paragraph footnotes. >>> [...] >> >> \startsetups[footnote:interlinespace] >> \setupinterlinespace

Re: [NTG-context] paragraph footnotes line height

2015-03-07 Thread mf
s my configuration: > > > > \setupnotation[footnote][ > > alternative=serried, > > numbercommand=, > > numberstopper=, > > numbercommand=\high, > > numberconversion=a, > > way=bypage, > > width=0pt, > > location=page > >

Re: [NTG-context] paragraph footnotes line height

2015-03-07 Thread Pablo Rodriguez
On 03/07/2015 10:59 AM, Wolfgang Schuster wrote: >> Am 07.03.2015 um 00:08 schrieb mf: >> I'd like to know how I can set the line height of paragraph footnotes. >> [...] > > \startsetups[footnote:interlinespace] > \setupinterlinespace[line=10pt] > \stopsetu

Re: [NTG-context] paragraph footnotes line height

2015-03-07 Thread Wolfgang Schuster
ion[footnote][ > alternative=serried, > numbercommand=, > numberstopper=, > numbercommand=\high, > numberconversion=a, > way=bypage, > width=0pt, > location=page > ] > \setupnote[footnote][ > paragraph=yes, > inbetween= \emdash{} , > location=page

Re: [NTG-context] Citing a PhD dissertation

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
le continues, I would suggest changing this to the standard usage. In the meantime: How can I change the label in the current bibliography system? I tried the following (also attached): \starttext \setuppublications[alternative=apa] \setupbtxlabeltext [en] [apa:phdthesis={Docto

[NTG-context] Citing a PhD dissertation

2015-02-01 Thread Idris Samawi Hamid ادريس سماوي حامد
eantime: How can I change the label in the current bibliography system? I tried the following (also attached): \starttext \setuppublications[alternative=apa] \setupbtxlabeltext [en] [apa:phdthesis={Doctoral dissertation}] \startsetups btx:apa:phdthesis \setvariables[bt

[NTG-context] Center two frames

2015-01-13 Thread Fabrice Couvreur
, foregroundstyle={\switchtobodyfont[10pt]}, align={high,flushleft}, frame=off, framecolor=0.625white, background=borderline, ] \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \startsetups[table:initialize] \setupTABLE[start] [align={lohi

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
[I guess]). \showframe \setuplayout[backspace=2.5cm, width=middle] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex,style=small] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \usemodule[graph] \definecolor[mycolor][c=.

[NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Fabrice Couvreur
Hi, Is it possible to center horizontally and vertically the table with the graphics ? Best regards, Fabrice \defineparagraphs[TwoColumns][n=2] \setupparagraphs[TwoColumns][1][width=0.45\textwidth] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex

[NTG-context] Strange bug with overviewpage module.

2014-12-19 Thread Aditya Mahajan
eringsetup=\??listrenderings:overview] \setuplistalternative [overviewpage] [\c!before=\dontleavehmode, \c!after=\hskip\zeropoint\relax, % \c!width=\ctxlua{moduledata.overviewpage.calculatedwidth(\listlength)}] \c!width=\ctxlua{moduledata.overviewpage.calculatedwidth(structures.lists.size())}] \s

Re: [NTG-context] xtables in setups

2014-12-15 Thread Wolfgang Schuster
27;t seem to work when within a setup/xmlsetup. > > Small example (without XML, for the sake of simplicity): > > ~~~~~~ > \starttext > > \startsetups test > \startxtable > \startxrow >\startxcell Foo \stopxc

[NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
of simplicity): ~~ \starttext \startsetups test \startxtable \startxrow \startxcell Foo \stopxcell \startxcell Bar \stopxcell \stopxrow \stopxtable \stopsetups \setups[test] \stoptext ~~ Causes

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

2014-12-11 Thread Wolfgang Schuster
> Am 11.12.2014 um 19:14 schrieb Pablo Rodriguez : > > Dear list, > > I have the following sample: > >\setuppapersize[A6] >\startsetups[setups:footnote] >\setupinterlinespace[line=5ex] >\stopsetups > >\setupnote[footnote][way=by

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

2014-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \startsetups[setups:footnote] \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][way=bytext, location=text, setups=setups:footnote, style=\itxx] \starttext Hi\footnote{\input knuth

[NTG-context] interline space in final notes?

2014-12-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[setups:footnote] \setupinterlinespace[line=5ex] \stopsetups \definenote[specialnote] \setupnote[specialnote][setups=setups:footnote] \setupnote[footnote][way=bytext, location=text, setups=setups:footnote

[NTG-context] Space around a figure in a table

2014-11-28 Thread Fabrice Couvreur
Hi, Why up space and down space is not the same around each figure ? Best regards, Fabrice \definecolor[FondTableaux][c=0.00, m=0.00, y=0.20, k=0.00] \startsetups[table:initialize] \setupTABLE[column][1,2][offset=1ex,width=2cm] \setupTABLE[column][3][offset=1ex,width=10cm] \setupTABLE[row

[NTG-context] still buggy TOC generation

2014-11-08 Thread Pablo Rodriguez
Hans, many thanks for the fix in latest beta from 2014.11.08 15:07. I still experience a bug that it wasn’t there before beta from 2014.11.06 14:55. Here you have the sample: \startsetups[placelist:section] \start \setupinterlinespace[line=2.8ex] \placelist[section][alternative=d

Re: [NTG-context] Numbering in a Table

2014-11-08 Thread Fabrice
Hi Wolfgang, I want to number the second line of the first column*a.* then the third line of the first column *b**.* ... Best regards, Fabrice \setupitemize[1][stopper={.},style=\bf,color=red] \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi

[NTG-context] Numbering in a Table

2014-11-07 Thread Fabrice Couvreur
Hi, Is it possible to use an itemize environment in a table ? Best regards, Fabrice \starttext \startsetups[table:initialize] \setupTABLE[height=0.8cm,align={middle,lohi}] \setupTABLE[row][1][background=color,backgroundcolor=cyan] \setupTABLE[1][1][background=color,backgroundcolor=white

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
\node [cube face, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \st

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread luigi scarso
[cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Fabrice
=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2cm,align={middle,lohi}] \setupTABLE[column][1][[width=4cm,align={right,lohi},frame=on,framecolor=H1prime] \setupTABLE[column][2][[width=5cm,align={middle,lohi},frame=off] \setupTABLE[column][3][[width=9cm,al

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Hans Hagen
, label={[name=-label]below:#2}] (-front) {#1}; \node [cube face] (-top) at (-front.north west) [anchor=south west, xslant=1, yscale=1/3] {}; \node [cube face] (-side) at (-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-05 Thread Fabrice
(-front.south east) [anchor=south west, yslant=1, xscale=1/3] {}; }} } \starttext \startsetups[table:initialize] \setupTABLE[height=2.5cm,align={middle,lohi}] \setupTABLE[column][2][[width=3cm,align={right,lohi},frame=off] \setupTABLE[column][3][[width=8cm,align={right,lohi},frame=off

[NTG-context] Strange behavior with the command \color[]{}

2014-11-02 Thread Fabrice Couvreur
ry[3d] \usetikzlibrary[arrows.meta] \usetikzlibrary[positioning] %\definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] %\definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \starttext \startsetups[table:initialize] \setupTABLE[height=2.5cm,align={middle,lohi}] \setupTABLE[column][2][[width=3cm,align={

Re: [NTG-context] Error with alternative (interactive) TOC

2014-10-10 Thread Wolfgang Schuster
d by adding \noindent in front of the \hbox command in the defintion of the interactive alternative, i.e. \startsetups[\??listrenderings:interactive] \edef\p_command{\listalternativeparameter\c!command}% \ifx\p_command\empty [\currentlist: \currentlistentrynumber\space -- \curren

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
[chapter] [alternative=middle] > > gives the wrong result you mentioned, suggesting that there is somewhere an « > else » which shouldn’t be there. > Maybe Hans H. with the above informations can nail it down? strc-ren.mkiv \startsetups[\??headrenderings:\v!middle] \vbox {

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
[chapter] [alternative=middle] > > gives the wrong result you mentioned, suggesting that there is somewhere an « > else » which shouldn’t be there. > Maybe Hans H. with the above informations can nail it down? strc-ren.mkiv \startsetups[\??headrenderings:\v!middle] \vbox {

[NTG-context] whitespace in \setuplist[chapter]

2014-10-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[setups:chapterlist] \setupwhitespace[10*big] \stopsetups \setuplist[chapter][setups=setups:chapterlist] \starttext \completecontent \dorecurse{50}{\chapter{My Chapter}} \stoptext I thought that setups were

Re: [NTG-context] perfect centering of layers in a text area

2014-09-20 Thread Wolfgang Schuster
derdistance=0.5cm, >footer=0.5cm, top=0.0cm, topspace=0.0cm, bottomspace=0.0cm] > > \definelayer[sabel] > [x=0mm, y=0mm, width=\paperwidth, height=\paperheight, preset=lefttop] > > \startsetups layer > > \setlayer[sabel] > [hoffset=0mm, voffset=0mm] > {\

[NTG-context] perfect centering of layers in a text area

2014-09-20 Thread Bernd Donner
reset=lefttop] \startsetups layer \setlayer[sabel] [hoffset=0mm, voffset=0mm] {\tfx{\vbox {\bTABLE[option=stretch] \setupTABLE[rulethickness=0pt] \setupTABLE[column][1][align={right}, width=.4\textwidth] \setupTABLE[column][2][align={center}] \setupTABLE[column][3][align={left}, wid

[NTG-context] Change linewidth of a table

2014-09-17 Thread Fabrice Couvreur
] \definetypeface [me] [ss] [sans] [dejavu] [default] \definetypeface [me] [mm] [math] [xits][default] \setupbodyfont[me,12pt] \startsetups[table:initialize] \setupTABLE[height=2.25cm,width=2.25cm] \setupTABLE[column][1,4,7][frame=off,rulethickness=1.2pt,leftframe=on] \setupTABLE[column][9][frame

Re: [NTG-context] setups not working

2014-09-02 Thread Pablo Rodriguez
Many thanks for your help, Hans. Pablo On 09/02/2014 08:02 PM, Hans Hagen wrote: > On 9/2/2014 5:08 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >> \startsetups[footssetups] > ^^ 2 > &g

Re: [NTG-context] setups not working

2014-09-02 Thread Hans Hagen
On 9/2/2014 5:08 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \startsetups[footssetups] ^^ 2 \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][setups=footsetups] ^ 1

[NTG-context] setups not working

2014-09-02 Thread Pablo Rodriguez
Dear list, I have the following sample: \startsetups[footssetups] \setupinterlinespace[line=5ex] \stopsetups \setupnote[footnote][setups=footsetups] \starttext \footnote{\input zapf}\input knuth \stoptext AFAIK, the footnote should have extra interline space. But

Re: [NTG-context] Strange behavior in a table.

2014-08-29 Thread Wolfgang Schuster
s a example with a simplified version of your table template: \startsetups[table:initialize] \setupTABLE[height=0.6cm,width=0.1\textwidth] \setupTABLE[column][first][width=0.4\textwidth] \setupTABLE[start][align={middle,lohi}] \stopsetups \showframe[text][text] \starttext \bTABLE[set

[NTG-context] issues with footnotes

2014-08-25 Thread Pablo Rodriguez
after defined in \setupnote. How can I avoid this? (BTW, this also happens with the space before when paragraph=yes.) BTW, if I add the following code to avoid widows and orphans: \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty

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

2014-08-21 Thread Wolfgang Schuster
idelist{} > \dorecurse{8}{ > \doglobal\appendtocommalist{#1}\slidelist > } > > % then I define my slide where I increment the counter > \def\startSlide{\setupbackgrounds[page][background={fond,Auteur,backgraphics,foreground,foregraphics}] > \directsetup{slide:start

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

2014-08-21 Thread Otared Kavian
> % 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 > \incremen

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

2014-08-21 Thread Otared Kavian
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[slide] > \switchtobodyfont[14pt] >

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

2014-08-21 Thread Pierre-François Bonnefoi
Slide{\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] \stops

Re: [NTG-context] \resetsetups

2014-08-14 Thread Rik Kabel
en Wierde: \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \p

Re: [NTG-context] \resetsetups

2014-08-13 Thread Wolfgang Schuster
Am 13.08.2014 um 20:56 schrieb Rik Kabel : > Dear list, > > In a number of notes (recent and in the list archive) I have seen > \resetsetups, used (always) as in a block of code like this from Gerben > Wierde: > \startsetups chapter:before > \page[left] >

[NTG-context] \resetsetups

2014-08-13 Thread Rik Kabel
Dear list, In a number of notes (recent and in the list archive) I have seen \resetsetups, used (always) as in a block of code like this from Gerben Wierde: \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
) the RHS is where the chapter starts, but on the opposing >> page LHS there is something too (mostly a quote or so). This is done with >> >> \startsetups chapter:before >> \page[left] >> \noheaderandfooterlines >> \startalignment[left,nothyphenated] >&

Re: [NTG-context] Suppressing the page number

2014-08-12 Thread Aditya Mahajan
(mostly a quote or so). This is done with \startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page

[NTG-context] Suppressing the page number

2014-08-12 Thread Gerben Wierda
\startsetups chapter:before \page[left] \noheaderandfooterlines \startalignment[left,nothyphenated] \startnarrower[4*left] \em \getbuffer[chapter:quote] \stopnarrower \stopalignment \resetsetups[quote:text] \page[right] \noheaderandfooterlines

[NTG-context] Why is my output body text in 15pt?

2014-07-23 Thread Gerben Wierda
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] \startnarrower[4*left] \em

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Idris Samawi Hamid ادريس سماوي حامد
advance Untested: try indenting=yes for indentation. For white space, enclose the settings in a startsetups...stopsetups, and then use the setups=... key for framedtext. Thanks Aditya. indenting=yes was a bust but the following works: \startsetups[framedwhitespace] \setupwhitespace[medium

Re: [NTG-context] Whitespace within framedtexts

2014-07-13 Thread Aditya Mahajan
\input knuth > \stoptext > == > > See attached. Thanks in advance Untested: try indenting=yes for indentation. For white space, enclose the settings in a startsetups...stopsetups, and then use the setups=... key for framedtext. Aditya __

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

2014-07-10 Thread H. Özoguz
\directsetup{*reset}. \startsetups[mypenalties] \directsetup{*reset} \widowpenalty\plustenthousand \stopsetups In the next step you load this setup with the \setuplayout command: \setuplayout[setups=mypenalties] When you don want to create you own setting you can

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

2014-07-10 Thread Wolfgang Schuster
m 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 \stop

[NTG-context] bibliography and etaltext

2014-07-09 Thread Flavien Lambert
fact, I would like to use it on my customized bibliography below. \definebtxdataset[example] \usebtxdataset[example][../social.bib] \definebtxrendering[example][dataset=example,method=local,alternative=flavien] \setupbtxlistvariant[etallimit=2,etaldisplay=2,etaltext={\it et al}] \startsetups

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
appendices, using the following method, but I suspect that there may be a more effective way to do that as well. \startsetups[Header] \startallmodes[print,*bodypart] {\color[PrintHeaderColor]{\PrintHeaderFont {\llap{\getmarking[chapternumber]~}\getmarking[chapter

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Hans Hagen
effective way to do that as well. \startsetups[Header] \startallmodes[print,*bodypart] {\color[PrintHeaderColor]{\PrintHeaderFont {\llap{\getmarking[chapternumber]~}\getmarking[chapter]}} \stopallmodes \startallmodes[print,*appendix] \color

[NTG-context] ToC depth (and headers) per section block

2014-07-04 Thread Rik Kabel
, using the following method, but I suspect that there may be a more effective way to do that as well. \startsetups[Header] \startallmodes[print,*bodypart] {\color[PrintHeaderColor]{\PrintHeaderFont {\llap{\getmarking[chapternumber]~}\getmarking[chapter]}} \stopallmodes

Re: [NTG-context] Letter module

2014-06-29 Thread Wolfgang Schuster
which can be done with \setupletterframe[…][offset=overlay], to control on which page the image is shown you can use the “state” key for \setupletterlayer. \usemodule[letter] \setupexternalfigures[location=default] \startsetups[letter:layer:lettermain] \externalfigure[mill][width=210mm,he

Re: [NTG-context] Orphans/Widows in the Index

2014-06-23 Thread Jan Tosovsky
! alone !) > > V > Vamberk 18 > ... > ... > > > There are also few cases of orphans, but this is not so strange: > ... > ... > Josef 29 > > K > Karel 69 (! alone !) > (end page) - >

Re: [NTG-context] Resetting \setupTABLE

2014-06-22 Thread Peter Münster
On Mon, Jun 23 2014, Troy Henderson wrote: > What is the "proper" way to reset the setups made by \setupTABLE so that > successive TABLEs do no inherit the properties set by previous TABLEs? There are at least 3 methods: 1.) \startsetups[my-table1] \setupTABLE[.

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