[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 the Contextgarden

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

2023-10-05 Thread peter.hopcroft--- via ntg-context
> 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 want to dr

[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 on it.

[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

Re: [NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-27 Thread peter.hopcroft--- via ntg-context
Max, that answer seems like magic to me, in the sense of an advanced technology. Thank you. It's not quite working for me yet. I'll explore more tomorrow and learn about lua. Peter > On 27/05/2023, at 3:53 PM, Max Chernoff via ntg-context > wrote: > > Hi Peter, > >> My .tex file is in a

[NTG-context] Can ConTeXt write its pdf to a different directory?

2023-05-26 Thread peter.hopcroft--- via ntg-context
My .tex file is in a directory within my working directory. I would like ConTeXt to write its output in the same directory as my .tex file. But it writes to the working directory. This was asked 10 years ago: `tex.stackexchange.com/questions/67928/how-to-set-output-directory-in-context-command`

Re: [NTG-context] Bug with \startnarrow?

2023-02-23 Thread peter.hopcroft--- via ntg-context
It's the documentation that has the bug. With \startnarrow, you need two sets of square brackets, 1 for the \setupnarrower data and 1 for the \startnarrower data. Like this: \starttext Some text before \startnarrow[left=5cm,right=1cm,before={\blank[2*line]},after={\blank[halfline]}][left,

[NTG-context] Problem with float and new layout on same page

2022-12-25 Thread peter.hopcroft--- via ntg-context
My MWE below produces this pdf. My problem is that on page 2, the body text flows beyond its frame and into the footer distance. Regards, Peter Play.pdf Description: Adobe PDF document MWE: \setuppapersize[A4][A3,landscape] \setuparranging[2SIDE] \showframe

[NTG-context] endofyeargreeting

2022-12-20 Thread peter.hopcroft--- via ntg-context
ivebeenwritingabitofcontextoverthelastmonthorso,andit'sbecomeahabit.ithinkConTeXtisgreat.manythankstothepeoplewhodevelopitandwhohelpmeoveronstackexchange,andtoallyouuserswhouseconTeXtandtherebyencouragethedeveloperstodevelopmore.%bestwishestoyouallfornextyear\relax

Re: [NTG-context] Seems to be a bug with \definelayout

2022-12-10 Thread peter.hopcroft--- via ntg-context
Yes Pablo, that does fix it. I'm sorry, I misunderstood your first reply. Peter > On 10/12/2022, at 10:44 PM, Pablo Rodriguez via ntg-context > wrote: > > On 12/9/22 21:23, peter.hopcroft--- via ntg-context wrote: >> I’ve rewritten my last email. The context belo

[NTG-context] Seems to be a bug with \definelayout

2022-12-09 Thread peter.hopcroft--- via ntg-context
I’ve rewritten my last email. The context below produces the pdf in the screenshot below. I expect the layout[short] to be applied to pages 2 and 3. It is. But there seem to be 2 bugs: 1 - Pages 4, 5 and 6 have the [short] layout. They should have the default layout. 2 - On pages 5 and 6,

[NTG-context] \definelayout[pagenumber][layout] behaving strangely

2022-12-08 Thread peter.hopcroft--- via ntg-context
The pdf from the tex below looks wrong to me, screenshot attached. It’s always like this when the page number in the second \definelayout is 1 more than the page number in the first. For other pairs of numbers, it behaves like I expect: the short layout is only on those 2 pages. I’m using the

Re: [NTG-context] Can I use \starthangaround?

2022-11-30 Thread peter.hopcroft--- via ntg-context
Thank you for your reply. Peter > On 1/12/2022, at 8:23 PM, Henning Hraban Ramm via ntg-context > wrote: > > Am 01.12.22 um 04:15 schrieb peter.hopcroft--- via ntg-context: >> \starthangaround is mentioned in these context garden wiki pages: >> https://wiki.cont

[NTG-context] Can I use \starthangaround?

2022-11-30 Thread peter.hopcroft--- via ntg-context
\starthangaround is mentioned in these context garden wiki pages: https://wiki.contextgarden.net/CD_Booklet https://wiki.contextgarden.net/Unexpected_behavior When I try to use examples from these pages I get an error that \starthangaround is undefined. It isn’t in any of my context installation