Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Hans Hagen
] \setupinteraction[state=start] \setupinteractionscreen[option={portrait, paper}, print=pages] \starttext \getfiguredimensions[i-context.pdf] \dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]} \startmarkpages[page] \dostepwiserecurse{100}{300}{1

Re: [NTG-context] page ranges in \markpage

2018-07-19 Thread Pablo Rodriguez
pinteraction[state=start] > \setupinteractionscreen[option={portrait, paper}, print=pages] > \starttext > \getfiguredimensions[i-context.pdf] > \dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]} > \startmarkpages[page] > \dostep

Re: [NTG-context] page ranges in \markpage

2018-07-18 Thread Wolfgang Schuster
pdf] \dostepwiserecurse{1}{99}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]} \startmarkpages[page] \dostepwiserecurse{100}{300}{1}{\externalfigure[i-context.pdf][height=\textheight,page=\recurselevel]} \stopmarkpages \dostepwiserecurse{301}{\noffigurepages}{1}{\exte

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

2018-02-20 Thread Henning Hraban Ramm
> > \starttext > > \dorecurse{3} > {\expanded{\part{Rubrik \recurselevel}} >\dorecurse{5} > {\expanded{\chapter{Kapitel \recurselevel}} > \dorecurse{10}{\input{lorem}\par}}} > > \stoptext > > Wolfgang > _

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

2018-02-20 Thread Wolfgang Schuster
ecurse{3} {\expanded{\part{Rubrik \recurselevel}} \dorecurse{5} {\expanded{\chapter{Kapitel \recurselevel}} \dorecurse{10}{\input{lorem}\par}}} \stoptext Wolfgang ___ If your question is of interest to

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] 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] framed with titles

2017-11-14 Thread Jeong Dal
ter > number.theorem number) > 2. to suppress the automatically display of “Thm #” inside the text? The command \FrameTitle{Theorem \getmarking[chapternumber].\recurselevel} shows “Theorem 1.1”, but the it shows the chapternumber -1 not the real chapternumber. Also I don’t know h

Re: [NTG-context] notes in the margin

2017-10-24 Thread Henning Hraban Ramm
tnote] > > \setupnotation > [footnote] > [alternative=serried] > > \setuplayout > [width=12cm, >rightmargindistance=0.5cm, >rightmargin=5cm] > > \starttext > \dorecurse{6}{\input ward\expanded{\footnote{This is a footnote > \recurselevel}} } > \

Re: [NTG-context] Page printed upside down

2017-10-23 Thread Fabrice Couvreur
wing in the colums > > Sorry, but overflowing is normal here, the formula has too many data to > fit in that column width. > > I would discourage the use of columns to create the booklet. > > My advice would be to compose the standard text and then impose the pages: >

Re: [NTG-context] Page printed upside down

