[NTG-context] Re: Define a new command that inherits from multiple other command options

2024-04-26 Thread Bruce Horrocks
[1] Apologies for my ignorance. — Bruce Horrocks Hampshire, UK ___ 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: documentation: parameters of \setuplist

2024-04-24 Thread Bruce Horrocks
mechanisms show up some day. See \type {inbetween-001.tex} for an example. I don't really understand what capability the comment is referring to let alone be able to create an example demonstrating the difference. — Bruce Horrocks Hampshire, UK __

[NTG-context] Re: How to isolate serious errors from warnings?

2024-04-20 Thread Bruce Horrocks
book. Also you could use \writestatus to output messages before and after known problem areas so you can look to see if there is any telltale output in the log and then search for that elsewhere. HTH — Bruce

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Bruce Horrocks
> On 17 Apr 2024, at 13:17, Henning Hraban Ramm wrote: > > Am 17.04.24 um 13:57 schrieb Bruce Horrocks: >> - There are at least two books, and a third being written but not yet >> released: these fit into the Tutorials and Explanation quadrants. > > Which

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Bruce Horrocks
ce" quadrant. Clearly these can always be better but they are there already. My recommendation would be to use the wiki as the reference quadrant and, apart from the first few "main pages" for people who land there from a web search, it should focus on being the reference manual

[NTG-context] Re: last page number for a list

2024-04-03 Thread Bruce Horrocks
}{title}} \stopchapter } \stoptext But I can't get the number option of \writetolist to work - the "3." above is ignored. :-( — Bruce Horrocks Hampshire, UK ___ If your question is of interest to o

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Bruce Horrocks
ernalfigure[#1][frame=on,width=\textwidth,maxheight=1.2\textwidth]% where maxheight imposes the height size limit you mention. If you still have problems with tiny images then I suspect that is a different issue - something to do with the image file and the metadata about the image size maybe? I

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
on number for when a section hasn't started. — Bruce Horrocks Hampshire, UK ___ 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

[NTG-context] Re: imposition: getting to the last page of a booklet

2024-02-28 Thread Bruce Horrocks
o confuse it - issuing only two sides in total so maybe that was part of the problem since both are specified in your original example? — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as wel

[NTG-context] Re: output filename with SHA256

2024-02-23 Thread Bruce Horrocks
rename logic: \starttext \startluacode local pdf_file_name = "jobname.pdf" local sha_pdf = utilities.sha2.hash256(io.loaddata(pdf_file_name)) os.rename(pdf_file_name, ("%s-%s.pdf"):format(pdf_file_name, sha_pdf)) \stopluacode Done \stoptext — Bruce Horrocks Hampshire, UK

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread Bruce Horrocks
eater. … Workshops. In den Büchereien gibt es auch … … Kuchen. … Theater. … Workshops. \stopTestQuestions \stoptext — Bruce Horrocks Hampshire, UK tt2.tex Description: Binary data ___ If your question is of interest t

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Bruce Horrocks
tartTestQuestions In den Büchereien gibt es auch … … Kuchen. … Theater. … Workshops. In den Büchereien gibt es auch … … Kuchen. … Theater. … Workshops. In den Büchereien gibt es auch … … Kuchen. … Theater. … Workshops. \stopTestQuestions How do you think you did on that test? Here's another o

[NTG-context] Re: XML processing, unwanted indentation/alignment

2024-02-15 Thread Bruce Horrocks
Moe > and Curly, without first names, are indented; while Shemp and Michael aren't. > > That the undesired indentation/alignment is dependent on the presence of a > first name is baffling. After this long description, if someone would look > at the code and tel

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
n \fetchmark[section][current], p. \pagenumber} This will write the current section title and page number to the console listing, prefixed by the word "RequirementMet". To produce the file for your customer all you have to do is filter these lin

[NTG-context] Re: chronological TOC

2024-01-29 Thread Bruce Horrocks
e. The order= mechanism doesn't seem to work for \definelist lists as opposed to the built-in ones, viz: \definelist[chron] \starttext \placelist[section][order=title] \section{Hans} \writetolist[chron]{}{Hans} \section{Peter} \writetolist[chron]{}{Peter} \section{Anton} \writetolist[chron]{}

