Re: [NTG-context] Footnotes in columns

2021-03-06 Thread Jano Kula
\startcolumnset \dorecurse{10}{\input knuth\footnote{D. E. Knuth}\ } \stopcolumnset \stoptext We are running out of options :) Could you, please, have a look at it when your metafun mode is over? Thanks, Jano ConTeXt ver: 2021.03.05 19:14 LMTX fmt: 2021.3.6 On Mon, Jan 25, 2021 at 10:05 PM Clyde

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Hans Hagen
or proper refs for chapters you can use the reported values and feed them into whatever i could add something to the select style but i guess then there is no uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse

Re: [NTG-context] Write to tuc file

2021-03-06 Thread Pablo Rodriguez
ters > you can use the reported values and feed them into whatever > > i could add something to the select style but i guess then there is no > uniformity in how users do this Many thanks for the new stuff, Hans. This could be an approach: \starttext \completecontent \dorecurse{10}

[NTG-context] TEXpage does not fit \placetable & \recurselevel always zero

2021-03-05 Thread Jacob Kauffmann
that when writing the MWE. Best wishes, Jacob Kauffmann \setupTEXpage[width=10cm] \startTEXpage \placetable[force,none]{}{% \starttabulate[|c|c|] \NC A \NC B \NC\NR \HL \dorecurse{50}{\NC \expanded{\recurselevel} \NC \recurselevel \NC\NR} \stoptabulate } \stopTEXpage \stoptext

Re: [NTG-context] TEXpage does not fit \placetable & \recurselevel always zero