2017-10-22 Thread Pablo Rodriguez
here, the formula has too many data to fit in that column width. I would discourage the use of columns to create the booklet. My advice would be to compose the standard text and then impose the pages: \starttext \dorecurse{4}{\chapter{Chapter \Romannumerals{\recurselevel}} \section{\TeX}\input knu

Re: [NTG-context] Page printed upside down

2017-10-21 Thread Fabrice Couvreur
; \starttext > \insertpages[document.pdf][width=0pt] > \stoptext > > A sample for document would be: > > \setupbodyfont[600pt] > \starttext > \dorecurse{4}{\startstandardmakeup[style={\bf\ss}, align=center] > \recurselevel > \stopstan

Re: [NTG-context] Page printed upside down

2017-10-18 Thread Pablo Rodriguez
\setupinteraction[state=start] \setupinteractionscreen[option={landscape, fixed, paper}] \starttext \insertpages[document.pdf][width=0pt] \stoptext A sample for document would be: \setupbodyfont[600pt] \starttext \dorecurse{4}{\startstandardmakeup[style={\bf\ss}, align

[NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Rik Kabel
    \dorecurse{\numexpr2*\recurselevel\relax}     {\startsection[title=Section]     \startparagraph     \input ward     \stopparagraph     \stopsection}     \stopchapter \stopbuffer \starttext

Re: [NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Pablo Rodriguez
ramed > [width=\textwidth, > height=\textheight, > background=color, > backgroundcolor=blue, > foregroundcolor=white, > foregroundstyle=bold, > frame=off, > ]{This page should show no page number} > \stopstandardmakeup > \stoppostponing >

[NTG-context] hiding page number in postponed makeup page

2017-09-19 Thread Henning Hraban Ramm
=\textheight, background=color, backgroundcolor=blue, foregroundcolor=white, foregroundstyle=bold, frame=off, ]{This page should show no page number} \stopstandardmakeup \stoppostponing \dorecurse{5}{ \recurselevel \input tufte \par } \stoptext Greetlings, Hraban --- http

Re: [NTG-context] Increment the section counter

2017-09-14 Thread Procházka Lukáš Ing .
\expanded{\section{Section \recurselevel}}} \stoptext Wolfgang -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 Sec0.mkiv Description: Binary data Sec0.

Re: [NTG-context] Increment the section counter

2017-09-12 Thread Fabrice Couvreur
n 1} > > \section{5}{Section 1} > > \section{6}{Section 1} > > \stoptext > > > or use a custom conversion > > > \defineconversion[drunk][3,5,6] > > \setuphead[section][conversion=drunk] > > \starttext > > \dorecurse{3}{\expanded{\section{Section \recurselev

Re: [NTG-context] Increment the section counter

2017-09-12 Thread Wolfgang Schuster
}{\expanded{\section{Section \recurselevel}}} \stoptext Wolfgang Fabrice Couvreur <mailto:fabrice1.couvr...@gmail.com> 12. September 2017 um 17:06 Hello, The number of the sections is 1 2 3 ... How to make it 3 5 6 ... ? Thank you F

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Henning Hraban Ramm
ure[#1][#2]{ >> \ifsecondargument >> \dorecurse{#1}{% >> \tooltip{\clip[ >> height=\textheight, >> voffset=\dimexpr((\recurselevel - 1)\textheight),]{% > > voffset=\numexpr(\recurselevel -1)\textheight]{% Aha, numexpr. Danke! Am 2017-09-10 um 10:09

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Herbert Voss
((\recurselevel - 1)\textheight),]{% voffset=\numexpr(\recurselevel -1)\textheight]{% Herbert \externalfigure[#2]}}{#2 (\recurselevel/#1)}\par} \else \normalfigure[#1] \fi } ___ If your question

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Henning Hraban Ramm
def\doClipFigure[#1][#2]{ >> \dorecurse{#1}{% >> \clip[ >> height=\textheight, >>voffset=\dimexpr((\recurselevel -1) * \textheight) >> ]{\externalfigure[#2][width=\textwidth]}\par >> } >> } >> >> \clipfigure[3][verylongimage] >>

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-09 Thread Aditya Mahajan
On Sat, 9 Sep 2017, Henning Hraban Ramm wrote: Ahoi, I got some long images that I’d like to split over several pages. \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \dorecurse{#1}{% \clip[ height=\textheight, voffset=\dimexpr((\recurselevel -1

[NTG-context] automatically splitting big images (calculation problem)

2017-09-09 Thread Henning Hraban Ramm
Ahoi, I got some long images that I’d like to split over several pages. \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \dorecurse{#1}{% \clip[ height=\textheight, voffset=\dimexpr((\recurselevel -1) * \textheight) ]{\externalfigure[#2][width=\textwidth

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
document (I’m afraid I’m not that smart :-(). In the PDF document, you mention makeups. See the difference in numbering: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Sebastian L.
Hi Pablo, I attached what I see. ;) On 26/07/2017 22:01, Pablo Rodriguez wrote: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup

Re: [NTG-context] Odd numbering of pp. in PDF viewer

2017-07-26 Thread Pablo Rodriguez
ument, you mention makeups. See the difference in numbering: \setuppapersize[A9] \starttext \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \setupmakeup[standard][pagestate=start] \dorecurse{5}{\startmakeup[standard]\recurselevel\stopmakeup} \stoptext But we

Re: [NTG-context] Problem with macro with optional parameter

2017-06-27 Thread Jaroslav Hajtmar
. \Command % OK 3. As You see, Command without braces swallows the break of the paragraph. 1. \dorecurse{\Command{5}}{\recurselevel\crlf} % not working 2. \dorecurse{\Command{}}{\recurselevel\crlf} % not working \stoptext Jaroslav Hajtmar Dne 27.06.17 13:05, ntg-context za uživatele Henri

Re: [NTG-context] Problem with macro with optional parameter

2017-06-27 Thread Henri Menke
> 1. \Command[5] % OK >   > 2. \Command  % OK >   >   >   >   > %1. \dorecurse{\Command[5]}{\recurselevel\crlf} % not working >   > %2. \dorecurse{\Command}{\recurselevel\crlf}  % not working The first argument to \dorecurse has to expand to a number.  Therefore it h

[NTG-context] Problem with macro with optional parameter

2017-06-27 Thread Jaroslav Hajtmar
\else100\fi} %\def\AnotherCommand% % {\dosingleargument\DoAnotherCommand} \starttext 1. \Command[5] % OK 2. \Command % OK %1. \dorecurse{\Command[5]}{\recurselevel\crlf} % not working %2. \dorecurse{\Command}{\recurselevel\crlf} % not working \stoptext

Re: [NTG-context] notes in the margin

2017-04-09 Thread Wolfgang Schuster
htmargindistance=0.5cm, rightmargin=5cm] \starttext \dorecurse{6}{\input ward\expanded{\footnote{This is a footnote \recurselevel}} } \stoptext Wolfgang ___ If your question is of interest to others as well, ple

Re: [NTG-context] generate multiple files from one source

2017-02-19 Thread Pablo Rodriguez
Rodriguez > <ntg-context-boun...@ntg.nl za uživatele oi...@gmx.es> napsal(a): > > Dear list, > > I have the following sample: > > \setuppapersize[A8, landscape] > \starttext > \dorecurse{10}{ > \startpagemakeup[align=cent

Re: [NTG-context] generate multiple files from one source

2017-02-19 Thread Jaroslav Hajtmar
\dorecurse{10}{ \startpagemakeup[align=center] This is invoice number \recurselevel. Customer name from CSV file. Other data from the same CSV file. \stoppagemakeup} \stoptext How can I get new PDF documents with a one invo

Re: [NTG-context] generate multiple files from one source

2017-02-19 Thread Hans Hagen
On 2/18/2017 11:27 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setuppapersize[A8, landscape] \starttext \dorecurse{10}{ \startpagemakeup[align=center] This is invoice number \recurselevel. Customer name from CSV file. Other data from

Re: [NTG-context] generate multiple files from one source

2017-02-18 Thread Henning Hraban Ramm
Am 2017-02-18 um 23:27 schrieb Pablo Rodriguez <oi...@gmx.es>: > Dear list, > > I have the following sample: > >\setuppapersize[A8, landscape] >\starttext >\dorecurse{10}{ >\startpagemakeup[align=center] >This is invoice number \recurseleve

[NTG-context] generate multiple files from one source

2017-02-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A8, landscape] \starttext \dorecurse{10}{ \startpagemakeup[align=center] This is invoice number \recurselevel. Customer name from CSV file. Other data from the same CSV file. \stoppagemakeup} \stoptext

Re: [NTG-context] rotating some pages of a pdf

2017-01-04 Thread Hans Hagen
} {\startTEXpage \externalfigure [\getdocumentargument{input}] [page=\recurselevel, orientation=\getdocumentargument{rotation}] \stopTEXpage} \stoptext How could I use this code to rotate, say, the page five, 7º clockwise, and the page twenty, 15º counterclockwise

[NTG-context] rotating some pages of a pdf

2017-01-04 Thread Cesar Romani
[\getdocumentargument{input}] [page=\recurselevel, orientation=\getdocumentargument{rotation}] \stopTEXpage} \stoptext How could I use this code to rotate, say, the page five, 7º clockwise, and the page twenty, 15º counterclockwise? Many thanks in advance, -- Cesar

Re: [NTG-context] Different text versions in columns?

2016-11-27 Thread Jean-Pierre Delange
14 >> 1. Streams work in MkIV >> 2. The MkIV version has a command to set sync points. > >That’s \pushoutputstreams, I presume. Yes, you can use it to create paragraphs of equal height in different streams. \setupbodyfont[tt] \starttext \startoutputstream[one] \s

Re: [NTG-context] Different text versions in columns?

2016-11-27 Thread Wolfgang Schuster
treams. \setupbodyfont[tt] \starttext \startoutputstream[one] \setupalign[flushleft] \dorecurse{3}{Line \recurselevel\par}\pushoutputstream \blank \dorecurse{6}{Line \recurselevel\par}\pushoutputstream \blank \dorecurse{4}{Line \recurselevel\par}\pushoutputstream \stopoutput

Re: [NTG-context] hsize changes unexpectedly

2016-11-20 Thread Hans Hagen
e200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par} \stoptext And with the \hsize in a group : \starttext {\hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par}} \stoptext I did not expect it to change the result, and i

Re: [NTG-context] hsize changes unexpectedly

2016-11-20 Thread Hans Hagen
On 11/20/2016 5:49 PM, Rik Kabel wrote: On 2016-11-20 05:53, Hans Hagen wrote: On 11/20/2016 2:47 AM, Rik Kabel wrote: Why does \hsize revert to \textwidth after a page and a paragraph? \starttext \hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par} \stoptext

Re: [NTG-context] hsize changes unexpectedly

2016-11-20 Thread Rik
size.5\textwidth \input ward \egroup \stoptext It is different from grouping (as demonstrated by placing the middle two lines above in braces). Which example? Wolfgang Sorry, the example at the head of the thread. Originally: \starttext \hsize200pt \dorecurse{60}{\recurs

Re: [NTG-context] hsize changes unexpectedly

2016-11-20 Thread Rik Kabel
On 2016-11-20 05:53, Hans Hagen wrote: On 11/20/2016 2:47 AM, Rik Kabel wrote: Why does \hsize revert to \textwidth after a page and a paragraph? \starttext \hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par} \stoptext because the main text flow width and height

Re: [NTG-context] hsize changes unexpectedly

2016-11-20 Thread Hans Hagen
On 11/20/2016 2:47 AM, Rik Kabel wrote: Why does \hsize revert to \textwidth after a page and a paragraph? \starttext \hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par} \stoptext because the main text flow width and height settings are synchronized ... \hsize

[NTG-context] hsize changes unexpectedly

2016-11-19 Thread Rik Kabel
Why does \hsize revert to \textwidth after a page and a paragraph? \starttext \hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par} \stoptext -- Rik ___ If your question is of interest

Re: [NTG-context] Protrusion, hyphens and lining figures

2016-09-27 Thread Pablo Rodriguez
lign[hanging, hz] \setupbodyfont[ebgaramond] \starttext \dorecurse{10}{\recurselevel. }\par «\input cervantes-es \stoptext I hope it helps. And let us know, if it doesn’t. Cheers, Pablo -- http://

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Fabrice Couvreur
"Lesson" with components chapter 1, chapter 2, > ... > If I add \setupenumeration [] [way=bysubsection] to each component that > does not work. > > \defineenumeration[exercise][text=Exercise ] > \setupenumeration [exercise][way=bysection] > > \starttext > > \

Re: [NTG-context] How to reset a new processor ?

2016-08-08 Thread Wolfgang Schuster
n[exercise][text=Exercise ] \setupenumeration [exercise][way=bysection] \starttext \dorecurse{5} {\expanded{\chapter{Chapter \recurselevel}} \dorecurse{3} {\expanded{\section{Section \recurselevel}} \dorecurse{3} {\startexercise \input ward \stopexercise}}} \st

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Wolfgang Schuster
shows the text which is set with \setupheadtext[][content=...] \completecontent % Variant 2, you can set your own text for the bookmark % \starttitle[title=\headtext{content},reference=content,bookmark=Table of content] % \placecontent % \stoptitle \dorecurse{10}{\expanded{\chapter{Chapter \recurs

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Marcus Vinicius Mesquita
t your own text for the bookmark > % \starttitle[title=\headtext{content},reference=content,bookmark=Table of > content] > % \placecontent > % \stoptitle > > \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} &

Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Mohammad Hossein Bateni
; >>> Customize right to left list in context > >>> > >>> My aim is to obtain right to left items arranged in multi-column, > if I use > >>> \startitemize [s,columns,three] [margin=1em] > >>> the result is three column where first column sta

Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Otared Kavian
I can use \startcolumns[direction=left]\startitemize \item First \item >>> Second \item Third \stopitemize \stopcolumns >>> but I think it look better if there is a key direction=left for the >>> \startitemize environment such as used in columns environment. >&

Re: [NTG-context] right to left direction for itemize columns

2016-04-28 Thread Mohammad Hossein Bateni
ight side of page. >>> >>> I can use \startcolumns[direction=left]\startitemize \item First \item >>> Second \item Third \stopitemize \stopcolumns >>> but I think it look better if there is a key direction=left for the >>> \startitemize envir

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Otared Kavian
olumns mechanism has a reverse option for the direction key. > I sent a patch to the dev list which allows a direst setting of the direction > value with the \startitemize command. > > \starttext > > \startitemize[columns,three] > \dorecurse{9}{\item Entry \recurseleve

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Mohammad Hossein Bateni
titemize environment such as used in columns environment. >> >> The underlying columns mechanism has a reverse option for the direction >> key. I sent a patch to the dev list which allows a direst setting of the >> direction value with the \startitemize command. >> >> \

Re: [NTG-context] right to left direction for itemize columns

2016-04-27 Thread Mohammad Hossein Bateni
ment. > > The underlying columns mechanism has a reverse option for the direction > key. I sent a patch to the dev list which allows a direst setting of the > direction value with the \startitemize command. > > \starttext > > \startitemize[columns,three] > \dorecurse{9}{\item Entr

[NTG-context] issue with bookmark for sections

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

Re: [NTG-context] defining a comamnd as variable which behaves as constant

2016-04-10 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 10. April 2016 um 00:00 Dear list, I have the following document: \mainlanguage[es] \starttext \startTEXpage[offset=1em] \dorecurse{27}% {\def\abcd{\convertnumber{a}{\recurselevel}}% \dorecurse{27}% {\abcd\convertnumber{a}{\recurselevel} }\par} \stopT

Re: [NTG-context] defining a comamnd as variable which behaves as constant

2016-04-09 Thread Aditya Mahajan
On Sun, 10 Apr 2016, Pablo Rodriguez wrote: Dear list, I have the following document: \mainlanguage[es] \starttext \startTEXpage[offset=1em] \dorecurse{27}% {\def\abcd{\convertnumber{a}{\recurselevel}}% \dorecurse{27}% {\abcd\convertnumber

[NTG-context] defining a comamnd as variable which behaves as constant

2016-04-09 Thread Pablo Rodriguez
Dear list, I have the following document: \mainlanguage[es] \starttext \startTEXpage[offset=1em] \dorecurse{27}% {\def\abcd{\convertnumber{a}{\recurselevel}}% \dorecurse{27}% {\abcd\convertnumber{a}{\recurselevel} }\par} \stopTEXpage

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
> >>> bbb bar buch bühne section3 >>> >>> What am I doing in the wrong way? >> \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] >> >> \definefontfeature[default][default][onum=yes] >> >> \setupbodyfont[pagella] >> >> \starttext

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
>> What am I doing in the wrong way? > \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] > > \definefontfeature[default][default][onum=yes] > > \setupbodyfont[pagella] > > \starttext > > \setcounter[userpage][100] > > \completecontent >

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Wolfgang Schuster
hapter][pagestyle={\feature[=][tabularnumbers]}] \definefontfeature[default][default][onum=yes] \setupbodyfont[pagella] \starttext \setcounter[userpage][100] \completecontent \dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}} \st

Re: [NTG-context] right to left direction for itemize columns

2016-02-22 Thread Wolfgang Schuster
h to the dev list which allows a direst setting of the direction value with the \startitemize command. \starttext \startitemize[columns,three] \dorecurse{9}{\item Entry \recurselevel} \stopitemize \blank[3*line] \setupmixedcolumns[itemgroupcolumns][direction=reverse] \startitemize[columns,three]

Re: [NTG-context] bug with numbering in bookmarks?

2016-02-11 Thread Jan U. Hasecke
ttext > \completecontent > \dorecurse{35}{\chapter{Chapter \recurselevel}} > \stoptext > > Chapter ñ (number 15) is fine in both the text title and the table of > contents. But in the PDF bookmarks, letter is o instead ñ. > > I’m afraid this may be a bug. Could an

Re: [NTG-context] bug with numbering in bookmarks?

2016-02-11 Thread Hans Hagen
] \placebookmarks [part,chapter] [part,chapter] \definestructureconversionset[sectionnumbers] [0,a][n] \setupheads[sectionconversionset=sectionnumbers] \starttext \completecontent \dorecurse{35}{\chapter{Chapter \recurselevel}} \stoptext

[NTG-context] bug with numbering in bookmarks?

2016-02-11 Thread Pablo Rodriguez
,chapter] \definestructureconversionset[sectionnumbers] [0,a][n] \setupheads[sectionconversionset=sectionnumbers] \starttext \completecontent \dorecurse{35}{\chapter{Chapter \recurselevel}} \stoptext Chapter ñ (number 15) is fine in both the text title and the table

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

2016-01-22 Thread josephcanedo
}] \definenote [marginnote][criterium=page] \setupnotation[marginnote][number=no] \starttext \dorecurse{100}{\input ward\expanded{\marginnote{This is note \recurselevel}} } \stoptext Wolfgang___ If your question

Re: [NTG-context] Fieldstacks are broken

2016-01-22 Thread Jeong Dal
o use > \dostepwiserecurse as in > > \startanimation[menu=yes] > \dostepwiserecurse{0}{20}{2}{\expanded{\startframe \MyGraphics{\recurselevel} > \stopframe}} > \stopanimation > > Best regards: OK ___ If your qu

Re: [NTG-context] Fieldstacks are broken

2016-01-21 Thread Jeong Dal
{\recurselevel}} \startluacode for i = 1, 20 do context(“{\\MyGraphics {i}}”) end \stopluacode Thanks again. Best regards, Dalyoung > Today's Topics: > > 1. Re: Fieldstacks are broken (H