[NTG-context] Re: How to stop

2024-01-28 Thread Bruce Horrocks
left] \setupTABLE[c][1][width=.1\textwidth] \stopsetup \startsetup formatB \setupTABLE[c][1,2,3,4,5][align=raggedleft, frame=off] \stopsetup \bTABLE[setups=formatA] ... \eTABLE \bTABLE[setups=formatB] ... \eTABLE — Bruce Horrocks Hampshire, UK ___

[NTG-context] Re: upload

2024-01-23 Thread Bruce Horrocks
On 23 Jan 2024, at 16:29, Otared Kavian wrote: > > I wonder whether other MacOS users have had such a problem. Both Intel and ARM macs updated perfectly for me, just now. Regards, — Bruce Horrocks Hampshi

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-19 Thread Bruce Horrocks
> On 19 Jan 2024, at 09:31, Hans Hagen wrote: > > On 1/18/2024 11:15 PM, Bruce Horrocks wrote: >> On 18 Jan 2024, at 18:56, Shiv Shankar Dayal >> wrote: >>> >>> I understand that why it is slow, but the problem is that the difference is >>

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Bruce Horrocks
a nighttime (or lunchtime) run to regenerate the entire book while you're away from the computer and speed doesn't matter. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please

[NTG-context] Re: Looking for itemize help

2024-01-15 Thread Bruce Horrocks
. \item Second item. \mystopitemize This is the next short paragraph, not part of the above. \stoptext — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! mai

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Bruce Horrocks
ever reason, it didn't trigger an immediate end to the compilation run and a product with one or two components (using that environment) didn't trigger odd behaviour. But once all components were included then the odd behaviours started happening. — Bruce Horrocks Hampshire, UK __

[NTG-context] Re: Asking help for better way to make tickets.

2024-01-12 Thread Bruce Horrocks
icer' but I use a table to print addresses onto sticky labels. The code should be fairly easy to adapt or just borrow some ideas. <https://sourceforge.net/projects/context-address-labels/> — Bruce Horrocks Hampshire, UK _

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Bruce Horrocks
a copy of the card game to hand and challenge them to find a randomly drawn card in the QR code? — Bruce Horrocks Hampshire, UK — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well

[NTG-context] Re: \setupsynonyms textstyle=cap failing

2023-12-23 Thread Bruce Horrocks
synonyms [abbreviation] [textstyle=\cap] \starttext \contextversion \abbreviation{NTG}{Nederlandstalige TeX Gebruikersgroep} Test 1 : \NTG . Test 2 : \infull{NTG} %\AbbreviationsFull{NTG}. \stoptext — Bruce Horrocks Hampshire, UK __

[NTG-context] Re: install-modules script and git URLs

2023-12-19 Thread Bruce Horrocks
for Hraban when it was meant to be a suggestion to Pablo to try the alternate form of the Github repository URL first. > On 19 Dec 2023, at 21:47, Bruce Horrocks wrote: > >> >> On 19 Dec 2023, at 17:48, Henning Hraban Ramm wrote: >> >> Am 19.12.23 um 18:29 schrieb P

[NTG-context] Re: install-modules script and git URLs

2023-12-19 Thread Bruce Horrocks
e -L is necessary because the Github API generates a temporary, time-limited URL and redirects to it by returning a 302 response code. Regards, — Bruce Horrocks Hampshire, UK ___ If your question is of interest to o

[NTG-context] Re: Problem with the paragraph

2023-12-15 Thread Bruce Horrocks
hl\par von \m{x\doubleprime} ist gleichbedeutend mit \m{∃y : ∀x : f(x) = y} \par (Beutelspacher [10, S.54]). \stopGrayBackground \stoptext — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as w

[NTG-context] Re: LMTX: Command handling, Interface between TeX and Lua