2021-03-05 Thread Hans Hagen
is not relevant for my actual use-case, but I found that when writing the MWE. Best wishes, Jacob Kauffmann \setupTEXpage[width=10cm] \startTEXpage \placetable[force,none]{}{% \starttabulate[|c|c|] \NC A \NC B \NC\NR \HL \dorecurse{50}{\NC \expanded{\recurselevel} \NC \recurselevel \NC\NR} \stoptabulate

Re: [NTG-context] lmtx update / teaser

2021-03-02 Thread Hans Hagen
\startshapedparagraph[mp=circle,repeat=yes,method=cycle]% \setupalign[verytolerant,stretch,last]\dontcomplain \dorecurse{100}{ {\darkred \samplefile{tufte}} {\darkgreen \kerncharacters[.125]\samplefile{ward}} {\darkblue

Re: [NTG-context] lmtx update / teaser

2021-03-01 Thread Otared Kavian
h 2mm both 3mm both 4mm both 5mm both 6mm >both 7mm both 6mm both 5mm both 4mm both 3mm both 2mm > \stopparagraphshape > > or > > \startparagraphshape[test-repeat] >both 1mm both 2mm both 3mm both 4mm both 5mm both 6mm >both 7mm both 6mm both 5mm both 4mm both 3mm

[NTG-context] lmtx update / teaser

2021-03-01 Thread Hans Hagen
5mm both 4mm both 3mm both 2mm repeat \stopparagraphshape and use that with: \startshapedparagraph[list=test] \dorecurse{8}{\showparagraphshape\samplefile{tufte} \par} \stopshapedparagraph or \startshapedparagraph[list=test-repeat] \dorecurse{8}{\showparagraphshape\samplefile{tufte

Re: [NTG-context] Write to tuc file

2021-02-28 Thread denis.maier
rnal tool > afterwards. > > I could also treat them as two individual books, but then I'd have to get the > last page number of volume 1 in volume 2. On the console you see the pagenumbers right? What you need is the realpage. You could actually do something: \dorecurse{10}{\samplefile{tuft

Re: [NTG-context] Write to tuc file

2021-02-27 Thread denis.maier
the files with some external tool > afterwards. > > I could also treat them as two individual books, but then I'd have to get the > last page number of volume 1 in volume 2. On the console you see the pagenumbers right? What you need is the realpage. You could actually do something: \dore

Re: [NTG-context] Write to tuc file

2021-02-27 Thread Hans Hagen
treat them as two individual books, but then I'd have to get the last page number of volume 1 in volume 2. On the console you see the pagenumbers right? What you need is the realpage. You could actually do something: \dorecurse{10}{\samplefile{tufte}\page} \appendetoks \writestatus

Re: [NTG-context] Arbitrary equation tags... again

2021-02-23 Thread Jairo A. del Rio
I found a workaround for anyone interested: \setupinteraction[state=start,focus=standard] \starttext \startplaceformula[title=$\alpha$,reference=alpha] \startformula 1 + 1 = 2 \stopformula \stopplaceformula \dorecurse{20}{\samplefile{knuth}} I'm in \in{$\alpha$}[alpha] %so the reference

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Hans Hagen
\dorecurse{8}{Test: \recurselevel \page} \stoptext Works in mkiv. With lmtx, I get tex error   > tex error on line 7 in file ./test.tex: You can't use 'integer 340' in internal vertical mode I have no clue because it just works here. I uploaded a new version (no real changed in that a

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-23 Thread Thomas A. Schmitz
On 20.02.21 17:12, Hans Hagen wrote: hm, but it still makes sense to know if something fails .. keep en eye on it I just stumbled upon the same error. Arranging is broken in lmtx. MWE: \setuppapersize[A6][A4] \setuparranging[2*4] \starttext \dorecurse{8}{Test: \recurselevel \page

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Mohammad Hossein Bateni
> > \definefontsynonym >[AnotherFontMain] >[file:texgyrepagellaregular] >[fallbacks=AnotherFontFallback] > > \definefont [AnotherFont] [AnotherFontMain*default] > > \starttext > > \dorecurse{26}{\convertnumber{A}{\recurselevel}\space}\par > \dorecurse{

Re: [NTG-context] set fallback in \definefont

2021-02-15 Thread Wolfgang Schuster
] \definefont [AnotherFont] [AnotherFontMain*default] \starttext \dorecurse{26}{\convertnumber{A}{\recurselevel}\space}\par \dorecurse{26}{\convertnumber{a}{\recurselevel}\space} \AnotherFont \dorecurse{26}{\convertnumber{A}{\recurselevel}\space}\par \dorecurse{26}{\convertnumber{a}{\recurselevel

Re: [NTG-context] [pagenumbers in pdf]

2021-02-13 Thread Wolfgang Schuster
=start: \starttext \dorecurse{3} {\startTEXpage[pagestate=start] Page #1 \stopTEXpage} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] issue printing with Acrobat?

2021-02-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape] \setupinteractionscreen[option={landscape, paper}] \starttext \dorecurse{2} {\startmakeup[page][pagestate=start, align=middle] \dontleavehmode \scale[width=.8\textwidth]{middle} \stopmakeup} \stoptext

Re: [NTG-context] Twenty One versus Twenty-one

2021-02-11 Thread jbf
  [chapter]   [conversion=Word] \starttext     \dorecurse{25}{\chapter{or number #1}} \stoptext But you need to wait for the update, Hans -   Hans Hagen | PRAGMA ADE   Ridderstraat 27

Re: [NTG-context] Twenty One versus Twenty-one

2021-02-11 Thread Hans Hagen
[chapter] that is for sure, but I need to call on it somewhere. Where? You don't call it, just define it (so no [setuphead=somekeyword={-}]): \def\verbosenumberconnector{-} \setuphead [chapter] [conversion=Word] \starttext \dorecurse{25}{\chapter{or number #1}} \stoptext But you need

[NTG-context] rscale not working

2021-01-24 Thread Pablo Rodriguez
Hans, rscale doesn’t work with latest from 2021.01.24 16:07: \definefontfamily[mainface][rm][Latin Modern Serif] \definefontfamily[mainface][tt][Latin Modern Sans][rscale=2] \setupbodyfont[mainface, 60pt] \starttext \dorecurse{26} {\character{\recurselevel}{\tt\character

[NTG-context] new font trickery

2021-01-24 Thread Hans Hagen
tTEXpage[offset=10pt] \char\privatecharactercode{demo:whatever}% \stopTEXpage \startTEXpage%[offset=0pt] \ruledhbox{\char103} \ruledhbox{\char104} \ruledhbox{\char105} \ruledhbox{\char106} \stopTEXpage \dorecurse{1000}{ \char 103\relax \space \char 104\relax \space \c

[NTG-context] lmtx

2021-01-18 Thread Hans Hagen
talternate[text={A}] \dorecurse{10}{A } \startalternate[text={B}] \dorecurse{10}{B } \stopalternate \dorecurse{10}{A } \stopalternate test \par test \startalternate[text={e=mc^2}]!$e=mc^2$\stopalternate\par test \alternate{e=mc^2}{copy:}\nbsp$e=mc^2$\

[NTG-context] xtable as list item

2021-01-12 Thread Pablo Rodriguez
Dear list, I have the following sample: \starttext \startitemize[n][margin=yes] \item a \item \startembeddedxtable[option={stretch, width}] \dorecurse{25}{\startxrow \startxcell \Characters{\recurselevel}\stopxcell \startxcell \characters{\recurselevel}\stopxcell

Re: [NTG-context] A not so short introduction to ConTeXt Mark IV

2021-01-11 Thread Ivan Pešić
maxsize = #tableau > tt = {} > t = {} > for i = 1, maxsize do > t[i] = {} > t[i]["columnOne"] = tableau[i] > t[i]["columnTwo"] = math.random(1,100*maxs

Re: [NTG-context] Math align not working

2021-01-09 Thread Johann Birnick
\stopformula > > > > > > \stoptext > > > > > > Aditya: > > > > can you check this? > > > > \def\math_build_eqalign > >   {\scratchtoks\emptytoks > >    \d_math_eqalign_distance\mathalignmentparameter\c!distance\relax > >    \

Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Jairo A. del Rio
\\cos(\\log(x))}{x}", > } > > \stopluacode > > \starttext > > % We define a buffer and a shuffled list of integers > > \startbuffer[test-derivatives] > \startluacode > ShuffledList = shuffle({1,2,3,4,5,6}) > \stopluacode > > Let $\cldco

Re: [NTG-context] Randomize order of blocks

2021-01-06 Thread Otared Kavian
edList[\recurselevel]]}(x) := \cldcontext{ListOfFunctions[ShuffledList[\recurselevel]]}$. Prove that \startformula \cldcontext{ListOfNames[ShuffledList[\recurselevel]]}'(x) = \cldcontext{ListOfDerivatives[ShuffledList[\recurselevel]]} \stopformula \stopbuffer \dorecurse{6}{\blank[medium]{\b

Re: [NTG-context] ligature prevention

2021-01-05 Thread Hans Hagen
new glyph juggling, like \def\UnKernedTeX{T{\glyph xoffset -.2ex yoffset -.4ex `E}{\glyph xoffset -.4ex options "C0 `X}} \dorecurse{100}{ x \UnKernedTeX} as well as some scaling features. All to be applied and integrated in due time. By the way, the ligature suppression mech

Re: [NTG-context] Math align not working

2021-01-01 Thread Aditya Mahajan
lign > {\scratchtoks\emptytoks >\d_math_eqalign_distance\mathalignmentparameter\c!distance\relax >\scratchcounterone\mathalignmentparameter\c!m >\scratchcountertwo\mathalignmentparameter\c!n >\etoksapp\scratchtoks{\the\t_math_align_a}% >\scratchcou

Re: [NTG-context] Math align not working

2021-01-01 Thread Hans Hagen
!m \scratchcountertwo\mathalignmentparameter\c!n \etoksapp\scratchtoks{\the\t_math_align_a}% \scratchcounter\plusone \dorecurse{\numexpr\scratchcounterone*\scratchcountertwo-\plusone\relax} {\ifnum\scratchcounter=\scratchcountertwo \scratchcounter\plusone \etoksapp\scratchtok

[NTG-context] lmtx: new text & math font stuff

2020-12-30 Thread Hans Hagen
\UnKernedTeX {T% {\glyph xoffset -.2ex yoffset -.4ex `E}% {\glyph xoffset -.4ex options "C0 `X}} \dorecurse{100}{ x \UnKernedTeX} There are alse \glyphxscale cum suis but again, beware that it might influence things when not used grouped. At some

Re: [NTG-context] Ducks in ConTeXt

2020-12-24 Thread Jairo A. del Rio
xt > > > > I wish the best for you all. Happy holidays! > Nice! > > You can add, at the end of the module: > > \continueifinputfile{t-metaducks.mkvi} > > \starttext > \dorecurse{100}{ > \startTEXpage > \randomducks % Why plura

Re: [NTG-context] Ducks in ConTeXt

2020-12-24 Thread Hans Hagen
I wish the best for you all. Happy holidays! Nice! You can add, at the end of the module: \continueifinputfile{t-metaducks.mkvi} \starttext \dorecurse{100}{ \startTEXpage \randomducks % Why plural? \stopTEXpage } \stoptext Which means that you run the module

[NTG-context] links in LMTX

2020-12-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d

Re: [NTG-context] issue with link and margin in LMTX

2020-12-12 Thread Otared Kavian
; \setuppapersize[A9] > \setupinteraction[state=start] > \enabledirectives[references.border] > \unexpanded\def\MyURL#1% >{\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} > \starttext > \startitemize > \dorecurse{2}{\item \MyURL{a.b\\/c.d\letterhash e}} &g

[NTG-context] issue with link and margin in LMTX

2020-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \startitemize \dorecurse{2}{\item \MyURL{a.b\\/c.d

Re: [NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Wolfgang Schuster
,   topspace=17mm,   header=0mm,   footer=12mm,   bottomspace=15mm,   width=middle,   cutspace=20mm,   backspace=19mm,   grid=yes grid=yes, (missing comma after the setting)  ] \showgrid \starttext \chapter{Überschrift} \dorecurse{260}{hallo wie geht es? } \section{Überschrift}Text. \stoptext

[NTG-context] Unnecessary page break, leaving lines empty

2020-12-11 Thread Huseyin Özoguz
,   bottomspace=15mm,   width=middle,   cutspace=20mm,   backspace=19mm,   grid=yes  ] \showgrid \starttext \chapter{Überschrift} \dorecurse{260}{hallo wie geht es? } \section{Überschrift}Text. \stoptext The problem seems to be the combination of the layout, bodyfontsize and interlinespace. If I

[NTG-context] RE : not working command in LMTX

2020-12-09 Thread Joseph
ounter][1]>>   \rawcounter[minpagecounter]}>>    \starttext>>    \dontleavehmode\dorecurse{4}{\minipagecounter\\}>>    \stoptext>> >> LMTX gives only 0 as values. MkIV increments the counter.>> >> I know that something has changed in the comma

Re: [NTG-context] not working command in LMTX

2020-12-08 Thread Pablo Rodriguez
unter][1] >> \rawcounter[minpagecounter]} >>\starttext >>\dontleavehmode\dorecurse{4}{\minipagecounter\\} >>\stoptext >> >> LMTX gives only 0 as values. MkIV increments the counter. >> >> I know that something has changed in the command

Re: [NTG-context] issue with line breaking and images

2020-12-08 Thread Hans Hagen
On 12/8/2020 5:18 PM, Pablo Rodriguez wrote: Hi Hans, I have the following MWE: \setupexternalfigures[location=default] \starttext \dontleavehmode \dorecurse{80}{\externalfigure[cow][width=.075\textwidth] } \stoptext MkIV does break the lines to compose a paragraph, but LMTX

Re: [NTG-context] not working command in LMTX

2020-12-08 Thread Hans Hagen
On 12/8/2020 4:59 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \definecounter[minpagecounter][way=bypage] \def\minipagecounter {\incrementcounter[minpagecounter][1] \rawcounter[minpagecounter]} \starttext \dontleavehmode\dorecurse{4

[NTG-context] issue with line breaking and images

2020-12-08 Thread Pablo Rodriguez
Hi Hans, I have the following MWE: \setupexternalfigures[location=default] \starttext \dontleavehmode \dorecurse{80}{\externalfigure[cow][width=.075\textwidth] } \stoptext MkIV does break the lines to compose a paragraph, but LMTX doesn’t use the space to break. In fact, it doesn’t

[NTG-context] not working command in LMTX

2020-12-08 Thread Pablo Rodriguez
Dear list, I have the following sample: \definecounter[minpagecounter][way=bypage] \def\minipagecounter {\incrementcounter[minpagecounter][1] \rawcounter[minpagecounter]} \starttext \dontleavehmode\dorecurse{4}{\minipagecounter\\} \stoptext LMTX gives only 0 as values. MkIV

[NTG-context] sacling isue in lmt_followtext

2020-12-05 Thread Pablo Rodriguez
uot;, reverse=true, ] xsized TextWidth ; \stopMPcode \stoptext Text doesn’t scale properly (I would say starting with latest from 2020.12.03 19:02). It gets worse with \dorecurse{2}. With current latest (2020.12.04 20:22), each glyph seems to have a different scaling. I even wonde

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
peat] > > \setupindenting[yes,small] > > \startsetups background:default > > \setupbackgrounds[page][background=mybg,state=repeat] > > \stopsetups > > \startsetups background:void > > \setupbackgrounds[page][background=] > > \stopsetups > > \starttext >

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Wolfgang Schuster
[page][background=mybg,state=repeat] \setupindenting[yes,small] \startsetups background:default \setupbackgrounds[page][background=mybg,state=repeat] \stopsetups \startsetups background:void \setupbackgrounds[page][background=] \stopsetups \starttext \dorecurse{7}{\input knuth} \page \setups

[NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
[yes,small] \startsetups background:default \setupbackgrounds[page][background=mybg,state=repeat] \stopsetups \startsetups background:void \setupbackgrounds[page][background=] \stopsetups \starttext \dorecurse{7}{\input knuth} \page \setups[background:void] \dorecurse{8}{\input tufte} \page \setups

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-12-02 Thread Stephen Gaito
es (etc). Then, once > > the "*.tuc" file has converged, a full ConTeXt run with PDF output > > could be done. > > not sure what you mean here ... what is fast? or: how slow is it now? > what is the bottleneck? can you cache data that didn't change? > > a lar

Re: [NTG-context] Using ConTeXt-LMTX for modern Mathematically-Literate-Programming 1/2

2020-11-30 Thread Hans Hagen
be done. not sure what you mean here ... what is fast? or: how slow is it now? what is the bottleneck? can you cache data that didn't change? a large document is normally split up in sections that can be processed independent \starttext \dorecurse{1}{\samplefile{ward}\par} \stoptext ru

Re: [NTG-context] new lmtx

2020-11-27 Thread Pablo Rodriguez
papersize[A9] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext a\footnote{\dorecurse{2}{longer }\MyURL{a.b/c.de}. \dorecurse{5}{word }}\stopasciimode \stoptext The link re

Re: [NTG-context] inbetween in \setupnotation

2020-11-27 Thread Pablo Rodriguez
On 11/27/20 8:29 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 27.11.2020 um 19:48: >> [...] >>\setupnotation[footnote] >> [before={\blackrule[color=red]}, >> after={\blackrule[color=blue]}, >> inbetween={\blackrule[color=green]}]

Re: [NTG-context] inbetween in \setupnotation

2020-11-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.11.2020 um 19:48: Dear list, I have the following sample: \setupnotation[footnote] [before={\blackrule[color=red]}, after={\blackrule[color=blue]}, inbetween={\blackrule[color=green]}] \starttext \dorecurse{18}{a\footnote{b

[NTG-context] inbetween in \setupnotation

2020-11-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupnotation[footnote] [before={\blackrule[color=red]}, after={\blackrule[color=blue]}, inbetween={\blackrule[color=green]}] \starttext \dorecurse{18}{a\footnote{b} } \stoptext I wonder why the green rule isn’t shown. I mean, I

Re: [NTG-context] question about frames

2020-11-26 Thread Andres Conrado Montoya
A bit late to the party but maybe this helps... try "frameoffset": \defineframed[caja][frameoffset=\zeropoint,width=5cm,height=2cm] \starttext \dorecurse{5}{\caja[frame=on]{Hello}} \stoptext -- Andrés Conra

Re: [NTG-context] Orphan issue with \startitemize

2020-11-26 Thread Marco Patzer
On Thu, 26 Nov 2020 21:11:25 + Bruce Horrocks wrote: > With \dorecurse{34} all of the items move to the second page even > though only one extra line has been added and there is now quite a > large gap at the bottom of the first page. > > Is there a setting that controls

[NTG-context] Orphan issue with \startitemize

2020-11-26 Thread Bruce Horrocks
%\dorecurse{32}{ ~ \par } %\dorecurse{33}{ ~ \par } \dorecurse{34}{ ~ \par } The following items are blah blah blsh: \startitemize \sym{-} \Lorem \sym{-} \Lorem \sym{-} \Lorem \sym{-} \Lorem \stopitemize \stoptext I find that \dorecurse{32} fits two items on the bottom of the first page and two

Re: [NTG-context] question about frames

2020-11-26 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 25.11.2020 um 22:43: Dear list, here is a minimal sample of frames to make up labels: \setuplayout[page] \starttext \dorecurse{16}{\dontleavehmode\dorecurse{4} {\framed[width=52.5mm, height=18.5mm, align=right]{\null}}\\} \stoptext Which is the way

Re: [NTG-context] question about frames

2020-11-26 Thread Henning Hraban Ramm
> Am 25.11.2020 um 22:43 schrieb Pablo Rodriguez : > > Dear list, > > here is a minimal sample of frames to make up labels: > > \setuplayout[page] > \starttext > \dorecurse{16}{\dontleavehmode\dorecurse{4} > {\framed[width=52.5mm, height=18.5mm, align=

[NTG-context] question about frames

2020-11-25 Thread Pablo Rodriguez
Dear list, here is a minimal sample of frames to make up labels: \setuplayout[page] \starttext \dorecurse{16}{\dontleavehmode\dorecurse{4} {\framed[width=52.5mm, height=18.5mm, align=right]{\null}}\\} \stoptext Which is the way to avoid any vertical space between frames? Sorry

[NTG-context] RE : RE : RE : RE : Issue with grid

2020-11-25 Thread Joseph
, Perhaps you already fixed it locally. \showgrid\setuplayout[grid=both] \starttext\dorecurse{8}{\blank[line]Fin des psalmes.\blank[line]\input knuth }\stoptext De : Hans HagenEnvoyé le :lundi 23 novembre 2020 13:19À : Joseph; mailing list for ConTeXt usersObjet :Re: RE : RE : [NTG-context] Issue

Re: [NTG-context] issue with links

2020-11-24 Thread Pablo Rodriguez
oup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} > \starttext > \dorecurse{10}{word } > \MyURL{https://www.mobileread.com/forums/showthread.php?t=183423} > \stoptext Hans, many thanks for having fixed the issue in current latest (2020.11.2

Re: [NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Pablo Rodriguez
setups[*lessstrict] \widowpenalty=1000 \clubpenalty=1000 \brokenpenalty=1000 \stopsetups \setuplayout[setups={*lessstrict}, grid=both] \showgrid \setupwhitespace[line] \starttext \dorecurse{8} {\blank[line]Fin des psalmes.\par \blank[line]\input knu

[NTG-context] RE : RE : RE : Issue with grid

2020-11-23 Thread Joseph
Could reproduce this problem with ‘default’ font and even seeing it cumulating in same page. BTW, Perhaps you already fixed it locally. \showgrid\setuplayout[grid=both] \starttext\dorecurse{8}{\blank[line]Fin des psalmes.\blank[line]\input knuth }\stoptext De : Hans HagenEnvoyé le :lundi 23

Re: [NTG-context] RE : RE : Issue with grid

2020-11-23 Thread Hans Hagen
get. Could reduce MWE a bit. \showgrid \setuplayout[grid=both] \definefontfamily[mainfont][serif][EBGaramond][features=default] \setupbodyfont[mainfont, 9pt] \starttext \blank[line]Fin des psalmes. \blank[line]Fin des psalmes. \dorecurse{8}{\input knuth } \stoptext It looks ok here< I a

[NTG-context] RE : RE : Issue with grid

2020-11-23 Thread Joseph
\setuplayout[grid=both] \definefontfamily[mainfont][serif][EBGaramond][features=default]\setupbodyfont[mainfont, 9pt] \starttext \blank[line]Fin des psalmes. \blank[line]Fin des psalmes. \dorecurse{8}{\input knuth } \stoptext De : Hans HagenEnvoyé le :lundi 23 novembre 2020 10:54À : Joseph; mailing list

[NTG-context] RE : Issue with grid

2020-11-23 Thread Joseph
owgrid> > \setuplayout[grid=both]> > \definefontfeature[base][mode=node]> > \definefontfamily[mainfont][serif][EBGaramond][features=base]> > \setupbodyfont[mainfont, 9pt]> > \starttext> > \blank[line, samepage]Fin des psalmes.> > \blank[line, samepage]Fin des

Re: [NTG-context] Issue with grid

2020-11-22 Thread Hans Hagen
=both] \definefontfeature[base][mode=node] \definefontfamily[mainfont][serif][EBGaramond][features=base] \setupbodyfont[mainfont, 9pt] \starttext \blank[line, samepage]Fin des psalmes. \blank[line, samepage]Fin des psalmes. \dorecurse{8}{\input knuth } \stoptext If number of itérations

[NTG-context] Issue with grid

2020-11-22 Thread Joseph
] \definefontfamily[mainfont][serif][EBGaramond][features=base]\setupbodyfont[mainfont, 9pt] \starttext \blank[line, samepage]Fin des psalmes. \blank[line, samepage]Fin des psalmes. \dorecurse{8}{\input knuth } \stoptext If number of itérations is changed from 8 to 7) problem does not appear, seems

[NTG-context] issue with links

2020-11-19 Thread Pablo Rodriguez
Dear list, this MWE shows that links may be misbehaving again: \setupindenting[yes, always, big] \setupinteraction[state=start] \enabledirectives[references.border] \unexpanded\def\MyURL#1% {\bgroup\goto{{\tt\hyphenatedurl{#1}}}[url(#1)]\egroup} \starttext \dorecurse{10}{word

Re: [NTG-context] new upload

2020-11-18 Thread Hans Hagen
introduced ... thanks for testing. Many thanks for the new upload, Hans. Even headings and lists are indented now:    \showframe\showgrid    \setupindenting[yes, always, big]    \starttext    \placelist[section]    \dorecurse{5} {\section{Section \recurselevel} \input{zapf}}    \stoptext I

Re: [NTG-context] new upload

2020-11-18 Thread Wolfgang Schuster
for the new upload, Hans. Even headings and lists are indented now: \showframe\showgrid \setupindenting[yes, always, big] \starttext \placelist[section] \dorecurse{5} {\section{Section \recurselevel} \input{zapf}} \stoptext I think this may be a bug. Minimal example

Re: [NTG-context] new upload

2020-11-18 Thread Pablo Rodriguez
Even headings and lists are indented now: \showframe\showgrid \setupindenting[yes, always, big] \starttext \placelist[section] \dorecurse{5} {\section{Section \recurselevel} \input{zapf}} \stoptext I think this may be a bug. Pablo -- http

[NTG-context] Tables in multiple columns?

2020-11-16 Thread Bruce Horrocks
There's an example in the Wiki on how to put a table into multiple columns that no longer works in LMTX (version 2020.11.05 23:01). <https://wiki.contextgarden.net/TABLE#Tables_in_multiple_columns> \starttext \startcolumns[n=3] \bTABLE \dorecurse{21} {\bTR \bTD a\eTD \bTD b \eTD \eTR} \

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
amepage]\hskip 0pt}] > > \starttext > > \showframe > > \dorecurse{50}{a } > > \startsection[title=spec] > > \startxtable > > > What happens when you \hskip is that you switch to horizontal > mode and the preferred to do this is to use

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 19:11: Weirdly enough, "\hskip 0pt" solves the problem.     \setuphead[section][after={\blank[samepage]\hskip 0pt}]     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec]     \startxtable What happens when

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
s at the top of the page: > > > > \starttext > > \showframe > > \dorecurse{50}{a } > > \startsection[title=spec][before={\blank[preference,big]}, > > after={\blank[samepage,big]}] > > Your settings in the second argument of \startsection make no sense &

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 10.11.2020 um 18:06: Thanks for the suggestion, but as illustrated by the second example, copied here, where the section title is at the top of the page:     \starttext     \showframe     \dorecurse{50}{a }     \startsection[title=spec][before={\blank[preference

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread Sylvain Hubert
> following example? > > > > > > \indenting[2em] > > > \setupindenting[yes] > > > > > > \starttext > > > > > > \dorecurse{50}{a b c } > > > > > > \placefigure[here,none][indentnext=yes]{}{ >

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
testpage[4]\blank[2*big]}] > > Wolfgang > Hi Wolfgang, Thanks for the suggestion, but as illustrated by the second example, copied here, where the section title is at the top of the page: \starttext \showframe \dorecurse{50}{a } \startsection[title=spec][before={\blank[preferenc

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread Aditya Mahajan
\setupindenting[yes] > > > >     \starttext > > > >     \dorecurse{50}{a b c } > > > >     \placefigure[here,none][indentnext=yes]{}{ > >     \startMPcode > >     draw fullcircle scaled 1cm; > >     \stopMPcode > >     } &g

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 17:37, Pablo Rodriguez wrote: > On 11/10/20 5:23 PM, Sylvain Hubert wrote: > > My mistake, but the problem survives the fix: > > > > \setuphead[section][after={\blank[samepage,big]}] > > \starttext > > \showframe > > \

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 5:23 PM, Sylvain Hubert wrote: > My mistake, but the problem survives the fix: > >     \setuphead[section][after={\blank[samepage,big]}] >     \starttext >     \showframe >     \dorecurse{50}{a } >     \startsection[title=spec] >     \startxtable Hi Sylvain,

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
My mistake, but the problem survives the fix: \setuphead[section][after={\blank[samepage,big]}] \starttext \showframe \dorecurse{50}{a } \startsection[title=spec] \startxtable \startxrow \startxcell[ny=30]a\stopxcell\startxcell 1\stopxcell \stopxrow

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
eed brings the solution closer and it does format the previous example correctly. However, when I went back to the original document, neither [before={\blank[preference, big]}] nor [after={\blank[samepage, big]}] nor both worked. I trimmed it into the following example which behaves the same:

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread Sylvain Hubert
\setupindenting[yes] > > > > \starttext > > > > \dorecurse{50}{a b c } > > > > \placefigure[here,none][indentnext=yes]{}{ > > \startMPcode > > draw fullcircle scaled 1cm; > > \stopMPcode > > }

Re: [NTG-context] Indentation after \placefigure

2020-11-10 Thread mf
Il 10/11/20 09:42, Sylvain Hubert ha scritto: Dear List, Does anyone know how to indent the paragraph beneath \placefigure in the following example?     \indenting[2em]     \setupindenting[yes]     \starttext     \dorecurse{50}{a b c }     \placefigure[here,none][indentnext=yes

[NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
Dear List, In the following example, the section title appears at the very end of the first page. \showframe \starttext \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{30}{a b

[NTG-context] Indentation after \placefigure

2020-11-10 Thread Sylvain Hubert
Dear List, Does anyone know how to indent the paragraph beneath \placefigure in the following example? \indenting[2em] \setupindenting[yes] \starttext \dorecurse{50}{a b c } \placefigure[here,none][indentnext=yes]{}{ \startMPcode draw fullcircle scaled 1cm

[NTG-context] main text runs in the footnote area

2020-11-09 Thread Pablo Rodriguez
Hans, I have the following sample: \starttext \dorecurse{25}{This is a sentence\footnote{And this is a footnote}. } \startitemize[n, columns, three, packed] \dorecurse{25}{\item This is an item} \stopitemize \input{zapf}\footnote{This is a footnote} \startitemize[n, columns, two

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 18:27, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 17:56: > > Hi Wolfgang, > > > > I'm sorry that the question was not clear enough. Let me ask in this way: > > how to define a \d

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 17:56: Hi Wolfgang, I'm sorry that the question was not clear enough. Let me ask in this way: how to define a \dorecurse, such that \dorecurse{10}{\type{a    b c}} does not squash the spaces? Verbatim in arguments of other commands is tricky because

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Sylvain Hubert
Hi Wolfgang, I'm sorry that the question was not clear enough. Let me ask in this way: how to define a \dorecurse, such that \dorecurse{10}{\type{ab c}} does not squash the spaces? Sylvain On Sun, 8 Nov 2020 at 15:03, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: >

Re: [NTG-context] \setupindenting[first] not working

2020-11-08 Thread Denis Maier
is not indented.    \setupindenting[yes,first,4cm]    \starttext    \section{a}        \dorecurse{84}{abc }        \dorecurse{84}{abc }        \stoptextDoes anyone know how to actually get the first paragraph indented?Thanks!Best,Sylvain

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
t;mailto:oi...@gmx.es <mailto:oi...@gmx.es>>> wrote: > >     Hi Sylvain, > >        \setupfootertexts[\pagenumber/\lastpagenumber] >        \starttext >        \dorecurse{25}{\null\page} >        \stoptext > > &

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
> > >\setupfootertexts[\pagenumber/\lastpagenumber] > >\starttext > >\dorecurse{25}{\null\page} > >\stoptext > > > > > > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for > > the help!. > > >

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 11:48: On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez <mailto:oi...@gmx.es>> wrote: Hi Sylvain,   \setupfootertexts[\pagenumber/\lastpagenumber]   \starttext   \dorecurse{25}{\null\page}   \stoptext Indeed, \setupf

Re: [NTG-context] "page i/n" in footer

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:31, Pablo Rodriguez wrote: > Hi Sylvain, > > \setupfootertexts[\pagenumber/\lastpagenumber] > \starttext > \dorecurse{25}{\null\page} > \stoptext > Indeed, \setupfooterexts is much clearer for page numbering. Thanks for the help!. Btw

Re: [NTG-context] issues with fonts and font effects

2020-11-08 Thread Wolfgang Schuster
}] \definefontfamily[face2][rm][gabriola] [features={default, ef2}] \starttext \switchtobodyfont[face1]\dorecurse{100}{a b c } \switchtobodyfont[face2]\dorecurse{100}{a b c } \switchtobodyfont[palatino]\dorecurse{100}{a b c } \stoptext \setupbodyfont[palatino] or \switchtobodyfont

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