Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Floris van Manen
On 08/01/2018 11:48 AM, Henri Menke wrote: >>> Cannot reproduce with TL2018 or latest beta. >> >> Hi Henri, >> >> I’m afraid that Floris is right. With latest beta and a simple >> improvement to your file, I get wrong output: >> >> \starttext

Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Taco Hoekwater
is right. With latest beta and a simple > improvement to your file, I get wrong output: > >\starttext >\startlines > Testing 1971-04-26 > \startcolumns[n=3] > \dorecurse{200}{+ 17271 \rightarrow\ 2018-08-08 > } > \stopcolu

Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Pablo Rodriguez
n=3] \dorecurse{200}{+ 17271 \rightarrow\ 2018-08-08 } \stopcolumns \stoplines \stoptext If the closing parenthesis is on the same line, the plus sign is misplaced in the last item. With the previous sample, the second page gets a wrong interline space (between the th

Re: [NTG-context] columns unexpected (odd) results

2018-08-01 Thread Henri Menke
Cannot reproduce with TL2018 or latest beta. MWE below: \starttext \startlines Testing 1971-04-26 \startcolumns[n=3] \dorecurse{200}{+ 17271 \rightarrow\ 2018-08-08 } \stopcolumns \stoplines \stoptext On 01/08/18 21:34, Floris van Manen wrote: Has anyone a solution / hint as how

Re: [NTG-context] Issue with page break at \blank samepage

2018-07-27 Thread Joseph Canedo
/2018 11:01 PM, Joseph Canedo wrote: > Dear list, > > Somehow the Following MWE processed with recent betas : > > > > \setuplayout[grid=both] % commenting does not change the result > > \starttext > > \dorecurse{31}{ > > A. > > } >

Re: [NTG-context] Issue with page break at \blank samepage

2018-07-27 Thread Hans Hagen
On 7/26/2018 11:01 PM, Joseph Canedo wrote: Dear list, Somehow the Following MWE processed with recent betas : \setuplayout[grid=both] % commenting does not change the result \starttext \dorecurse{31}{ A. } \input knuth \blank[line, samepage]Second. \stoptext Outputs a pdf

Re: [NTG-context] Set up a theorem style

2018-07-26 Thread Fabrice Couvreur
t;alternative=serried, >title=no, >prefix=yes, >prefixsegments=chapter, >way=bysection, >right=., >titlestyle=bold, >style=italic, >width=broad, > > ] > > \defineenumeration[theorem] >

[NTG-context] Issue with page break at \blank samepage

2018-07-26 Thread Joseph Canedo
Dear list, Somehow the Following MWE processed with recent betas : \setuplayout[grid=both] % commenting does not change the result \starttext \dorecurse{31}{ A. } \input knuth \blank[line, samepage]Second. \stoptext Outputs a pdf with 2 pages and « Second » is left alone in 2nd

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-26 Thread Joseph Canedo
a par with 2 lines (lazy typing more words :-). In any case \\ or not, the \hang* directives do not seem taken in consideration in this particular case for last par. Other cases seem to work fine. %\setuplayout[grid=both] %\enabletrackers[vspacing.synchronizepage] \starttext \dorecurse{39

Re: [NTG-context] Set up a theorem style

2018-07-25 Thread Aditya Mahajan
\starttext \startchapter[title={First Chapter}] \startsection[title={First Section}] \dorecurse{2}{ \starttheorem \input ward \stoptheorem} \stopsection \stopchapter \startchapter[title={Second Chapter}] \startsection[title={Second Section}] \dorecurse{2}{ \starttheorem \input ward \s

[NTG-context] Set up a theorem style

2018-07-25 Thread Fabrice Couvreur
st Section}] \dorecurse{2}{ \starttheorem \input ward \stoptheorem} \stopsection \stopchapter \startchapter[title={Second Chapter}] \startsection[title={Second Section}] \dorecurse{2}{ \starttheorem \input ward \stoptheorem} \stopsection \stopchapter \stoptext Than

[NTG-context] Numbering properties in a chapter

2018-07-23 Thread Fabrice Couvreur
\startchapter[title={First chapter}] \dorecurse{2}{ \startpropriete \input ward \stoppropriete} \stopchapter \startchapter[title={Second chapter}] \dorecurse{2}{ \startpropriete \input ward \stoppropriete} \stopchapter \stoptext

