[NTG-context] MKIV to LMTX (enumerations)

2020-05-30 Thread Weber, Matthias
Dear List, After staying with a frozen MKIV version for time-critical work for a while, I took the plunge and ran one of my longer math-heavy documents through LMTX. To my delight, it mostly looks fine or trivially fixable. There is one problem I have with enumerations. The spacing between them

Re: [NTG-context] Vertical lines in matrices

2020-05-04 Thread Weber, Matthias
\NR \NC 1 \NC 0\NC 1 \NR \HL \NC 1 \NC 0\NC 1 \NR \stopbvmatrix \startrbmatrix \NC 0 \NR \NC 1 \NR \HL \NC 1 \NR \stoprbmatrix \stopformula \stoptext > On May 4, 2020, at 13:00, Aditya Mahajan wrote: > > On Mon, 4 May 2020, Weber, Matthias wrote: > >> I was aw

Re: [NTG-context] Vertical lines in matrices

2020-05-04 Thread Weber, Matthias
1 \NC 0 \NR > \NC 0 \NC 0 \NC 1 \NR > > \stopmatrix > \stopformula > There are many other examples that you can use. > > Best regards, > Dalyoung > >> Message: 2 >> Date: Sun, 3 May 2020 17:47:24 + >> From: "Weber, Matthias" >>

[NTG-context] Vertical lines in matrices

2020-05-03 Thread Weber, Matthias
Dear List, I am trying to get vertical (separating) lines into matrices, as is possible in tables: \starttext \startformula \left( \starttable[|c|c|c|] \NC 0 \NC 0\VL 0 \FR \NC 1 \NC 0\VL 1 \FR \stoptable \right) \stopformula \stoptext But my parentheses don’t fit, and I am not sure

[NTG-context] Nodes module for commutative diagrams etc

2020-03-29 Thread Weber, Matthias
Dear list, I need to typeset a handful of simple commutative diagrams like the one below, and I found the nodes manual by Alan that has exactly what I want. But what is the incantation to load the module, or am I missing something else? Thanks, Matthias \starttext \startMPcode path p ; p

[NTG-context] Second derivative ''

2020-03-04 Thread Weber, Matthias
Dear List, \starttext \startformula \left(f\right)'' = f'' \stopformula \stoptext has the second apostrophe set too low. This is in MKIV on ConTeXt live as well as in my slightly older version. What is the “right” way to typeset a second derivative? Thanks, Matthias

Re: [NTG-context] Adding line numbers to all pages?

2019-12-02 Thread Weber, Matthias
Now that is embarrassing finding my question answered in an earlier post by Oliver from today. Sorry for the noise. Matthias On Dec 2, 2019, at 17:49, Weber, Matthias mailto:matwe...@indiana.edu>> wrote: Dear All, Is there a simple way to add line numbers to the margin of eac

[NTG-context] Adding line numbers to all pages?

2019-12-02 Thread Weber, Matthias
Dear All, Is there a simple way to add line numbers to the margin of each page of a document? They should recommence at 1 on every page, and either omit formulas or handle them “gracefully”. I’d be happy to have any ad-hoc solution. Thanks, Matthias \starttext \input tufte \startformula

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

