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

2023-06-27 Thread Bruce Horrocks via ntg-context
> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context > wrote: > > Hi, > is it possible to override the defined orienatation for a given cell ? \starttext \starttabulate[|l|c|r|] \NC this and that \NC left and right \NC here and there \NC \NR \NC such and so \NC \rotate[rotation=90]{up

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
> On 16 Jun 2023, at 17:35, Gerben Wierda via ntg-context > wrote: > > I know this is off topic, but I suspect this community is actually one of the > best places to find an answer. > > I really like Optima, and what I really like about it is the 'flared style'. > > But I would like to

Re: [NTG-context] xml nbsp?

2023-06-13 Thread Bruce Horrocks via ntg-context
is not a pre-defined named character in XML (but it is in HTML which lulls you into a false sense of security). See the link below for some more detail and a fix. > On 13 Jun 2023, at 11:01, Hans van der Meer via

Re: [NTG-context] Super slow installation

2023-05-31 Thread Bruce Horrocks via ntg-context
On 31 May 2023, at 01:51, Thangalin wrote: > > From twelve99.net: > > If you’re interested in our IP city prefixes, we have a lookup table on our > website: https://www.arelion.com/our-network/bgp-routing/bgp-communities > Scroll down to “Origin + Communities” and expand that section. You can

Re: [NTG-context] Super slow installation

2023-05-30 Thread Bruce Horrocks via ntg-context
On 30 May 2023, at 18:59, Thangalin via ntg-context wrote: [snip] > $ traceroute lmtx.pragma-ade.com > 3 rc1bb-be150-1.vc.shawcable.net (64.59.147.161) 22.062 ms 22.094 ms > 22.127 ms > 4 24.244.60.185 (24.244.60.185) 23.964 ms 24.273 ms 23.612 ms Vancouver > 5 24.244.62.57

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

2023-05-08 Thread Bruce Horrocks via ntg-context
> On 8 May 2023, at 16:20, Pablo Rodriguez via ntg-context > wrote: > > Hans, > > many thanks for the new script to install modules in LMTX. > > I forced a new release of handlecsv > (https://modules.contextgarden.net/cgi-bin/module.cgi/action=view/id=86). > > I provide the contents with a

Re: [NTG-context] new units

2023-05-07 Thread Bruce Horrocks via ntg-context
> On 7 May 2023, at 10:45, Hans Hagen via ntg-context > wrote: > > ps. For those unfamiliar with the tex community, when we talk 'research' and > such, keep in mind that most tex related research is kind of bogus, wishful > thinking, sounding serious, etc. and that most 'projects' are just

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

2023-04-30 Thread Bruce Horrocks via ntg-context
> On 30 Apr 2023, at 14:19, Pablo Rodriguez via ntg-context > wrote: > > Dear list, > > I have just updated to current latest (2023.04.27 17:04). > > I always delete cache with "mtxrun --generate" after an update. > > When I try to create the format file with "context --make --all", I get >

Re: [NTG-context] Problem with exponent

2023-04-28 Thread Bruce Horrocks via ntg-context
> On 28 Apr 2023, at 19:21, Fabrice Couvreur via ntg-context > wrote: > > Hi, > I want to write x'² . Only, I get x²'. > Thanks > Fabrice > > \starttext > \m{{x'}²+{y'}²} > \stoptext This came up before [1]. The solution is to use \primed{...} \starttext \m{{x'}²+{y'}²} \quad

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

2023-04-25 Thread Bruce Horrocks via ntg-context
Another check you can do is to run $ mtxrun --script font --list --name '--pattern=*kepler*' and see if the file for keplerstd-light is the one you are expecting and not a second copy somewhere that is upsetting things. > On 25 Apr 2023, at 21:40, lynx--- via ntg-context wrote: > >

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

2023-03-28 Thread Bruce Horrocks via ntg-context
> On 28 Mar 2023, at 21:56, Gavin via ntg-context wrote: > > Hi Hans, Jim, Bruce, et.al. > > Han’s asked me > >> can you pick up a binary from: >> >> https://dl.contextgarden.net/build/luametatex/work/ >> >> and test it? > > Maybe. I picked up the binary, but testing it is not quite as

Re: [NTG-context] natural table oddities

2023-03-27 Thread Bruce Horrocks via ntg-context
If you're asking for comments with a view to making changes then... > On 27 Mar 2023, at 15:03, Henning Hraban Ramm via ntg-context > wrote: > > I would be happy about some answers/comments. > Hraban > > Am 13.03.23 um 23:26 schrieb Henning Hraban Ramm: >> Working on the documentation for

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

2023-03-26 Thread Bruce Horrocks via ntg-context
I also get the incorrect spacing on a Mac. system > ConTeXt ver: 2023.03.20 17:07 LMTX fmt: 2023.3.22 int: english/english > On 26 Mar 2023, at 22:16, Jim via ntg-context wrote: > > Hi all, > > Regrettably, I see the same problem and Gavin. > > I am using TeXlive 2023 on

Re: [NTG-context] \setupTABLE: framecolor

2023-03-25 Thread Bruce Horrocks via ntg-context
> On 25 Mar 2023, at 05:45, jbf via ntg-context wrote: > > Hi, I am struggling with the last row of a table which, according to its > author, should have a black bottomframe, but gray (I am using a defined > 'lightgray') for the sides. The first row has a black frame. All intermediate >

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
I have a technical manual style document that requires a lot of examples to be included. They can easily be typeset with a table so I thought I would save myself some typing by defining macros for the various bits of a tabulate table. Thus I have: \def\startMyExample{\starttabulate[|r|c|l|p|]}

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

2023-03-16 Thread Bruce Horrocks via ntg-context
I don't have the answer to your explicit question, but a work-around might be to put the footnotes into buffers instead of \footnotetext and then use /footnote[...]{\getbuffer[name]} in the body. That way ConTeXt sees them in order of appearance in the body and so the numbering should be as you

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

2023-03-15 Thread Bruce Horrocks via ntg-context
\setupTABLE inherits from \setupframed which has an orientation option. So \bTR[orientation=90] on the header row should do it, with the content specified normally i.e. without using \RtH. A quick test on one of my tables showed some issues with alignment so you may need to fix the 'width'

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

2023-03-14 Thread Bruce Horrocks via ntg-context
> On 14 Mar 2023, at 02:08, Alan Braslau via ntg-context > wrote: > > Designating "optional" parameters within [...] is a LaTeX notion. > ConTeXt handles parameters differently. > > Alan Thanks Alan but I've never used LaTeX so I've no idea what the philosophical differences are. I wanted

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
I have an existing macro that I'd like to extend. The current definition is \define[3]\mycommand{...} which I'd like to extend to take an optional 4th parameter plus an optional setup parameter. Thus I currently invoke it as: \mycommand{aa}{bb}{cc} and I'd like to be able to extend it so

[NTG-context] Aaligned numbers in a matrix?

2023-02-26 Thread Bruce Horrocks via ntg-context
I'm using the following MWE to produce a matrix: \definemathmatrix[bmatrix] [matrix:brackets] [simplecommand=bmatrix] \starttext $ a \rightarrow \bmatrix{1, 2, 3, 4; 2, 1, 4, 3; 3,-4, 1,-2; 4,-3, 2,-1} $ \stoptext The columns with negative numbers in are

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
Hi Alex, I couldn't get it to work with \tabulate so I switched to TABLE instead. The workaround for the horizontal mode problem is to put the chapter title into row two of the table. Hopefully this works with your actual text. Also I'm not sure where \layoutcolumnwidth is coming from so I

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

2023-02-19 Thread Bruce Horrocks via ntg-context
> On 19 Feb 2023, at 19:34, Sylvain Hubert via ntg-context > wrote: > > Dear list, > > I have a long document (A4 * 170 pages) with some CJK fonts, where some of > the \subject{...} are placed at the end of the corresponding pages, which > looks awkward. How can one flush those last-line

Re: [NTG-context] Problem using \scale

2023-02-10 Thread Bruce Horrocks via ntg-context
> On 10 Feb 2023, at 09:20, Hans Hagen via ntg-context > wrote: [snip] Thank-you Hans, these work great - so well in fact that now I've seen the output I've come to the conclusion that the scaled text would be too small and what I should really do is flag the one or two addresses in our

[NTG-context] Problem using \scale

2023-02-09 Thread Bruce Horrocks via ntg-context
I'm printing address labels. Sometimes an address has a long line that is too long to fit on the label with the result that it wraps. Instead of wrapping, I thought it would be nice to try and auto-scale the label and shrink it so that the long line just fits. I'm using \crlf to break the

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
Just installed today's update (ConTeXt ver: 2023.02.06 17:58 LMTX) and tried out the 3 fonts mentioned. \setupbodyfont[iwona] % \setupbodyfont[kurier] % \setupbodyfont[antykwa] \starttext Some text \stoptext I did a ./install.sh update with no obvious errors and afterwards Kurier and Antykwa

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

2023-02-04 Thread Bruce Horrocks via ntg-context
In the Wiki the examples for corner styles 00 - 09 no longer work and the single digit values 0 - 9 need to be used instead. (Styles 10 upwards continue to work as per the page.) Is this a deliberate change and the Wiki needs to be updated or

Re: [NTG-context] footnotes by paragraph?

2023-01-28 Thread Bruce Horrocks via ntg-context
On 28 Jan 2023, at 02:14, jbf via ntg-context wrote: > > Here's a tricky one (for me) that I haven't been able to work out. I am > dealing with a set of constitutions that I am organizing with a paragraph > definition > \defineparagraphs[Two][n=2] >

[NTG-context] Printing mailing list labels

2023-01-25 Thread Bruce Horrocks via ntg-context
If you've ever struggled with Word's or (worse) LibreOffice's mail merge features to print a mailing list onto sticky labels then this might be of interest. I've created some macros and an example file showing how to print address labels on Avery L7160 paper (which is 7 rows of 3 labels on A4)

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
A bit off topic but some might be interested... Adobe have released the PostScript interpreter source code as open source. Press release here

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
> On 10 Nov 2022, at 17:06, Fabrice Couvreur via ntg-context > wrote: > > Hi, > Sorry to come back to you, but it seems to me that there is enough space here. > Fabrice For some reason your PNG images came through in extremely low resolution. Without having the ConTeXt source it's hard to

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
On 9 Nov 2022, at 18:22, Pablo Rodriguez via ntg-context wrote: > > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: >> Hi, >> I find that for some time (but maybe the problem comes from me !), the >> placement of a figure at the bottom of the page causes a page break when >> it seems

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

2022-10-09 Thread Bruce Horrocks via ntg-context
> On 9 Oct 2022, at 02:58, Max Chernoff wrote: > > > Hi Bruce, > >> I have a book to be perfect bound[1] and I'm trying to work out what >> imposition to use. >> >> The printer would like 4 A5 pages laid out on A3 e.g. >> >> +---+---+ >> | | | >> | a | b | >> | | | >> +---+---+ >>

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

2022-10-08 Thread Bruce Horrocks via ntg-context
I have a book to be perfect bound[1] and I'm trying to work out what imposition to use. The printer would like 4 A5 pages laid out on A3 e.g. +---+---+ | | | | a | b | | | | +---+---+ | | | | c | d | | | | +---+---+ so that he can cut the paper and simply stack a, b, c, & d on

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

2022-09-28 Thread Bruce Horrocks via ntg-context
> On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context > wrote: > > Dear list, > > \usemodule[ipsum] > \setupinteraction[state=start] > > \starttext > \completecontent > \section{s1}\ipsum > \section{s2}\ipsum > \section{s3}\ipsum > \section{s4}\ipsum

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Bruce Horrocks via ntg-context
> On 25 Sep 2022, at 14:30, Gavin via ntg-context wrote: > > Hello list, > > I have a few questions about space produced by the unit command. Consider > this MWE > > \starttext > \unit{3.00e8 kg m/s} > > $\unit{3.00e8 kg m/s}$ > \stoptext > > The dot between “kg” and “m” has different

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

2022-09-25 Thread Bruce Horrocks via ntg-context
Is there a way to align text with an item on the facing page? I'm typesetting author biographies for a book and I'm doing two per page. The author's name appears on a line of its own in \tfa size and then the bio text follows. Ideally I'd like their names aligned so that all four (on a two page

Re: [NTG-context] PDF viewer

2022-09-23 Thread Bruce Horrocks via ntg-context
On 23 Sep 2022, at 08:59, Henning Hraban Ramm via ntg-context wrote: > > Unfortunately, Firefox doesn’t register itself as a PDF viewer (at least on > MacOS), that means I can’t use it easily to open a PDF from the command line > (e.g. in scripts). The following works for me in Monterey on

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
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 wrap it or replace it with something that will highlight indexed items in the text where they occur, e.g.

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

2022-08-25 Thread Bruce Horrocks via ntg-context
I'm seeing the line + arcs behaviour here. ConTeXt ver: 2022.08.05 11:44 LMTX fmt: 2022.8.5 int: english/english > On 25 Aug 2022, at 13:03, Fabrice L via ntg-context > wrote: > > Hi, > >> Le 24 août 2022 à 22:50, fv leung via ntg-context a >> écrit : >> >> The following used to

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

2022-08-16 Thread Bruce Horrocks via ntg-context
Things start to go awry after about 5 or 6 iterations, 12 shows it up clearly with three or so nearly blank (except for the subject) pages produced. \setuppapersize [A5] [A5] \starttext \dorecurse{12}{ \subject{Some heading} \placefigure[right] {} {\externalfigure[cow.pdf] [width=3cm]} \input

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Bruce Horrocks via ntg-context
> On 15 Aug 2022, at 13:19, amano.kenji wrote: > > I was trying to translate instructions in install.sh and dependencies of > install.sh into shell commands in a Gentoo Linux package. > > Gentoo Linux downloads all dependencies and builds a package in a network > namespace where there is no

Re: [NTG-context] How can I make a Gentoo Linux package for ConTeXt LMTX?

2022-08-15 Thread Bruce Horrocks via ntg-context
> On 15 Aug 2022, at 13:03, amano.kenji via ntg-context > wrote: > > TexLive has texmfcnf.lua that doesn't really work with texlive-context > installed by linux distributions. > > Arch Linux has its own patched version of texmfcnf.lua. > > It seems I'd be better off with a linux package

Re: [NTG-context] Changing the caption on a split table

2022-08-13 Thread Bruce Horrocks via ntg-context
> On 3 Aug 2022, at 00:26, Bruce Horrocks via ntg-context > wrote: > > I have a 5-page table placed using > > \setupcaption [table] [way=bytext,prefixsegments=none] > \placetable[split]{My long table}{...} > > The caption for the first table page

[NTG-context] Changing the caption on a split table

2022-08-02 Thread Bruce Horrocks via ntg-context
I have a 5-page table placed using \setupcaption [table] [way=bytext,prefixsegments=none] \placetable[split]{My long table}{...} The caption for the first table page is "Table 1a My Long table"; for the second table page it is "Table 1b My long table" and so on. I'd like to change these to

[NTG-context] Any way to configure \setuphead to run a setups on the stop command?

2022-07-26 Thread Bruce Horrocks via ntg-context
If I use \definehead [Chapter] [chapter] and then \setuphead[Chapter][...] I can specify setups to run before and after \startChapter. Is there any way to specify setups that are run before & after \stopChapter? My real problem is that I have a double-sided book with new chapters starting on a

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
> On 20 Jul 2022, at 22:11, Henning Hraban Ramm via ntg-context > wrote: > > Am 20.07.22 um 21:40 schrieb Bruce Horrocks via ntg-context: > >> \definefontfeature [venetian-301-demi-ligatures] [v1=yes,v3=yes] >> \definefontfeature [venetian-301-BT-ligatures

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
> On 20 Jul 2022, at 05:31, Michael Urban via ntg-context > wrote: > > Aside from purchasing a real font product from Linotype at enormous expense > and hoping it is better equipped, is there a way to coerce ConTeXt into using > the ligature glyphs for fi and fl? Yes - I had to do the same

Re: [NTG-context] Metafun : save memory content ?

2022-07-19 Thread Bruce Horrocks via ntg-context
> On 19 Jul 2022, at 04:28, Fabrice L via ntg-context > wrote: > > Complementary question : I saw that the « pos_a » « pos_b » of the example > could not take numerical value, for example pos_1, pos_2.. How can I use > metafun to write a macro to save the contents of hundreds of variable in

[NTG-context] New tabulate features broken under new maths release

2022-07-09 Thread Bruce Horrocks via ntg-context
Hi Hans, A few months back you announced some new tabulate features and gave some examples, from which I have taken the following MWE: \starttext \starttabulate[|lG{}|lG{}|] \NC \showglyphs \setalignmentcharacter{=}111=111 \NC \setalignmentcharacter{=}111=111 \NC\NR \stoptabulate \stoptext

Re: [NTG-context] lmtx installation paths not working

2022-06-15 Thread Bruce Horrocks via ntg-context
> On 14 Jun 2022, at 12:20, Jano Kula via ntg-context > wrote: > > Do you have an idea how to fix problem? > I will be thankful for an advice, it is quite urgent (everything was working > yesterday). Do you have an anti-virus product installed? In the past I've noticed that Symantec

Re: [NTG-context] Contractions in ligature suppression word list

2022-06-06 Thread Bruce Horrocks via ntg-context
> On 6 Jun 2022, at 06:37, Thangalin via ntg-context wrote: > > Attached are tweaked endings for words like "wolf" to include contracted > endings, but they are being ignored. This makes for a minor inconsistency: > > wolfing -- no ligature > wolfish -- no ligature > wolfin -- no

Re: [NTG-context] Compiling context files in command line

2022-06-04 Thread Bruce Horrocks via ntg-context
> On 4 Jun 2022, at 06:21, Jaroslav Hajtmar via ntg-context > wrote: > > Hello ConTeXist. > After a long time, I turn to the conference for help. > I use command line to batch process of many ConTeXt files. Is it possible at > the end off compile proces to move the created PDF to another

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Bruce Horrocks via ntg-context
> On 1 Jun 2022, at 22:30, Stefan Nedeljkovic via ntg-context > wrote: > > Dear Thomas, > > I'm sorry for all the shortcomings of my question. I'll try to be more > concrete. If you won't download my file, could you at least give me a hint on > how to configure LMTX? > > I Tried editing

Re: [NTG-context] Compiling a large metapost document

2022-06-01 Thread Bruce Horrocks via ntg-context
Hi Stefan, What exactly are you asking for help with? The previous file was 12MB and simply ran out of resource when compiled. The new file is 812KB and compiles provided you remove the references to \setxheight[...] because \setxheight generates an error. > On 1 Jun 2022, at 17:43, Stefan

Re: [NTG-context] XML Namespaces and XML Setups

2022-05-24 Thread Bruce Horrocks via ntg-context
I haven't seen it explicitly documented - my cue to add it to the Wiki I guess! I work with XML a fair bit and, IMHO, the WWW consortium docs do a very poor job of explaining namespaces because they make them seem much more complicated than they are. Essentially, a tag with a namespace

Re: [NTG-context] XML Namespaces and XML Setups

2022-05-23 Thread Bruce Horrocks via ntg-context
Does this help? \startxmlsetups xml:demo:base \xmlsetsetup{#1}{tag}{xml:demo:tag} \xmlsetsetup{#1}{o:tag}{xml:demo:otag} %% <--- \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:tag \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:otag %% <---

Re: [NTG-context] Metapost examples seems broken

2022-05-22 Thread Bruce Horrocks via ntg-context
It's archived here which might suffice until the author gets his certificates sorted out? > On 22 May 2022, at 09:41, Jan-Erik Hägglöf via ntg-context > wrote: > > HI! > > I have

Re: [NTG-context] How to add margin around standalone MetaPost?

2022-05-20 Thread Bruce Horrocks via ntg-context
The arrow looks fine to me in ConTeXt ver: 2022.01.10 08:36 LMTX. (See attached PDF) > On 20 May 2022, at 17:56, Vincent Hennebert via ntg-context > wrote: > > Take the following MetaPost file: > > beginfig(0) > ahlength := 20; > linejoin := mitered; > drawarrow origin--(40,0) withpen

Re: [NTG-context] ConTeXt meeting 2023(!)

2022-05-18 Thread Bruce Horrocks via ntg-context
> On 17 May 2022, at 07:49, Henning Hraban Ramm via ntg-context > wrote: > > Would that make a difference for you? Seven days is a big time commitment, unless you are a major user of ConTeXt. Is there a possibility to split it up into "professional" during the week and "hobbyist" over the

Re: [NTG-context] ignore not closed tags in XML input

2022-05-18 Thread Bruce Horrocks via ntg-context
> On 18 May 2022, at 17:00, Pablo Rodriguez via ntg-context > wrote: > > > Sorry for explaining myself so poorly. > > One of the not irrelevant tasks for me is finding examples of XML code. Perhaps you could start by typesetting a technical source rather than prose? I suggest trying to

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Bruce Horrocks via ntg-context
Too slow!! I'd already added https://wiki.contextgarden.net/TABLE#Tables_in_page_headers. > On 15 May 2022, at 12:00, śrīrāma via ntg-context wrote: > > On 5/15/22 2:20 PM Wolfgang Schuster via ntg-context wrote: >> Use the TABLEnested environment in your document header which was added >> to

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Bruce Horrocks via ntg-context
Thank-you Adam, Hraban and Richard for your suggestions. In the end it was remarkably simple: \starttext \definecollector[example] \setcollector [example] {\externalfigure[cow][width=6cm,frame=off]} \setcollector [example] [corner={right,bottom},location={right,top}]

[NTG-context] Crediting copyright on photographs

2022-05-04 Thread Bruce Horrocks via ntg-context
I need to include the copyright acknowledgement / photographer credit on an image but I'm not sure what's the best way to do it. Option 1: I can add the acknowledgement to the end of the \placefigure caption text: e.g. \placefigure{A picture of a cow. Image of a cow that may or may not be

Re: [NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Bruce Horrocks via ntg-context
> On 18 Apr 2022, at 22:10, Wolfgang Schuster via ntg-context > wrote: > > Bruce Horrocks via ntg-context schrieb am 18.04.2022 um 22:46: >> In the MWE below the 'part' title is centred but on one line only and, >> because it is a long title, the beginning and en

[NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Bruce Horrocks via ntg-context
In the MWE below the 'part' title is centred but on one line only and, because it is a long title, the beginning and end are lost off the sides of the page. If it were a 'chapter' title then I could insert '\\' to cause a line break at that point. However this does not seem to work for 'part'.

Re: [NTG-context] $\sin \theta$ behave differently in metafun

2022-04-16 Thread Bruce Horrocks via ntg-context
> On 16 Apr 2022, at 05:56, śrīrāma via ntg-context wrote: > > Hi Hans and Mikael (and others on the list), > > I can confirm that even with the newest LMTX [2022.04.15 20:20] the above > might > actually be a bug. mfunctions inside MP strings are not properly rendred. A > tiny MWE: > >

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-04-12 Thread Bruce Horrocks via ntg-context
> On 12 Apr 2022, at 21:04, Keith McKay wrote: > > Hi All > I created the symbolic link as suggested by Bruce and Luis and still got the > error message > > optional> unable to locate library 'libzint' > > in my text editor. I use TeXworks. However, I thought I would try running >

Re: [NTG-context] fatal error in LMTX

2022-04-12 Thread Bruce Horrocks via ntg-context
> On 12 Apr 2022, at 18:14, Pablo Rodriguez via ntg-context > wrote: > > I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could > be more verbose about an opened environment that isn’t closed. $ mtxrun --script check filename.tex is something I learned from this list. —

Re: [NTG-context] Setting up zint on a mac with macOS Montery Version 12.3.1

2022-04-10 Thread Bruce Horrocks via ntg-context
Hi Keith, > On 10 Apr 2022, at 14:49, Keith McKay via ntg-context > wrote: > > Hi All > > I have been struggling today trying to setup and use the Barcode module zint > in ConTeXt and failed. I have followed the instructions on the wiki ( > https://wiki.contextgarden.net/Barcodes ) but with

Re: [NTG-context] processdatabasefile styling of table cells

2022-04-06 Thread Bruce Horrocks via ntg-context
> On 6 Apr 2022, at 12:18, juh+ntg-context--- via ntg-context > wrote: > > > Hi all, > > I include tables via csv files like this > > \processdatabasefile[test][test.csv] > > I was able to style the tables with this: > > \setupTABLE [ split=yes, header=repeat, option=stretch, >

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-21 Thread Bruce Horrocks via ntg-context
Thank-you all - the textcommand= was the necessary magic incantation. I will certainly use the linknote suggestion, not least because I'll still need regular footnotes as well. And if I can pluck up courage to "move" the \setupnote Wiki page over to the new style (I don't know how to do an

[NTG-context] Make footnote/endnote number not superscript?

2022-03-20 Thread Bruce Horrocks via ntg-context
I'm editing a book that will be printed, however the authors have included URLs which will no doubt suffer from "bit rot" in no time at all. I think it will make the main text cleaner if I use endnotes rather than include the URL in-line in the text or as a (distracting) footnote. So when the

Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-16 Thread Bruce Horrocks via ntg-context
> On 15 Mar 2022, at 22:31, Gavin via ntg-context wrote: > > Hi Thomas, > >> I can confirm that context version: 2022.03.12 17:56 is running fine on my >> MacBook M1. > > Thanks for that. I’ll troubleshoot my installation. > >> And excuse my snark, but…. > > Snark excused. Ditto -

Re: [NTG-context] New upload is DOA on my M1 Mac

2022-03-13 Thread Bruce Horrocks via ntg-context
> On 12 Mar 2022, at 19:55, Gavin via ntg-context wrote: > > Hi Hans, > >> i uploaded a new installer / uopdates with mojca's bin > > Thanks for putting that together. Unfortunately, same result: > > TeXShop produces no output in console > "mtxrun —generate” produces "zsh:

Re: [NTG-context] help with facing page image

2022-03-07 Thread Bruce Horrocks via ntg-context
> On 7 Mar 2022, at 03:49, jbf via ntg-context wrote: > > I wonder if someone can help me untangle the current little mess I seem to be > creating! > > Author wants an image on facing page to each of 10 chapters in the bodypart > of the document. Assume that everything else is working

Re: [NTG-context] Problems with itemize with several columns

2022-02-25 Thread Bruce Horrocks via ntg-context
> On 24 Feb 2022, at 22:10, Xavier B. via ntg-context > wrote: > > Even if I change > \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i divisió} > Opereu: > \startitemize[a, columns, three] > > > for > > \startexercici[exercici:operacions-amb-fraccions-2]{multiplicació i

Re: [NTG-context] Problems with itemize with several columns

2022-02-23 Thread Bruce Horrocks via ntg-context
> On 23 Feb 2022, at 11:28, Xavier B. via ntg-context > wrote: > > In my previous post > [https://mailman.ntg.nl/pipermail/ntg-context/2022/105138.html], I don't know > the reason, but the attached code des not display very well in mailing list. > I put it here: > > \defineenumeration >

Re: [NTG-context] How to stop columns from splitting up items in a list?

2022-01-29 Thread Bruce Horrocks via ntg-context
> On 29 Jan 2022, at 14:45, Joel via ntg-context wrote: > > I am writing a workbook that contains a materials list in front of some craft > activities. > > I found that simply displaying a bulleted list can take up lots of space on > the page, so instead put the list in three columns. The

Re: [NTG-context] How to stop \placefigure from floating off to some other page?

2022-01-29 Thread Bruce Horrocks via ntg-context
On 29 Jan 2022, at 21:30, Joel via ntg-context wrote: > > When I used `\placefigure`, ConTeXt often puts the figure on a completely > different page, my readership of young students is getting confused where the > image is. How can I have all of my `\placefigure` in the entire document >

Re: [NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Bruce Horrocks via ntg-context
> On 23 Jan 2022, at 21:40, Joel via ntg-context wrote: > > I am adding items to an index simply using `\index{word}`. > > There are a few cases where instead of printing just the page number where > `\index{word}` is placed, I need the entire page range for that chapter to be > displayed.

Re: [NTG-context] \setupheadertexts not working when text contains \subject

2022-01-14 Thread Bruce Horrocks via ntg-context
> On 14 Jan 2022, at 07:48, Hans Hagen wrote: > > Ponder this: > > [{\stylePageHeader{\structureuservariable{author}}}] > > versus this: > > [{\stylePageHeader{\namedstructureuservariable{chapter}{author}}}] > > and you can guess what happens. Thank-you for the quick response. It looks

[NTG-context] \setupheadertexts not working when text contains \subject

2022-01-13 Thread Bruce Horrocks via ntg-context
I've found an unexpected interaction between \setupheadertexts and the \subject command, and I'm hoping that someone can tell me what I'm doing wrong. Version: current version: 2022.01.10 08:36 I'm trying to set a book whereby - chapter title pages have no headers - left hand (even) pages have

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 16:45, Jason Ross via ntg-context > wrote: > > Dear list, > > Is it possible to set the maximum table of contents depth to a number rather > than providing an explicit list of section names? > > > Background: > > I am developing an exporter for Org mode. In Org,

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 18:34, Thomas Savary via ntg-context > wrote: > > Hello, dear list ! > > In order to fix a few bugs in some OpenType features included in EB Garamond > font provided by Google Fonts, I am trying to remove some ligatures > (erroneous in some contexts) with

Re: [NTG-context] Critical Editions?

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 12:07, Hans Hagen via ntg-context > wrote: > > a lot related to numbering, referencing and notes and much of that is present > > so if you can team up with other critical edition users ... i suppose that > Idris can send you his onthology-so-far I'm not a user but was

Re: [NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Bruce Horrocks via ntg-context
Thanks Wolfgang. I had tried \# which I normally use to escape a hash but it didn't work. I was unaware of \letterhash. > On 19 Dec 2021, at 17:37, Wolfgang Schuster > wrote: > > Bruce Horrocks via ntg-context schrieb am 19.12.2021 um 18:12: >> Hi, >> >> T

[NTG-context] Found a weird URL that breaks things

2021-12-19 Thread Bruce Horrocks via ntg-context
Hi, The following MWE won't compile for me: \setupinteraction [state=start] \starttext Click me: \goto{https://forum.swissmicros.com/viewtopic.php?f=2=22236#p22236} [url(https://forum.swissmicros.com/viewtopic.php?f=2=22236#p22236)] \stoptext under "mtx-context | current version:

Re: [NTG-context] TeXWorks and synctex SOLVED

2021-12-13 Thread Bruce Horrocks via ntg-context
ynctex and then there won't be any need to configure anything. > On 13 Dec 2021, at 09:45, Bruce Horrocks via ntg-context > wrote: > > I'm having trouble getting the new synctex to work on a Mac. I've completely > re-installed MacTeX and TeXWorks and synctex works fine for LaTeX

[NTG-context] TeXWorks and synctex

2021-12-13 Thread Bruce Horrocks via ntg-context
I'm having trouble getting the new synctex to work on a Mac. I've completely re-installed MacTeX and TeXWorks and synctex works fine for LaTeX documents. But for ConTeXt no combination of magic lines etc will work for me. The symptoms are... nothing - no errors but no synching, either way. Q1:

Re: [NTG-context] [DKIM] using the newcolumnsets module

2021-12-09 Thread Bruce Horrocks via ntg-context
> On 9 Dec 2021, at 16:32, Hans Hagen via ntg-context > wrote: > > On 12/9/2021 1:27 PM, Jeong Dal via ntg-context wrote: > >> error messages: > >> Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex', result >> '/Users/graph/Library/Mobile > >>

Re: [NTG-context] Sum and mathalignment

2021-11-30 Thread Bruce Horrocks via ntg-context
> On 30 Nov 2021, at 19:34, Alexandre Christe via ntg-context > wrote: > > Dear list, > > > > What I've done is to play with mathalignment and \framed. Here is a MWE: > > \starttext > \defineoverlay[midrule][{\blackrule[height=.02cm,width=5.5cm]}] > >

Re: [NTG-context] Font Problem

2021-11-10 Thread Bruce Horrocks via ntg-context
> On 10 Nov 2021, at 21:11, skyhorse--- via ntg-context > wrote: > > > > I'm using the linux version which is about a week to two weeks old. > I've installed in in: > /opt/context-lmtx > > Which now contains the directories: >$ ls /opt/context-lmtx > --> bin

Re: [NTG-context] adding module to ConTeXt basic installation

2021-11-06 Thread Bruce Horrocks via ntg-context
On 6 Nov 2021, at 10:55, A A via ntg-context wrote: > > Dear All, > > I installed ConTeXt on my windows machine using the instructions provided > here: > > - https://wiki.contextgarden.net/Installation > > I would like to now render some python code in my pdf. For this I need to > install

  1   2   >