Re: [NTG-context] Align the chapter-title to the middle of the header

2018-07-23 Thread Pablo Rodriguez
t; of the header? Hi Huseyin, this should work: \setuppagenumbering[alternative=doublesided, location=] \setupheadertexts[center] %~ \setupheadertexts[\doifoddpageelse{odd}{even}] \starttext \dorecurse{10}{\Romannumerals{\recurselevel}\page} \stoptext Uncomment the commented line

Re: [NTG-context] Some questions about the presentation of a book

2018-07-21 Thread Fabrice Couvreur
mmaire}] > \placelist > [chapter,section,subsection] > [criterium=all, >alternative=c] > > \stoptitle > > \startchapter[title=First chapter] > \startsection[title=Fist section] > \startsubsection[title=First subsection] > \dorecurse{10}{\fakewords{120}{120}\par}

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-20 Thread Joseph Canedo
. %\setuplayout[grid=both] %\enabletrackers[vspacing.synchronizepage] \starttext \dorecurse{39}{ A. } Chapitre. \blank[0pt, samepage] \hangindent=30pt\hangafter=-2Third par with some lengthy sentence. Second sentence. Third sentence. Fourth sentence. Fifth sentence. \blank[0pt, samepage] \hangindent

[NTG-context] Some questions about the presentation of a book

2018-07-20 Thread Fabrice Couvreur
\stoptitle \startchapter[title=First chapter] \startsection[title=Fist section] \startsubsection[title=First subsection] \dorecurse{10}{\fakewords{120}{120}\par} \stopsubsection \stopsection \stopchapter \startchapter[title=Second chapter] \startsection[title=Second section] \startsubsection[ti

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-20 Thread Hans Hagen
On 7/19/2018 10:52 PM, Joseph Canedo wrote: Finally I could make a MWE that reproduces the issue. %\setuplayout[grid=both] % uncommenting this makes last line not indented. %\enabletrackers[vspacing.synchronizepage] \starttext \dorecurse{39}{ % other values like 40 do not show

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Joseph Canedo
Finally I could make a MWE that reproduces the issue. %\setuplayout[grid=both] % uncommenting this makes last line not indented. %\enabletrackers[vspacing.synchronizepage] \starttext \dorecurse{39}{ % other values like 40 do not show issue A. } Chapitre. \blank[0pt, samepage

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-18 Thread Joseph Canedo
strange output. > > With latest beta > > mtx-context | current version: 2018.07.17 17:25 > > MWE : > > \starttext > > \dorecurse{5}{ > > \input knuth > > \blank[line, samepage]Second. > > \input zapf > > \blank[line, samepage]Secon

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-18 Thread Hans Hagen
 : \starttext \dorecurse{5}{ \input knuth \blank[line, samepage]Second. \input zapf \blank[line, samepage]Second maybe vertically wrong align? } \stoptext Please see in page 2, the line printing : Second maybe vertically wrong align? (topskip related?) Seems very close to next line

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-18 Thread Fabrice Couvreur
nd=\HeadTitle, > >>>> headstyle=\ss, > >>>> numbercommand=\processMPheadnumber] > >>>> > >>>> > >>>> \unexpanded\def\HeadTitle#1#2% > >>>> {\framed > >>>> [frame=off, > >>>>

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-17 Thread Hans Hagen
beta mtx-context | current version: 2018.07.17 17:25 MWE : \starttext \dorecurse{5}{ \input knuth \blank[line, samepage]Second. \input zapf \blank[line, samepage]Second maybe vertically wrong align? } \stoptext Please see in page 2, the line printing : Second maybe vertically wrong

[NTG-context] Issues with vertical spacing in simple case

2018-07-17 Thread Joseph Canedo
Dear list, Trying to build a MWE for a problem with unexpected page break (near a \blank[line, samepage]) I could not yet reproduce yet, I came up with strange output. With latest beta mtx-context | current version: 2018.07.17 17:25 MWE : \starttext \dorecurse{5}{ \input knuth \blank

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
ated,left}] {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter [title={Fist chapter}] \input knuth \stopchapter} \stoptext i assume you wiped the cache -- - Han

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Alan Braslau
le, >>>> headstyle=\ss, >>>> numbercommand=\processMPheadnumber] >>>> >>>> >>>> \unexpanded\def\HeadTitle#1#2% >>>> {\framed >>>> [frame=off, >>>> bottomframe=on, >>>> wi

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik Kabel
ramed     [frame=off,     bottomframe=on,     width=broad,     align={broad,nothyphenated,left}]     {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter   [title={Fist chapter}]   \input knuth \stopchapter} \stoptext Using TL18 on Win64 it produces a large chapter number on the right side ab

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Hans Hagen
dth=broad,     align={broad,nothyphenated,left}]     {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter   [title={Fist chapter}]   \input knuth \stopchapter} \stoptext Using TL18 on Win64 it produces a large chapter number on the right side above the chapter name -- I do not know what

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik
nated,left}]     {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter   [title={Fist chapter}]   \input knuth \stopchapter} \stoptext Using TL18 on Win64 it produces a large chapter number on the right side above the chapter name -- I do not know what it should look like, so I

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Fabrice Couvreur
uot;) >>> (withcolor "lightgray") >>> ysized 50pt ; >>> \stopusableMPgraphic >>> >>> >>> \unexpanded\def\processMPheadnumber#1% >>>{\useMPgraphic{NumberHead}} >>> >>> \setup

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
>> \stopusableMPgraphic >> >> >> \unexpanded\def\processMPheadnumber#1% >>{\useMPgraphic{NumberHead}} >> >> \setuphead >> [chapter] >> [command=\HeadTitle, >> headstyle=\ss, >> numbercommand=\processMPheadnumber] >&g

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Hans Hagen
lign={broad,nothyphenated,left}]     {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter   [title={Fist chapter}]   \input knuth \stopchapter} \stoptext ___ I

[NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-16 Thread Fabrice Couvreur
hapter] [command=\HeadTitle, headstyle=\ss, numbercommand=\processMPheadnumber] \unexpanded\def\HeadTitle#1#2% {\framed [frame=off, bottomframe=on, width=broad, align={broad,nothyphenated,left}] {#1\blank[nowhite]#2}} \starttext \dorecurse{6}{\startchapter [title=

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
roundcolor=black, >> foregroundcolor=white, >> forgroundstyle=bold] >> >> >> \defineprocessor[ACPROCESSOR][command=\ACFRAME] >> \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] >> >> \defineenumeration >>[ex] >

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Fabrice Couvreur
VERSION][][ACPROCESSOR->n] > > \defineenumeration >[ex] >[text=, > distance=0.3em, > width=fit, > numberconversionset=ACCONVERSION, > alternative=serried] > > \starttext > > \dorecurse{5} >{\startex > \input knuth > \sto

Re: [NTG-context] Strange behavior with font pagella

2018-07-16 Thread Otared Kavian
bold] > > > \defineprocessor[ACPROCESSOR][command=\ACFRAME] > \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] > > \defineenumeration >[ex] >[text=, > distance=0.3em, > width=fit, > numberconversionset=ACCONVERSION, > alternative=serried]

Re: [NTG-context] Strange behavior with font pagella

2018-07-15 Thread Rik Kabel
[ACPROCESSOR][command=\ACFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \defineenumeration    [ex]    [text=,     distance=0.3em,     width=fit,     numberconversionset=ACCONVERSION,     alternative=serried] \starttext \dorecurse{5}    {\startex     \input knuth     \stopex} \stopt

[NTG-context] Strange behavior with font pagella

2018-07-15 Thread Fabrice Couvreur
, forgroundstyle=bold] \defineprocessor[ACPROCESSOR][command=\ACFRAME] \defineconversionset[ACCONVERSION][][ACPROCESSOR->n] \defineenumeration [ex] [text=, distance=0.3em, width=fit, numberconversionset=ACCONVERSION, alternative=serried] \starttext \dorecurse{5} {\startex \in

Re: [NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Hans Hagen
] % initializing at this point not working (the counter is 10 more than it should be). WHY? \startxtable     \startxrow     \startxcell Column 1\stopxcell     \startxcell Column 2\stopxcell     \stopxrow \setcounter[mycounter][0] % initializing at this point works fine \dorecurse{5

[NTG-context] Disproportion in initializing user counters

2018-07-15 Thread Jaroslav Hajtmar
is 10 more than it should be). WHY? \startxtable \startxrow \startxcell Column 1\stopxcell \startxcell Column 2\stopxcell \stopxrow \setcounter[mycounter][0] % initializing at this point works fine \dorecurse{5}{\getbuffer[groups]} \stopxtable \stoptext

[NTG-context] Compile problem after update

2018-07-15 Thread Fabrice Couvreur
\\ }] \setupheadertexts [\headerframed{\tfx\ss Lycée JANSON DE SAILLY\\ 31 juillet 2017}] [\headerframed{\tfx\ss T\high{le} ES 2 \\ Durée 1 heure 30}] \starttext \dorecurse{10}{\input knuth} \stoptext