2023-12-13 Thread Bruce Horrocks
][#2]#3{\ctxlua{ userdata.mycommand('#1', '#2', [==[#3]==])}} \starttext \mycommand[top, inmargin, now][color=green, roof=gabled]{Anne of Green Gables?} \stoptext — Bruce Horrocks Hampshire, UK ___ If your question

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

2023-12-10 Thread Bruce Horrocks
sided documents. The remainder of the settings will need adjusting to suit your specific circumstances. \setuppapersize[A4][A3] \setuplayout[location=middle] \setuppagenumbering[alternative=doublesided] \setuplayout[backspace=30.8mm] \starttext \showlayout[4,pt,cm] \stoptext — Bruce Horrock

[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: It works after a few changes but ..

2023-11-21 Thread Bruce Horrocks
2.1.1}{\starttheorem The square on the hypotenuse is equal to the > sum of the squares on the other two sides. Ach is das schön, dass du da bist > \stoptheorem } \stoptext > > I see also in this thread that you have sad "yes" to Aditya's suggestion. But > that doesn't have the m

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

2023-11-21 Thread Bruce Horrocks
focus=standard as described on the Wiki. Adobe Acrobat Reader is the same except that the opening view is different - I think it is defaulting to my preferences which is to have a double-page view. — Bruce Horrocks Hampshire, UK __

[NTG-context] Re: It works after a few changes but ..

2023-11-18 Thread Bruce Horrocks
you have sad "yes" to Aditya's suggestion. But that doesn't have the margintext. Do you still want/need margintext? — Bruce Horrocks Hampshire, UK — Bruce Horrocks Hampshire, UK ___ If your question is o

[NTG-context] Re: Text and Remark

2023-11-16 Thread Bruce Horrocks
] give what you want? — Bruce Horrocks Hampshire, UK ___ 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/lists/ntg-co

[NTG-context] Problem with dataset not being populated

2023-11-14 Thread Bruce Horrocks
g "context product_filename.tex" from the command line makes no difference. Version is 2023.09.26 18:19. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the W

[NTG-context] Re: \doifemptyelse issue?

2023-11-14 Thread Bruce Horrocks
> On 14 Nov 2023, at 10:40, Hans Hagen wrote: > > On 11/13/2023 1:10 PM, Bruce Horrocks wrote: >> The following MWE gives "false false" instead of "false true". I'm sure this >> used to work (18 months or more ago!) as I found it when re-processi

[NTG-context] \doifemptyelse issue?

2023-11-13 Thread Bruce Horrocks
dataset values but I thought I'd raise it. — Bruce Horrocks Hampshire, UK ___ 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.n

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

2023-11-05 Thread Bruce Horrocks
e .png is viewed via the main page but do display correctly when opened directly. I'll keep delving. [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. — Bruce H

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

2023-11-05 Thread Bruce Horrocks
s. This happens in both Safari and Firefox. Any suggestions as to what needs to be changed to get the diagram to display correctly? — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as

[NTG-context] Re: Combining python and lua

2023-10-25 Thread Bruce Horrocks
ur table then I think it would be much, much less effort to extend 'angleList' with accompanying lists holding the values to substitute into the template. Or even just typeset the whole table by hand (prepare a list of the expressions and use editor macros to ConTeXtify the

[NTG-context] Re: regular online meetup

2023-10-11 Thread Bruce Horrocks
h later than up to last > time. > > HR > — Bruce Horrocks Hampshire, UK ___ 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] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
e[MyTyping][numbering=line]{three_lines.txt} \NC No line numbers at all :-( \NR \stoptabulate \stoptext end What I'd most like is for tabulate to allow \typefile with line numbers if at all possible. — Bruce Horrocks Hampshire, UK zz.pdf Description: Adobe PD

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

2023-09-30 Thread Bruce Horrocks
This line goes into the footer rather than the next page. \stoptext — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Bruce Horrocks
e title. Amemd the \defineenumeration as follows: \defineenumeration [Counter] [title=yes, alternative=empty, before=\startCountFramedText, after=\stopCountFramedText, left={\somenamedheadnumber{chapter}{current}:}] — Bruce Horrock

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Bruce Horrocks
\setuphead[chapter][page=no] \chapter{Fourth} More text \chapter{Fifth} More text \stoptext — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

[NTG-context] Re: streams reversed?

2023-09-14 Thread Bruce Horrocks
t [1] Apart from unnecessary blank pages at the beginning but that's a different problem so I'm not addressing that for now. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, p

[NTG-context] Re: zint 2.12.0 barcode generator

2023-08-20 Thread Bruce Horrocks
\stoptext produced a barcode. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/l

[NTG-context] Re: ideas for ConTeXt stickers?

2023-08-08 Thread Bruce Horrocks
e. ;-) Regards, — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context w

