Re: [NTG-context] metafun 2

2019-08-16 Thread Alan Braslau
We have eofill in MP (in pdf/ps in fact) and that likely will do what you need. Alan On Sat, 17 Aug 2019 00:31:38 +0100 Adam Reviczky wrote: > Hi Hans, > > One MetaPost feature that I was looking forward to is the ability to create > a fill between two shapes. > Something like a difference

Re: [NTG-context] Wrong MetaPost text output

2019-08-11 Thread Alan Braslau
On Sun, 11 Aug 2019 11:12:55 -0700 Henri Menke wrote: > Thank you for the quick repsonse. This looks good to me. However, > could you tell me a way to get the correct baseline with textext? When > I use > > \startMPpage > draw btex dummy etex shifted (0,0); > draw btex foo etex

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
On Fri, 2 Aug 2019 23:36:47 +0200 Wolfgang Schuster wrote: > > we have a lot or areas ... and if you really want you can do this ... > > > > \setuplayouttext > > > > Has been there for ages ... (but I never use that method). > > I has the same question a few years ago but I never used it >

Re: [NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
On Fri, 2 Aug 2019 21:08:00 +0200 Wolfgang Schuster wrote: Thank you > When you use three arguments the first is used for the position of text, > i.e. above the text, margin or edge areas. I know this, and I find the syntax unfortunate, to say the least. > Only six or seven arguments work

[NTG-context] \setupheadertexts \setupfootertexts

2019-08-02 Thread Alan Braslau
Hello, \setupheadertexts [{center}] sets a centered header (and wipes-out any left and right header) \setupheadertexts [{left}] [{right}] sets the left and right headers (and keeps the centered header) \setupheadertexts [{left odd}] [{right odd}] [{left even}] [{right even}] sets the left and

Re: [NTG-context] Figure labels in combinations

2019-07-30 Thread Alan Braslau
On Tue, 30 Jul 2019 11:20:03 +0200 Luca Mauri wrote: > I am trying to typeset two or more figures next to each other, inside a > floating environment, each with its own label. I am familiar with a mechanism > of the form > > \startplacefigure[reference=pic] > \startcombination[3*1] > {figure

Re: [NTG-context] consecutive full stops in "num" bib style after "et al"

2019-07-29 Thread Alan Braslau
On Mon, 29 Jul 2019 16:37:15 -0400 Sanjoy Mahajan wrote: > Here's a minimal example: > > \setupbibtex[database=tmp] > \setuppublications[alternative=num] You are using the old mkii bibtex module. Alan ___ If

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Alan Braslau
On Mon, 22 Jul 2019 18:34:34 +0200 Huseyin Özoguz wrote: > The problem is, that Context (or Tex) skips lines, which is poor > typesetting, too many even than necessary in some cases, and that is > not suitable. Endnotes are no solutions aswell, I need footnotes. So > the solution to have

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Alan Braslau
On Mon, 22 Jul 2019 16:27:45 +0200 Denis Maier wrote: > llI don't know a solution for this, but would be very interested. > With LaTeX you can use the `atbegshi`-package that gives you a > command ` \AtBeginShipoutNext`: > > ``` > \footnotemark > \clearpage >

Re: [NTG-context] Quotation marks

2019-07-19 Thread Alan Braslau
On Sat, 20 Jul 2019 08:58:27 +0900 Atsuhito Kohda wrote: > It is true quotes are language dependent but sometime we need > language independent quotes. So it will be nice if we can use > {``}, {''} and \quotation at the same time “”

Re: [NTG-context] Quotation marks

2019-07-19 Thread Alan Braslau
On Fri, 19 Jul 2019 18:54:08 +0300 Dmitry Starostin wrote: > I understand it might have been deliberately and for various reasons, > but ConTeXt has no analogue for {``} and {''} for quotes. \quotation > is a replacement, but it is awkward if you write a draft in ConTeXt > and make the final

Re: [NTG-context] currently supported platforms

2019-07-19 Thread Alan Braslau
On Fri, 19 Jul 2019 14:21:40 +0200 Mojca Miklavec wrote: > > In the wiki it says kfreebsd would be still supported via Debian - > > is this still true? > > No clue. Probably nobody ever tested for ages. I'm gnu-less... From https://www.debian.org/ports/kfreebsd-gnu/ "Debian GNU/kFreeBSD

Re: [NTG-context] Side figure bug in mkiv?

2019-07-19 Thread Alan Braslau
On Fri, 19 Jul 2019 13:52:37 +0200 Wolfgang Schuster wrote: > Henri Menke schrieb am 18.07.2019 um 23:29: > > For what it's worth, the MKIV way to switch to bold face is > > \bold{text} instead of {\bf text} but it also doesn't fix your > > problem because neither of the two start a new

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Alan Braslau
On Tue, 16 Jul 2019 22:32:39 +0200 Marco Patzer wrote: > However, I'd prefer to not have another environment around the > combinations, but if there's no other way, I'd settle for your > approach. So far that seems to be the best choice. A combination is a construction, not really an

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Alan Braslau
This is why it is always a good idea to preface references with a (personal) identifier. However, perhaps Hans, Wolfgang, or someone else can explain the use of colons (:) and double colons (::) in references and in other tags in general (they have to do with namespaces, instances, etc.). Alan

Re: [NTG-context] feature request

2019-07-04 Thread Alan Braslau
On Thu, 4 Jul 2019 11:16:22 -0400 (EDT) Aditya Mahajan wrote: > > BTW, I constantly convert Beamer documents into ConTeXt's > > simpleslide documents recently and it is very convenient > > if I can use \pmatrix{a\cr c\cr} style because it is similar > > to LaTeX documents. > > You can create

Re: [NTG-context] IEEE Citation Style

2019-06-27 Thread Alan Braslau
On Thu, 27 Jun 2019 06:39:56 -0400 (EDT) Aditya Mahajan wrote: > On Thu, 27 Jun 2019, Julian Gompper wrote: > > > Hello everyone, > > > > I am currently writing a technical documentation with ConTeXt, and I > > would like to use the IEEE citation style. > > > > I have found this file on

Re: [NTG-context] [OT] rasperry 4

2019-06-24 Thread Alan Braslau
On Mon, 24 Jun 2019 19:58:54 +0200 Hans Hagen wrote: > On 6/24/2019 6:41 PM, Alan Braslau wrote: > > On Mon, 24 Jun 2019 14:30:48 +0200 > > luigi scarso wrote: > > > >> just seen > >> https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > >

Re: [NTG-context] [OT] rasperry 4

2019-06-24 Thread Alan Braslau
On Mon, 24 Jun 2019 14:30:48 +0200 luigi scarso wrote: > just seen > https://www.raspberrypi.org/products/raspberry-pi-4-model-b/ > > I would like to know your impressions > No SDIO stack (yet) on FreeBSD, so no WIFI support on the Raspberry Pi. (so one is somewhat *stuck* with GNU/linux).

Re: [NTG-context] (forw) Re: Strange behavior concerning pdf-output of externalfigures

2019-05-21 Thread Alan Braslau
On Fri, 17 May 2019 09:43:29 +0200 Rudolf Bahr wrote: > And then the same .png-image > to which I added a red frame by GIMP2.10. This one shows artefacts in > ConTeXt! I *always* use MetaPost to add features (and to clip) images. These features (arrows, labels, etc.) are then vectorial and

Re: [NTG-context] Creating one's own style

2019-05-18 Thread Alan Braslau
On Sat, 18 May 2019 09:16:24 +0300 Dmitry Starostin wrote: > Thank you for the instructions on how to make one's own style. > > I only need to change the formatting in the bibliography list, the > formatting of the notes in the text is entirely up to the requirement. > > A strange effect (full

Re: [NTG-context] Emdash

2019-05-17 Thread Alan Braslau
On Fri, 17 May 2019 10:54:39 +0300 Dmitry Starostin wrote: > btxspace and btxsemicolon do exist, but how does one do a 'em-dash'? > What is the best way to define it? — :-) \def\btxemdash {\removeunwantedspaces —} -- Alan

Re: [NTG-context] Remove italics from bibliography list

2019-05-17 Thread Alan Braslau
On Fri, 17 May 2019 14:10:03 +0200 "Thomas A. Schmitz" wrote: > On 5/17/19 12:41 PM, Dmitry Starostin wrote: > > I tried several variants, but I cannot find where exactly the switch > > happens. > > > > \definebtx[apa:list:title:incollection][apa:list:title][style=] > >

Re: [NTG-context] Modifying the place of the year in APA.

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 22:30:46 +0300 Dmitry Starostin wrote: > I need to: 1. place the year in the end 2. remove parentheses. That would no longer be APA style... -- Alan ___ If your question is of interest to others

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 12:48:30 +0200 Denis Maier wrote: > (2) there is a clear, defined standard that can be followed. > > This is actually the easier question: A few standard styles > immediately come to mind: MLA, Chicago 16th and 17 edition in its > various variants (author-date,

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
On Thu, 16 May 2019 10:02:44 +0200 "Jan U. Hasecke" wrote: > But as I collect my internet citations with zotero I always get a > urldate for all internet entries. I think that giving the urldate is > better than insert a publication year as nobody knows how long a > website was present and when

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200 "Jan U. Hasecke" wrote: > I understand that apa and aps are the only implemented styles. Is > there any other style I can use? You can write your own style, or your own modified style. Also, we can implement more styles if (1) there is a need, and (2) there is

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Alan Braslau
On Wed, 15 May 2019 14:27:21 +0200 "Jan U. Hasecke" wrote: > is there an option to eliminate the "unpublished" in aps bibliography? I suppose you mean the APS setup when NO date field is given ("to be published" for an article, "in press" for a book, and "unpublished" otherwise)? You can

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Alan Braslau
On Sun, 12 May 2019 19:25:26 +0200 Hans van der Meer wrote: > Can I be absolutely sure that \placefigure[here,force] will not > invoke the float mechanism, but instead always effects an in-place > insertion? It will trigger a page break if there is not enough space "here". In fact, "force" is

Re: [NTG-context] placing content in footers

2019-05-12 Thread Alan Braslau
On Sun, 12 May 2019 18:19:54 +0200 Pablo Rodriguez wrote: > >> \mbox{}\page\mbox{} > > > > Where did you learn to use \mbox? > > I don’t remember (probably in my LaTeX times, before moving to > ConTeXt). The use of \mbox{} is a classic LaTeX hack... -- Alan

Re: [NTG-context] placetable and localfootnotes

2019-04-30 Thread Alan Braslau
; \placelocalfootnotes > \stoplocalfootnotes > \stopplacetable > %%% end localfootnotes-xtable.tex The following doesn’t help: \automigrateinserts % needed to handle footnotes within a box... (I have found this necessary

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Alan Braslau
On Mon, 29 Apr 2019 13:18:04 +0200 Hans Hagen wrote: > anyway, as the png test suite passes ok the question is what makes your > image different ... here it looks ok when included on windows64 bit and > linux 64 bit Your very own .png image and MWE works fine here on OSX, freeBSD, and linux.

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Alan Braslau
al) as I do not believe that it should in anyway become a default. Alan -- Alan Braslau ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg

Re: [NTG-context] LMTX and system fonts

2019-04-28 Thread Alan Braslau
> On 28Apr19, at 02:55, Pablo Rodriguez wrote: > > I add the path, otherwise no mtxrun would be found. Of course, Otared is saying: $CONTEXTHOME/tex/texmf-osx-64/bin/mtxrun -generate where osx-64 is the platform. -- Ala

Re: [NTG-context] tikz is not found

2019-04-24 Thread Alan Braslau
On Wed, 24 Apr 2019 12:42:03 +0200 Gour wrote: > in order to try using TikZ figures (exported from Geogebra) I tried > with some simple TikZ example with lmtx install, > so wonder how to add missing tikz module? Hans explained that third party modules are not automatically distributed or

Re: [NTG-context] using metapost library makecirc with context.

2019-04-21 Thread Alan Braslau
On Sat, 20 Apr 2019 23:49:26 +0200 Hans Hagen wrote: > > let latex=textext ; > > That crashed here. In fact, when I used makecirc.mp, I just commented out the following few lines at the head of the file: %input latex; % % Commands definitions to do the labeled easier % %

Re: [NTG-context] using metapost library makecirc with context.

2019-04-20 Thread Alan Braslau
On Sat, 20 Apr 2019 23:00:09 +0200 Hans Hagen wrote: > On 4/20/2019 10:09 PM, Andrea De Michele wrote: > > > I didn't understand the magic behind that but it's works. > > mp has no real text typesetting options so this hack provides it Why not let latex=textext ; > > Another

Re: [NTG-context] change in treating errors

2019-04-16 Thread Alan Braslau
On Tue, 16 Apr 2019 05:51:00 -0400 Mohammad Hossein Bateni wrote: > 1) You could correct a spelling mistake on the prompt (as in original TeX), > although this is rarely done these days. As you said, doesn't happen. > 2) You could use the --nonstopmode or --batchmode to not get the prompt, >

Re: [NTG-context] change in treating errors

2019-04-15 Thread Alan Braslau
On Mon, 15 Apr 2019 23:11:17 -0400 Mohammad Hossein Bateni wrote: > Hi, > > ConTeXt used to recover better from errors. Consider the following file: > > = > \xyz > \abc > > \starttext > HELLO > \stoptext > = > > Running ConTeXt ver: 2019.03.21 21:39 MKIV beta fmt:

Re: [NTG-context] Fine-tuning of aps style

2019-04-14 Thread Alan Braslau
On Sun, 14 Apr 2019 18:30:11 +0300 Dmitry Starostin wrote: > To cite like [1, p. 101] > > \cite[righttext={\nbsp p.~101}][Hankins:2014] > > works, but has no comma > > \cite[righttext={, p.~101}][Hankins:2014] > > produces no page > > \cite[righttext={,\nbsp p.~101}][Hankins:2014] > >

Re: [NTG-context] How to make the adjustments to the aps style?

2019-04-13 Thread Alan Braslau
On Sat, 13 Apr 2019 19:14:34 +0300 Dmitry Starostin wrote: > 1. to cite in the order of appearance (probably one setting) \setupbtx [aps:cite] [sorttype=none] I believe > 2. 'author initials' instead of the default 'initials authors'. \setupbtx [aps:list] [authorconversion=invertedshort]

Re: [NTG-context] Lua error with fontstrip in today’s beta

2019-04-12 Thread Alan Braslau
On Fri, 12 Apr 2019 23:19:34 +0200 Henning Hraban Ramm wrote: > minimals installation (2019.04.12 17:43, still not lmtx) Ah, when I first started using ConTeXt, MkIV was somewhat experimental and it was still recommended to use MkII (with pdftex) for "production". Now we are generally

Re: [NTG-context] Unwanted uppercase letter in \high{} within bibliography

2019-04-12 Thread Alan Braslau
ème}, cycle 4}, title:en={Geographical History EMC 5\high{th}, 4\high{th} cycle}, to be used advantageously in multi-lingual documents or multi-lingual use of a single bibliography database. Alan -- Alan Braslau

