[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
Hello, The APS style is an example of a number-based citation system. As you are looking for a tag-based citation, it might be better to start with something like the APA style. Is there some specification for your short tag-based citation style? Alan On Tue, 16 Apr 2024 06:04:35 +0200

[NTG-context] Re: FreeBSD 13.2

2024-02-28 Thread Alan Braslau via ntg-context
On Sun, 25 Feb 2024 14:23:10 +0100 Henning Hraban Ramm wrote: > Am 25.02.24 um 13:12 schrieb Hans Hagen: > > We could add a flag to the installer that doesn't update the > > binaries but intead (advices) to build the bins but it assumes > > Cmake and gcc to be installed (we could cheat and use

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Alan Braslau via ntg-context
On 30/12/23 30/12/23, 12:04, Shiv Shankar Dayal wrote: It would be nice to either support Metapost 3D Very simple MP pseudo 3D is included in tex/texmf-context/metapost/context/base/mpiv/mp-tres.mpiv Alan ___ If

[NTG-context] Re: APA 7 and https

2023-12-16 Thread Alan Braslau via ntg-context
A "better" solution is to put doi = {https://doi.org/__doi__}, in your bibtex database but I would actually use url = {https://doi.org/__doi__}, Not all editors want the complete url for the doi, but some do. The current scheme lets the user define url= and doi= as they wish (and even both)

[NTG-context] Re: About framedtext

2023-12-13 Thread Alan Braslau via ntg-context
On Wed, 13 Dec 2023 18:55:34 +0100 Wolfgang Schuster wrote: > This was added a few years ago (AFAIR to provide something similar to > the TikZ color command). You actually mean similar to the MetaPost color command. Alan ;-)

[NTG-context] Re: Chemistry in LMTX

2023-10-02 Thread Alan Braslau via ntg-context
On Sun, 1 Oct 2023 10:49:34 +0200 Henning Hraban Ramm wrote: > >> chem-str.lua seems to be an updated version by Alan & Hans > >> > >> Did I miss something? > > > > work in progress ... i'm working on that (part of the math upgrade) > > so best wait till we're stable > > Ok, thank you The

[NTG-context] Re: bibliography questions

2023-10-02 Thread Alan Braslau via ntg-context
On Mon, 2 Oct 2023 13:13:52 +0200 Henning Hraban Ramm wrote: > Consider: > @Book {rattenhka, > author = "Bettina von Arnim and Gisela von Arnim", > title = "Das Leben der Hochgräfin Gritta von Rattenzuhausbeiuns", > … > } > > The authors are usually given as “Bettina and Gisela von Arnim” >

[NTG-context] Re: Bibliography cite

2023-08-04 Thread Alan Braslau via ntg-context
Indeed, one does not need the comma, it is programmed in the style. You can see this in the manual, on p. 43 documenting citations. The style is setup to put the righttext inside the parenthesis for alternative=authoryear and outside of the year parenthesis for alternative=authoryears. I

[NTG-context] Re: Bibliography cite

2023-08-01 Thread Alan Braslau via ntg-context
Using the APA specification: \usebtxdefinitions [apa] you can then \cite[alternative=authoryears,righttext={{, p.\nbsp 12}}] [Knuth1984] mentions …. The tricky part concerning righttext= is the double {{ }}, needed because the text contains a comma. The reason for this is simple, as

[NTG-context] Re: OSFONTDIR

2023-07-21 Thread Alan Braslau via ntg-context
Thomas, I actually set OSFONTDIR=. which seems to be a sane default. I store specific font files with projects (along with a copy of the ConTeXt distribution used to typeset the project). This way, I can come back to a project later and make minor corrections without running into surprises or

[NTG-context] Re: OSFONTDIR

2023-07-21 Thread Alan Braslau via ntg-context
On 19/07/23 19/07/23, 22:51, Hans Hagen via ntg-context wrote: is looking for system fonts by default the new standard? Is it a good idea? Thank you and all best it is a tex live thing; you can just set that variable to nothing, in the environment or in a local file like in

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Alan Braslau via ntg-context
On 17/07/23 17/07/23, 18:20, Henning Hraban Ramm wrote: Bonus question: how also to handle the case of \startMPcode draw figure "MyFigure" xsized TextWidth ; ... \stopMPcode Is MyFigure a pixel image? You could use \externalfigure within MP code. The MP operator figure calls \externalfigure.

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Alan Braslau via ntg-context
On 13/07/23 13/07/23, 09:19, Hans Hagen wrote: On 7/11/2023 2:22 PM, Henning Hraban Ramm wrote: What’s the current approved way to get image properties within a Lua function? very old: local pic = figures.getinfo(figures.current().status.fullname) used to work in 2019: local pic =

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure that is outside of makeup, that is it is

[NTG-context] Re: MPcode inserts page

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 11:23, Henning Hraban Ramm wrote: Hi, if I use \startMPcode to declare variables etc. that I need in several MP graphics, it always inserts an empty page. How can I avoid that? (Actually, I load an external mp file, and for random value reasons I must load it only once.

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote: Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it he

[NTG-context] Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
Hello, Trying to use: \startdocument \startpagefigure[Coverpages.pdf][page=1]\stoppagefigure \startpagefigure[Coverpages.pdf][page=2]\stoppagefigure % before \startmakeup [titlepage] front \stopmakeup \startmakeup [titlepage] back \stopmakeup \startfrontmatter ... \stopfrontmatter ...

[NTG-context] Re: \showmakeup adds unwanted space despite accurate readings; \qquad mandatory before \TeX\

2023-07-05 Thread Alan Braslau via ntg-context
On 05/07/23 05/07/23, 17:53, Carlos wrote: (sorry for duplicate messages. sending out to mailing list works sporadically Sometimes works, other times doesn't). As reported, the contextgarden server was down following a disk controller failure and had taken some time to be reconfigured with

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if

[NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Alan Braslau via ntg-context
Hello, \setuphead [part,chapter,title] [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no headers nor footers? I tried several thinks and must be

Re: [NTG-context] knuth

2023-06-05 Thread Alan Braslau via ntg-context
On 05/06/23 05/06/23, 08:50, luigi scarso wrote: On Mon, 5 Jun 2023 at 15:18, Alan Braslau via ntg-context mailto:ntg-context@ntg.nl>> wrote: On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote: >> Probably some on this list already checked how well cha

Re: [NTG-context] knuth

2023-06-05 Thread Alan Braslau via ntg-context
On 04/06/23 04/06/23, 15:57, Berend de Boer via ntg-context wrote: Probably some on this list already checked how well chatgpt answers questions about domains one knows well and then probably noted that in spite of impressive wording, one can run into quite incorrect answers. I've been using

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Alan Braslau via ntg-context
On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Not that I know of, but maybe {right,halfline} will do? Maybe

Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Alan Braslau via ntg-context
On Mon, 15 May 2023 01:37:53 + (UTC) Joel via ntg-context wrote: > Such a way would make it so \index{dogs} places an entry for "dog" > under "d" and "animals --> dogs" under "a". Might I suggest that an alternate way of handling this could be: \seeindex{dogs}{animals+dogs} with

Re: [NTG-context] 17th ConTeXt Meeting, Prague, 10.–16. 9. 2023: Registration Open

2023-05-15 Thread Alan Braslau via ntg-context
ConTeXt users, All ConTeXt Meetings are great fun, and the meeting organized by Jano near Prague is particularly not to be missed! I have been to a number of ConTeXt meetings (and organized one in 2015) and each one has been quite memorable. I strongly recommend trying to attend if at all

Re: [NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-15 Thread Alan Braslau via ntg-context
On Mon, 15 May 2023 09:40:22 +0200 Hans Hagen via ntg-context wrote: > \starttexdefinition tolerant protected IndexB[#1]#:#*#2 > \index{#2} > \doloopoverlist {#1} { > \index{##1+#2} > } > \stoptexdefinition Awesome! However, I think that Joel was looking for a solution

Re: [NTG-context] How to print all pages for a single index entry?

2023-05-07 Thread Alan Braslau via ntg-context
On Sun, 7 May 2023 22:26:12 + (UTC) Joel via ntg-context wrote: > I have an index like this: > > \starttext > \index{butterflies}\index{horses}\index{cows} > \placeindex > > \stoptext > The placeindex will place every index. > Is there a way to say, display an index, but only for a

Re: [NTG-context] new units

2023-05-07 Thread Alan Braslau via ntg-context
On Sun, 7 May 2023 13:00:18 +0100 Bruce Horrocks via ntg-context wrote: > Will there be new units to represent the 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

Re: [NTG-context] new units

2023-05-06 Thread Alan Braslau via ntg-context
On Sat, 06 May 2023 16:10:31 -0800 skyhorse--- via ntg-context wrote: > > > Hans Hagen via ntg-context wrote: > >.. > > Oh, so a bug, I'll fix the message. Not really a unit but then, feet > > is also not one. > > > > That is incorrect. Feet is an establish and proper unit of >

Re: [NTG-context] new units

2023-05-06 Thread Alan Braslau via ntg-context
The whole point of the so-called "imperial" units is to be based on fractions, not decimal. May I suggest that we use \sqrt2 as the basis of our fractions, so as to push the limits of calculation and precision (that are handled well in the new lmtx engine). Also, on this day of coronation,

Re: [NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Alan Braslau via ntg-context
On Sat, 6 May 2023 12:09:10 + (UTC) Joel via ntg-context wrote: > I am trying to place a bibliography at the end of the chapter, not > the end of the whole document. I tried various code such as > `criteria=bychapter` etc., but it will only show the entire > bibliography for the whole

Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try: \completecontent [criterium=all] Alan On Tue, 18 Apr 2023 01:06:02 +0200 Kalouguine Andre via ntg-context wrote: > Hi, > > I was trying to have my "Acknowledgements" section/chapter before the > table of contents but be contained within it. > > Is it normal that the table of

Re: [NTG-context] Nuclear reactions

2023-04-16 Thread Alan Braslau via ntg-context
On Sat, 15 Apr 2023 12:02:28 -0600 Gavin via ntg-context wrote: > Hi List, > > I am still interested in knowing if there is a good way to do nuclear > reactions using \chemical. >From the chemical manual: As in mathematical typesetting mode, subscripts and superscripts can precede text. Thus,

Re: [NTG-context] /usr/bin/env texlua no such file or directory; ~/context/tex is not a valid TEXROOT path; no file plain.tex

2023-04-10 Thread Alan Braslau via ntg-context
On Mon, 10 Apr 2023 20:51:58 -0400 (EDT) Aditya Mahajan via ntg-context wrote: > Did you source the `setuptex` script, which sets the correct path. My PATH is set to PATH=./context/tex/texmf-freebsd-amd64/bin:/home/MyAccount/context/tex/texmf-freebsd-amd64/bin:... If my current working

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
Here in Colorado, we need $\widecowboyhat$. Of course, care should be taken so that it typeset properly in right-to-left as well. Alan On Sat, 1 Apr 2023 10:27:41 +0200 Hans Hagen via ntg-context wrote: > Hi, > > There have been some mails about punctuation spacing and a fix was > added to

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
Have you tried: \setuplist [figure] [partnumber=no] ... \placelistoffigures [criterium=part] Alan On Thu, 30 Mar 2023 17:09:15 +0200 Willi Egger via ntg-context wrote: > Hello everybody, > > > I am still working on the previously mentioned project, consisting > out of different parts.

Re: [NTG-context] Bug in searching TTC fonts for the script of mtxrun

2023-03-23 Thread Alan Braslau via ntg-context
On Wed, 22 Mar 2023 08:50:10 +0100 Hans Hagen via ntg-context wrote: > I might have missed a link. https://github.com/notofonts/notofonts.github.io -- Alan ___ If your question is of interest to others as well,

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
On Thu, 16 Mar 2023 18:27:53 +0100 Wolfgang Schuster via ntg-context wrote: > Keith McKay via ntg-context schrieb am 16.03.2023 um 17:59: > > > > Hi, > > > > I would like to position a combination of images where the centre > > of the combination coincides with the centre of the text area of a >

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Alan Braslau via ntg-context
On Tue, 14 Mar 2023 12:03:23 -0600 Gavin wrote: > I’d really like one of the acceptable forms to be the form prescribed > by Le Système international d'unités I believe that this point is essential, regardless of history of use of the \unit{} command. Non-standard use of units can be

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Alan Braslau via ntg-context
On Tue, 14 Mar 2023 15:36:37 +0100 Hans Hagen via ntg-context wrote: > > Indeed, I would like to make NONE of them case insensitive. But > > currently, when I register an upper case key (C=coulomb) it messes > > up the lower case prefix (“cm" gets typeset as C•m). I was > > expecting the parser

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-13 Thread Alan Braslau via ntg-context
On Mon, 13 Mar 2023 15:55:50 -0600 Gavin via ntg-context wrote: > > you can look at phys-dim and see plenty of short and long keys and > > making all case insensitive is asking for troubles > > Indeed, I would like to make NONE of them case insensitive. But > currently, when I register an

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

2023-03-13 Thread Alan Braslau via ntg-context
Designating "optional" parameters within [...] is a LaTeX notion. ConTeXt handles parameters differently. Alan > > and I'd like to be able to extend it so that any of the following > > can be used: > > > >\mycommand{aa}{bb}{cc} > >\mycommand{aa}{bb}{cc}{dd} > >

Re: [NTG-context] Float control

2023-03-01 Thread Alan Braslau via ntg-context
On Thu, 2 Mar 2023 00:12:53 +0100 Hans Hagen via ntg-context wrote: > On 2/28/2023 11:45 AM, Denis Maier via ntg-context wrote: > > Hi everyone, > > > > I’ve recently had to typeset a document that gave me some headaches > > with the floats. The floats where jumping around, appearing in a > >

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Alan Braslau via ntg-context
Hans needs to confirm, "In the next update..." Test files (MWEs): % index-1.tex \setupinteraction[state=start] \starttext test \index{entryWB.1} \page empty \page test \index{another WB.1} \page empty \page test \index{onemore WB.1} \page empty \page test \index{whatever

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
We are currently working on fixing cross-references as well as shared register information between products in a ConTeXt project structure. Much is possible, but not all is fully worked out. My current use is a multi-volume book, sharing Tables of Contents between the two volumes. As a teaser,

Re: [NTG-context] Lettrine module not working?!

2023-02-20 Thread Alan Braslau via ntg-context
On Mon, 20 Feb 2023 16:02:30 +0100 "G.C.H.M. Verhaag via ntg-context" wrote: > Hi, > > Yes Hraban it works outside in normal text flow. When I do e.g. > *{\InitialCapFont test in normal text flow}* the text '/test in > normal text flow/' is rendered correctly in the Antykwa-Poltawskiego >

Re: [NTG-context] Lettrine module not working?!

2023-02-19 Thread Alan Braslau via ntg-context
In mkiv and mkxl, we use \placeinitial rather than the obsolete (mkii) lettrine module. See also \setupinitial. Alan On Sun, 19 Feb 2023 17:12:45 +0100 "G.C.H.M. Verhaag via ntg-context" wrote: > Dear ConTeXt-user, > > Have been using ConTeXt for quite some time now and did a fresh >

[NTG-context] setupregister/placeregister

2023-02-10 Thread Alan Braslau via ntg-context
Hello, The criterium key in setupregister (so placeregister, placeindex, ...) takes the following values: criterium local text current previous all section all: places all entries of the document section: (part, chapter, section, ...) places entries associated with that structure element.

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
I, too, am struggling with external (and internal) references. I have created (and sent to Hans) a MWE that seems to identify two bugs: 1) External references: in a single product, some of these work, and *some* do not render the numbers (using \in{} [ref], for example). They are, however,

[NTG-context] bug $\vec{}$

2023-01-20 Thread Alan Braslau via ntg-context
MWE: \starttext $\vec{k}$ \stoptext places the arrow *before* the symbol "k", latest download. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Meta(post)/(fun) macro with label position

2023-01-19 Thread Alan Braslau via ntg-context
On Thu, 19 Jan 2023 22:40:13 +0100 Alexandre Christe via ntg-context wrote: > def labelT(expr pos)(text t) = > ... > enddef; vardef labelT@#(text t) = ... enddef ; Then you can pass on the "suffix" @# Alan ___

Re: [NTG-context] multimedia inclusion added to the wiki

2023-01-18 Thread Alan Braslau via ntg-context
On Mon, 16 Jan 2023 19:00:06 +0100 Pablo Rodriguez via ntg-context wrote: > Dear list, > > just in case it might help, I have just added a new wiki article about > how to add multimedia in PDF documents. > > https://wiki.contextgarden.net/Multimedia_Inclusion > > I hope it helps, > > Pablo

Re: [NTG-context] Trouble with latest...

2023-01-10 Thread Alan Braslau via ntg-context
On Mon, 9 Jan 2023 19:08:54 -0700 Alan Braslau via ntg-context wrote: > On Mon, 9 Jan 2023 18:40:08 +0100 > Alain Delmotte via ntg-context wrote: > > > Anytime a new upload is announced, I download the > > context-win64.zip unpack it and run install.bat and setpath.bat. &

Re: [NTG-context] Trouble with latest...

2023-01-09 Thread Alan Braslau via ntg-context
On Mon, 9 Jan 2023 18:40:08 +0100 Alain Delmotte via ntg-context wrote: > Anytime a new upload is announced, I download the > context-win64.zip unpack it and run install.bat and setpath.bat. > > Is it a fresh installation? Or should I from time to time > erase my installation and run

Re: [NTG-context] TUG 2023

2023-01-06 Thread Alan Braslau via ntg-context
On Thu, 5 Jan 2023 18:20:14 +0100 Hans Hagen via ntg-context wrote: > The only meeting in my agende is the ctx meeting later that year, so > no plans. The seventeenth ConTEXt meeting will take place in Prague–Sibřina, Czech Republic on September 10th–16th, 2023 Anyone who has not been to

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alan Braslau via ntg-context
On Fri, 6 Jan 2023 15:43:07 +0100 Alexandre Christe via ntg-context wrote: > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, > etc. and just adding code to the figure? > > Maybe I missed something, otherwise I'd find it super useful. > > Thanks in advance and

Re: [NTG-context] Math bug (maybe) - prime

2022-12-28 Thread Alan Braslau via ntg-context
On Wed, 28 Dec 2022 08:26:24 +0100 Mikael Sundqvist via ntg-context wrote: > Note that the 2 sits higher in > > \primed{a}^2 > > than it does in > > (a')^2. > > For readability, I really prefer the version with parentheses. Certain Mathematical writing styles seek to minimize the use of

Re: [NTG-context] Math bug (maybe) - prime

2022-12-27 Thread Alan Braslau via ntg-context
On Wed, 28 Dec 2022 00:27:39 +0100 Hans Hagen via ntg-context wrote: > What you can do is: > > $\primed{a}^2$ > > which basically makes the prime an operation .. a small price to pay > for more robust handling of primes (also across fonts) I anticipated that (unicode) prime is a pain to

[NTG-context] Math bug (maybe) - prime

2022-12-27 Thread Alan Braslau via ntg-context
MWE: \starttext $a^2′$ $a′^2$ $\mathord{a′}^2$ $a^*^2$ \stoptext Should the \mathord{} be necessary to get the desired result? (I would expect the second line to work, just like $a^*^2$.) Alan ___ If your

Re: [NTG-context] bottlenecks

2022-12-18 Thread Alan Braslau via ntg-context
On Sat, 17 Dec 2022 22:35:04 +0100 Hans Hagen via ntg-context wrote: > > mkiv lua stats > runtime: 17.027 seconds, 578 processed pages, 578 > > shipped pages, 33.946 pages/second > > that's quite decent i guess I certainly don't complain! CPU: 11th Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz

Re: [NTG-context] Command line arguments on context project

2022-12-18 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 16:14:33 + Jethro Djan via ntg-context wrote: > 2. How do I get CoTeXt to recognise the ref.bib file when I run the > components not the product? > > For context, I don’t want the references printed at the end of each > chapter but I would like the in-text citation to

Re: [NTG-context] Structure: multi-volume products

2022-12-18 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 06:57:44 -0700 Alan Braslau via ntg-context wrote: > On Fri, 16 Dec 2022 09:08:47 + > wrote: > > > Last time I had to do something like this I've kept both books in > > one master file (actually one master file for part 1, one for part > &g

Re: [NTG-context] Change in \vec behavior

2022-12-18 Thread Alan Braslau via ntg-context
On Sun, 18 Dec 2022 19:37:17 +0100 Jean-Philippe Rey via ntg-context wrote: > What is the rationale for the change in \vec? Is there a way to get > the previous behavior back? I certainly hope that this is a bug (and not a "design choice"). Alan

Re: [NTG-context] bottlenecks

2022-12-17 Thread Alan Braslau via ntg-context
With lots of MetaPost, lots of references, lots of figures, lots of tables, lots of bibliography entries, lots of chemical structures, ... mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path:

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 22:31:59 +1300 Richard Mahoney | Indica et Buddhica wrote: > Alan, > > I'm attaching the two master files used for the following (also ran > cross refs between > each vol.): > > Murugaiyan, Appasamy & Parlier-Renault, Édith (2021) (Eds) Whispering > of Inscriptions: > South

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 13:59:20 + wrote: > What was his approach? Did he probably send it off-list? > It was sent on the list: To: ntg-context@ntg.nl Subject: Re: [NTG-context] Structure: multi-volume products Date: Fri, 16 Dec 2022 22:31:59 +1300 Alan

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
Thank you, This looks like a good solution! I will try it later, as soon as I can. Alan On Fri, 16 Dec 2022 22:31:59 +1300 Richard Mahoney | Indica et Buddhica wrote: > Alan, > > I'm attaching the two master files used for the following (also ran > cross refs between > each vol.): > >

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 09:08:47 + wrote: > Last time I had to do something like this I've kept both books in one > master file (actually one master file for part 1, one for part 2, one > for both together). With that I could easiliy have a table of > contents for both volumes. Thank you. This

[NTG-context] Structure: multi-volume products

2022-12-15 Thread Alan Braslau via ntg-context
Hello, I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set). Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber [part] [2]

Re: [NTG-context] new upload

2022-10-18 Thread Alan Braslau via ntg-context
On 18/10/2022 09:40, Pablo Rodriguez via ntg-context wrote: A complete install has revealed the real cause of the slow download: the antivirus software (that works like crap). My antivirus software is called ... Unix ;-)

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:09:41 -0700 Thangalin wrote: > Would making the conditional part of the API be useful to others? Of course, $\tan^{-1}(\pm 1)$ is undefined (mathematically). Alan ___ If your question is of

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 11:59:49 -0700 Thangalin wrote: > I don't think an atantwo is needed. I *thought* I had read somewhere > that atan( y, x ) was equivalent to calling atan2 in Lua. Ensuring > there's no breakage when x == y would be nice, though. It was a little > surprising to see angle

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:33:12 -0600 Max Chernoff wrote: > Do you know how to rebuild the format? I've tried the following to no > avail: > > --script mtx-context I believe that you have to give the full script path here to mtxrun Alan

Re: [NTG-context] issues with current latest

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 15:38:52 -0600 Max Chernoff via ntg-context wrote: $ context --luatex test.tex mtx-context | redirect luametatex -> luatex: luatex --luaonly "/opt/context/tex/texmf-linux-64/bin/mtxrun.lua" --script mtx-context --luatex test.tex --redirected mtxrun |

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 18:59:24 - (UTC) Nicola via ntg-context wrote: > Yours is a valid concern, but maintaining (Neo)Vim plugins is > a community effort. I took over the development of the ConTeXt plugin > because I wanted to improve the support for ConTeXt in Vim, and at the > time the

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 18:59:24 - (UTC) Nicola via ntg-context wrote: > > I wonder why a lua error is reported? > > Sorry, I should have said that I am only *assuming* that what I wrote > may be the reason for the error. In fact, I have now tried to open > a file starting with %, and I get

Re: [NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:48:42 - (UTC) Nicola via ntg-context wrote: > On 2022-10-14, Alan Braslau via ntg-context > wrote: > > A recent upgrade of the editor neovim leads to the following error > > when using % identification at the head of .tex source > > files.

[NTG-context] (any) neovim users?

2022-10-14 Thread Alan Braslau via ntg-context
A recent upgrade of the editor neovim leads to the following error when using % identification at the head of .tex source files. Error detected while processing BufReadPost Autocommands for "*": Error executing lua callback: /usr/local/share/nvim/runtime/lua/vim/filetype/detect.lua:1248:

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 10:07:19 +0200 Hans Hagen via ntg-context wrote: > So you suggest to add atantwo? As side note, you can redure your > definition to: > > vardef atantwo(expr dy, dx) = > if dx == 0 : > if dy < 0 : - fi pi / 2 > else : >

Re: [NTG-context] new upload

2022-10-14 Thread Alan Braslau via ntg-context
On Fri, 14 Oct 2022 16:14:01 +0200 Pablo Rodriguez via ntg-context wrote: > I have discovered that it includes in > tex/texmf-context/source/luametatex what should be the LMTX source > (about 11MB). > > I wonder whether this could be made optional. Internet speed is not > constant where I live

Re: [NTG-context] atan2 function

2022-10-14 Thread Alan Braslau via ntg-context
Are you using MP in scaled integer or in doubleprecision mode? I have not looked into the MP angle operator code, but my suspicion is that it is based on some super-clever John Hobby scheme optimized for scaled integer calculations. Hans has integrated the entire math library (and more) into

Re: [NTG-context] Spacing in \unit - degrees

2022-10-13 Thread Alan Braslau via ntg-context
On Wed, 12 Oct 2022 21:14:52 -0600 Gavin wrote: > As a recovering string theorist, I cannot help but speculate that > this rule extends to spherical coordinates in any number of > dimensions. However, if you don’t want the space, you can use > 135\unit{℃}, which does not add a space. Will

Re: [NTG-context] Spacing in \unit - degrees

2022-10-12 Thread Alan Braslau via ntg-context
Further \unit question(s): \unit{135℃} adds a space after the digits 135. I do not believe that this is correct (for ℃ is *not* a "real" unit, unlike \unit{408.15 K} which *is* a real unit). Also, \unit{135°C} drops the "C". Is this a parsing bug? Related, \unit{90°} does not seem to introduce

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Alan Braslau via ntg-context
On 12/10/22 12/10/22, 14:25, Wolfgang Schuster via ntg-context wrote: Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default]

Re: [NTG-context] Spacing in \unit

2022-10-09 Thread Alan Braslau via ntg-context
On Sat, 8 Oct 2022 11:59:04 -0600 Gavin via ntg-context wrote: > I’m trying to fix four issues: > - No space between the number and the following units. Should be a > thin space. > - No space between the units and the following symbol (+ and = > above). Should be appropriate “bin" or “rel"

Re: [NTG-context] Command for specifying et al limit

2022-09-27 Thread Alan Braslau via ntg-context
On Tue, 27 Sep 2022 13:33:20 + jethro Reuel via ntg-context wrote: > I want something like: > > Bronstein et al. says in their paper… > > I found the etaldisplay affects the display of the references and I > don’t want that. Try \setupbtx[apa:cite] and leave [apa:list] alone. Alan

Re: [NTG-context] Command for specifying et al limit

2022-09-26 Thread Alan Braslau via ntg-context
On Mon, 26 Sep 2022 21:40:14 -0600 Alan Braslau via ntg-context wrote: > On Sat, 24 Sep 2022 18:57:25 + > Jethro Djan via ntg-context wrote: > > > \setupbtx[ > > dataset=ref, > > etaldisplay = 1, > > etallimit = 1, > > ] > > Remove extr

Re: [NTG-context] Command for specifying et al limit

2022-09-26 Thread Alan Braslau via ntg-context
On Sat, 24 Sep 2022 18:57:25 + Jethro Djan via ntg-context wrote: > \setupbtx[ > dataset=ref, > etaldisplay = 1, > etallimit = 1, > ] Remove extra spaces. Alan ___ If your question is of interest to

Re: [NTG-context] PDF viewer

2022-09-22 Thread Alan Braslau via ntg-context
On Thu, 22 Sep 2022 18:47:50 -0600 Max Chernoff via ntg-context wrote: > I've been using pdf.js almost exclusively for the past few years > either via Firefox or VS Code, and I've never really had any > problems. The only real issue that I've had is that it gets fairly > slow with documents over

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

2022-08-15 Thread Alan Braslau via ntg-context
I believe that you are missing the point of LMTX. LMTX Context is intended to be a self-contained AND PORTABLE directory tree. It does not need system installation paths and such and is designed to happily co-exist with system installed TeX (using packages) or TeXlive or others, without

Re: [NTG-context] How to display these characters

2022-08-08 Thread Alan Braslau via ntg-context
On 05/08/22 05/08/22, 12:13, Henning Hraban Ramm via ntg-context wrote: I recently had the same problem and was wondering if there isn’t a Metapost module for directory trees? There is a Metapost/Context module for drawing flow charts that should handle this nicely. There is also a

Re: [NTG-context] mp-geo Metapost package with ConTeXt

2021-07-27 Thread Alan Braslau via ntg-context
On 27/07/21 08:12, Gavin via ntg-context wrote: Hi All, Getting Closer I asked: 2) While I’m having good luck with paths, colors are causing trouble. In the data set the color information is in strings with French names of the color, like “rouge.” If I hand this string to MetaPost, MetaPost