[NTG-context] Re: How to make words searchable without diacritics

2023-08-06 Thread Bruce Horrocks
t; That is, if I make a search for filia in the final pdf file, fīlĭa > would also be found? — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

[NTG-context] Re: combining \definetyping and \definebuffer

2023-07-29 Thread Bruce Horrocks
"" > \usemodule[visual] > > \definetyping[MyCode] > > \setuptyping[MyCode][ > option=tex, > numbering=file, > ] > > \definebuffer[MyBuffer] > > \startMyBuffer > \fakewords{10}{20} > \stopMyBuffer > > \starttext > > \startMyCode &g

[NTG-context] Re: Text item groups

2023-07-16 Thread Bruce Horrocks
terest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki

[NTG-context] Re: {\rm foo {\it bar}}

2023-07-04 Thread Bruce Horrocks
rben Wierda (LinkedIn, Mastodon) > R IT Strategy (main site) > Book: Chess and the Art of Enterprise Architecture > Book: Mastering ArchiMate — Bruce Horrocks Hampshire, UK ___ If your question is of int

[NTG-context] Re: Why is the fonts database not updated?

2023-07-04 Thread Bruce Horrocks
t cache? The command $ mtxrun --scripts cache --erase should clear the whole cache. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Bruce Horrocks via ntg-context
rotation=90]{up and down} \NC on and on \NC \NR \stoptabulate \stoptext — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Bruce Horrocks via ntg-context
guessing you'll need two: desktop in order to install on a PC and publish a printed book, and eBook to allow distribution of a PDF or eBook, so 33 USD in total. There's no time limit nor number of copies limit as far as I can see - just one eBook licence per title. Maybe there will be VAT etc added when

Re: [NTG-context] xml nbsp?

2023-06-13 Thread Bruce Horrocks via ntg-context
r via ntg-context > wrote: > > What happened to the non breaking space in XML? It has disappeared in a way. > See the minimal example attached. > > dr. Hans van der Meer > test-nbsp.pdf Description: Adobe PDF document >

Re: [NTG-context] Super slow installation

2023-05-31 Thread Bruce Horrocks via ntg-context
he device "taking the blame" for the entirety of the MPLS latency. Since that will include the transatlantic time the extra 75ms isn't quite so bad as it looks. — Bruce Horrocks Hampshire, UK ___ If yo

Re: [NTG-context] Super slow installation

2023-05-30 Thread Bruce Horrocks via ntg-context
pay them to spy on on all US->Europe traffic? [1] [1] Joke. (Besides, they'd never do it for traceroute packets because they'd want to hide their snooping.) ;-) [2] [2] Also a joke ;-) — Bruce Horrocks Hampshire, UK ___ If y

Re: [NTG-context] new module installer and .tar.gz compression

2023-05-08 Thread Bruce Horrocks via ntg-context
don’t know how to force git urls to be added as zip > packages in https://modules.contextgarden.net. > Use <https://github.com/ousia/handlecsv/archive/refs/heads/context-suite.zip> as the link to download as a Zip file. — Bruce Horrocks Hampshire, UK

Re: [NTG-context] new units

2023-05-07 Thread Bruce Horrocks via ntg-context
amount of alcohol that has to be imbibed in order to (a) create the joke and (b) understand it? I'm not sure which of these needs to be the larger. Perhaps that could be the subject of the next research? — B

Re: [NTG-context] cannot generate format file with current latest