Re: [NTG-context] Fieldstacks are broken

2016-01-21 Thread Hans Hagen
‘\'”. \dorecurse{20} {{\MyGraphics {\recurselevel}} \startluacode for i = 1, 20 do context(“{\\MyGraphics {i}}”) end \stopluacode \dorecurse{20} {\dontleavehmode\ruledhbox{\MyGraphics{#1}}\allowbreak} \page \startluacode for i = 1, 20 do context.dontleavehmode

Re: [NTG-context] Fieldstacks are broken

2016-01-21 Thread Wolfgang Schuster
ed lua, but it stops with the error message “unexpected symbol near ‘\'”. \startanimation[menu=yes] \dorecurse{20}{\expanded{\startframe \MyGraphics{\recurselevel} \stopframe}} \stopanimation Wolfgang ___ If your qu

Re: [NTG-context] Fieldstacks are broken

2016-01-21 Thread Otared Kavian
, one can also use \dostepwiserecurse as in \startanimation[menu=yes] \dostepwiserecurse{0}{20}{2}{\expanded{\startframe \MyGraphics{\recurselevel} \stopframe}} \stopanimation Best regards: OK > On 21 Jan 2016, at 23:47, Wolfgang Schuster <schuster.wolfg...@gmail.com> > wrote: >

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Wolfgang Schuster
er] [chapter] \setuppagenumbering[alternative=doublesided] \starttext \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-19 Thread Mohammad Hossein Bateni
agenumber}][{\righttoleft\getmarking[chapter]}] > > > As Hans told you you can change the style for the header text in the left > side only: > > \setupheader[leftstyle=\righttoleft] > > \setupheadertexts > [chapter][pagenumber] &g

