Re: [NTG-context] Critical Editions?

2022-01-05 Thread hanneder--- via ntg-context
? An: ntg-context@ntg.nl Cc: hanne...@staff.uni-marburg.de Dear Jürgen, Would you mind to test the MWE sample I've given (ConTeXt_Test_Footnote-ComplexMedieval.tex) whith a little bit more information inside - in order to test furthermore ? You can change the text, even the \dorecurse

Re: [NTG-context] Critical Editions?

2022-01-05 Thread Jean-Pierre Delange via ntg-context
Dear Jürgen, Would you mind to test the MWE sample I've given (ConTeXt_Test_Footnote-ComplexMedieval.tex) whith a little bit more information inside - in order to test furthermore ? You can change the text, even the \dorecurse option, in order to see what simply works and what does

[NTG-context] Seperate footnotereference and footnotenumber if necessary

2022-01-05 Thread Huseyin Özoguz via ntg-context
Hello dear list, I work with grids and in many cases a footnote on one of the last lines forces and too early page break. See this min-example: \setuplayout[grid=yes] \showgrid \starttext \dorecurse{40}{Word.\\} Word.\footnote{Footnote} \stoptext % Lines 41 on page 1 is empty It preserves

[NTG-context] paragraph notes when located in text

2022-01-05 Thread Pablo Rodriguez via ntg-context
\startlinenumbering[step=3] \dorecurse{25} {a\footnote{b} } \stoplinenumbering \stopbuffer \getbuffer \placenotes[footnote] \stoptext I get no paragraph notes with \setupnote[footnote][location=text, paragraph=yes]. What am I missing here? Many thanks for your help, Pablo

Re: [NTG-context] issue with \placenotes[linenote]

2022-01-04 Thread Hans Hagen via ntg-context
On 1/4/2022 2:23 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \setuplinenote[location=text, paragraph=yes] \starttext \startbuffer \startlinenumbering[step=3] \dorecurse{25} {a\linenote{b} } \stoplinenumbering

[NTG-context] issue with \placenotes[linenote]

2022-01-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuplinenote[location=text, paragraph=yes] \starttext \startbuffer \startlinenumbering[step=3] \dorecurse{25} {a\linenote{b} } \stoplinenumbering \stopbuffer \getbuffer \placenotes[linenote] \stoptext I

Re: [NTG-context] Critical Editions?

2022-01-03 Thread Jean-Pierre Delange via ntg-context
z mal connus dans la communauté des éditeurs, notamment dans l'édition savante, pour la collation et la comparaison de textes médiévaux}.\par \startlinenumbering \dorecurse{6}% À utiliser seulement pour répéter le paragraphe suivant, ici 8 fois. {Cum defensionum \CNote{laboribus}{première

Re: [NTG-context] local notes, "serried" (paragraph) or column style.

2022-01-03 Thread Youssef Cherem via ntg-context
\afiliação{asdf} Author 2\afiliação{asdf} \dorecurse{5}{\afiliação{Nota explicativa.}} \startcolumns[n=3] \placenotes[afiliação] \stopcolumns %} % end local notes \blank[big] This footnote will disapear completely if I use localnotes and don’t enclose them.\footnote{Where does it go

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Youssef Cherem via ntg-context
gt; \stopuniqueMPpagegraphic > > \defineoverlay[ruler][\uniqueMPpagegraphic{ruler}] > > \setupbackgrounds[page][background=ruler] > > \setuppagenumbering[alternative=doublesided] > > \starttext > \dorecurse{10}{test \page} > \stoptext > > > ---

Re: [NTG-context] measure layer/ ruler

2022-01-01 Thread Hans Hagen via ntg-context
native=doublesided] \starttext \dorecurse{10}{test \page} \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.

[NTG-context] local notes, "serried" (paragraph) or column style.

2021-12-29 Thread Youssef Cherem via ntg-context
, %display=no ] % or set 1 % n=3 doesn’t work \starttext \startlocalnotes Author 1\afiliação{asdf} Author 2\afiliação{asdf} \dorecurse{5}{\afiliação{Nota explicativa.}} \placelocalnotes[afiliação] \stoplocalnotes \stoptext

Re: [NTG-context] startlines with long lines that break and indent