2023-04-30 Thread Bruce Horrocks via ntg-context
ould have been here; I inserted '0'. (If you can't figure out > why I needed to see a number, look up 'weird error' in the index to The > TeXbook.) > > Could anyone confirm the issue? No. Working fine for me on a Mac using

Re: [NTG-context] Problem with exponent

2023-04-28 Thread Bruce Horrocks via ntg-context
{{x'}²+{y'}²} \quad \m{\primed{x}^2+\primed{y}^2} \stoptext [1] <https://www.mail-archive.com/ntg-context@ntg.nl/msg103779.html> — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as

Re: [NTG-context] Font error in PDF using ConTeXt and Kepler typeface

2023-04-25 Thread Bruce Horrocks via ntg-context
tf, >> keplerstd-lightit.otf, keplerstd-semibold.otf, latinmodern-math.otf, >> lmroman10-regular.otf >> mkiv lua stats > font engine: otf 3.133, afm 1.513, tfm 1.000, 30 instances, >> 18 shared in backend, 3 common vectors, 15 common hashes, load time 0.449 >

Re: [NTG-context] Spacing problem around decimal point

2023-03-28 Thread Bruce Horrocks via ntg-context
cking the new binary. (Thanks, Günter!) The x86_64-darwinlegacy from that download link version has fixed the problem on the Mac. Thank-you all involved. \starttext \startformula v = \frac{1.32}{1.41} = 0.935 \stopformula \stoptext gives the attached. —

Re: [NTG-context] natural table oddities

2023-03-27 Thread Bruce Horrocks via ntg-context
width=.2\textwidth] works as expected for me. >> ## Page breaking >> * What’s the difference between split=repeat and header=repeat ? \setupTABLE [split=repeat] % works as expected for me \setupTABLE [header=repeat] % doesn't work for me >> I’d like to know if there are mis

Re: [NTG-context] Spacing problem around decimal point

2023-03-26 Thread Bruce Horrocks via ntg-context
contextgarden.net/build/luametatex/work/ > >>> and test it? > >>> Hans > ___ > If your question is of interest to others as well, please add an entry to the > Wi

Re: [NTG-context] \setupTABLE: framecolor

2023-03-25 Thread Bruce Horrocks via ntg-context
pframe=on,framecolor=black, height=0pt] \starttext \bTABLE \dorecurse{22}{ \bTR\bTD Row #1 column 1 \eTD\bTD Row #1 column 2 \eTD\eTR } % Dummy last row \bTR \eTR \eTABLE \stoptext — Bruce Horrocks Hampshire, UK __

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
Sorry everyone, ignore me, it doesn't work. (Got my test files mixed up - aargh!) > On 21 Mar 2023, at 11:06, Bruce Horrocks via ntg-context > wrote: > > > Thanks Julian - I tried a startstop environment originally but it didn't work. > > The answer turns out to be

Re: [NTG-context] Problem with \stoptabulate

2023-03-21 Thread Bruce Horrocks via ntg-context
:23, jbf via ntg-context wrote: > > Not sure if this helps, Bruce, but there is \definestartstop > > Julian > > On 21/3/23 10:34, Bruce Horrocks via ntg-context wrote: >> I have a technical manual style document that requires a lot of examples to >> be included.

[NTG-context] Problem with \stoptabulate

2023-03-20 Thread Bruce Horrocks via ntg-context
ands in the source. Presumably some sort of deep ConTeXt fu is going on - can anyone explain it please? Regards, — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an e

Re: [NTG-context] Automatic numbering of footnotes set with \note (not with \footnote)

2023-03-16 Thread Bruce Horrocks via ntg-context
; Would there be a simple way so that the automatic numbering follows the order > of the \note commands, and not that of \footnotetext? Maybe something with > \startbuffer combined with a counter? > > -- > > Joaquín Ataz López > Departamento

Re: [NTG-context] rotated headers in natural tables

2023-03-15 Thread Bruce Horrocks via ntg-context
dium \eTD \bTD medium \eTD \eTR > \bTR \bTD snail \eTD \bTD small \eTD \bTD light \eTD \bTD slow \eTD \eTR > \bTR \bTD elephant \eTD \bTD big \eTD \bTD heavy \eTD \bTD medium \eTD \eTR > \eTABLEbody > \eTABLE > > \stoptext > — Bruce Horrocks Hampshire, UK ___

Re: [NTG-context] How to extend an existing macro to take optional parameters?

2023-03-14 Thread Bruce Horrocks via ntg-context
>>> \mycommand{aa}{bb}{cc} >>> \mycommand{aa}{bb}{cc}{dd} >>> \mycommand{aa}{bb}{cc}{dd}[ee] >>> >>> or >>> >>> \mycommand[ee]{aa}{bb}{cc}{dd} % if this is more the ConTeXt way >>> >>> where {dd} is the opti

Re: [NTG-context] How to extend an existing macro to take optional parameters?

2023-03-14 Thread Bruce Horrocks via ntg-context
> On 13 Mar 2023, at 21:39, Hans Hagen via ntg-context > wrote: > > On 3/12/2023 2:24 PM, Bruce Horrocks via ntg-context wrote: >> I have an existing macro that I'd like to extend. >> The current definition is \define[3]\mycommand{...} which I'd like to extend &g

[NTG-context] How to extend an existing macro to take optional parameters?

2023-03-12 Thread Bruce Horrocks via ntg-context
of [ ] or { } but not combinations of both (which given the vast numbers of combinations is perhaps not surprising!). Have I missed something obvious that would help me? Regards, — Bruce Horrocks Hampshire, UK ___ If your question

[NTG-context] Aaligned numbers in a matrix?

2023-02-26 Thread Bruce Horrocks via ntg-context
in are centred and I would rather have them right-aligned so that the digits stack up above each other and the negative signs stick out to the left, so to speak. Is there an easy way to achieve this? — Bruce Horrocks Hampshire, UK

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bi

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-19 Thread Bruce Horrocks via ntg-context
> document and find a way to upload it. \testpage[...] might help. <https://wiki.contextgarden.net/Command/testpage> — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Bruce Horrocks via ntg-context
in our mailing list that have long lines and print them on larger labels in a separate run. :-) — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! ma