Re: [NTG-context] 6-sided letter fold (TRYPTICHON) with unequal page size

2018-06-27 Thread Wolfgang Schuster
t,-3pt] \setuppageshift[paper][flyer] \showframe[page] \starttext \dorecurse{6}{\page[dummy]} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@

[NTG-context] letter: How to customize reference line?

2018-06-25 Thread Paul Menzel
}, signature={Paul Menzel}] \startletter\relax \dorecurse{4}{\input ward\par} \stopletter \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Wolfgang Schuster
t[page] \starttext \startalignment[middle] \dontleavehmode \bTABLE[before=,after=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Procházka Lukáš Ing .
Hello, thanks, it works: \startalignment[middle] \startplacetable[location={split,force,none}] \bTABLE[split=repeat] \bTABLEhead \bTR\bTH A\eTH\bTH B\eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{ \bTR \bTD

Re: [NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-20 Thread Aditya Mahajan
] \dontleavehmode \bTABLE[before=,after=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD \eTR } \eTABLEbody \eTABLE \crlf \bTABLE[before=,after=,inbetween=] \bTABLEbody \bTR \bTD AAA\eTD \bTD

[NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-09 Thread Procházka Lukáš Ing .
=,inbetween=] \bTABLEbody \dorecurse{10}{ \bTR \bTD aaa\eTD \bTD bbb\eTD \eTR } \eTABLEbody \eTABLE \crlf \bTABLE[before=,after=,inbetween=] \bTABLEbody \bTR \bTD AAA\eTD \bTD BBB\eTD

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Alan Braslau
, -4) -- (3, 2) -- > (5.5, -4) -- cycle) scaled 1.25cm ; > %~ c := c shifted (-3,-3) ; > draw followtext(c, "\dorecurse{500}{\utfchar{"EB09}}") ; > \stopMPpage > \stoptext > > How can I shift the path c (I mean, the one that draws a star? >

Re: [NTG-context] question about followtext in MP