Re: [NTG-context] (mashriqi) Arabic-Hindi Numerals

2016-01-19 Thread Wolfgang Schuster
fttoright, location=] \setupuserpagenumber[numberconversion=Characters] % numberconversion=arabicdecimals \starttext \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} \stoptext Wolfgang ___ If your q

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

2015-12-15 Thread josephcanedo
[marginnote][number=no] \starttext \dorecurse{100}{\input ward\expanded{\marginnote{This is note \recurselevel}} } \stoptext Wolfgang___ If your question is of interest to others as well, please add an entry

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

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

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

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

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread Wolfgang Schuster
hapter] – \convertedcounter[userpage]}] [{\convertedcounter[userpage] – \getmarking[chapter]}][] \definetext[chapterheader][header][][pagenumber] \setuphead[chapter][header=chapterheader] \starttext \dorecurse{4} {\expanded{\chapter{Chapter \recurselevel}} \dorecurse{10}{\input knuth\par}} \st

Re: [NTG-context] only page number in the header of the chapter title page

2015-11-10 Thread massifr
pages. > > \setuppagenumbering[alternative=doublesided,location=] > > \setupheadertexts >[][{\getmarking[chapter] – \convertedcounter[userpage]}] >[{\convertedcounter[userpage] – \getmarking[chapter]}][] > > \definetext[chapterheader][header][][p

Re: [NTG-context] Error notification on the wiki (Loops_and_Recursion)

2015-09-29 Thread Hans Hagen
for \looplevel and \loopdepth.) It seems, that these macros are not defined. Or I make anything wrong? you can fix the wiki, as it's: \recurselevel and \recursedepth -- - Hans Hagen | PRAGMA

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-27 Thread Hans Hagen
\dorecurse{10}{\ordinaldaynumber{\recurselevel}\crlf} \stoptext Wolfgang ___ 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/mailman