[NTG-context] Problem using \scale

2023-02-09 Thread Bruce Horrocks via ntg-context
that wraps \crlf Town \crlf Postcode \stopbuffer \framed[width=3cm,align=flushleft]{\getbuffer[address]} \framed[width=3cm,align=flushleft]{\scale[factor=fit]{\getbuffer[address]}} \stoptext — Bruce Horrocks Hampshire, UK

Re: [NTG-context] Iwona error

2023-02-06 Thread Bruce Horrocks via ntg-context
> On 6 Feb 2023, at 22:16, Hans Hagen via ntg-context > wrote: > > On 2/6/2023 9:57 PM, Bruce Horrocks via ntg-context wrote: >> Just installed today's update (ConTeXt ver: 2023.02.06 17:58 LMTX) and >> tried out the 3 fonts mentioned. >> \setupbodyfont[iwo

[NTG-context] Iwona error

2023-02-06 Thread Bruce Horrocks via ntg-context
t/tex/context/base/mkxl/font-ctx.lmt:1377: in function <...-64/tex/texmf-context/tex/context/base/mkxl/font-ctx.lmt:1234> (...tail calls...) [snip] Not sure if that's to do with my setup or true for everyone. I've never used those fonts before if that makes a difference. —

[NTG-context] A corner case relating to corners!

2023-02-04 Thread Bruce Horrocks via ntg-context
t ver: 2023.01.26 18:34 LMTX — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-c

Re: [NTG-context] footnotes by paragraph?

2023-01-28 Thread Bruce Horrocks via ntg-context
u want to know what a committee is!} is very important. Some more text. \stopTwo \startTwo The Chairman \Two The role of the Chairman... \stopTwo \startTwo ~ \Two \placenotes[endnote] \stopTwo \input knuth \stoptext — Bruce Horrocks

[NTG-context] Printing mailing list labels

2023-01-25 Thread Bruce Horrocks via ntg-context
ferent address formats for different international destinations - option to preview on plain paper - even label your labels in the page header so you remember why you printed them! No licence - the files are placed in the public domain. Feedback welcome. — Bruce Horrocks Hampshi

Re: [NTG-context] Minor bug in Lua or ConTeXt

2023-01-18 Thread Bruce Horrocks via ntg-context
wrote: > > On 1/18/2023 12:36 AM, Bruce Horrocks via ntg-context wrote: >> ConTeXt ver: 2023.01.04 >> The following MWE won't compile because of the \dummycommand line even >> though it is a comment. Not sure whether it's a minor bug or an unavoidable >> aspect of all