2019-01-31 Thread Weber, Matthias
A while back I asked a similar question, and Hans pointed out the following which I still use: \defineenumeration [exercise] [way=bysection, text=Exercise, coupling=solution, location=hanging] \defineenumeration [solution] [text=Solution, way=bysection, coupling=exercise,

Re: [NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
. Thanks, Matthias > On Jan 7, 2019, at 11:26 AM, Weber, Matthias wrote: > > Dear List, > > After a while I decided updating my ConTeXt installation to ConTeXt ver: > 2019.01.07 10:07 MKIV beta fmt: 2019.1.7. > > With an old document of mine I ran into two issues so

[NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
Dear List, After a while I decided updating my ConTeXt installation to ConTeXt ver: 2019.01.07 10:07 MKIV beta fmt: 2019.1.7. With an old document of mine I ran into two issues so far: Some of my old pdf images are not accepted as figures anymore. Example: \starttext

Re: [NTG-context] future versions

2018-07-25 Thread Weber, Matthias
I have an entirely different suggestion, possibly fitting the description of a possible “lean” version. One important feature of TeX has been the longevity of the documents. This is of course of little interest to those of us who typeset a book/journal for publishing and care little about it

Re: [NTG-context] Problem with math alignment

2017-11-12 Thread Weber, Matthias
Same here. Curiously, the Garden version is ok, while the newest beta seems to make all alignments centered. Minimal Example: \starttext \startformula A=\startmathmatrix[align={right,right}] \NC1\NC-1\NR \NC-1\NC1\NR \stopmathmatrix \stopformula \stoptext Matthias > On Nov 12, 2017, at

Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
Thanks, this is very helpful. Matthias > On Nov 6, 2017, at 4:12 PM, Schmitz Thomas A. <thomas.schm...@uni-bonn.de> > wrote: > > > >> On 6. Nov 2017, at 21:44, Weber, Matthias <matwe...@indiana.edu> wrote: >> >> It looks like Metapost is

Re: [NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
); drawdot (h, h/2); \stopMPcode} \starttext \startformula a \cdot b \fatdot c \bullet d \stopformula \stoptext > On Nov 6, 2017, at 2:01 PM, Weber, Matthias <matwe...@indiana.edu> wrote: > > Dear List, > > I am looking for a ConTeXt way to create a thicker \c

[NTG-context] Thicker \cdot ?

2017-11-06 Thread Weber, Matthias
Dear List, I am looking for a ConTeXt way to create a thicker \cdot (but not as thick as \bullet). Minimal non-example \starttext \startformula a \cdot[1mm] b \stopformula \stoptext does not accomplish anything useful…. Thanks - Matthias

Re: [NTG-context] Math: Spacing around colons

2017-10-18 Thread Weber, Matthias
I didn’t include the last (asymmetric) attempt: \startformula (a \colon b \colon c) \stopformula M. > On Oct 18, 2017, at 5:58 PM, Weber, Matthias <matwe...@indiana.edu> wrote: > > Dear List, > > I need a binary math operator with narrower spacing then the default. My &g

[NTG-context] Math: Spacing around colons

2017-10-18 Thread Weber, Matthias
Dear List, I need a binary math operator with narrower spacing then the default. My feeble attempts below all lead to the same spacing except for the last one which however is not symmetric. Thanks for any hints! Matthias \definemathcommand [col] [rel] {\mathstylevcenteredhbox\colon}

Re: [NTG-context] Question about enumerations/before/after

2017-10-09 Thread Weber, Matthias
Thanks Pablo, that does it. Matthias > On Oct 9, 2017, at 2:12 PM, Pablo Rodriguez <oi...@gmx.es> wrote: > > On 10/09/2017 01:07 PM, Weber, Matthias wrote: >> Dear all, >> >> I have something like >> >> \defineenumeration[test] >> [b

[NTG-context] Question about enumerations/before/after

2017-10-09 Thread Weber, Matthias
Dear all, I have something like \defineenumeration [test] [text={Test:}, headstyle=bold, number=no, before={\startcolor[red]},

[NTG-context] \right| spacing issue

2016-05-09 Thread Weber, Matthias
Dear All, the right hand side moves the Y into the |. This used to look ok in older versions of mkiv & mkii. \starttext \startformula |X\times Y|= \left| X\times Y\right| \stopformula \stoptext Matthias ___ If

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Weber, Matthias
Hi Jaroslav, could you explain a bit more what you mean by "the installation will fail”? What error message do you get at what stage? You need to make sure that you have write permission to the installation directory; anything inside your home directory should be safe. Also, as a general

Re: [NTG-context] Instalation ConTeXt to MAC - newbie problem

2016-01-17 Thread Weber, Matthias
d to install it into your Applications folder too (I have administrative access), but not in this way I have not done. (As you say: home directory should be safe and path no occure any problematic characters. My home directory is "hajtmar") Thanx Jaroslav Dne 17.01.16 v 13:27 Weber,

[NTG-context] \mapsto + SimpleSlides

2012-05-10 Thread Weber, Matthias
Dear all, I don't get \mapsto to display using SimpleSlides and MkIV. It shows in normal MkIV documents, and works in MKII Example below. Thanks for any advice. Matthias \usemodule[simpleslides] [style=BottomSquares, color=blue] \starttext \SlideTitle{Help!}