Re: [NTG-context] Strange behavior in math mode: < and minus sign give leftarrow

2019-04-10 Thread Alan Braslau
On Wed, 10 Apr 2019 10:09:31 +0200 Otared Kavian wrote: > The problem of such an usual default is also with newcomers who would not > know about this feature in ConTeXt: when one writes maths one would not guess > that typing an inequality like $n < -1$ would end up in $n \leftarrow 1$. And >

Re: [NTG-context] name of cache used by mkiv and lmtx

2019-04-06 Thread Alan Braslau
On Sat, 6 Apr 2019 13:46:57 -0400 (EDT) Aditya Mahajan wrote: > Is there a way to avoid that? I can, of course, set different values of > TEXMFCACHE for both distributions, but does it make sense to to use a > different hash (5fe67e...) for the two? Why do you set TEXMFCACHE and not simply

Re: [NTG-context] How to update LMTX?

2019-04-04 Thread Alan Braslau
On Thu, 4 Apr 2019 23:11:42 +0200 Hans Hagen wrote: > (we just don't use rsync) As rsync can be problematic for some locations (TCP port 873 blocked) without the ability to tunnel. http is most often open. Alan

Re: [NTG-context] How to update LMTX?

2019-04-04 Thread Alan Braslau
One just runs ./install.sh at any time to update. Alan On Fri, 5 Apr 2019 09:27:15 +1300 Henri Menke wrote: > Dear list, > > With ConTeXt standalone there was an easy way to update the install script and > the distrivution using > > rsync -ptv

Re: [NTG-context] beta

2019-04-04 Thread Alan Braslau
On Thu, 4 Apr 2019 10:06:03 -0400 (EDT) Aditya Mahajan wrote: > > I uploaded a new beta (as we're now post current again). The lmtx > > installation is normally also updated in sync but sometimes can be a bit > > ahead as I myself use that as default. > > Is there or will there be any

Re: [NTG-context] How to repeat the hyphen?

2019-03-25 Thread Alan Braslau
On Mon, 25 Mar 2019 22:24:34 -0700 Sam May wrote: > still using the ridiculously out-of-date 2016.05.17 because I haven't > gotten around to overriding the Gentoo package manager yet... You can install the standalone Context distribution anywhere you want, in parallel with your OS package

Re: [NTG-context] (no subject)

2019-03-22 Thread Alan Braslau
On Fri, 22 Mar 2019 14:34:25 +0300 dstaros...@yandex.ru wrote: > specification=chicago Doesn't exist, hasn't been written... ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Bibliography: I think module [aps] is rendering incorrectly the electronic category and others too

2019-03-21 Thread Alan Braslau
On Thu, 21 Mar 2019 13:16:04 -0300 Tomas Badan wrote: > Looking at context documentations and source code, it says that for > electronic category we have: > * Required fields: title > * Optional fields: address, author, howpublished, month, note, > organization, url, year, doi > > So, when I

Re: [NTG-context] Background under bibliography (like in mkiv-publications.pdf)

2019-03-18 Thread Alan Braslau
On Mon, 18 Mar 2019 14:15:10 -0400 (EDT) Aditya Mahajan wrote: > On Mon, 18 Mar 2019, Romain Diss wrote: > > > Le 13/03/2019, Aditya Mahajan a �crit > >> > Is there a simple way to split a large \startframedtext environment over > >> > multiple pages. It doesn't work out of the box and I

Re: [NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Alan Braslau
On Mon, 18 Mar 2019 14:44:17 + Jorge Manuel wrote: > Thanks for your support. > I clear the recommended line, but the problem persists. How I can fix that? > > Jorge > > > > No dia 18/03/2019, às 14:36, Alan Braslau > > escreveu: > > > > On

Re: [NTG-context] CHEMIC: place a argument under the compound

2019-03-18 Thread Alan Braslau
On Mon, 18 Mar 2019 10:08:33 + Jorge Manuel wrote: > \usemodule[chemic] chemic is the old, mkii chemical macros. They have been replaced in mkiv with core macros so no need for the above line. Alan ___ If your

Re: [NTG-context] lua-error when asking for the fontame

2019-03-09 Thread Alan Braslau
On Sat, 9 Mar 2019 10:12:06 +0100 Hans Hagen wrote: > On 3/8/2019 11:16 PM, Willi Egger wrote: > > \setupbodyfont[pagella,rm,12pt] > > \starttext > > This text is written in \font\fontname > > \stoptext > > > This text is written in \fontname\font We also have: \fontclass

Re: [NTG-context] Showing value of a MP variable

2019-03-08 Thread Alan Braslau
On Fri, 08 Mar 2019 17:05:02 +0100 Procházka Lukáš Ing. wrote: > is it possible (namely for debugging) values of MP variables (be it on the > console or in the log)? > > I thought there is MP command "show" (mentioned in mpman.pdf) for this message(pt) ; puts it into the (context) log. show

Re: [NTG-context] Space between initials in bibliography

2019-03-03 Thread Alan Braslau
On Sat, 2 Mar 2019 10:19:35 +0100 "Mikael P. Sundqvist" wrote: > By default there seem to be no space between initials in bibliography > (which I guess there should be?). I can get a space by adding > \setupbtx[ > stopper:initials={.\btxspace}, > ] > but I don't think that this is how the

Re: [NTG-context] textext within ConTeXt

2019-03-03 Thread Alan Braslau
On Sun, 3 Mar 2019 12:52:53 -0500 Mohammad Hossein Bateni wrote: > Hi, > > I can't understand why the following code does not work. Could someone > help me out here? > > \starttext > \startMPpage > draw textext("\convertnumber{r}{12}"); > draw textext("\convertnumber{r}{" & "12" & "}"); >

Re: [NTG-context] Footnotes being broken over two pages

2019-02-27 Thread Alan Braslau
On Tue, 26 Feb 2019 01:04:25 +0100 Lars wrote: > Hi there, > > I've stumbled upon some behaviour that looks like a bug to me. Sometimes > longer footnotes are being broken over two pages. Please see the > attached picture: > > As you can see the last footnote on p. 6 is being continued on p.

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 23:50:24 +0100 Peter Münster wrote: > On Mon, Feb 18 2019, Alan Braslau wrote: > > > Incorrect, an image file contains width and height (in pixels) as well as a > > resolution, > > Optionally a resolution in the metadata. Then, of course, yo

Re: [NTG-context] markdown module vs pandoc

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 18:47:49 +0100 Gour wrote: > > I use TikZ when I need some ready-made stuff with possibly some fancy > > shading patterns (or when I would pass the images to LaTeX users). In > > those cases you might be able to achive the same in a lot less lines > > of code, but you usually

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 22:09:32 +0100 Peter Münster wrote: > On Mon, Feb 18 2019, Alan Braslau wrote: > > > My working solution is to put figures in subdirectories by resolution, > > The purpose of the downsample module is something else: a well defined > resolution of the

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
On Mon, 18 Feb 2019 10:13:20 +0100 Marco Patzer wrote: > Yes. I didn't put much thought into it and assumed there is a better > solution. My working solution is to put figures in subdirectories by resolution, that is externally, once and for all, using whatever is your favorite tool to

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
On Thu, 14 Feb 2019 18:08:09 +0100 Hans Åberg wrote: > > On 14 Feb 2019, at 16:42, Alan Braslau wrote: > > > > Now, this is really interesting > > > > \starttext > > \textbar x\textbar > > \stoptext > > > > produces |x| as seen by

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
On Thu, 14 Feb 2019 08:42:15 -0700 Alan Braslau wrote: > On Thu, 14 Feb 2019 13:02:21 +0100 > Hans Hagen wrote: > > > On 2/13/2019 7:12 PM, Alan Braslau wrote: > > > Not just the latest beta ... and indeed according to the TeXbook this > > > should be a ver

Re: [NTG-context] Bug in math: version

2019-02-14 Thread Alan Braslau
On Thu, 14 Feb 2019 13:02:21 +0100 Hans Hagen wrote: > On 2/13/2019 7:12 PM, Alan Braslau wrote: > > Not just the latest beta ... and indeed according to the TeXbook this > > should be a vertical double bar (\Vert), in math mode. > > > > I wish to point out tha

Re: [NTG-context] Bug in math: version

2019-02-13 Thread Alan Braslau
Not just the latest beta ... and indeed according to the TeXbook this should be a vertical double bar (\Vert), in math mode. I wish to point out that | in text font (text mode) is different from | in math font (math mode). I noticed that Preview (on the mac) *fails* to render the math font $|$

Re: [NTG-context] Bad names

2019-02-08 Thread Alan Braslau
On Fri, 8 Feb 2019 23:26:21 +0100 Hans Hagen wrote: > On 2/8/2019 10:22 PM, Marco Patzer wrote: > > > What is a bad name for context? Does it have any consequences if badly named > > files are used? Just being curious. > Bad names are names that can result i a miss when looked up on a case >

Re: [NTG-context] 404 error: Not found for first-setup.sh

2019-02-08 Thread Alan Braslau
fetch http://minimals.contextgarden.net/setup/first-setup.sh works as well - why do we suggest wget, a gnuism? Alan On Fri, 8 Feb 2019 20:24:45 +0100 Taco Hoekwater wrote: > Hi, > > That is helpful knowledge. I am quietly confident I can fix wget tomorrow, > now. > > I’ll report back. > >

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Alan Braslau
On Thu, 7 Feb 2019 19:03:35 +0100 "Jan U. Hasecke" wrote: > Am 07.02.19 um 17:46 schrieb Alan Braslau: > > On Thu, 7 Feb 2019 07:27:57 +0100 (UTC) > > "Jan U. Hasecke" wrote: > > > >> At least a missing file should make ConTeXt stop imme

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Alan Braslau
On Thu, 7 Feb 2019 07:27:57 +0100 (UTC) "Jan U. Hasecke" wrote: > At least a missing file should make ConTeXt stop immediately. Why? (I often process with missing figures, etc. Of course, not for a final run, but adding showstoppers leads to overhead and longer processing times. People first

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
p.101 of the TeXbook ... On Tue, 5 Feb 2019 13:48:14 -0700 Alan Braslau wrote: > \parshape > > On Tue, 5 Feb 2019 21:38:29 +0100 > Henning Hraban Ramm wrote: > > > No hints? > > > > If it’s not possible, I must redo the whole layout in InDesign. I’d l

Re: [NTG-context] text flowing around images

2019-02-05 Thread Alan Braslau
\parshape On Tue, 5 Feb 2019 21:38:29 +0100 Henning Hraban Ramm wrote: > No hints? > > If it’s not possible, I must redo the whole layout in InDesign. I’d like to > avoid that (footnotes!). > > Best, Hraban > > Am 2019-02-04 um 11:10 schrieb Henning Hraban Ramm : > > > Ahoi, > > > > in my

Re: [NTG-context] Show the letters of the alphabet with a loop (Metapost)

2019-02-03 Thread Alan Braslau
On Mon, 4 Feb 2019 09:19:26 +1300 Henri Menke wrote: > Use the infont operator. Easier yet, the string can contain the font switch \bf: draw textext("\bf "(i)) ; ___ If your question is of interest to others as

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-01-31 Thread Alan Braslau
On Thu, 31 Jan 2019 22:10:40 -0500 Sanjoy Mahajan wrote: > Thank you, Matthias and Wolfgang, for the examples/solutions. Why not use the list mechanism? Alan ___ If your question is of interest to others as well,

Re: [NTG-context] New logo proposal

2019-01-30 Thread Alan Braslau
On Tue, 29 Jan 2019 19:58:40 +0100 "Paul Schalck" wrote: > @Alan B: I've uploaded MetaPost files of the main version. MP produced using pstoedit is of little interest; it is not the same as generating a graphic naively using MetaPost. Also, writing good MP code is a simple and fun exercise

Re: [NTG-context] New logo proposal

2019-01-29 Thread Alan Braslau
On Tue, 29 Jan 2019 11:32:40 +0100 Taco Hoekwater wrote: > It would be more coherent if the color of the squares and the color of > the letters trailed each other around the 7 options in the writing order > for the word “CONTEXT” (C = orange+blue, O = blue+green, N = green+red > etc.) But

Re: [NTG-context] \setbreakpoints[compound] inserts spurious hyphen

2019-01-28 Thread Alan Braslau
On Mon, 28 Jan 2019 22:05:07 +1300 Henri Menke wrote: > This was falsely > reported as an issue with the btx system on TeX.SX. > https://tex.stackexchange.com/q/472041 Indeed, the mailing list, not stackexchange, is the place to report problems encountered in using ConTeXt ... Alan

Re: [NTG-context] definefontfamily use

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 18:05:59 +0100 Wolfgang Schuster wrote: > Maybe you loaded the used the font before with \definefont which put a > entry in the database but normally \definefontfamily doesn’t use fonts > from a local directory. No, never used \definefont; the behavior of \definefontfamily

Re: [NTG-context] definefont

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 18:03:51 +0100 Wolfgang Schuster wrote: > > Are not the default set of OpenType features activated by default? > > (as the name might suggest...). Perhaps *no* features are selected, by > > default... > > (a misnomer, therefore). > > default is just one of many predefined

Re: [NTG-context] definefont (was: definefontfamily use)

2019-01-23 Thread Alan Braslau
On Wed, 23 Jan 2019 17:32:41 +0100 Henning Hraban Ramm wrote: > > What are the roles of "*default" and "sa 3" as these appear to be > > unnecessary? > > *default activates the default set of OpenType features. Are not the default set of OpenType features activated by default? (as the name

Re: [NTG-context] definefontfamily use

2019-01-22 Thread Alan Braslau
On Tue, 22 Jan 2019 19:39:05 +0100 Hans Hagen wrote: > one can do > > \definefont[MyTitleFont][file:myfont.ttf*default sa 3] > > \setuphead[chapter][style=\MyTitlefont] Thank you \definefont[MyFont][file:myfont.ttf] \scale[width=.5\textwidth]{\MyFont My Font!} can be used for example in a

[NTG-context] definefontfamily use

2019-01-22 Thread Alan Braslau
Hello, Previously, in order to make punctual use of a true-type font in a title for example, I did the following: \definefontfamily [myfont] [serif] [myfont] where myfont.ttf is located in the current project directory, and selecting the font was simply {\switchtobodyfont[myfont]My Font!}

Re: [NTG-context] Bibliography not rendered

2019-01-11 Thread Alan Braslau
On Fri, 11 Jan 2019 16:44:39 +0100 "Jan U. Hasecke" wrote: > Hi, > > using the first example from mkiv-publications.pdf I don't get a > rendered bibliography. > > juh > @misc{} is not a defined category using the "default" rendering style (which only recognizes @book and @article). See

Re: [NTG-context] final thoughts on experiments with lua

2019-01-09 Thread Alan Braslau
On Wed, 9 Jan 2019 20:57:21 +0100 "Thomas A. Schmitz" wrote: > 3. Lua's handling of tables is very efficient and fast. For analyzing my > Greek texts, I have to use huge tables for morphological parsing, with > more than 900,000 entries. Looking up words in these tables is around 3x > faster

Re: [NTG-context] Update problems

2019-01-07 Thread Alan Braslau
On Mon, 7 Jan 2019 18:57:41 +0100 Hans Hagen wrote: > looking at this pdf file it makes sense to save as pdf from > illustrator because now you basically use the illustrator edit file > (with a lot of crap in it) and also some versioning (i suspect that the > xref is also bad so then you

Re: [NTG-context] ! Declared variable conflicts with previous vardef [Metapost]

2019-01-02 Thread Alan Braslau
On Thu, 3 Jan 2019 16:22:06 +1300 (UTC) Henri Menke wrote: > z is a MetaPost intrinsic, something along the lines of > > vardef z@#=(x@#,y@#) enddef; > > so you can't use the same name for a pair. Actually you can simply > delete the declaration > >pair z[]; I had already told

Re: [NTG-context] Question about defining a path with Metapost

2018-12-20 Thread Alan Braslau
On Fri, 21 Dec 2018 00:17:25 +0100 Fabrice Couvreur wrote: > Why does the definition of the r path that Hans proposed give the > same result as what I propose ? Look at the definition of bottomboundary in mp-tool.mpiv Use whatever you prefer. You might also be interested in the modification

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Alan Braslau
On Wed, 19 Dec 2018 19:16:23 +0100 Hans Åberg wrote: > > > On 19 Dec 2018, at 19:01, Alan Braslau wrote: > > > > On Wed, 19 Dec 2018 18:46:30 +0100 > > Hans Åberg wrote: > > > >> Though probably non-standard in typesetting, one might make a sli

Re: [NTG-context] Monospace fallback kerning

2018-12-19 Thread Alan Braslau
On Wed, 19 Dec 2018 18:46:30 +0100 Hans Åberg wrote: > Though probably non-standard in typesetting, one might make a slight > typographic difference between 푥²₀ and 푥₀² by letting the sub- or > superscripts that come later partially, but not fully, to the position of the > one that comes

Re: [NTG-context] graphics

2018-12-13 Thread Alan Braslau
of the integr $n$ > when you want to use $J_{n}(x)$? > > Best regards: OK > > > On 12 Dec 2018, at 21:13, Mikael P. Sundqvist wrote: > > > > On Wed, Dec 12, 2018 at 9:02 PM Henri Menke wrote: > >> > >> On 13/12/18 8:56 AM, Alan Braslau wro

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Thu, 13 Dec 2018 10:03:40 +1300 Henri Menke wrote: > Sorry, my mistake, the Bessel functions are not a GCC extension but > POSIX standard functions. > http://pubs.opengroup.org/onlinepubs/9699919799/functions/j0.html > Since TeX Live is always built on a POSIX platform (MSYS2 on Windows), >

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Thu, 13 Dec 2018 09:02:05 +1300 Henri Menke wrote: > On 13/12/18 8:56 AM, Alan Braslau wrote: > > On Wed, 12 Dec 2018 20:42:56 +0100 > > "Mikael P. Sundqvist" wrote: > >> > >> Thanks, Alan! That looks very promising. I could not make it work, >

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Wed, 12 Dec 2018 20:42:56 +0100 "Mikael P. Sundqvist" wrote: > > Thanks, Alan! That looks very promising. I could not make it work, > though, and I guess that is because I use linux and do not know what > to change for what. I installed libcerf but I assume something else is > missing. In any

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Wed, 12 Dec 2018 14:51:47 +0100 Mathias Schickel wrote: > You can see the desired behaviour in the attached pdf output of the > LaTeX file. No, one cannot, unless one has Adobe... Alan ___ If your question is of

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 21:11:17 +0100 "Thomas A. Schmitz" wrote: > I find myself in > situations where I want a reference, but this list should not be > included in the document. Example: you distribute a bibliographical list > on your handout and want your slides to display the numeric

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 12:43:34 -0500 Rik Kabel wrote: > It is also quite > useful in earlier stages of larger projects where it is important to > document sources (for circulation copies) but one is not ready to tackle > the design and generation of more formal backmatter. In my incremental

Re: [NTG-context] graphics

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 09:31:46 +0100 "Mikael P. Sundqvist" wrote: > 3) It would be nice to be able to plot some special functions. I'm > thinking of the usual suspects, Airy, Bessel, Hypergeometric, > Laguerre, Legendre, ... Could it be that one could have support via > some lua library? I use ffi

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
On Fri, 7 Dec 2018 23:34:58 -0500 Rik Kabel wrote: > On 12/7/2018 22:51, Alan Braslau wrote: > > You can place references rendered as you need, not necessarily in > > one single bibliography list, but they must be rendered somewhere, > > otherwise numbering and cross-refer

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
ecome an index. Alan On Fri, 7 Dec 2018 22:36:02 -0500 Rik Kabel wrote: > On 12/7/2018 18:01, Alan Braslau wrote: > > On Fri, 7 Dec 2018 17:19:35 -0500 > > Rik Kabel wrote: > > > >> As a followup, here is a close-to-minimal example which >

  1   2   3   4   5   6   7   8   9   10   >