[NTG-context] Minor bug in Lua or ConTeXt

2023-01-17 Thread Bruce Horrocks via ntg-context
ConTeXt ver: 2023.01.04 The following MWE won't compile because of the \dummycommand line even though it is a comment. Not sure whether it's a minor bug or an unavoidable aspect of allowing embedded Lua. \startluacode -- \dummycommand \stopluacode \starttext Hello \stoptext — Bruce Horrocks

[NTG-context] OT: Adobe releases the original PostScript interpreter software as open source

2022-12-19 Thread Bruce Horrocks via ntg-context
ble-to-the-Public-as-a-Part-of-Its-Art-of-Code-Series.html> and a blog post with the background to PostScript here <https://computerhistory.org/blog/postscript-a-digital-printing-press/> Regards, — Bruce Horrocks H

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-11 Thread Bruce Horrocks via ntg-context
t source it's hard to say for sure what's happening - for example, I would have expected the text on the second page to be at the bottom of the first even if there wasn't room for the image - because that was what was happening in your first example. — Bruce Horr

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Bruce Horrocks via ntg-context
setupfloat [recipe] [default={right,none,high}] and then the image fits as you want it to. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] \setuparranging values for perfect bound A5 on A3?

2022-10-09 Thread Bruce Horrocks via ntg-context
else > insert_page(i + 1 * max) > insert_page(i + 0 * max) > insert_page(i + 3 * max) > insert_page(i + 2 * max) > end > end > context.stoptext() > > Then run: > >

[NTG-context] \setuparranging values for perfect bound A5 on A3?

2022-10-08 Thread Bruce Horrocks via ntg-context
n do that fairly easily. If not, is there a recommended external program that can do it? I've tried \setuplayout[4*2] and XY with 2x2 but neither output is what I need. Thanks in advance. [1] glued spine (if that term isn't used outside the UK) [2] I'm sure it's actually harder than that. :-) — B

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Bruce Horrocks via ntg-context
ou are jumping to. When you have more text in your document they will be consistent. You can override the colors with \setupinteraction[state=start,color=black] for example if you wish. You need focus=standard to jump direct but only when the viewer is in scrolling mode. It's explained on t

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Bruce Horrocks via ntg-context
and > want. Perhaps something like [scispace=tight]. I too would prefer less space around the times e.g. \starttext 3.00×10\high{8} \stoptext is fine (except for the 8 which is nicer in \unit). — Bruce Horrocks Hampshire, UK

[NTG-context] Is there an "align with item on facing page" option?

2022-09-25 Thread Bruce Horrocks via ntg-context
but then I can't get the author's thumbnail picture to place properly and have the text wrap around it. Any thoughts? — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add

Re: [NTG-context] PDF viewer

2022-09-23 Thread Bruce Horrocks via ntg-context
in Monterey on an Intel Mac: $ /Applications/Firefox.app/Contents/MacOS/firefox test.pdf — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! ma

Re: [NTG-context] Quick way to proofread / check index entries?

2022-09-04 Thread Bruce Horrocks via ntg-context
> On 3 Sep 2022, at 19:51, Bruce Horrocks via ntg-context > wrote: > > My own fault for not thinking head :-) but I have a largeish text with a lot > of \index{...} entries. To make life easier for the proofreader I would like > to temporarily redefine \index to

[NTG-context] Quick way to proofread / check index entries?

2022-09-03 Thread Bruce Horrocks via ntg-context
a decision is quite hard work - much easier to read through and deal with the terms as they appear.) — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] metafun paralleled does not give a parallel path

2022-08-25 Thread Bruce Horrocks via ntg-context
0--z1; >> draw (z0--z1) paralleled -15 withcolor red; >> draw (z0--z1) paralleled 15 withcolor blue; >> \stopMPcode >> >> \stoptext > > Your code produce three perfect parallels lines here, see attached pdf. > F. > > — Bruce Horrocks Hampshire, U

[NTG-context] Bug (?) with \placefigure[right]

2022-08-16 Thread Bruce Horrocks via ntg-context
to wrap text around the photo that avoids this issue would be welcome. — Bruce Horrocks Hampshire, UK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

  1   2   3   >