Re: [NTG-context] Printing 3 din lang pages on one dina4 page

2019-03-12 Thread Wolfgang Schuster
the number of columns with the nx-key of \setuppaper. \definepapersize [A4/3] [width=99mm,height=210mm] \setuppapersize [A4/3] [A4,landscape] \setuppaper [nx=3,ny=1] \setuparranging [XY] \setupbodyfont [10pt] \showframe[page] \starttext \dorecurse{10}{\samplefile{tufte}} \stoptext Wolfgang

Re: [NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-11 Thread Wolfgang Schuster
}} \stopsetups \setupletterlayer [lettermain] [alternative=setups, x=160mm, y=17mm] \startletter \dorecurse{3}{\input knuth \par} \stopletter Another way to place content in the background is to use the “paper” (or “text”) background which isn’t used by the letter module and your

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
,}, enclosure={list:Commercial Invoice,Accounts Statement},] \dorecurse{3}{\input knuth \par} \stopletter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] horizontal headalternatives ignore indentnext

2019-02-27 Thread Henri Menke
\endgraf \ifvmode \ifnum\n_strc_rendering_hang_lines>\zerocount \dorecurse\n_strc_rendering_hang_lines{\nointerlineskip\dosomebreak\nobreak\strut\endgraf}% to be checked \fi \nointerlineskip \dosomebreak\nobreak \fi % \getheadsyncs % a latelua

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

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

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
3em, title=yes, prefix=yes, prefixsegments=chapter, way=bychapter, before={\blank}, after=\blank] \setupbodyfont[rm, 11pt] \starttext \dorecurse{3}{ \startchapter[title={Chapter Title}] \startExam We call it \index{OneTwo}{\bf OneTwo} \stopExam \startExam We call it \index{

Re: [NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-02-06 Thread Rik Kabel
, footer=10bp, height=578bp, ] \setupinterlinespace[line=1.3em] \setupbodyfont[times,10bp] \starttext \input knuth Silly para Silly para \placefigure[right]{}{\framed[width=100bp,height=75.75bp]{\null}} \input knuth \dorecurse{8}{\par Silly para} \placefigure[right]{}{\framed[width=100bp

[NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-01-29 Thread Sanjoy Mahajan
[width=100bp,height=75.75bp]{\null}} \input knuth \dorecurse{8}{\par Silly para} \placefigure[right]{}{\framed[width=100bp,height=60.75bp]{\null}} \dorecurse{32}{Silly text } \dorecurse{3}{\input knuth \par} \stoptext == end margin-figure-region.tex

Re: [NTG-context] Changes \setuphead

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

Re: [NTG-context] Changes \setuphead

2019-01-21 Thread Otared Kavian
yes, >before=\directsetup{chapter:before}] > > \starttext > > \startchapter[title={Knuth}] > \dorecurse{2}{\samplefile{knuth}} > \stopchapter > > \startchapter[title={Ward}] > \dorecurse{1}{\samplefile{ward}} > \stopchapter > > \startchapter[title={Zapf}] >

[NTG-context] Changes \setuphead

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

Re: [NTG-context] startchapter in two columns

2019-01-18 Thread Lizardo M. Reyna Bowen
Thanks Wolfgang, The insidesection/aftersection options in \setuphead works well. I have been used the following way: \starttext \chapter{title of the chapter} \startcolumns \section{Introduction} \dorecurse{5}{\input davis\par} \section{Methods} \dorecurse{5}{\input davis\par

Re: [NTG-context] startchapter in two columns

2019-01-18 Thread Wolfgang Schuster
, it is not problem, but I can not do it with \start..\stop command. Do you have a example where you use \chapter? Somebody knows how to do it ? \setuphead [chapter] [insidesection=\startcolumns, aftersection=\stopcolumns] \starttext \startchapter[title={Greenfield}] \dorecurse{10

Re: [NTG-context] \startcolumns and multi-line footnotes

2019-01-16 Thread Otared Kavian
\startpagecolumns[example] \dorecurse {7} { \samplefile{tufte} \footnote{This is a short footnote.} \par } \stoppagecolumns \stoptext > On 16 Jan 2019, at 14:14, Taco Hoekwater wrote: > > Hi, > > With the new version of columns, how do I get multi

[NTG-context] \startcolumns and multi-line footnotes

2019-01-16 Thread Taco Hoekwater
Hi, With the new version of columns, how do I get multi-line footnotes? I tried various things with \setupnotation but nothing seems to work? MWE: \starttext \startcolumns \dorecurse{3}{\input ward\footnote{\input zapf} } \stopcolumns \stoptext Best wishes, Taco footn.pdf Description

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

2019-01-16 Thread Otared Kavian
\startitemize \dorecurse{3}{% \startitem \input ward \stopitem} \stopitemize \stoptext Best regards: OK > On 16 Jan 2019, at 10:48, jdh wrote: > > > > I want to fit a page with an itemized group of items. > The normal vertical s

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

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

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

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

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

2019-01-15 Thread Hans Hagen
re=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth}] \dorecurse{10}{\samplefile{knuth}} \stopchapter \startchapter[title={Zapf}] \dorecurse{10}{\samplefile{zapf}} \stopchapter \startchapter[title={Ward}] \dorecurse{10}{\samplefile{ward}} \stopchapter \stoptext Wolfgang

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

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

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

2019-01-14 Thread Wolfgang Schuster
}] \dorecurse{10}{\samplefile{knuth}} \stopchapter \startchapter[title={Zapf}] \dorecurse{10}{\samplefile{zapf}} \stopchapter \startchapter[title={Ward}] \dorecurse{10}{\samplefile{ward}} \stopchapter \stoptext Thanks a lot Wolfgang! This was just the thing I was looking for. These setups seems

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

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

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

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

Re: [NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
k. > > Secondly, paper setup seems to require a new kind of massage. > > \setuppapersize[S6][S6] > > \starttext > \dorecurse{10}{\input knuth} > \input knuth > \stoptext > > produces > &g

[NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
[cardioid.pdf][width=1.5in]{Cardioid} \stoptext Using the following pdf which is version 1.4 cardioid.pdf Description: cardioid.pdf More recent PDFs (1.5)seem to work. Secondly, paper setup seems to require a new kind of massage. \setuppapersize[S6][S6] \starttext \dorecurse{10}{\input knuth

Re: [NTG-context] columnset vs columns

2018-12-22 Thread Henri Menke
On 23/12/18 7:59 PM, Thangalin wrote: > Minimal example: > > \definepapersize[PaperSize][ > width=400mm, > height=100mm, > ] > > \setuppapersize[PaperSize] \setuplayout[grid=yes] > > \starttext > \startcolumnset[n=3] > \dorecurse{3}{\input k

[NTG-context] columnset vs columns

2018-12-22 Thread Thangalin
Minimal example: \definepapersize[PaperSize][ width=400mm, height=100mm, ] \setuppapersize[PaperSize] \starttext \startcolumnset[n=3] \dorecurse{3}{\input knuth} \stopcolumnset \stoptext The old-columnsets module fails with an error. The following works as expected

Re: [NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Hans Hagen
[packed, autointro] \starttext \startitemize \startitem Foo \startplacefigure [title=Lorem ipsum dolor sit amet consectetur] \externalfigure [hacker] \stopplacefigure Bar \stopitem \dorecurse{15}{%% \startitem Foobar \stopitem } \stopitemize \stoptext

[NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Marco Patzer
\startitem Foo \startplacefigure [title=Lorem ipsum dolor sit amet consectetur] \externalfigure [hacker] \stopplacefigure Bar \stopitem \dorecurse{15}{%% \startitem Foobar \stopitem } \stopitemize \stoptext Marco

Re: [NTG-context] Spurious missing character reports

2018-12-10 Thread Hans Hagen
backs=fb:ebgr] \stoptypescript \define\Test{¡Missing!} \setupbodyfont [ebgaramond,11pt] \setupbodyfont [libertinus,11pt] \starttext \dorecurse{6}{ \switchtobodyfont[small] \Test\par} \stoptext While the messages appear to be incorrect,

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-10 Thread Tomas Hala
I have got the following two minimal non-working examples (on TeXlive 2018): # > # >\starttext\setupTABLE[split=yes] # > \bTABLE # > \bTABLEhead\bTR\bTH head \eTH\eTR\eTABLEhead # > \bTABLEbody # > \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR} # > \eTA

[NTG-context] Spurious missing character reports

2018-12-09 Thread Rik Kabel
gr] [file:libertinusserif-regular] [0x204A] \starttypescript [serif] [ebgaramond] \definefontsynonym [Serif] [file:ebgaramond-regular] [fallbacks=fb:ebgr] \stoptypescript \define\Test{¡Missing!} \setupbody

[NTG-context] Text running of the page with default=top float paremeter

2018-12-05 Thread Marco Patzer
ure \stopplacefigure \startplacesmallfigure \externalfigure \stopplacesmallfigure \dorecurse{4}{\samplefile{knuth}} \stoptext Marco ___ If your question is of interest to others as well, please add an entry to the W

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Wolfgang Schuster
] \bTABLE \bTABLEhead\bTR\bTH head \eTH\eTR\eTABLEhead \bTABLEbody \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR} \eTABLEbody \eTABLE \stoptext In this case, the head-line is alse counted which makes no sense and I do not know how to supress it. Even though

[NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Tomas Hala
\eTH\eTR\eTABLEhead \bTABLEbody \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR} \eTABLEbody \eTABLE \stoptext In this case, the head-line is alse counted which makes no sense and I do not know how to supress it. If I add \bTABLEnext (below), I receive very strange result -- both

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Huseyin Özoguz
space[22pt] \starttext \startbuffer     \dorecurse{20}{\ruby{XYZ}{a|bc|d} }\par     \dorecurse{20}{\ruby{PQR}{p|q|r} }\par     \dorecurse{20}{\ruby{XYZ}{1|22|333} }\par     \dorecurse{20}{\ruby{XYZ}{111|222|333} }\par     \dorecurse{20}{\ruby{XYZ}{foobar} }\par     \dorecurse{20}{\ruby{XYZ}{fooled

Re: [NTG-context] Interlinear translations in Context

2018-12-03 Thread Hans Hagen
=darkred] \defineruby[spread][stretch=yes] \showframe \showglyphs \showfontkerns \setupinterlinespace[22pt] \starttext \startbuffer \dorecurse{20}{\ruby{XYZ}{a|bc|d} }\par \dorecurse{20}{\ruby{PQR}{p|q|r} }\par \dorecurse{20}{\ruby{XYZ}{1|22|333} }\par \dorecurse{20}{\ruby{XYZ}{111|222

Re: [NTG-context] Replace dashed lines with a solid line

2018-12-01 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 01.12.18 um 12:43: Hello, I would like to replace the dashed lines with a solid line much like with the \hairline command Thank you. Fabrice \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \starttext \input knuth \dorecurse{5}{\filler[dots

[NTG-context] Replace dashed lines with a solid line

2018-12-01 Thread Fabrice Couvreur
Hello, I would like to replace the dashed lines with a solid line much like with the \hairline command Thank you. Fabrice \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint\par] \starttext \input knuth \dorecurse{5}{\filler[dots]} \input knuth \dorecurse{5}{\hairline} \stoptext

Re: [NTG-context] vertically centering line numbers

2018-12-01 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 30.11.18 um 19:29: Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically

[NTG-context] vertically centering line numbers

2018-11-30 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplinenumbering[step=3, style=\tfxx] \starttext \startlinenumbering \dorecurse{40}{This is a verse.\\} \stoplinenumbering \stoptext Is there a way to center vertically the line numbers? Many thanks for your help, Pablo

Re: [NTG-context] \framed regression

2018-10-29 Thread Henning Hraban Ramm
Am 2018-10-28 um 20:49 schrieb Herbert Voss : > Am 28.10.18 um 20:37 schrieb Henning Hraban Ramm: >> If I just typeset frames, they get 1pt of space inbetween: >> \starttext > > \offinterlineskip > >> \dorecurse{20}{% >> %\vskip-1pt% to avoid space >>

Re: [NTG-context] \framed regression

2018-10-28 Thread Herbert Voss
Am 28.10.18 um 20:37 schrieb Henning Hraban Ramm: If I just typeset frames, they get 1pt of space inbetween: \starttext \offinterlineskip \dorecurse{20}{% %\vskip-1pt% to avoid space \framed[width=10cm,height=1cm]{\ConTeXt}% } \stoptext Herbert I’m not quite sure if that shows

Re: [NTG-context] \framed regression

2018-10-28 Thread Henning Hraban Ramm
If I just typeset frames, they get 1pt of space inbetween: \starttext \dorecurse{20}{% %\vskip-1pt% to avoid space \framed[width=10cm,height=1cm]{\ConTeXt}% } \stoptext I’m not quite sure if that shows the real problem and if that really was tight before. With my tiny labels I had

Re: [NTG-context] Odd/even page test

2018-10-17 Thread Procházka Lukáš Ing .
\pagenumber ODD\else EVEN\fi} \starttext \dorecurse{2}{\T\page} \startTEXpage[width=50mm,height=150mm]\stopTEXpage \dorecurse{2}{\T\page} \stoptext Hi Lukáš, both makeups and fitting pages aren’t numbered by default. Either you add this to the preamble: \setupfittingpage[TEXpage

Re: [NTG-context] Odd/even page test

2018-10-16 Thread Pablo Rodriguez
On 10/16/18 4:25 PM, Procházka Lukáš Ing. wrote: > Hello, > > I need to check whether even or odd page is to be printed. I'm starting with > the following simple code: > > > \def\T{\ifodd\pagenumber ODD\else EVEN\fi} > > \starttext >\dorecurse{2}{\T\page}

[NTG-context] Odd/even page test

2018-10-16 Thread Procházka Lukáš Ing .
Hello, I need to check whether even or odd page is to be printed. I'm starting with the following simple code: \def\T{\ifodd\pagenumber ODD\else EVEN\fi} \starttext \dorecurse{2}{\T\page} \startTEXpage[width=50mm,height=150mm]\stopTEXpage \dorecurse{2}{\T\page} \stoptext Why

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
> \startxcell > > 0,6 > > \stopxcell > > \stopxrow > > \startxrow > > \startxcell[nx=3,frame=off,align={right}] > >Lecture du tableau : pour la production d'un bien équivalent à 1 > > UM, l'industrie consom

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Pablo Rodriguez
duction d'un bien équivalent à 1 > UM, l'industrie consomme l'équivalent de 0,5 UM de sa propre production > et l'équivalent de 0,2 UM de la production de l'agriculture. >   \stopxcell >     \stopxrow >   \stopxtable > }    > \dorecurse{10}{\input knuth}  > \stoptext >

[NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
,align={right}] Lecture du tableau : pour la production d'un bien équivalent à 1 UM, l'industrie consomme l'équivalent de 0,5 UM de sa propre production et l'équivalent de 0,2 UM de la production de l'agriculture. \stopxcell \stopxrow \stopxtable } \dorecurse{10}{\input knuth

Re: [NTG-context] moving the first line of a page to the previous page

2018-10-09 Thread Hans Hagen
to the next page anyway. Even looking at hyphenations, i can't find an explanation fot that behaviour. you can mess with penalties but at somepoint tex has to decide ... an option is to use \adaptlayout and make the page a line higher, another is \starttext \showframe \dorecurse{22}{line #1\blank

[NTG-context] style=underbar output in export

2018-10-03 Thread Rik Kabel
light[Term][style=underbar]%   pdf ok, html bad %\definehighlight[Term][style={{\underbar}}]% pdf bad, html ok \starttext \dorecurse{200}{%   \startparagraph     \samplefile{ward}     \Term{pollakis legomenon}     \samplefile{bryson}   \stopparagraph} \stoptext

[NTG-context] prevent page break when using blocks

2018-09-27 Thread Jan Willem Flamma
Answer 3 \item Answer 4 \item Answer 5 \stopitemize \stopquestion \endquestion \beginanswer \startanswer B \stopanswer \endanswer \stopbuffer \dorecurse{30}{\getbuffer[question]} \startsection[title=Questions] \useblocks[question][criterium=chapter] \page \startsubsubsection[title=Answers

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster
\definepapersize [A4/3] [width=99mm,height=210mm] \setuppapersize [A4/3] [A4,landscape] \setuparranging [TRYPTICHON] \setupbodyfont [10pt] \starttext \dorecurse{12}{\samplefile{knuth}} \stoptext Wolfgang Jan U. Hasecke schrieb am 21.09.18 um 15:27: Hi all, consulting the wiki I found

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
, >before=\endgraf, >after=\endgraf, >command=\ChapterTocEntry] > > \usemodule[visual] > > \starttext > > \placelist[chapter][criterium=all] > > \dorecurse{5}{ > \chapter{\fakewords{2}{7}} > \dorecurse{5}{ > \fakewords{10}{300}\par >

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Wolfgang Schuster
\setupinteraction[state=start] \define[3]\ChapterTocEntry   {\maxaligned{#2\hfill#3}} \setuplist   [chapter]   [alternative=interactive,    before=\endgraf,    after=\endgraf,    command=\ChapterTocEntry] \usemodule[visual] \starttext \placelist[chapter][criterium=all] \dorecurse{5

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
and=\ChapterTocEntry, ] \usemodule[visual] \starttext \placelist[chapter][criterium=all] \dorecurse{5}{ \chapter{\fakewords{2}{7}} \dorecurse{5}{ \fakewords{10}{300}\par } } \stoptext - 8< - Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net

Re: [NTG-context] Tabulate backgroundcolors

2018-09-10 Thread Hans Hagen
] \HL \VL \color[white]{\bf Table NAME} \CM[black] \VL\NR \HL \VL \VL \bf Description: \VL\NR \HL \VL \VL \startitemize \dorecurse{60}{\item Item \recurselevel} \stopitemize \VL\NR \HL \stoptabulate \stoptext

Re: [NTG-context] Tabulate backgroundcolors

2018-09-10 Thread Henri Menke
white]{\bf Table NAME} \CM[black] \VL\NR > \HL > \VL \VL \bf Description: \VL\NR > \HL > \VL \VL > \startitemize > \dorecurse{60}{\item Item \recurselevel} > \stopitemize > \VL\NR > \HL > \stoptabulate > \stoptext >

[NTG-context] Tabulate backgroundcolors

2018-09-06 Thread Henri Menke
\dorecurse{60}{\item Item \recurselevel} \stopitemize \VL\NR \HL \stoptabulate \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] split long formula in two pages

2018-08-26 Thread Jeong Dal
to split long table in two pages. Is there a similar way for long formula? Here is a minimal example. \showframe \starttext \dorecurse{3}{\input knuth} \startformula\startalign \NC S_1 \NC = 1 = 1 + 0 \bigg( \frac{1}{2}\bigg), \NR \NC S_2 \NC = 1 + \frac{1}{2} = 1

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
,alternative=A] On 26 Aug 2018, at 17:43, Wolfgang Schuster <mailto:wolfgang.schuster.li...@gmail.com>> wrote: The real question is why do you get an index without two columns. \starttext \dorecurse{26}{\convertnumber{a}{#1}\expanded{\index{\convertnumber{a}{#1 \placeregister[in

Re: [NTG-context] index with more than one column?

2018-08-26 Thread Wolfgang Schuster
The real question is why do you get an index without two columns. \starttext \dorecurse{26}{\convertnumber{a}{#1}\expanded{\index{\convertnumber{a}{#1 \placeregister[index]%[n=3] \stoptext Hans van der Meer schrieb am 26.08.18 um 17:37: How do I produce an index with more than one

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
}] \setuplist[section][width=10mm, style=,textcommand={\ss }] \showframe \startfrontmatter \completecontent \page[empty] \stopfrontmatter \startbodymatter \dorecurse{9} {\chapter{Ch \recurselevel} \dorecurse{8} {\section{Section \recurselevel}} } \stopbodymatter

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen
il.com>; Joseph Canedo <mailto:josephcan...@gmail.com> *Objet :*Re: [NTG-context] structures.lists.ordered empty in latest beta On 8/18/2018 10:11 AM, Wolfgang Schuster wrote: > Here is your minimal example. > > > \starttext > > \dorecurse{20}{\section[sec:#

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Joseph Canedo
Canedo Objet :Re: [NTG-context] structures.lists.ordered empty in latest beta On 8/18/2018 10:11 AM, Wolfgang Schuster wrote: > Here is your minimal example. > > > \starttext > > \dorecurse{20}{\section[sec:#1]{Section #1}} > > Section \in[sec:16] appears on page \

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Hans Hagen
On 8/18/2018 10:11 AM, Wolfgang Schuster wrote: Here is your minimal example. \starttext \dorecurse{20}{\section[sec:#1]{Section #1}} Section \in[sec:16] appears on page \at[sec:16]. Section \in[sec:17] appears on page \at[sec:17]. \stoptext Goes ok here

Re: [NTG-context] structures.lists.ordered empty in latest beta

2018-08-18 Thread Wolfgang Schuster
Here is your minimal example. \starttext \dorecurse{20}{\section[sec:#1]{Section #1}} Section \in[sec:16] appears on page \at[sec:16]. Section \in[sec:17] appears on page \at[sec:17]. \stoptext Wolfgang Joseph Canedo schrieb am 17.08.18 um 23:08: The latelua functions seems fixed

Re: [NTG-context] Text wrapped with an ornement

2018-08-17 Thread Fabrice Couvreur
e the following code to insert comments with an > > ornament. I notice that the option alternative= serried does not seem to > > work. > > Hi Fabrice, > > I think it is not clear what do you intend to do with the frame. > > If text inside isn’t broken in lines is because

Re: [NTG-context] Text wrapped with an ornement

2018-08-17 Thread Pablo Rodriguez
me. If text inside isn’t broken in lines is because of the lack of spaces (use "\dorecurse{100}{blabla }" instead). If I miss your point, could you explain what you need? Just in case it might help, Pablo -

Re: [NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Pablo Rodriguez
  >   \setuplayout >    [topspace=10mm, >     header=\zeropoint, >     footer=10mm, >     height=middle, >     backspace=20mm, >     width=middle] > >   \setupbackgrounds >    [header] >    [text] >    [frame=off, >     topframe=on, >     bottomframe=o

Re: [NTG-context] Text wrapped with an ornement

2018-08-17 Thread Wolfgang Schuster
wrapped frame=off, corner=round, ] \showframe \starttext \FrameTitle{Info}{\startFramedText[width=\textwidth] \dorecurse{100}{blabla} \stopFramedText} \stoptext ___ If your question

[NTG-context] Text wrapped with an ornement

2018-08-17 Thread Fabrice Couvreur
\FrameTitle{Info}{\startFramedText[width=\textwidth] \dorecurse{100}{blabla} \stopFramedText} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] The dimensions of the first page are not taken into account

2018-08-17 Thread Fabrice Couvreur
=middle, backspace=20mm, width=middle] \setupbackgrounds [header] [text] [frame=off, topframe=on, bottomframe=on, framecolor=red, rulethickness=1pt] \setupheadertexts [First page] \starttext \dorecurse{8}{\input knuth} % ok % \dorecurse{8}{\input

[NTG-context] The dimensions of the first page are not taken into account Hello, I want to create a template with a header on the first page for student testing. If the document contains text that is

2018-08-16 Thread Fabrice Couvreur
=middle, backspace=20mm, width=middle] \setupbackgrounds [header] [text] [frame=off, topframe=on, bottomframe=on, framecolor=red, rulethickness=1pt] \setupheadertexts [First page] \starttext \dorecurse{8}{\input knuth} % ok % \dorecurse{8}{\input

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-16 Thread Fabrice Couvreur
}[lastpage]}] \setupfootertexts [margin] [] [{\externalfigure[logo.png][height=]}] [] [{\externalfigure[logo.png][height=]}] \starttext \dorecurse{20}{\input knuth} \stoptext [image: logo.png] Le mer. 15 août 2018 à 06:10, Henri Menke a écrit : > You have to

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther
\userpagenumber\ of \lastuserpagenumber] [Page \userpagenumber\ of \lastuserpagenumber] [] \starttext \dorecurse{10}{\page[dummy]} \stoptext Wolfgang David Walther schrieb am 14.08.18 um 18:28: Hi, I am slowly learning ConTeXt. I am generating tables and spreadsheets, and transforming them

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Henri Menke
{rightmargin}+\layoutparameter{rightmargindistance}\relax] \setupfooter[margin][strut=no] \setupfootertexts [margin] [] [{\externalfigure[dummy][width=\rightmarginwidth,height=\footerheight]}] [] [{\externalfigure[dummy][width=\leftmarginwidth,height=\footerheight]}] \starttext \dorecurse{10

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Wolfgang Schuster
\userpagenumber\ of \lastuserpagenumber] [] \starttext \dorecurse{10}{\page[dummy]} \stoptext Wolfgang David Walther schrieb am 14.08.18 um 18:28: Hi, I am slowly learning ConTeXt. I am generating tables and spreadsheets, and transforming them into ConTeXt, finally got it working after a lot

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread David Walther
with left/right pages location=none] \setupheadertexts [My Spreadsheet] \setupheadertexts [] [Page \userpagenumber\ of \lastuserpagenumber] [Page \userpagenumber\ of \lastuserpagenumber] [] \starttext \dorecurse{10}{\page[dummy]} \stoptext Wolfgang David Walther schrieb am 14.08.18 um

Re: [NTG-context] how to put page X of N in header or top space?

2018-08-14 Thread Wolfgang Schuster
] [Page \userpagenumber\ of \lastuserpagenumber] [] \starttext \dorecurse{10}{\page[dummy]} \stoptext Wolfgang David Walther schrieb am 14.08.18 um 18:28: Hi, I am slowly learning ConTeXt. I am generating tables and spreadsheets, and transforming them into ConTeXt, finally got it working after

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
]}] \starttext \dorecurse{10}{\page[dummy]} \stoptext Le mar. 14 août 2018 à 12:18, Henri Menke a écrit : > > > On 14/08/18 22:13, Fabrice Couvreur wrote: > > Hello, > > I wish to place a small logo at the bottom of the page. > > It works almost but it is not

Re: [NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Henri Menke
]}]     []     [{\externalfigure[dummy][width=\marginwidth,height=\footerheight]}]     \starttext     \dorecurse{10}{\page[dummy]}     \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Logo in the margin at the bottom of the page

2018-08-14 Thread Fabrice Couvreur
=10mm, footer=10mm, footerdistance=10mm, headerdistance=10mm] \setupfootertexts [margin] [] [{\externalfigure[dummy][width=\marginwidth,height=\footerheight]}] [] [{\externalfigure[dummy][width=\marginwidth,height=\footerheight]}] \starttext \dorecurse{10}{\page

Re: [NTG-context] referencing a footnote (and getting the right number)

2018-08-13 Thread Pablo Rodriguez
ter I have also used I wasn’t able to compile your source, but this works fine: \starttext \dorecurse{30}{a\footnote{Zapf.} } \startlocalfootnotes[n=0,conversion=characters,location=none] \bTABLE \bTR \bTD 1 \footnote{\dorecurse{10}{abcd }} \eTD \bTD 2 \eTD \eTR \bTR \bT

Re: [NTG-context] referencing a footnote (and getting the right number)

2018-08-12 Thread Robert Zydenbos
> On 12. Aug 2018, at 17:38, Pablo Rodriguez wrote: > > Hi Robert, > > the reference command in notes is \in (for both MkII and MkIV), such as in: > >\starttext >\dorecurse{30}{\footnote{Footnote}} >\footnote[uvu-avu]{These two suffixes […]} >\do

Re: [NTG-context] referencing a footnote

2018-08-12 Thread Pablo Rodriguez
ote{See n.~\note[uvu-avu].} > … Hi Robert, the reference command in notes is \in (for both MkII and MkIV), such as in: \starttext \dorecurse{30}{\footnote{Footnote}} \footnote[uvu-avu]{These two suffixes […]} \dorecurse{30}{\footnote{Footnote}} … \footnote{See n.~\in[uvu-a

Re: [NTG-context] resetting footnote counter

2018-08-09 Thread Aditya Mahajan
example. Because the following works in MKII (counter reset at each chapter) \setupfootnotes[way=bychapter] \starttext \dorecurse{5} {\chapter{New Chapter} \dorecurse{5}{\input ward\footnote{A quote by ward}}} \stoptext The following also works with the counter reset at each section

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Robert Zydenbos
chapter] >\starttext >\chapter{Chapter} >\dorecurse{2}{Text\footnote{Footnote.}} >\chapter{Chapter} >\dorecurse{2}{Text\footnote{Footnote.}} >\stoptext > > Pablo ___ If your quest

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Hans Hagen
. I suppose this should be done by means of \setupfootnotes – but with which parameter? \setupnotation[footnote][way=bychapter] \starttext \dorecurse{5} {\startchapter[title=New Chapter]   \dorecurse{5}{\input ward\footnote{A quote by ward}} \stopchapter} \stoptext With regard to your other

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Aditya Mahajan
of \setupfootnotes – but with which parameter? \setupnotation[footnote][way=bychapter] \starttext \dorecurse{5} {\startchapter[title=New Chapter] \dorecurse{5}{\input ward\footnote{A quote by ward}} \stopchapter} \stoptext With regard to your other thread about documentation of footnotes, the way

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Pablo Rodriguez
hapter] \starttext \chapter{Chapter} \dorecurse{2}{Text\footnote{Footnote.}} \chapter{Chapter} \dorecurse{2}{Text\footnote{Footnote.}} \stoptext Pablo -- http://www.ousia.tk ___ If your qu

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Wolfgang Schuster
%\setupnote[footnote][way=bychapter,location=none] \setupfootnotes[way=bychapter,location=none] \starttext \dorecurse{10} {\expanded{\chapter{Chapter \recurselevel}} \dorecurse{10}{\input tufte\footnote{\input ward }\par} \placenotes[footnote]} \stoptext Wolfgang Robert Zydenbos

Re: [NTG-context] resetting footnote counter

2018-08-08 Thread Taco Hoekwater
ose this should > be done by means of \setupfootnotes – but with which parameter? Like this (and I also agree that footnote/endnote setup is a bit complicated, but of course the concept is already quite complicated itself): \setupnotation[endnote][way=bychapter] \starttext \chapter{One} \do

Re: [NTG-context] preventing endnotes from running off the page

2018-08-06 Thread Robert Zydenbos
– but I have so many notes >> in a chapter that the frame runs off the last page. >> >> Is there any way to let the endnotes run on naturally to the next page? > > Hi Robert, > > I’m not sure I understand your issue. At least, I’m not able to > reproduce it:

Re: [NTG-context] preventing endnotes from running off the page

2018-08-06 Thread Pablo Rodriguez
he endnotes run on naturally to the next page? Hi Robert, I’m not sure I understand your issue. At least, I’m not able to reproduce it: \starttext \dorecurse{500}{\recurselevel\endnote{This is an endnote.} } \placenotes[endnote] \stoptext Could you modify the sample to reproduce you

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

2018-08-02 Thread Hans Hagen
Testing 1971-04-26 \startcolumns[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

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

2018-08-02 Thread Pablo Rodriguez
only way to fix it seems to enable grid composition. I don’t know whether this might be a bug in ConTeXt. Many thanks for your help, Pablo >> \starttext >> >> Testing 1971-04-26 >> >> \startcolumns[n=3] >> \dorecurse{200}{+ 17271 \rightarrow\ 2018-08-08\p

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

2018-08-01 Thread Floris van Manen
nes environment fixes the problem as well. > > \starttext > > Testing 1971-04-26 > > \startcolumns[n=3] > \dorecurse{200}{+ 17271 \rightarrow\ 2018-08-08\par} > \stopcolumns > > \stoptext > > Wolfgang > > > Taco Hoekwater schrieb am 01.08.18 um 13:

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

2018-08-01 Thread Wolfgang Schuster
Ending each line in a proper (e.g. by adding \par to finish the paragraph) without the misuse the lines environment fixes the problem as well. \starttext Testing 1971-04-26 \startcolumns[n=3] \dorecurse{200}{+ 17271 \rightarrow\ 2018-08-08\par} \stopcolumns \stoptext Wolfgang Taco

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