Re: [NTG-context] superscripts th nd rd st on dates etc..

2015-08-26 Thread Wolfgang Schuster
in manual mode. You can’t show them as superscript when you use the \date command but in manual mode you can also use \ordinaldaynumber. \starttext \dorecurse{10}{\ordinaldaynumber{\recurselevel}\crlf} \stoptext Wolfgang

[NTG-context] bug with definefloat and caption case

2015-08-10 Thread Brian R. Landy
] \starttext \dorecurse{45}{\placeexhibit[here][fig:test\recurselevel]{title\recurselevel}{content\recurselevel}} \stoptext yields exhibits with these titles: ... Exhibit 31 Exhibit 32 exhibit 33 exhibit 34 ... This doesn't happen with the built-in types because they have

Re: [NTG-context] bug with definefloat and caption case

2015-08-10 Thread Hans Hagen
. For example: \definefloat[exhibit][exhibits] \starttext \dorecurse{45}{\placeexhibit[here][fig:test\recurselevel]{title\recurselevel}{content\recurselevel}} \stoptext yields exhibits with these titles: ... Exhibit 31 Exhibit 32 exhibit 33 exhibit 34 ... This doesn't

Re: [NTG-context] Register customization for backmatter page numbers

2015-08-01 Thread Pablo Rodriguez
] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent \startbodymatter \dorecurse{5}{\chapter{Chapter}\recurselevel\index{bar

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
}{\chapter{Chapter}\recurselevel\index{bar}} \stopbodymatter \startappendices \dorecurse{5}{\chapter{Appendix}\recurselevel\index{foo}} \title{Index} \placeindex \stopappendices \stoptext Just in case it helps, Pablo On 08/01/2015 04:20 AM, Rik wrote: List, I

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
\startbodymatter \dorecurse{5}{\chapter{Chapter}\recurselevel\index{bar}} \stopbodymatter \startappendices \dorecurse{5}{\chapter{Appendix}\recurselevel\index{foo}} \title{Index} \placeindex \stopappendices \stoptext Just in case it helps, Pablo On 08

Re: [NTG-context] conTeXt Mkiv: the number of parameters can not be more than 9?

2015-07-04 Thread Jaroslav Hajtmar
: \blank[big] \dorecurse{16}{parameter \recurselevel is : \var{param\recurselevel}\crlf} \blank[big] % OR % put parameters into macro: \def\parameters{A, B, XXL, QWE, 123, Hello, End, TeX, Solution, XSE, Flag, Prague, Paris, New York, last value, *, } % and now read parameters: \expandafter

[NTG-context] Help with \numexpr

2015-05-04 Thread Keith McKay
is the code \setupexternalfigures [directory={/Path/to/the/Photos}] \defineexternalfigure[photo][maxheight=0.4\textheight] \define \numberText{1} \starttext \dostepwiserecurse{141}{146}{1}/% //\recurselevel is part of photo filename. See below./ { \externalfigure[sam_0\recurselevel.jpg

Re: [NTG-context] Help with \numexpr

2015-05-04 Thread Hans Hagen
suggestions would be helpfull. Here is the code \setupexternalfigures [directory={/Path/to/the/Photos}] \defineexternalfigure[photo][maxheight=0.4\textheight] \define \numberText{1} \starttext \dostepwiserecurse{141}{146}{1}/% //\recurselevel is part of photo filename. See below

Re: [NTG-context] Help with \numexpr

2015-05-04 Thread Keith McKay
={/Path/to/the/Photos}] \defineexternalfigure[photo][maxheight=0.4\textheight] \define \numberText{1} \starttext \dostepwiserecurse{141}{146}{1}/% //\recurselevel is part of photo filename. See below./ { \externalfigure[sam_0\recurselevel.jpg][photo] \par /% //\recurselevel is part of photo filename

