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

2023-10-04 Thread Thomas A. Schmitz
Have a look at chapter 6.4 of the metafun manual. You need StartPage ... 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:

[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] Re: Attempting to Generate PDF/A in LMTX

2023-10-04 Thread jinho . king
Thank you for your response. I did not rename any profiles; I simply followed the instructions on https://wiki.contextgarden.net/PDF/A Would you be able to share a MWE that correctly generates a PDF/A without errors? __

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
I'm trying to typeset some program listings with annotations alongside. I've tried both columns and tabulate but both have (different) issues: 1) Plain \typefile won't allow the line numbers to be in the text - they stay in the margin whch I don't want. 2) \typefile using a \definedtyping name

[NTG-context] Re: Attempting to Generate PDF/A in LMTX

2023-10-04 Thread Henning Hraban Ramm
Am 04.10.23 um 07:45 schrieb Jin-Ho King: Following the instructions on https://wiki.contextgarden.net/PDF/A , I am receiving errors that the *.icc files cannot be located. I have saved the *.icc files in ~/context-osx-arm64/tex/texmf-context/colors/icc/pro

[NTG-context] Re: bibliography questions

2023-10-04 Thread Henning Hraban Ramm
Am 03.10.23 um 23:08 schrieb Aditya Mahajan: On Tue, 3 Oct 2023, Henning Hraban Ramm wrote: For my ConTeXt book, I thought it would make sense, and I would jump through some hoops just to use the system, but – most sources that I want to list are never quoted (method=dataset) – I would need to