Re: [NTG-context] Losing a character during line break at a hyphen

2021-08-22 Thread Bruce Horrocks via ntg-context
> On 22 Aug 2021, at 10:27, Hans Hagen wrote: > > On 8/22/2021 1:27 AM, Bruce Horrocks via ntg-context wrote: >>> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context >>> wrote: >>> >>> Not sure whether this is a ligature problem or a hyp

Re: [NTG-context] Size of root symbol

2021-08-22 Thread Bruce Horrocks via ntg-context
> On 18 Aug 2021, at 17:06, Aditya Mahajan via ntg-context > wrote: > > On Wed, 18 Aug 2021, Bruce Horrocks via ntg-context wrote: > >> Is there a simple way to get both root signs in this MWE to be the same size? >> >> \starttext >> \start

[NTG-context] Size of root symbol

2021-08-18 Thread Bruce Horrocks via ntg-context
Is there a simple way to get both root signs in this MWE to be the same size? \starttext \startformula \sqrt[3]{4n} \ne \sqrt[3] {n} \stopformula \stoptext Thanks. — Bruce Horrocks Hampshire, UK ___ If your question

[NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Bruce Horrocks via ntg-context
Why does HerosBold give bold italic instead of just bold? \definefont[TestA][name:Heros at 14pt] \definefont[TestB][name:HerosBold at 14pt] \definefont[TestC][name:HerosItalic at 14pt] \starttext \TestA {The quick brown} \TestB {fox jumps over} \TestC {the lazy dog} \stoptext — Bruce Horrocks

Re: [NTG-context] Strange new behaviour of the mailing list

2021-08-21 Thread Bruce Horrocks via ntg-context
> On 1 Aug 2021, at 15:16, Bruce Horrocks via ntg-context > wrote: > >> >> On 31 Jul 2021, at 22:02, Henning Hraban Ramm via ntg-context >> wrote: >> >>> >>> Am 31.07.2021 um 21:19 schrieb Bruce Horrocks : >>> >>> On 3

[NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Bruce Horrocks via ntg-context
Not sure whether this is a ligature problem or a hyphenation problem or both!In the following MWE, the line breaks at the hyphen following "Diffe", but oneof the f's is lost so the PDF shows "Dife-".Latest LMTX, version 2021.08.19 19:48\starttextTwenty years after receiving it as a Christmas

Re: [NTG-context] Losing a character during line break at a hyphen

2021-08-21 Thread Bruce Horrocks via ntg-context
> On 22 Aug 2021, at 00:12, Bruce Horrocks via ntg-context > wrote: > > Not sure whether this is a ligature problem or a hyphenation problem or both! Smaller MWE - it's not hyphenation: \starttext Diffe \stoptext gives "Dife". — Bruce

[NTG-context] Something broke between 2021.07.23 and 2021.08.19

2021-08-23 Thread Bruce Horrocks via ntg-context
I re-processed a previous issue of a journal and found that it no longer compiled. It worked fine in versions up to and including 2021.07.23 but fails by version 2021.08.19 19:48. It may have failed a little earlier than this - I don't always refresh every release. The error in the console log

Re: [NTG-context] Why does HerosBold give bold italic?

2021-08-25 Thread Bruce Horrocks via ntg-context
> On 25 Aug 2021, at 13:56, Wolfgang Schuster > wrote: > > Bruce Horrocks via ntg-context schrieb am 25.08.2021 um 14:28: >> Why does HerosBold give bold italic instead of just bold? >> >> \definefont[TestA][name:Heros at 14pt] >> \definefont[TestB][na

Re: [NTG-context] Use MetaPost to distort images?

2021-09-03 Thread Bruce Horrocks via ntg-context
> On 3 Sep 2021, at 11:28, Henning Hraban Ramm via ntg-context > wrote: > > Hi, is it possible to apply geometric transformations to images using > MetaPost? > > This is again way over my head, but I’m still trying different methods to let > a ConTeXt document look more “hand-made”. > >

[NTG-context] Smallcaps not working with a font that claims to have it - how can I confirm?

2021-09-20 Thread Bruce Horrocks via ntg-context
I'm trying to use smallcaps with a font called SquarishSansCT. According to mtxrun it has smcp as a feature... $ mtxrun --script font --list --info --pattern=squar [...] mtx-fonts | gsub features: mtx-fonts | mtx-fonts | feature script languages mtx-fonts | mtx-fonts

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Bruce Horrocks via ntg-context
In the absence of any other replies I think... (a) your example is a good one. The only improvement would be to turn it into a 2 across, 3 or 4 down set of mini pages imposed onto a larger one so that it can be rendered on the Wiki page without taking too much space. (I don't know how to do

Re: [NTG-context] Strange new behaviour of the mailing list

2021-07-30 Thread Bruce Horrocks via ntg-context
On 30 Jul 2021, at 22:24, Otared Kavian via ntg-context wrote: > > Hi all, > > I noticed that beginning July 27th, the messages distributed by the ConTeXt > mailing list appear to be from > > Mailing list for ConTeXt users > > without the actual name of the sender appearing. It may be

Re: [NTG-context] Different Typing Styles

2021-07-28 Thread Bruce Horrocks via ntg-context
> On 28 Jul 2021, at 13:13, Jeroen via ntg-context wrote: > > Is there a way to have two different styles of typing. I tried the following, > but it does not seem to work. > > \setuptyping[abc][style=\ttx] > \setuptyping[def][style=\ttxx] > > \starttext > > \starttyping[abc] > example >

Re: [NTG-context] Strange new behaviour of the mailing list

2021-08-01 Thread Bruce Horrocks via ntg-context
> On 31 Jul 2021, at 22:02, Henning Hraban Ramm via ntg-context > wrote: > >> >> Am 31.07.2021 um 21:19 schrieb Bruce Horrocks : >> >> On 31 Jul 2021, at 14:56, Henning Hraban Ramm via ntg-context >> wrote: >>> >>> Ah, I didn’t recognize you mean this. >>> >>> Since the mail goes through

Re: [NTG-context] Smallcaps not working with a font that claims to have it - how can I confirm? SOLVED

2021-09-20 Thread Bruce Horrocks via ntg-context
Found it from an old email of Wolfgang's in the archive - not sure why I didn't see it before. Solution is to use: \definefontfeature[latin-smallcaps][smallcaps][script=latn] \definefontsynonym [Squar] [name:SquarishSansCT-Regular] [features=latin-smallcaps] instead of the first two lines in

[NTG-context] flushlayer

2021-09-28 Thread Bruce Horrocks via ntg-context
Latest LMTX. I noticed the following \flushlayer behaviour and wondered if it was a bug or something I've misunderstood? \showframe \setuppapersize [A5][A5] \setuplayout[marking=on, location=middle] \definelayer[coverlayer] [width=\paperwidth, height=\paperheight] \setupbackgrounds [paper]

[NTG-context] Dumb question about ligatures

2021-09-20 Thread Bruce Horrocks via ntg-context
I'm using a TTF file that has no ligature capability as a built-in feature. It does however have glyphs for fi and fl but ConTeXt isn't substituting them. So the question is: what do I need to do to persuade ConTeXt to do fi & fl ligature substitution? — Bruce Horrocks Hampshire, UK

Re: [NTG-context] Dumb question about ligatures

2021-10-01 Thread Bruce Horrocks via ntg-context
On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context wrote: > > I'm using a TTF file that has no ligature capability as a built-in feature. > It does however have glyphs for fi and fl but ConTeXt isn't substituting them. > > So the question is: what do I need to do to p

Re: [NTG-context] Dumb question about ligatures

2021-10-02 Thread Bruce Horrocks via ntg-context
On 2 Oct 2021, at 00:46, Hans Hagen wrote: > > On 10/2/2021 12:35 AM, Bruce Horrocks via ntg-context wrote: >> On 21 Sep 2021, at 02:47, Bruce Horrocks via ntg-context >> wrote: >>> >>> I'm using a TTF file that has no ligature capability as a built-i

[NTG-context] Test suite fonts/features-005.tex failing for me

2021-10-02 Thread Bruce Horrocks via ntg-context
In the test suite, the file fonts/features-005.tex is failing for me on latest lmtx. All three items appear the same each time i.e. no small caps and no old-style digits on the second and third. Can anyone else reproduce this, please? —

Re: [NTG-context] \placeinitial to account for quotation mark

2021-09-26 Thread Bruce Horrocks via ntg-context
> On 25 Sep 2021, at 21:45, Thangalin via ntg-context > wrote: > > Henri Menke provided a partial solution: > > \defineinitial[two][method={first,auto}] > \setuphead[chapter][ > after={\placeinitial[two]}, > page=no, > ] > > \starttext > \chapter{Harriet Tubman} > "Every great dream

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] 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] 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] 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

Re: [NTG-context] \externafigure and \at do not work together

2021-10-31 Thread Bruce Horrocks via ntg-context
I thought it was necessary to use one of the derivations of \placefloat in order to get the reference generated. In your case this would be \placefigure thus: \starttext \placefigure [ ] [clock] { } {\externalfigure[clock.jpg]} \at[clock] refers to a clock \stoptext > On 31 Oct 2021, at

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
Hi Gerben, See below... > On 24 Oct 2021, at 17:04, Gerben Wierda via ntg-context > wrote: > > On 24 Oct 2021, at 16:38, Wolfgang Schuster > wrote: >> >> Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: >>> My double-sided layout starts each chapter on a right page with a

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
> On 23 Oct 2021, at 14:51, Gerben Wierda via ntg-context > wrote: > > >> On 23 Oct 2021, at 15:34, Wolfgang Schuster >> wrote: >> >>  Gerben Wierda via ntg-context schrieb am 23.10.2021 um 15:20: >>> I’d like a book with chapters to have sections/parts, e.g. something that >>> groups a

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 > >>

[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] 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

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]}] > >

[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] \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

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] 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] 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] 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] 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] 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] 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] 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] $\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] 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] 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] 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] 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] 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] 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] 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] 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] 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 %% <---

[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] 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] 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] 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] 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] 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] 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] 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] 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

[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] 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}]

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] 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] 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

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

[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] \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 | >> | | | >> +---+---+ >>

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] 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] 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] 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

[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

[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

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] 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] 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] >

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

[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

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 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

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

[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|]}

  1   2   >