[NTG-context] Re: Seeking advice for module that draws globes

2023-12-19 Thread Gavin via ntg-context
Hi Hraban, This was very helpful. I think I have everything organized according to TDS now. > Have a look at > https://wiki.contextgarden.net/Modules#Module_writing_guidelines > … and please tell me, if you miss anything or find errors! Regarding TDS, the wike page says: > Sort

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-17 Thread Henning Hraban Ramm
://modules.contextgarden.net is also outlined in the wiki page. Best, Hraban ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Bruce Horrocks
On 10 Dec 2023, at 10:30, Jigé via ntg-context wrote: > > I've been struggling with basic page layout. > > The left margin extends outside the left edge of the page. > Example (from the wiki): I don't know why it is like this but changing it now would probably break

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Jigé via ntg-context
Hello \stoptext With just \setuplayout[location=middle] the left margin gets outside the left edge, there's also a gap to the right of the right margin and, to the eye, it seems that the sum leftmargin+leftmargindistance+textwidth+rightmargindistance+rightmargin doesn not match the page wi

[NTG-context] Re: margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Wolfgang Schuster
Jigé via ntg-context schrieb am 10.12.2023 um 11:30: Hi all, I've been struggling with basic page layout. The left margin extends outside the left edge of the page. Example (from the wiki): \setuppapersize[A4][A4] % this is the default and may be omitted \setuplayout[backspace

[NTG-context] margin bigger than backspace pushes it outside the edge

2023-12-10 Thread Jigé via ntg-context
Hi all, I've been struggling with basic page layout. The left margin extends outside the left edge of the page. Example (from the wiki): \setuppapersize[A4][A4] % this is the default and may be omitted \setuplayout[backspace=20mm,     width=110mm,     topspace=20mm,     header=0mm,     f

[NTG-context] Re: Problem with \startlinenumbering left and right arguments

2023-12-09 Thread Wolfgang Schuster
values stay also on the last page with a forced page break before the block ends, e.g.     \page     \stoplinenumbering Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
next page one after the other. Can anyone suggest what I could be doing wrong? Without a proper example it's difficult to give an answer. Do I need to increase the buffer? how? This is what I have used to place each figure \startplacefigure[location=here,reference=fig