2021-12-26 Thread Wolfgang Schuster via ntg-context
[ before={\blank\startnarrow[default=left,left=1cm]}, after={\stopnarrow\blank}, indenting={yes,-1cm}] \showframe[text][text] \starttext before \startlines text \dorecurse{10}{ text} text \dorecurse{40}{ text} text \dorecurse{10}{ text} \stoplines after \stoptext Long version

Re: [NTG-context] shrink inter-line space

2021-12-18 Thread Hans Hagen via ntg-context
internet) it will happily insert a negative skip when you do this: \start \setupinterlinespace[line=6pt] \lineskip-6pt \samplefile{ward}\par \stop now, of course, this will not be pretty when heights and depths differ per line so here's another way: \start \setbox\scratchbox\vbox{\samplefile

Re: [NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-17 Thread John Kitzmiller via ntg-context
h December versions (gives Fatal Error 11) \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{20}{\input bryson} \stopcolumnset \stoptext system > ConTeXt ver: 2021.12.14 19:19 LMTX fmt: 2021

[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
\starttext \chapter{First} \section{first} \dorecurse{6}{\input tufte} \input tufte \input tufte \input tufte \input tufte \chapter{Second} \section{second} \dorecurse{6}{\input tufte} \chapter{Third} \section{third} \dorecurse{6}{\input tufte} \stoptext How can I avoid

[NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
[ header=text, split=yes, title={Fenchurch St. Paul}, ] \starttabulate[|p|p|] \dorecurse{6}{ \NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR \HL \NC Name: \NC Tailor Paul \NC \NR \HL } \stoptabulate \stoptext

Re: [NTG-context] new upload, new trickery

2021-11-16 Thread Marcus Vinicius Mesquita via ntg-context
le] \raggedcenter > {\localrightbox par {R1}\input tufte \par} > \stopnarrower > \blank > > \stoptext > > New is the par keyword that forces the setting to be applied from the > first line downards (fyio: these commands, when display set registers, > when inline they set regist

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Adam Reviczky via ntg-context
k > > \startplacefigure[location={right,15*hang}] > > \framed[width=3cm,height=2cm]{graphic} > > \stopplacefigure > > > > \dorecurse{10}{\input lorem} > > \stoptext > > > > When I remove the hanging float, the paragraph is broken down at the > >

Re: [NTG-context] Paragraph break over pages with hanging float

2021-11-15 Thread Hans Hagen via ntg-context
] % commenting out the hanging float allows paragraph break \startplacefigure[location={right,15*hang}] \framed[width=3cm,height=2cm]{graphic} \stopplacefigure \dorecurse{10}{\input lorem} \stoptext When I remove the hanging float, the paragraph is broken down at the first pagebreak. With the float

[NTG-context] Paragraph break over pages with hanging float

2021-11-14 Thread Adam Reviczky via ntg-context
[location={right,15*hang}] \framed[width=3cm,height=2cm]{graphic} \stopplacefigure \dorecurse{10}{\input lorem} \stoptext When I remove the hanging float, the paragraph is broken down at the first pagebreak. With the float, the paragraph starts always on the next page, regardless of the space left

Re: [NTG-context] mwe (font proble) SOLVED

2021-11-14 Thread skyhorse--- via ntg-context
2021 12:26 AM, skyhorse--- via ntg-context wrote: > > Here is the minium not-working example which I took from the > > Wikigarden a few minutes ago. > > > > \def\T#1{% > >\startitemize[#1,joinedup] > > \item This is a bullet of type #1. > >\s

Re: [NTG-context] minimum working example plus (output)

2021-11-14 Thread Wolfgang Schuster via ntg-context
This is a bullet of type #1. \stopitemize } \starttext \dorecurse{9}{\T\recurselevel} \stoptext Compiling this into a pdf file with context produces an error. I've pasted the complete context typesetting run to show the error, in hopes that it will shed some light on what's wrong with my setup

Re: [NTG-context] minimum working example plus (output)

2021-11-14 Thread skyhorse--- via ntg-context
\item This is a bullet of type #1. > > \stopitemize > > } > > \starttext > >\dorecurse{9}{\T\recurselevel} > > \stoptext > > > > Compiling this into a pdf file with context produces an error. > > I've pasted the complete context typesetting run to show t

Re: [NTG-context] minimum working example plus (output)

2021-11-14 Thread Hans Hagen via ntg-context
On 11/14/2021 12:26 AM, skyhorse--- via ntg-context wrote: Here is the minium not-working example which I took from the Wikigarden a few minutes ago. \def\T#1{% \startitemize[#1,joinedup] \item This is a bullet of type #1. \stopitemize } \starttext \dorecurse{9}{\T

[NTG-context] minimum working example plus (output)

2021-11-13 Thread skyhorse--- via ntg-context
Here is the minium not-working example which I took from the Wikigarden a few minutes ago. \def\T#1{% \startitemize[#1,joinedup] \item This is a bullet of type #1. \stopitemize } \starttext \dorecurse{9}{\T\recurselevel} \stoptext Compiling this into a pdf file with context

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread jbf via ntg-context
=1cm] {butterfly} \startsectionblockenvironment[bodypart] \setupbackgrounds [rightpage] [background=butterfly] \stopsectionblockenvironment \def\rubbish% {\dorecurse{2} {\chapter{Chapter} \dorecurse{25}{\input knuth}}} \starttext

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
etuppagenumbering[alternative=doublesided] \definelayer[butterfly][state=repeat] \setlayer[butterfly] [hoffset=.99\textwidth, voffset=1cm] {butterfly} \startsectionblockenvironment[bodypart] \setupbackgrounds [rightpage] [background=butterfly] \stopsectionblockenviro

[NTG-context] Strange result with the new upload

2021-11-05 Thread Alain Delmotte via ntg-context
tbox}\quad} \starttext \dorecurse{10}{some text #1 } \leftparbox {\red \bf keyword}HERE\leftparbox{} \dorecurse{10}{some text #1 } \blank {\dorecurse{10}{some text #1 } \leftparbox {\red \bf keyword}test \dorecurs

[NTG-context] new upload

2021-11-05 Thread Hans Hagen via ntg-context
Hi, The latest lmtx upload has this: \starttext \dorecurse{10} { \dorecurse{20}{test #1 } \dorecurse{10}{\insertlinebefore{BEFORE 1/#1}} \dorecurse{20}{test #1 } \blank } \page \dorecurse{10} { \dorecurse{20}{test #1 } \insertlinebefore{BEFORE 1a

[NTG-context] new upload, new trickery

2021-10-28 Thread Hans Hagen via ntg-context
to use grouping in order not to bleed into other mechanisms. Also new is that we can query the content of these registers using \the, as in: \dorecurse{10}{ \showboxes \localleftbox{\ruledhbox {\smallinfofont\setstrut\strut[L #1.0]}}% \localleftbox{\ruledhbox {\smallinfofont

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
] \setupcombinedlist [content] [list={part,parttext,chapter,chaptertext}] \starttext \startfrontmatter \completecontent \SectionPrequote{If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote and Joseph Yoder}} \startchapter[title={One}] \dorecurse{7}{\input tufte \par \input

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
netext >> [chapterfooter] % name >> [footer]% vertical location >> [pagenumber]% content >> >> \setuphead >> [chapter] >> [header=empty, >>footer=chapterfooter] >> >> \starttext >> >> \dorecurse{4} >> {\ex

Re: [NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Wolfgang Schuster via ntg-context
and Joseph Yoder} \stopbuffer \startchapter[title={One}] \dorecurse{5}{\input tufte \par \input knuth} \stopchapter \startchapter[title={Two}] \dorecurse{5}{\input tufte \par \input knuth} \stopchapter \stoptext Wolfgang

[NTG-context] Move the page number from header to footer on the current page only?

2021-10-25 Thread Gerben Wierda via ntg-context
] \stopnarrower \stopalignment \page[right] \stopsetups \starttext \startbuffer [chapter:quote] If you think good architecture is expensive, try bad architecture\crlf {\tf Brian Foote and Joseph Yoder} \stopbuffer \chapter[h:one]{One} \dorecurse{5}{\input tufte \par \input knuth} \chapter

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
[header=empty, >footer=chapterfooter] > > \starttext > > \dorecurse{4} > {\expanded{\chapter{Chapter \recurselevel}} >\dorecurse{10}{\samplefile{lorem}}} > > \stoptext > > Wolfgang Yes, this works in a simple setup. But it doesn’t work in mine with my LHS-q

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Wolfgang Schuster via ntg-context
. How can I do this? \definetext   [chapterfooter] % name   [footer]    % vertical location   [pagenumber]    % content \setuphead   [chapter]   [header=empty,    footer=chapterfooter] \starttext \dorecurse{4}   {\expanded{\chapter{Chapter \recurselevel}}    \dorecurse{10}{\samplefile{lorem

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
bleoneargument] > \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} > > \starttext > \startbuffer [chapter:quote] > If you think good architecture is expensive, try bad architecture\crlf > {\tf Brian Foote and Joseph Yoder} > \stopbuffer > >

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
Foote and Joseph Yoder} \stopbuffer \chapter[h:one]{One} \ChapterAbstract{This is chapter abstract 1.} \dorecurse{5}{\input tufte \par \input knuth} \chapter[h:two]{Two} \ChapterAbstract{This is chapter abstract 2.} \dorecurse{5}{\input tufte \par \input knuth} \stoptext Gerben Wierda (LinkedIn

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Hans Hagen via ntg-context
he way, neither does \blackboard{Q} work. But \rationals works in the case of the letter Q. Hi Gerben, it only seems to work inside math:  \starttext  \dorecurse{26}{$\blackboard\characters{\recurselevel}  \Characters{\recurselevel}$}  \stoptext I hope it helps, Yes, the new \blackboard command

Re: [NTG-context] A book with sections

2021-10-23 Thread Pablo Rodriguez via ntg-context
sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{25}{\part{Part} \chapter{Chapter} \section{Section} \section{Section}} \stoptext Pablo -- http://www.ousia.tk ___

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
reset the counter for parts and chapters \defineresetset [default] [0,0] [1] \starttext \completecontent \dorecurse{4}   {\expanded{\part{Part \recurselevel}}    \dorecurse{5}{\expanded{\chapter{Chapter \recurselevel \stoptext Wolfgang

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Wolfgang Schuster via ntg-context
e case of the letter Q. Hi Gerben, it only seems to work inside math:  \starttext  \dorecurse{26}{$\blackboard\characters{\recurselevel}  \Characters{\recurselevel}$}  \stoptext I hope it helps, Yes, the new \blackboard command works, so $\blackboard{Q}$ works. Thanks. The \blackboard c

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Gerben Wierda via ntg-context
only seems to work inside math: > > \starttext > \dorecurse{26}{$\blackboard\characters{\recurselevel} > \Characters{\recurselevel}$} > \stoptext > > I hope it helps, Yes, the new \blackboard command works, so $\blackboard{Q}$ works. Thanks. Feature request: make sure that the new

Re: [NTG-context] How to enable the use of the blackboard font in modern ConTeXt

2021-10-23 Thread Pablo Rodriguez via ntg-context
On 10/23/21 3:00 PM, Gerben Wierda via ntg-context wrote: > By the way, neither does \blackboard{Q} work. But \rationals works in > the case of the letter Q. Hi Gerben, it only seems to work inside math: \starttext \dorecurse{26}{$\blackboard\characters{\recurselevel} \Char

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Hans Hagen via ntg-context
On 10/21/2021 6:34 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following imposition sample: \startbuffer[newbuff] \showframe\showgrid \setuppapersize[A3, landscape] \setuplayout[width=middle] \starttext \dorecurse{4}{\null\page} \stoptext

[NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following imposition sample: \startbuffer[newbuff] \showframe\showgrid \setuppapersize[A3, landscape] \setuplayout[width=middle] \starttext \dorecurse{4}{\null\page} \stoptext \stopbuffer \startmode[*first] \savebuffer[newbuff][A3page.tex, prefix

Re: [NTG-context] Reading ConTeXt metadata values into Lua

2021-10-17 Thread Ramkumar KB via ntg-context
starttabulate() > > context.NC() > > context("Current page") > > context.EQ() > > context(structures.counters.get("realpage",1,"number")) > > context.NC() > > context.NR() > > con

Re: [NTG-context] Reading ConTeXt metadata values into Lua

2021-10-16 Thread Hans Hagen via ntg-context
tructures.counters.get("realpage",1,"last"))     context.NC()     context.NR() context.stoptabulate() \stopluacode \stopbuffer \starttext \dorecurse     {\randomnumber{5}{10}}     {\getbuffer[pagenumber] \page} \stoptext As addendum ... The problem in general with macro

Re: [NTG-context] Reading ConTeXt metadata values into Lua

2021-10-16 Thread Wolfgang Schuster via ntg-context
C()     context.NR() context.stoptabulate() \stopluacode \stopbuffer \starttext \dorecurse     {\randomnumber{5}{10}}     {\getbuffer[pagenumber] \page} \stoptext Wolfgang ___ If your question is of interest to

[NTG-context] new upload

2021-10-13 Thread Hans Hagen via ntg-context
th) \starttext \showframe % this is the current default behaviour; we have a topskip with % quite some stretch and that stretch is taken into account % when tex calculates the badness; watch the next page \dorecurse{4}{ \bgroup \shapingpenaltiesmode\zerocount \sho

Re: [NTG-context] undefined command in current latest

2021-10-13 Thread Marcus Vinicius Mesquita via ntg-context
upheadertexts[{\getmarking[myheader][last]}] > > \starttext > >\dorecurse{10}{\samplefile{knuth}\marking[myheader]{\it knuth}\par} > > \stoptext > we switched to the new marking code; i'll sent you a file to test > > fyi: in mkii/mkiv we had to work around limitations of mark >

Re: [NTG-context] undefined command in current latest

2021-10-11 Thread Hans Hagen via ntg-context
On 10/11/2021 11:33 AM, mf via ntg-context wrote: It looks like the argument of \getmarking is not expanded, since you get "\it knuth" instead of an italicized "knuth" in the headers of this MWE: \definemarking[myheader] \setupheadertexts[{\getmarking[myheader][last]}] \sta

Re: [NTG-context] undefined command in current latest

2021-10-11 Thread mf via ntg-context
It looks like the argument of \getmarking is not expanded, since you get "\it knuth" instead of an italicized "knuth" in the headers of this MWE: \definemarking[myheader] \setupheadertexts[{\getmarking[myheader][last]}] \starttext \dorecurse{10}{\samplefile{knuth}\marking

Re: [NTG-context] manual hyphenation LMTX

2021-09-28 Thread Hans Hagen via ntg-context
,stretched,verytolerant] \dorecurse{100}{test\-}test \par } { \setupalign [hz,explicit,stretched,verytolerant] \dorecurse{100}{test\-}test \par } \stoptext if we can agree on the keyword ... Hans

Re: [NTG-context] Placing pagenumer with coordinates (layers)

2021-09-21 Thread Wolfgang Schuster via ntg-context
]{\pagenumber} \stopsetups \setupbackgrounds[page][setups=layer,background=pagenumber] \starttext \dorecurse{10}{\page[dummy]} \stoptext Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Roman PDF labels

2021-09-14 Thread Pablo Rodriguez via ntg-context
lockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \startfrontmatter \dorecurse{25}{\null

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-14 Thread juh via ntg-context
pagenumbering >   [alternative=doublesided] > > \showframe > > \starttext > \dorecurse{10}{\expanded{\chapter{Chapter > \convertnumber{word}{\recurselevel > \stoptext this looks interesting, but it's not quite what I want. I think I would like to have a different solutio

Re: [NTG-context] Image cropped

2021-09-13 Thread Fabrice Couvreur via ntg-context
ayout > [width=middle, >height=middle] > > \setupfootertexts > [margin] > [] > [{\offset[x=-1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > [] > [{\offset[x=1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > > %\showframe > &

Re: [NTG-context] Headline with numbers in margin doubleside layout

2021-09-13 Thread Wolfgang Schuster via ntg-context
this? \setuphead   [chapter]   [page=yes,    alternative=inmargin,    location=outer,    align=outer] \setuppagenumbering   [alternative=doublesided] \showframe \starttext \dorecurse{10}{\expanded{\chapter{Chapter \convertnumber{word}{\recurselevel \stoptext Wolfgang

Re: [NTG-context] Image cropped

2021-09-12 Thread Wolfgang Schuster via ntg-context
,    height=middle] \setupfootertexts   [margin]   []   [{\offset[x=-1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}]   []   [{\offset[x=1cm,y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] %\showframe \starttext \dorecurse{8}{\samplefile{knuth}} \stoptext Wolfgang

Re: [NTG-context] Image cropped

2021-09-11 Thread Fabrice Couvreur via ntg-context
e,height=middle] > > \setupfootertexts >[margin] >[] >[{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] >[] >[{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] > > \sho

Re: [NTG-context] Image cropped

2021-09-11 Thread Wolfgang Schuster via ntg-context
\dorecurse{8}{\input knuth} \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/listinfo/ntg-context webpage

[NTG-context] Image cropped

2021-09-11 Thread Fabrice Couvreur via ntg-context
]{\externalfigure[logo.pdf][factor=max]}}] [] [{\offset[y=\strutdp]{\externalfigure[logo.pdf][factor=max]}}] \showframe \starttext \dorecurse{8}{\input knuth} \stoptext ___ If your question is of interest to others as well

Re: [NTG-context] line numbering restarts every page

2021-09-01 Thread Hans Hagen via ntg-context
simplic e regulari quam ti del coalescent lingues. Li nov lingua franca va esser plu simplic e regulari quam li existent Europan lingues. \stopbuffer \dorecurse{10}{ \samplefile{knuth} \typebuffer } \stoptex

[NTG-context] line numbering restarts every page

2021-09-01 Thread Henning Hraban Ramm via ntg-context
ri quam li existent Europan lingues. \stopbuffer \dorecurse{10}{ \samplefile{knuth} \typebuffer } \stoptext Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

Re: [NTG-context] Test for displaying a header

2021-08-28 Thread Wolfgang Schuster via ntg-context
eadertexts   [\doif{\pagenumber}{1}{\directsetup{header}}] \setupfootertexts   [\doifnot{\totalnumberofpages}{1}{\directsetup{footer}}] \starttext \dorecurse{12}{\samplefile{lorem}\par} \stoptext stop example 1 start example 2 \startsetups [header]     \setupheader[state=high]     \startframed

Re: [NTG-context] Test for displaying a header

2021-08-27 Thread Wolfgang Schuster via ntg-context
[header]   [text]   [frame=off,bottomframe=on,  framecolor=lightgray,rulethickness=1pt] \startsetups[header] \doifelse{\totalnumberofpages}{1}     {\setuplayout[1]} {\setuplayout[reset]} \stopsetups \starttext \input knuth %\dorecurse{10}{\input knuth\par} \stoptext I have no idea what you try

Re: [NTG-context] Test for displaying a header

2021-08-26 Thread Fabrice Couvreur via ntg-context
=on, framecolor=lightgray,rulethickness=1pt] \starttext \dorecurse{5}{\samplefile{lorem}} %\dorecurse{1}{\samplefile{lorem}} \stoptext %%ù Using this (almost what I'm trying to do) without success test-2.tex % \setuppagenumbering [alternative=doublesided,location

[NTG-context] new upload

2021-08-24 Thread Hans Hagen via ntg-context
s.randomizer.getrepeatableseed("MyRandomM")}\par \dorecurse{10}{\MyRandom\par} \startlinecorrection \startMPcode randomseed := repeatablerandom("MyRandom") ; draw image ( for i=1 upto 1000 : d

Re: [NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Wolfgang Schuster via ntg-context
,height=\footerheight]} \showframe \starttext \dorecurse{20}{\samplefile{lorem}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Place a logo at the bottom of the page with a layer

2021-08-24 Thread Fabrice Couvreur via ntg-context
,height=\headerheight]} \showframe \starttext \dorecurse{20}{\samplefile{lorem}} \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] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
erence % \blank[halfline, penalty:-5000]% still no difference % \blank[halfline, penalty:-1]% this works, but it is too extreme! } %Set things up for fakewords: \usemodule[visual] \setupsystem[random=10] \starttex

Re: [NTG-context] Footnotes in columns

2021-08-12 Thread Henning Hraban Ramm via ntg-context
lumn > break disappeared: > > \starttext > \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 &g

[NTG-context] JavaScript in multimedia PDF

2021-08-08 Thread Pablo Rodriguez via ntg-context
] \dorecurse{25}{\null\page} \stoptext I don’t know why I get the following message: TypeError: a.doc is undefined It seems to be caused by "app.media.openPlayer", but the code is copied from the documentation Adobe released early this year. Does anyone know what is wrong here or

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Joey McCollum via ntg-context
ooter=empty, > align={flushleft,nothyphenated}, > style=MyPartFont, > > textstyle={\setcharacterkerning[mypartkerning]\setcharactercasing[WORD]}, > after={\page[blankpagebreak]}] > > \setupheader

Re: [NTG-context] Rotating pages

2021-08-07 Thread Wolfgang Schuster via ntg-context
to achieve this? \startbuffer[apx] \setuppapersize[ \setuppapersize[%   \dorecurse{\noffigurepages}       {\startTEXpage \externalfigure[\jobname-apx.pdf][page=\recurselevel]  \stopTEXpage} \externalfigure [...] [page=\recurselevel,orientation=90] Wolfgang

[NTG-context] Rotating pages

2021-08-07 Thread Jeroen via ntg-context
[ A4,landscape] \setuppagenumbering[ location={footer,center}] \setbreakpoints[compound] \starttext \startsection[title={MyTitle},ref={apx}] \dorecurse{10}{\input zapf\par} \stopsection \stoptext \stopbuffer \savebuffer[list=apx, file=apx.tex] \starttext \startbodymatter

Re: [NTG-context] Setting a heading text on its own page with \setuphead

2021-08-07 Thread Wolfgang Schuster via ntg-context
D]}, after={\page[blankpagebreak]}] \setupheadertexts [\structureuservariable{booktitle}] [] [] [\structureuservariable{booktitle}] \setupfootertexts [pagenumber] [] [] [pagenumber] \setupblank [line,fixed] \starttext \startMyPart [title={Title for Title Page}] [booktitle={Title for Header}]

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
ize \item Item 1 \item Item 2 \stopitemize \stopsection \startsection[title={MySlideTitle},ref={myref2}] Body text \startitemize \item Item 1 \item Item 2 \stopitemize \stopsection \stoptext\starttext text \stoptext \stopbuffer \savebuffer[list=slides, file=slides.tex] \starttext \startb

Re: [NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 04.08.2021 um 15:53: Dear list, I have the following sample: \setupinteractionscreen[copies=5] \starttext \dorecurse{5}{\input zapf\par} \stoptext The resulting file from current latest (2021.07.30 00:57) contains the following

[NTG-context] copies from \setupinteractionscreen not working?

2021-08-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteractionscreen[copies=5] \starttext \dorecurse{5}{\input zapf\par} \stoptext The resulting file from current latest (2021.07.30 00:57) contains the following /ViewerPreferences dictionary: /ViewerPreferences << /Duplex /S

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-01 Thread Pablo Rodriguez via ntg-context
e file as \typesetfile[\jobname-slides.tex][--purgeall][object=no, width=0pt] and the output file would read: \getfiguredimensions[\jobname-slides.pdf] \dorecurse{\noffigurepages} {\startTEXpage \externalfigure[\jobname-slides.pdf][page=\recurselevel] \stopTEXpage} I mean, y

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
file=\jobname_slides.tex, prefix=no] \starttext \startbodymatter \dorecurse{25}{\input zapf\par} \typesetfile[\jobname_slides.tex][--purgeall][object=no, width=0pt] \stopbodymatter \startappendices \getfiguredimensions[\jobname_slides.pdf] \dorecurse{\noffigurepages} {\startTEX

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Pablo Rodriguez via ntg-context
ode, perhaps with some \input and > something like a two-pass job. Hi Jeroen, not sure this might help you (I’m not sure you intend a single source file, in addition to a single PDF document), but here you have: \startbuffer[slides] \setuppapersize[CD] \setupbodyfont[60pt] \starttext

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread T. Kurt Bond
> fill OverlayBox withcolor "gray"; > \stopuseMPgraphic > > \defineoverlay >[xtablerow] >[\ifodd\currentxtablerow > \useMPgraphic{xtablerow}% > \fi] > > \starttext > >

Re: [NTG-context] Every odd row with a background color with extreme tables?

2021-07-23 Thread Wolfgang Schuster
[\ifodd\currentxtablerow \useMPgraphic{xtablerow}% \fi] \starttext \startxtable[frame=off,background=xtablerow] \dorecurse{20} {\startxrow \startxcell Column 1 \stopxcell \startxcell Column 2 \stopxcell \stopxrow} \stopxtable \stoptext

Re: [NTG-context] Metapost Animation of Sine

2021-07-22 Thread Otared Kavian
are great! This is what I had in mind, a rolling sine. Is > there a way to get the same result with the Tikz module? > > \usemodule[animation] > \setupinteraction[state=start] > > \starttext > > \input tufte > > \framed{ > \startanimation[menu=yes,framerate=40]

Re: [NTG-context] Metapost Animation of Sine

2021-07-22 Thread Jeroen
Hi, both solutions are great! This is what I had in mind, a rolling sine. Is there a way to get the same result with the Tikz module? \usemodule[animation] \setupinteraction[state=start] \starttext \input tufte \framed{ \startanimation[menu=yes,framerate=40] \dorecurse{50}{\expanded

[NTG-context] How to place text before a table inside a column environment

2021-07-22 Thread Michael Guravage
][2][width=3cm, align=middle] \setupTABLE[c][each][frame=off] \stopsetups \switchtobodyfont[10pt] \starttext \doifmode{title}{\title{Rooster}} \startcolumns[n=2] \bTABLE[split=yes, setups=tablesettings] \dorecurse{75}{\bTR \bTD 25 \eTD \bTD aug, wo \eTD \bTD Lecture \eTD \eTR

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Otared Kavian
] \startanimation[menu=yes,framerate=10] \dorecurse{101}{\expanded {\startframe \startMPcode numeric u, omega, mylength, tt, N ; u := 2cm ; omega := 4 ; mylength

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Otared Kavian
Hi, I wonder whether something like the following is what you are looking for: % begin wave-sine.tex \usemodule[animation] \setupinteraction[state=start] \starttext \startTEXpage[offset=2pt] \startanimation[menu=yes,framerate=10] \dorecurse{100}{\expanded {\startframe

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Jeroen
small animation to enlarge a circle > > > \usemodule[animation] > \setupinteraction[state=start] > \starttext > \startanimation[menu=yes,framerate=10] > \dorecurse{7}{\expanded > {\startframe > \startMPcode > path p; > numeric n, u; > u := 1cm; >

Re: [NTG-context] Layers – when do they repeat?

2021-07-21 Thread Henning Hraban Ramm
setlayerframed[leftmargin][ > frame=off, > offset=overlay, > width=\leftmarginwidth, > align={flushleft,verytolerant}, > ]{Why is this repeated on every page? It should not.}% > > \dorecurse{20}{ > \fakewords{20}{100}\par > } > > \stoptext > ___

Re: [NTG-context] Metapost Animation of Sine

2021-07-21 Thread Fabrice L
Hi, > Le 21 juill. 2021 à 10:08, Jeroen a écrit : > > I use this small animation to enlarge a circle > > > \usemodule[animation] > \setupinteraction[state=start] > \starttext > \startanimation[menu=yes,framerate=10] > \dorecurse{7}{\expanded > {\startfram

[NTG-context] Metapost Animation of Sine

2021-07-21 Thread Jeroen
I use this small animation to enlarge a circle \usemodule[animation] \setupinteraction[state=start] \starttext \startanimation[menu=yes,framerate=10] \dorecurse{7}{\expanded {\startframe \startMPcode path p; numeric n, u; u := 1cm; n:=\recurselevel*u; p := fullcircle

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Jeong Dal
Dear Hans, Wolfgang, Both of your methods are working well. Using \frame, the \dorecurse problem is solved. \starttext \startanimation[menu=yes] \dorecurse{10} { \frame{\useMPgraphic[stacking={#1}]{demo}}} \stopanimation \stoptext Thank you for your solutions. Best regards, Dalyoung

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Hans Hagen
; endfor ; \stopuseMPgraphic \unprotect \tolerant\protected\def\useMPanimation[#1]#2%    {\begingroup     \scratchtoks\emptytoks \dorecurse{10}{\etoksapp\scratchtoks{{\useMPgraphic[\c!stacking={\recurselevel}]{#2%     \expanded{\startanimation[#1]\the\scratchtoks

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Wolfgang Schuster
; \stopuseMPgraphic \setupinteraction[state=start] \usemodule[animation] \starttext \startanimation[menu=yes] % \dorecurse{10} % { {\useMPgraphic[stacking={#1}]{demo}}} {\useMPgraphic[stacking={1}]{demo}} {\useMPgraphic[stacking={2}]{demo}} {\useMPgraphic[stacking={3}]{demo}} {\useMPgraphic[stacking={4

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Jeong Dal
[state=start] \usemodule[animation] \starttext \startanimation[menu=yes] % \dorecurse{10} % { {\useMPgraphic[stacking={#1}]{demo}}} {\useMPgraphic[stacking={1}]{demo}} {\useMPgraphic[stacking={2}]{demo}} {\useMPgraphic[stacking={3}]{demo}} {\useMPgraphic[stacking={4}]{demo}} {\useMPgraphic

Re: [NTG-context] weekend upload - stacking and animation

2021-07-13 Thread Floris van Manen
\unprotect \tolerant\protected\def\useMPanimation[#1]#2%   {\begingroup    \scratchtoks\emptytoks \dorecurse{10}{\etoksapp\scratchtoks{{\useMPgraphic[\c!stacking={\recurselevel}]{#2%    \expanded{\startanimation[#1]\the\scratchtoks\stopanimation}%    \endgroup} \protect

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