2018-05-23 Thread Pablo Rodriguez
ed (.6TextWidth + .75LineHeight); %~ draw fullcircle scaled .6TextWidth; draw followtext(p, "·\TextInside") ; draw followtext(q, "\TextInside·") ; path c ; c := (origin -- (6, 0) -- (0.5, -4) -- (3, 2) -- (5.5, -4) -- cycle) scaled 1.25cm ;

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Idris Samawi Hamid ادريس سماوي حامد
is\par}, location=bottom] \starttext \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stoptext Wow.. many thanks! Idris Wolfgang Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 19. Mai 2018 um 23:34 Dear gang, Just put together a macro that appears to do wh

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-20 Thread Wolfgang Schuster
\definelabel[idris][text=,headstyle=,numberconversion=R] \defineframed [NUM] [width=fit, align=middle, frame=off, background=color, backgroundcolor=green, top={\idris\par}, location=bottom] \starttext \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stoptext Wolfgang

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
to do this? === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopT

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
uot;). Let us consider the same macro: === \newcount \MQT \MQT=1 \define[1]\NUM{% \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered T

Re: [NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Henri Menke
{% > \framed[offset=overlay,frame=off,background=color,backgroundcolor=green] > {\starttabulate[|c|] > \NC \mbox{\the\MQT} \NR > \NC #1 \NR > \stoptabulate}% > \advance\MQT by 1 > \hbox{}} > > \startTEXpage > \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } > \stopTEX

Re: [NTG-context] Conversion of \newcounts

2018-05-19 Thread Wolfgang Schuster
verlay,frame=off,background=color,backgroundcolor=green] {\starttabulate[|c|] \NC \mbox{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage === How can one make a conversion of the numerals output

[NTG-context] Conversion of \newcounts

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
\NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage === How can one make a conversion of the numerals output by the \newcount? That is, how so we replace the default U+0030-U+0039 digits (0 1 2 3..) with so

[NTG-context] Numbered, counted snippets in running text

2018-05-19 Thread Idris Samawi Hamid ادريس سماوي حامد
{\the\MQT} \NR \NC #1 \NR \stoptabulate}% \advance\MQT by 1 \hbox{}} \startTEXpage \dorecurse{5}{Unnumbered Text \NUM{Numbered Text} } \stopTEXpage === See attached. Thanks in advance for any suggestions for improvement. Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy

Re: [NTG-context] newcolumnsets: Why are settings only applied on left pages?

2018-04-14 Thread Hans Hagen
[example][n=3,distance=.05\makeupwidth] \setuppagegrid[example:1][width=.4\makeupwidth] \setuppagegrid[example:2][width=.25\makeupwidth] \setuppagegrid[example:3][width=.25\makeupwidth] \starttext \startpagegrid[example]   \dorecurse{6}{\fakewords{50}{75}\column} \stoppagegrid \stoptext

[NTG-context] newcolumnsets: Why are settings only applied on left pages?

2018-04-13 Thread Henri Menke
]   \dorecurse{6}{\fakewords{50}{75}\column} \stoppagegrid \stoptext test.pdf Description: Adobe PDF document ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Wrong section space after placefigure with newcolumnsets

2018-04-05 Thread Charles Vejnar
les \setuppapersize[letter][letter] \usemodule[newcolumnsets] \setuplayout[grid=yes] \definecolumnset[colset][n=2] \starttext \startcolumnset[colset] \section{One section} \subsection{One subsection} \dorecurse{16}{\input ward \par} \section{Two section} \subsection{Two subsection} \placefigure

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Joseph Canedo
BTW, I could write a MWE for the case when \prevgraf aggregates number of lines for 2 paragraphs (sometimes). \starttext \dorecurse{15}{ One line par.\par\nobreak A\\ B\\ C\\ D\\ E\\ F\\ G\\ H\\ I\\ J\\ K\\ L \\M\\ N. \the\prevgraf } \stoptext In some cases when « One line par » appears

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-05 Thread Joseph Canedo
of paragraph (only tested with pars on 2 pages > maximum, haven’t tried longer ones). Simple MWE reproduces the case: > > \starttext > > \dorecurse{15}{ > > A\\ B\\ C\\ D\\ E\\ F\\ G\\ H\\ I\\ J\\ K\\ L \\M\\ N. > > \the\prevgraf > > } > > \stoptext &g

Re: [NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-04 Thread Hans Hagen
for a year in prevgraf result. Apparently with latest beta it reports the number of lines in last page of paragraph (only tested with pars on 2 pages maximum, haven’t tried longer ones). Simple MWE reproduces the case: \starttext \dorecurse{15}{ A\\ B\\ C\\ D\\ E\\ F\\ G\\ H\\ I\\ J\\ K\\ L

[NTG-context] prevgraf change if page break occurs in a paragraph

2018-03-04 Thread Joseph Canedo
maximum, haven’t tried longer ones). Simple MWE reproduces the case: \starttext \dorecurse{15}{ A\\ B\\ C\\ D\\ E\\ F\\ G\\ H\\ I\\ J\\ K\\ L \\M\\ N. \the\prevgraf } \stoptext Using ConTeXt online always reports « 14 » after the letters, latest ConTeXt reports different numbers if the par

Re: [NTG-context] option for printing range

2018-02-25 Thread Hans Hagen
king a specific page actually makes not much sense .. i'll add an automatism but as usual with such page break related features you need to be explicit in the sense of adding \page (a bit like headers and footers) \page \startmarkpages [extra] \dorecurse {10} { \samplefile{greenfield}

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
t; Henning Hraban Ramm 20. Februar 2018 um 17:35 >> Hi Wolfgang, >> thank you very much - does that mean it’s not possible to use the part title? > > \definetext[henning][header][part] > > \setuphead[part][placehead=empty] > > \setuphead[chapter][header=henning]

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Wolfgang Schuster
Henning Hraban Ramm <mailto:te...@fiee.net> 20. Februar 2018 um 17:35 Hi Wolfgang, thank you very much - does that mean it’s not possible to use the part title? \definetext[henning][header][part] \setuphead[part][placehead=empty] \setuphead[chapter][header=henning] \starttext \dor

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Henning Hraban Ramm
g][header][chapter] > > \setuphead[chapter][header=henning] > > \starttext > > \dorecurse{5} > {\expanded{\chapter{Kapitel \recurselevel}} >\dorecurse{10}{\input{lorem}\par}} > > \stoptext > > Wolfgang > >> Henning Hraban Ramm 20. Februar 20

Re: [NTG-context] show header text only on first page of chapter

2018-02-20 Thread Wolfgang Schuster
\definetext[henning][header][chapter] \setuphead[chapter][header=henning] \starttext \dorecurse{5} {\expanded{\chapter{Kapitel \recurselevel}} \dorecurse{10}{\input{lorem}\par}} \stoptext Wolfgang Henning Hraban Ramm <mailto:te...@fiee.net> 20. Februar 2018 um 15:30 I tried som

Re: [NTG-context] Overwritten text with newcolumnsets

2018-02-08 Thread Charles Vejnar
Here it is: \usemodule[newcolumnsets] \setuplayout[grid=yes] \setupbodyfont[10pt] \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{7}{\input knuth \par} \placefigure[center]{Legend.}{\hbox{\externalfigure[dummy][height=8cm]}} \dorecurse{8}{\input knuth \par

Re: [NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Procházka Lukáš Ing .
[Left][Right] \starttext Aaa \page \startsection[title={Sec}] \start \setupbodyfont[6pt] \dorecurse{12}{\input knuth} \stop \stopsection \stoptext header text size on page #2 is small (6 pt) although body font change was intended only to text inside section

Re: [NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Hans Hagen
On 2/8/2018 12:14 PM, Procházka Lukáš Ing. wrote: Hello, in the following example: \setupheadertexts[Left][Right] \starttext   Aaa   \page   \startsection[title={Sec}]     \start   \setupbodyfont[6pt]   \dorecurse{12}{\input knuth}     \stop   \stopsection \stoptext

Re: [NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Wolfgang Schuster
Procházka Lukáš Ing. <mailto:l...@pontex.cz> 8. Februar 2018 um 12:14 Hello, in the following example: \setupheadertexts[Left][Right] \starttext Aaa \page \startsection[title={Sec}] \start \setupbodyfont[6pt] \dorecurse{12}{\input knuth} \stop \stops

[NTG-context] Change of font size affects header text size, too

2018-02-08 Thread Procházka Lukáš Ing .
Hello, in the following example: \setupheadertexts[Left][Right] \starttext Aaa \page \startsection[title={Sec}] \start \setupbodyfont[6pt] \dorecurse{12}{\input knuth} \stop \stopsection \stoptext header text size on page #2 is small (6 pt) although

Re: [NTG-context] Overwritten text with newcolumnsets

2018-02-07 Thread Charles Vejnar
you confirm the problem? Any way/plan to fix it? Thanks so much for your help. Best, Charles % start of example \usemodule[newcolumnsets] \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{12}{\input knuth \par} \stopcolumnset \stoptext % end of example i'm not surew

Re: [NTG-context] Overwritten text with newcolumnsets

2018-02-06 Thread Hans Hagen
[example][n=2] \starttext \startcolumnset[example] \dorecurse{12}{\input knuth \par} \stopcolumnset \stoptext % end of example i'm not surew what goes wrong there but you can best run with \setuplayout[grid=yes

[NTG-context] Overwritten text with newcolumnsets

2018-02-06 Thread Charles Vejnar
[example] \dorecurse{12}{\input knuth \par} \stopcolumnset \stoptext % end of example ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] image file resolver in Lua?

2018-02-06 Thread Procházka Lukáš Ing .
ednani/2017-07-07-SU-Rakovnik/ZJ.pdf" local d = figures.getinfo(n) inspect(d) And a snippet from another mailing thread: ---- (Hans' answer) \getfiguredimensions[test.pdf] \dorecurse {\noffigurepages} { \getfiguredimensions[test.pdf][page=#1] \figurenaturalwidth ,\figurenaturalheight,\figur

Re: [NTG-context] Bug in interaction and button?

2018-01-27 Thread Hans Hagen
\dorecurse {2} { See \in{figure}[fig:#1].\par \input knuth.tex \page \placefigure [here] [fig:#1] {} {\button[offset=overlay]{\externalfigure[cow.pdf]}[PreviousJump]} \input ward.tex \page} try this {\hbox{\gotobox{\externalfigure[cow.pdf]}[PreviousJump

[NTG-context] Bug in interaction and button?

2018-01-27 Thread Otared Kavian
beta, nor the stable one from TeXLive 2017). The link to jump to the figure works fine, but the one to jump back (PreviousJump) does not work in mkiv. Thanks for your attention: OK %% begin go-back-tofig.tex \setupinteraction[state=start] \starttext \dorecurse {2} { See \in{figure}[fig:#1

Re: [NTG-context] How to control the placement of a button

2018-01-26 Thread Hans Hagen
[right] \startbut[content]$\leftarrow$ \stopbut % this button is too high on the page \vfill \startbut[index] $\rightarrow$ \stopbut % this button should be a little bit lower \stopinteractionmenu \starttext \completecontent \showframe \dorecurse{4} {\chapter

[NTG-context] How to control the placement of a button

2018-01-25 Thread Otared Kavian
$ \stopbut % this button is too high on the page \vfill \startbut[index] $\rightarrow$ \stopbut % this button should be a little bit lower \stopinteractionmenu \starttext \completecontent \showframe \dorecurse{4} {\chapter{Chapter #1}\index{chapter #1} \input knuth \index

Re: [NTG-context] notes in the margin

2018-01-23 Thread Henning Hraban Ramm
>> \placeinlinenotes) which >> flushes the notes without vertical skips and a rule at the begin would help. >> >> \define\PlaceFootnote >> {\inrightmargin{\vtop{\placelocalnotes[footnote][before=,after=]}}} >> >> \setupnote >> [footnote] >> [lo

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
.       \dorecurse{3}{         ID id#1 is \in[id#1] and is on page \at[id#1].\par}       References for footnotes are generated without \tt{alternative=}.     \stopsubject     \startsubject[title={Problems with \tex{defineenumeration}}]       When \tex{definelabel} is changed to \tex

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
of the ID number indicates that \tex{ID} in the footnote         of the previous paragraph incremented the associated counter,         but the failure of the references (\tex{in} and \tex{at}) to id2         suggests that there are other problems.       \dorecurse{3}{         ID id#1 is \in[id#1

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
} in the footnote         of the previous paragraph incremented the associated counter,         but the failure of the references (\tex{in} and \tex{at}) to id2         suggests that there are other problems.       \dorecurse{3}{         ID id#1 is \in[id#1] and is on page \at[id#1].\par

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Hans Hagen
paragraph incremented the associated counter,     but the failure of the references (\tex{in} and \tex{at}) to id2     suggests that there are other problems.   \dorecurse{3}{     ID id#1 is \in[id#1] and is on page \at[id#1].\par}   References for footnotes are generated without

Re: [NTG-context] Label problems with \definelabel and \defineenumeration, in and out of footnotes

2018-01-12 Thread Rik Kabel
that there are other problems.   \dorecurse{3}{     ID id#1 is \in[id#1] and is on page \at[id#1].\par}   References for footnotes are generated without \tt{alternative=}. \stopsubject \startsubject[title={Problems with \tex{defineenumeration}}]   When \tex{definelabel} is changed

Re: [NTG-context] \vec{} arrow length?

2017-12-27 Thread Henri
d boring as we then need to > > patch specific elements of (each) hvariant and it falls in the > > category "hard to motivate myself for"). > > > > \showglyphs > > > > \starttext > >  \start > >  \dorecurse{50}{$\vec{\blackrule[width

Re: [NTG-context] \vec{} arrow length?

2017-12-27 Thread Alan Braslau
there's not much that we can do about it apart from patching > the font (doable but somewhat nasty and boring as we then need to > patch specific elements of (each) hvariant and it falls in the > category "hard to motivate myself for"). > > \showglyphs > &

Re: [NTG-context] \vec{} arrow length?

2017-12-27 Thread Hans Hagen
yself for"). \showglyphs \starttext \start \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par \stop \blank \start \switchtobodyfont [pagella] \dorecurse{50}{$\vec{\blackrule[width=#1pt]}$\space}\unskip\par \stop \blank

[NTG-context] Repeating Headers for Tabulate not Working

2017-12-22 Thread Michael Guravage
meaning} \NC \AR \HL \stoptabulatehead \starttabulate[|r|l|] \dorecurse{50} {\NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR} \stoptabulate \stoptext

[NTG-context] Repeating Headers for Tabulate not Working

2017-12-22 Thread Michael Guravage
meaning} \NC \AR \HL \stoptabulatehead \starttabulate[|r|l|] \dorecurse{50} {\NC c \NC centered \NC \AR \NC l \NC left aligned \NC \AR \NC r \NC right aligned \NC \AR} \stoptabulate \stoptext Cheers, Michael

Re: [NTG-context] \startitemize[columns] and footnote

2017-12-05 Thread Christoph Reller
ow response - spam filter was doing crazy things.) Your solution indeed makes the footnote appear at the right place. But the layout is not the same as with \startitemize[columns]. Consider: Text \footnote{Bla} \startcolumns \startitemize \dorecurse{8}{\item Item} \stopitemize \stopcolumns

Re: [NTG-context] framed with titles

2017-12-02 Thread Pablo Rodriguez
=\gobbleoneargument, >    before=\startFunnyText, >    after=\stopFunnyText] >     > \defineenumeration[Coro] >   [title=no, >   text=Corollary, >    prefix=yes, >    prefixsegments=chapter, >    way=bychapter, >    alternative=command, >    counter=Theorem, >    headcomma

Re: [NTG-context] framed with titles

2017-12-02 Thread Jeong Dal
neargument, before=\startFunnyText, after=\stopFunnyText] \starttext \dorecurse{3} {\chapter{Chapter Title} \startLemma Fort's space is a compact and Hausdorff topological space. \stopLemma \startTheorem Fort's space is a compact and Hausdorff topological space. \stopTheorem \st

Re: [NTG-context] Textbackground offset with multi-col paragraphs

2017-11-23 Thread Thomas Floeren
3em, > frame=off > ] > > \starttext > > \starttextbackground [CB] > \dorecurse {40} {a b c } > \stoptextbackground > > text > > \starttextbackground [CB] > \startTestPar > img > \TestPar > \dorecurse {40} {a b c } > \stopTestPar > \stoptextba

Re: [NTG-context] Setting the footnote symbol

2017-11-17 Thread Pablo Rodriguez
] \PagellaRegular \startlocalfootnotes Text \startfootnote Note \stopfootnote\ More text \placelocalfootnotes \stoplocalfootnotes \stopframedtext \dorecurse{5}{\input zapf} \stoptext Or use \switchtobodyfont[nonexisting] (if you feel more confortable

Re: [NTG-context] framed with titles

2017-11-14 Thread Jeong Dal
ternumber].\recurselevel} \startFunnyText}, after={\stopFunnyText\blank}] %\define[2]\thm{\FrameTitle{#1} %\startFunnyText #2 \stopFunnyText} \starttext \dorecurse{3} {\chapter{Chapter Title} {\FrameTitle{Fort's space test} \startFunnyText Let $X$ be a uncountable set. Let $\infty$ i

[NTG-context] Textbackground offset with multi-col paragraphs

2017-11-02 Thread Thomas Floeren
] \definetextbackground [CB][ location=paragraph, backgroundcolor=gray, leftoffset=.3em, rightoffset=.3em, topoffset=.3em, bottomoffset=.3em, frame=off ] \starttext \starttextbackground [CB] \dorecurse {40} {a b c } \stoptextbackground text \starttextbackground [CB] \startTestPar img \TestPar \dorecurse {40

Re: [NTG-context] notes in the margin

2017-10-24 Thread Henning Hraban Ramm
> flushes the notes without vertical skips and a rule at the begin would help. > > \define\PlaceFootnote > {\inrightmargin{\vtop{\placelocalnotes[footnote][before=,after=]}}} > > \setupnote > [footnote] > [location=text, >bodyfont=, >next=\PlaceFoo

<    6   7   8   9   10   11   12   13   14   15   >