Re: [NTG-context] duplicate booklet arrangement

2015-02-24 Thread Willi Egger
=,page=yes,doublesided=no] \starttext \dorecurse {\Mypages} {\setlayerframed [Draw] [x=0mm,y=0mm] [offset=overlay,frame=off,rightframe=on] {\externalfigure[\Myfilename][page=\recurselevel]} \setlayerframed [Draw] [x=0mm,y=\dimexpr\paperheight/2] [offset

[NTG-context] head stopper and hang

2015-02-19 Thread Pablo Rodriguez
}{\section{Important issue \recurselevel} \dorecurse{5}{\subsection{Important warning \recurselevel}}} \stoptext I don’t know why stopper works in \setuplist, but it doesn’t in \setuphead. What am I missing here? Doesn’t hang in \setuphead do the same as width in \setuplist? Or which would

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
\dorecurse{9}{ \startsection[title={Knuth -- \recurselevel}] \input{knuth} \stopsection } \startsummary[title=Samenvatting] \input{zapf} \stopsummary \stoptext Still the summary title is a bit lower on the page then other text. You have to add „location=paragraph

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
}{ \startsection[title={Knuth -- \recurselevel}] \input{knuth} \stopsection } \startsummary[title=Samenvatting] \input{zapf} \stopsummary \stoptext ___ If your question is of interest to others as well, please add

Re: [NTG-context] Grey background for pages belonging to last section of every chapter

2015-01-30 Thread Rob Heusdens
={\stoptextbackground\blank}] \setuphead[section][number=no,style=bold] \definecombinedlist[content][section,summary] \setupcombinedlist[content][level=4, alternative=c] \starttext \completecontent \page \dorecurse{9}{ \startsection[title={Knuth -- \recurselevel}] \input{knuth} \stopsection

<    1   2   3   4   5   6   7   8   9   >