[NTG-context] \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
Hi all, I am generating a quiz, with eight questions, each with text and a figure following it. The output was fine till the fifth question, but then the margin separating the text of each question disappeared and the figure got put on the next page one after the other. Can anyone suggest what I

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
d defined two functions, one (test_old) one for the current code and one for the new code: test_new () { for x in $=x_vals do for y in $=y_vals do printf "%3d, %3d: " $x $y out=`mtxrun --script mtx-synctex-jd.lua

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
Hi Hans (and anyone else interested in synctex), On Fri, Dec 8, 2023 at 11:38 (-0400), Jim wrote: > Hi Hans, > On Fri, Dec 8, 2023 at 15:03 (+0100), Hans Hagen wrote: >> On 12/7/2023 7:23 PM, Jim wrote: >>> Hi, >>> In mtx-synctex.lua, inside >>> lo

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Jim
Hi Hans, On Fri, Dec 8, 2023 at 15:03 (+0100), Hans Hagen wrote: > On 12/7/2023 7:23 PM, Jim wrote: >> Hi, >> In mtx-synctex.lua, inside >> local function findlocation(filename,page,xpos,ypos,tolerance) >> there is the following code: >> for s=1,tolerance,max

[NTG-context] Re: mtx-synctex.lua question

2023-12-08 Thread Hans Hagen via ntg-context
On 12/7/2023 7:23 PM, Jim wrote: Hi, In mtx-synctex.lua, inside local function findlocation(filename,page,xpos,ypos,tolerance) there is the following code: for s=1,tolerance,max(tolerance//10,1) do locate( s, 0) if fi ~= 0 then tl = s ; goto done

[NTG-context] mtx-synctex.lua question

2023-12-07 Thread Jim
Hi, In mtx-synctex.lua, inside local function findlocation(filename,page,xpos,ypos,tolerance) there is the following code: for s=1,tolerance,max(tolerance//10,1) do locate( s, 0) if fi ~= 0 then tl = s ; goto done end locate(-s, 0

[NTG-context] Re: (again) wrong destination types?

2023-12-06 Thread Pablo Rodriguez via ntg-context
On 12/5/23 00:21, Bruce Horrocks wrote: >> On 3 Dec 2023, at 15:26, Pablo Rodriguez via ntg-context wrote: >> […] >> My issue is that I cannot avoid having "page=name" for links to external >> documents, but this breaks footnotes and other special operation links

[NTG-context] Re: (again) wrong destination types?

2023-12-04 Thread Bruce Horrocks
> On 3 Dec 2023, at 15:26, Pablo Rodriguez via ntg-context > wrote: > > On 11/22/23 00:06, Bruce Horrocks wrote: >> [...] >> I changed your example to the following: >> \setupinteraction[state=start, page=name, focus=standard] >> \starttext >&g

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-04 Thread Fabrice L
Dear Emanuel, > Le 2 déc. 2023 à 12:08, Emanuel Han via ntg-context a > écrit : > > Hi Mikael, > > here's a very simple mwe for the label(textext()) issue. On page 1, the text > "Word 1" should be drawn in position z1. On page 2, the same text in the sam

[NTG-context] Re: unwanted blank page

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 09:57, madiazm.eo...@gmail.com wrote: > Thanks a lot Pablo for your comments, I think my bad English did not > let me be clear. Sorry (also for my delay in answering), but it was totally my fault (I totally missed your point).. Pablo

[NTG-context] Re: (again) wrong destination types?

2023-12-03 Thread Pablo Rodriguez via ntg-context
On 11/22/23 00:06, Bruce Horrocks wrote: > [...] > I changed your example to the following: > \setupinteraction[state=start, page=name, focus=standard] > \starttext > \input knuth \par > a\footnote{b} \par > \dorecurse{7}{\input knuth \par} > \stoptext Many thanks for yo

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
i) > currentpicture := currentpicture xysized (desiredformat ,desiredformat ); > \stopMPpage > } > > \stoptext > /Mikael > On Sat, Dec 2, 2023 at 6:14 PM Emanuel Han via ntg-context > wrote: > > > > Hi Mikael, > > > > here's a very simple mwe fo

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
be converted by default at 72dpi) currentpicture := currentpicture xysized (desiredformat ,desiredformat ); \stopMPpage } \stoptext /Mikael On Sat, Dec 2, 2023 at 6:14 PM Emanuel Han via ntg-context wrote: > > Hi Mikael, > > here's a very simple mwe for the label(textext()) issue. On page

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
Hi Mikael, here's a very simple mwe for the label(textext()) issue. On page 1, the text "Word 1" should be drawn in position z1. On page 2, the same text in the same position should be visible, and the text "Mot 2" in position p2 should be added. And so on. \startMPinc

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Mikael Sundqvist
via ntg-context >> wrote: >> >> Dear Aditya and Fabrice, >> thanks for your responses. >> >> I included some of Fabrice's code into mine for testing purpose, and indeed >> the multipage works now. >> What is bizarre is that issues appear now that d

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread fv leung
purpose, and > indeed the multipage works now. > What is bizarre is that issues appear now that didn't appear before: > >- Path A is drawn with color red on page 1, and in color black on all >following pages, while it should stay red. >- textext(, ) is ov

[NTG-context] Re: multipage metapost output from ConTeXt

2023-12-02 Thread Emanuel Han via ntg-context
uded some of Fabrice's code into mine for testing purpose, and indeed > the multipage works now. > What is bizarre is that issues appear now that didn't appear before: > Path A is drawn with color red on page 1, and in color black on all following > pages, while it should stay r

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-29 Thread Emanuel Han via ntg-context
Dear Aditya and Fabrice, thanks for your responses. I included some of Fabrice's code into mine for testing purpose, and indeed the multipage works now. What is bizarre is that issues appear now that didn't appear before: Path A is drawn with color red on page 1, and in color bl

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-27 Thread Aditya Mahajan
a variable to a metapost drawing. This is what I use: https://adityam.github.io/context-blog/post/metapost-animation/ It only works when viewed in acrobat, you can just comment out the animation part and wrap it in \startTEXpage .. \stopTEXpage to get multi

[NTG-context] Re: multipage metapost output from ConTeXt

2023-11-27 Thread Fabrice L
nce \starttext % We can put in the inclusions the material we will use at each page, to declare things only one time. \startMPinclusions % the frame of the video ; path TheFrame ; TheFrame := fullsquare scaled 5in ; randomseed := 53 ; path TheBrownianMotion ; pair Coordinate[]; Coordinat

[NTG-context] multipage metapost output from ConTeXt

2023-11-27 Thread Emanuel Han via ntg-context
How can I achieve multipage metapost output from ConTeXt? The result should be a multipage pdf. It contains just a metapost graphic per page. The graphic has always the same bounding box and evolves from page to page: Some elements to be drawn are added, and some others would ideally also be

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread Mikael Sundqvist
t; before, because I had found it somewhere by chance. But it didn't work > either, as you can also verify on the page https://context-on-web.eu/. > > Regards, > Wolfgang > ___ > If your question

[NTG-context] Re: mathalignment; alignment of columns

2023-11-24 Thread wolfgangbackes--- via ntg-context
Thank you very much for the quick reply. But I had already tried this syntax before, because I had found it somewhere by chance. But it didn't work either, as you can also verify on the page https://context-on-web.eu/. Regards, Wol

[NTG-context] Re: marginwidths

2023-11-22 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 22.11.2023 um 15:45: But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins. see next example. So how to adapt the page to for example: [leftmargin 40mm][middle

[NTG-context] Re: marginwidths

2023-11-22 Thread Hans van der Meer via ntg-context
But changing the width of the section in the middle is not changing. Adapt \textwidth narrows the textwidth but does not allow wider margins.see next example. So how to adapt the page to for example:[leftmargin 40mm][middle what is left][rightmargin 60mm] this should leave 210-40-60=110mm in the

[NTG-context] Re: marginwidths

2023-11-22 Thread Marco Patzer
On Wed, 22 Nov 2023 14:17:29 +0100 Hans van der Meer via ntg-context wrote: > I would like to change the width of the margins on the page. > In the MWE here, the pagelayout does not seem to obey the > \setuplayout command. Why are the margins shown uneffected by > \setuplayou

[NTG-context] Re: unwanted blank page

2023-11-22 Thread madiazm . eoicc
Thanks a lot Pablo for your comments, I think my bad Englisch did not let me be clear. I just wanted to show my trick not to get the first page numbered, hiding the number with [location=] and then changing the number format to the wished option. I was not asking a question. Of course, since

[NTG-context] Re: (again) wrong destination types?

2023-11-21 Thread Bruce Horrocks
> On 20 Nov 2023, at 18:01, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > sorry for insisting, but this is important for my documents. > > I have the following sample: > > \setupinteraction[state=start, page=name, focus=standard] > \startt

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
line numeric dsc ; dsc := 3 ; % Total height of a writing line in mm (including asc, med, and dsc) numeric lineHeight ; lineHeight = (asc + med + dsc) * nib ; % Available lines on a page numeric availableLines ; availableLines = round(box / lineHeight) - 1 ; % Starting position n

[NTG-context] (again) wrong destination types?

2023-11-20 Thread Pablo Rodriguez via ntg-context
Dear list, sorry for insisting, but this is important for my documents. I have the following sample: \setupinteraction[state=start, page=name, focus=standard] \starttext a\footnote{b} \stoptext If page is set to anything different than no in \setupinteractionscreen, focus=standard will

[NTG-context] Re: unwanted blank page

2023-11-20 Thread Pablo Rodriguez via ntg-context
d in the title page > (though I define sectionblocks for keeping different numbering systems > for the table of contents and the document) Section blocks are intended for that. Just a comment, if your cover (or title) page involves a one and only single page, you may use makeups, such

[NTG-context] Re: unwanted blank page

2023-11-19 Thread madiazm . eoicc
sorry if i dont get your problem right understood, but i'm completely new to context. I use a hack not to get the number not printed in the title page (though I define sectionblocks for keeping different numbering systems for the table of contents and the document) I use \setuppagenumb

[NTG-context] Re: learning about the grid

2023-11-19 Thread Pablo Rodriguez via ntg-context
ium] \starttext \input knuth \setuplayout[grid=yes]\page \input knuth \stoptext > 1. Why are the lines printed one over the other when grid=no? how do > profis then use context without grid? As said, ConTeXt is \setuplayout[grid=no] by default. As far as I can recall it, the default

[NTG-context] Re: unwanted blank page

2023-11-19 Thread Wolfgang Schuster
Hans van der Meer via ntg-context schrieb am 19.11.2023 um 11:56: I should have a first page without pagenumber and pagenumbers on the subsequent ones. However the MWE here introduces an unwanted blank page from the call to \setuppagenumbering[state=start]. And the \setuppagenumbering has to

[NTG-context] unwanted blank page

2023-11-19 Thread Hans van der Meer via ntg-context
I should have a first page without pagenumber and pagenumbers on the subsequent ones.However the MWE here introduces an unwanted blank page from the call to \setuppagenumbering[state=start].And the \setuppagenumbering has to come after the \page, of course.Should I program otherwise? yours

[NTG-context] wrong destination types?

2023-11-17 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, page=name, focus=standard] \starttext a\footnote{b} \stoptext In \setupinteraction, "focus=standard" is ignored when I use "page=name". I mean, link destinations are to the full page and they

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-15 Thread Jim
rn anything useful. Nor >> does the okular example in the wiki (https://wiki.contextgarden.net/SyncTeX) >> work for me. Ocular starts, but always on the first page, regardless of >> what line number I give it. >> On the other hand, pdftex creates a .synctex file which my

[NTG-context] Re: named destinations in /GoToR

2023-11-14 Thread Pablo Rodriguez via ntg-context
> > It seems that the default mode for outer (external file) references is > the "auto" mode. This one seems to load the whatever.pdf file, check the > named destinations and decide based on that. Many thanks for your explanation, Michal. I was totally ignorant of the page k

[NTG-context] Re: named destinations in /GoToR

2023-11-13 Thread Michal Vlasák
ems to load the whatever.pdf file, check the named destinations and decide based on that. I am not exactly sure why your example fails, because it seems desirable that the auto mode detects the named destination and refers to it instead, or at least refers to the page number the destination

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-13 Thread Pablo Rodriguez via ntg-context
sulting PDF document? > > one has to render a document (page stream) in order to wee what end up > where .. a viewer has that info so it can decide to act upon it (apart > from some gambling with words clipped in the middle of a character) > > this is not something for context to

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Hans Hagen
some information in it, but I can't find any invocation of synctex to return anything useful. Nor does the okular example in the wiki (https://wiki.contextgarden.net/SyncTeX) work for me.  Ocular starts, but always on the first page, regardless of what line number I give it. On the other ha

[NTG-context] Re: context not producing synctex output that my synctex program can use

2023-11-12 Thread Henning Hraban Ramm
ocation of synctex to return anything useful. Nor does the okular example in the wiki (https://wiki.contextgarden.net/SyncTeX) work for me. Ocular starts, but always on the first page, regardless of what line number I give it. On the other hand, pdftex creates a .synctex file which my copy of sy

[NTG-context] context not producing synctex output that my synctex program can use

2023-11-11 Thread Jim
eful. Nor does the okular example in the wiki (https://wiki.contextgarden.net/SyncTeX) work for me. Ocular starts, but always on the first page, regardless of what line number I give it. On the other hand, pdftex creates a .synctex file which my copy of synctex find useful. I am using the syncte

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-11 Thread Hans Hagen via ntg-context
On 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \setuplayout[page] \starttext \clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm] {\externalfigure[xml-mkiv.pdf]} \stopnotmode \stoptext Using PDF.js (from

[NTG-context] hard clipping in ConTeXt?

2023-11-10 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuplayout[page] \starttext \clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm] {\externalfigure[xml-mkiv.pdf]} \stopnotmode \stoptext Using PDF.js (from current Firefox), xpdf, Evince, mupdf-gl, the viewer is able to find

[NTG-context] \xmlinclusion?

2023-11-09 Thread Hans van der Meer via ntg-context
\xmlinclusion\{\#1\} ===> "\xmlinclusion{#1}"\crlf \xmlflush{#1}\crlf {\bf End test}\blank\stopxmlsetups\startxmlsetups demo:test \xmlflush{#1}\stopxmlsetups\starttext\currentdate-\currenttime\quad\ConTeXt-version=\contextversion\blankThe following text is on page 52 of xml-mkiv.pdf:\crlf\type{

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-08 Thread Henning Hraban Ramm
Am 08.11.23 um 09:53 schrieb Marco Patzer: On Sun, 5 Nov 2023 18:11:45 + Bruce Horrocks wrote: When I go to the page layout page on the Contextgarden wiki <https://wiki.contextgarden.net/Page_Layout> the "typesetting areas" diagram is missing its text labels

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-08 Thread Marco Patzer
On Sun, 5 Nov 2023 18:11:45 + Bruce Horrocks wrote: > When I go to the page layout page on the Contextgarden wiki > > <https://wiki.contextgarden.net/Page_Layout> > > the "typesetting areas" diagram is missing its text labels. Fixed. > Any suggestions

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-07 Thread Andres Conrado Montoya
A possible reason for this is that the use of xlink:href, the attribute used to render the text glyphs created by symbol elements in https://wiki.contextgarden.net/images/5/54/layout.svg, has been deprecated since SVG 2.0, as you can see in https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread Taco Hoekwater
> On 6 Nov 2023, at 00:35, Bruce Horrocks wrote: > > > [1] Now there's an irony: the Wiki software creates different-sized previews > of a vector image so that it can show the image at different sizes on > different clients. I bet it started doing this back 'in the day’ to support Internet

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread Bruce Horrocks
> On 5 Nov 2023, at 20:24, peter.hopcroft--- via ntg-context > wrote: > > I see this problem on my iPad: Safari and Orion browsers. > > I do not see this problem on my mac: Safari and Orion browsers. > Thank-you both for checking. Looking more closely it seems

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread peter.hopcroft--- via ntg-context
I see this problem on my iPad: Safari and Orion browsers. I do not see this problem on my mac: Safari and Orion browsers. Peter > On 6/11/2023, at 8:19 AM, Henning Hraban Ramm wrote: > > Am 05.11.23 um 19:11 schrieb Bruce Horrocks: >> When I go to the page layout page on th

[NTG-context] Re: Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread Henning Hraban Ramm
Am 05.11.23 um 19:11 schrieb Bruce Horrocks: When I go to the page layout page on the Contextgarden wiki <https://wiki.contextgarden.net/Page_Layout> the "typesetting areas" diagram is missing its text labels. If I click on the diagram the Wiki takes me to the underlying

[NTG-context] Wiki problem - labels missing from the main diagram on the Page Layout page

2023-11-05 Thread Bruce Horrocks
When I go to the page layout page on the Contextgarden wiki <https://wiki.contextgarden.net/Page_Layout> the "typesetting areas" diagram is missing its text labels. If I click on the diagram the Wiki takes me to the underlying layout.svg file and then I /do/ see the labels.

[NTG-context] Example is not working

2023-11-03 Thread Ursula Hermann
Dear List, i hope somone can help me. This litte example is from the wiki, i wanted to try \placeformula \placeformula[formula:aformula] \startformula y=x^2 \stopformula \placeformula \startformula \int_0^1 x^2 dx \stopformula After compiling there is no PDF Page . But this: Command Line

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-02 Thread Vincent Hennebert
alternatives and design sizes (the latter being available in the Serif style only). Comments welcome. If it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. I have no tiem now to figure out this (somewhat excessive) amount of fonts - hopefully we will not end up

[NTG-context] Re: Adobe Source Typescript With Design Sizes

2023-11-01 Thread Hans Hagen via ntg-context
in the Serif style only). Comments welcome. If it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. I have no tiem now to figure out this (somewhat excessive) amount of fonts - hopefully we will not end up in a world where all fonts have many weights which makes

[NTG-context] Adobe Source Typescript With Design Sizes

2023-10-31 Thread Vincent Hennebert
it looks good I can upload it to the wiki, on the Typescripts_examples page I guess. (I have Questions For the Experts further down...) About Adobe Source == The fonts are available on GitHub [1]. They are the descendants of the Source {Serif,Sans,Code} Pro fonts described in

[NTG-context] Re: typearea

2023-10-29 Thread Thomas Meyer
upTypeArea[bcor=0mm,alphabets=3.1] \setuppagenumbering[alternative=doublesided] \starttext \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} \stoptext I got: texmf-dist/tex/context/third/typearea/t-typearea.tex' loading > Something like KOMA-TypeArea tex error   

[NTG-context] typearea

2023-10-29 Thread Thomas Meyer
\starttext \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} \stoptext I got: texmf-dist/tex/context/third/typearea/t-typearea.tex' loading > Something like KOMA-TypeArea tex error   > tex error on line 89 in file /usr/local/texlive/2023/texmf-dist/tex/con

[NTG-context] Re: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mikael Sundqvist
noticed a thin white line on the right side. > > Here is a Minimal Working Example: > > ConTeXt ver: 2023.09.26 18:19 LMTX > > \setupbackgrounds[page][background=color,backgroundcolor=black] > \setuppagenumbering[alternative=doubles

[NTG-context] Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mia Bikey
Hi, I was using \setuppagenumbering[alternative=doublesided] to get double sided pages. After doing that I noticed a thin white line on the right side. Here is a Minimal Working Example: ConTeXt ver: 2023.09.26 18:19 LMTX \setupbackgrounds[page][background=color,backgroundcolor=black

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mikael Sundqvist
le: >> >> ConTeXt ver: 2023.09.26 18:19 LMTX >> >> \setupinteraction[state=start, color=black] >> >> \starttext >> >> \placeformula[eq:equation1] >> \startformula >> x >> \stopformula >> >> References are red on the first p

[NTG-context] Re: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
tware issue but it is > still the same. > > Here is a minimal working example: > > ConTeXt ver: 2023.09.26 18:19 LMTX > > \setupinteraction[state=start, color=black] > > \starttext > > \placeformula[eq:equation1] > \startformula > x > \stopformula > &g

[NTG-context] Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
\setupinteraction[state=start, color=black] \starttext \placeformula[eq:equation1] \startformula x \stopformula References are red on the first page \in[eq:equation1] \at{page}[eq:equation1] \input tufte \input tufte \input tufte \input tufte \input tufte Now they become black \in[eq:equation1] \at{page

[NTG-context] Footnotes on the bottom of the column's current page, instead of the columns' end

2023-10-25 Thread Juliano David Hilario
> > > Hello, I'm trying to achieve a look similar to a magazine our religious organization frequently discusses, but unfortunately can't find the correct settings to do so. Whenever I call a custom note on a column, instead of the note showing on the bottom of the page, it show

[NTG-context] Re: numbered itemize list item label alignment

2023-10-19 Thread Csikos Bela
on the > same position. I normally use the `fit` key with an appropriate value of `distance`. For example: \showframe[text][text] \starttext \startitemize[n,fit,broad][distance=0.25em,itemalign=flushright] \dorecurse{1}{\startitem xxx\stopitem} \stopitemize \page \startitemize[n,f

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Aditya Mahajan
ixed > value > (e.g. width=2em) to let all items (independent of the entries) start on the > same position. I normally use the `fit` key with an appropriate value of `distance`. For example: \showframe[text][text] \starttext \startitemize[n,fit,broad][distance=0.25em,itemalign

[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Wolfgang Schuster
\orelse\ifnum\lastcountervalue[itemgroup:itemize]>9 \widthofstring{00.}%    \else \widthofstring{0.}%    \fi} \showframe[text][text] \starttext \startitemize[n][width=\ItemWidth,itemalign=flushright] \dorecurse{1}{\startitem xxx\stopitem} \stopitemize \page \startitemize[n][width=\ItemWidth,item

[NTG-context] Re: How can I use a variable for a MetaPost coordinate ?

2023-10-05 Thread peter.hopcroft--- via ntg-context
rtPage ... > StopPage in your MPcode, then you can knock yourself out by using variables > such as PaperHeight or TextHeight and do all sorts of calculations. > > All best > > Thomas > > On 10/5/23 05:54, peter.hopcroft--- via ntg-context wrote: >> Hello list, I

[NTG-context] Re: How can I use a variable for a MetaPost coordinate ?

2023-10-04 Thread Thomas A. Schmitz
: Hello list, I want to draw lines on a page. I want to pass my line coordinates as a percent of \width or \textheight, rather than as millimetres. So that if I change the page size I don't need to change the coordinates. The MWE below compiles but the pdf does not have any lines drawn on i

[NTG-context] How can I use a variable for a MetaPost coordinate ?

2023-10-04 Thread peter.hopcroft--- via ntg-context
Hello list, I want to draw lines on a page. I want to pass my line coordinates as a percent of \width or \textheight, rather than as millimetres. So that if I change the page size I don't need to change the coordinates. The MWE below compiles but the pdf does not have any lines drawn

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
\definedtyping name does work and works in \columns as well. This is great until my listing is too long to fit on a page and then I'd rather have the column continue onto the next page but \columns balances of course. 3) \tabulate allows a single cell to continue down over the page exac

[NTG-context] Re: Chemistry in LMTX

2023-10-03 Thread Henning Hraban Ramm
re stable Ok, thank you The current code is not very broken - I just used it extensively in a book that was published. There are many quarks in its conception, dating from the original MKII model. But the current syntax is not documented – at least the examples in the wiki page don’t work any

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Hans Hagen
at the page https://wiki.contextgarden.net/Matrix_in_maths <https://wiki.contextgarden.net/Matrix_in_maths> and verify that eveything on that page works fine and is up to date. Thank you! But there _is_ a matrix module (hey, I just looked through all this stuff!) by Jeong Dalyoung

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Henning Hraban Ramm
Am 02.10.23 um 04:00 schrieb Andres Conrado Montoya: In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv <https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv>) I get a blank pag

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Andres Conrado Montoya
In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv) I get a blank page with a very long list of source files on the left. If I search for the file with my browser's ctrl+f on that page, it returns

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Jeong Dal via ntg-context
ber the matrix features are not related to any modules, but >> rather are part of LMTX. In nay case next week I will look at the page >> https://wiki.contextgarden.net/Matrix_in_maths >> <https://wiki.contextgarden.net/Matrix_in_maths> >> and verify that eveything

[NTG-context] Finding the position of an image on the page.

2023-10-01 Thread peter.hopcroft--- via ntg-context
Hello list, Can I find the position of an image on the page after I have placed the image with \externalfigure? For example, the top, left corner of the image might be 50 mm in from left side of page and 120 mm down from the top of the page. I know I can use \getfiguredimensions to find

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Henning Hraban Ramm
Am 01.10.23 um 05:51 schrieb Otared Kavian: Hi Hraban, Thank you for your updating of the modules stuff. As far as I remember the matrix features are not related to any modules, but rather are part of LMTX. In nay case next week I will look at the page https://wiki.contextgarden.net

[NTG-context] Re: Chemistry in LMTX

2023-10-01 Thread Henning Hraban Ramm
Am 30.09.23 um 22:04 schrieb Hans Hagen: On 9/30/2023 9:38 PM, Henning Hraban Ramm wrote: I tried to update https://wiki.contextgarden.net/Chemistry, since nearly all of the links were dead, and I couldn’t find any documentation about \chemical / \startchemical. In the wiki page you can see

[NTG-context] Re: wiki update: Modules

2023-09-30 Thread Otared Kavian
Hi Hraban, Thank you for your updating of the modules stuff. As far as I remember the matrix features are not related to any modules, but rather are part of LMTX. In nay case next week I will look at the page https://wiki.contextgarden.net/Matrix_in_maths <ht

[NTG-context] Re: Chemistry in LMTX

2023-09-30 Thread Hans Hagen
On 9/30/2023 9:38 PM, Henning Hraban Ramm wrote: I tried to update https://wiki.contextgarden.net/Chemistry, since nearly all of the links were dead, and I couldn’t find any documentation about \chemical / \startchemical. In the wiki page you can see that there’s still some working code for

[NTG-context] Chemistry in LMTX

2023-09-30 Thread Henning Hraban Ramm
I tried to update https://wiki.contextgarden.net/Chemistry, since nearly all of the links were dead, and I couldn’t find any documentation about \chemical / \startchemical. In the wiki page you can see that there’s still some working code for chemistry, but it looks very broken

[NTG-context] Bug? Text following columns at end of page goes into footer not next page

2023-09-30 Thread Bruce Horrocks
Two column text that ends near the foot of a page can push the next line into the footer rather than starting a new page. MWE for ConTeXt ver: 2023.09.26 18:19 LMTX :- \setuppapersize [A4] \showframe \starttext Knuth in knolumns \dorecurse{30}{\crlf} \startcolumns \input knuth \stopcolumns

[NTG-context] wiki update: Modules

2023-09-30 Thread Henning Hraban Ramm
I updated the list of included modules in https://wiki.contextgarden.net/Modules and tried to understand what each does. If you know matrices, could you perhaps update the page https://wiki.contextgarden.net/Matrix_in_maths to include the matrix module and the latest enhancements? Hraban

[NTG-context] Re: formula alignment for mathalign

2023-09-28 Thread Mikael Sundqvist
gt; A = B > \stopformula > > vs > > \startformula \startalign > \NC A \NC B \NR > \NC A \NC B \NR > \stopalign \stopformula > \stoptext > > The first display formula is flush left, but the aligned formula is centered > on the page. This appears to be a regression com

[NTG-context] formula alignment for mathalign

2023-09-28 Thread Aditya Mahajan
The first display formula is flush left, but the aligned formula is centered on the page. This appears to be a regression compared to MkIV, where the above example works correctly. Aditya ___ If your question is of

[NTG-context] ConTeXt Garden : Use the fonts you want

2023-09-25 Thread Jean-Pierre Delange
I have just refreshed the ConTeXt Garden page with some additional information on the search for new fonts installed in the /context/tex/texmf-fonts/ directory. https://wiki.contextgarden.net/Use_the_fonts_you_want JP -- Jean-Pierre Delange Ancients&Moderns Professeur Agrégé de Philoso

[NTG-context] page floats don’t work in columnsets

2023-09-21 Thread Henning Hraban Ramm
I had no luck with page floats in columnsets; according to the manual they should work. Hraban \setuppapersize[A5,landscape] \useMPlibrary[dum] \definecolumnset[Two][n=2] \starttext \startcolumnset[Two] \dorecurse{5}{1\recurselevel\samplefile{lorem}\par} \startplacefigure[location=page

[NTG-context] units related to paper size

2023-09-21 Thread Pablo Rodriguez
Dear Hans, I wonder whether it would be possible to have both units for page width and page height (I guess, pw and ph would be fine). This would be similar to tw and th. Many thanks for your help, Pablo ___ If

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread vm via ntg-context
{\protecteddetokenize {#1}}tab{\typeparameter \c!tab }method{\p_buff_op ... \type{ hello } You injected something that confused the parser, maybe by using some Lua call. and it shows {hello} on the page ___ If your

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