[NTG-context] text–formula separation inside a frame

2016-09-25 Thread Florian Leupold
=\textwidth, height=5cm, align=normal] \starttext This formula is preceded by normal spacing: \placeformula[-]\startformula 1+1=2 \stopformula \Framed{ This formula somehow is preceded by too much spacing: \placeformula[-]\startformula 1+1=2 \stopformula } \stoptext signature.asc Description: Message

Re: [NTG-context] Problem with \leqalignno

2016-09-11 Thread Otared Kavian
Hi Mingranina, For displayed aligned formulas it is better to use \startalign…\stopalign, instead of the plain TeX construction \leqalignno. Please have a look at the following: Best regards: OK %%% begin align-equations.tex \starttext \placeformula \startformula \startalign \NC c^2 \NC= a^2

Re: [NTG-context] Problem with \leqalignno

2016-09-10 Thread Aditya Mahajan
On Sun, 11 Sep 2016, Mingranina Gingranina wrote: Hello All, I am trying to compile the following example (from http://wiki.contextgarden.net/Math/Display) with context: \starttext \placeformula \startformula \leqalignno{c^2 &= a^2 + b^2 &\formulanumber{a} \cr a^2 + b^

[NTG-context] Problem with \leqalignno

2016-09-10 Thread Mingranina Gingranina
Hello All, I am trying to compile the following example (from http://wiki.contextgarden.net/Math/Display) with context: \starttext \placeformula \startformula \leqalignno{c^2 &= a^2 + b^2 &\formulanumber{a} \cr a^2 + b^2 &= c^2 &\subformulanumber{b} \cr

Re: [NTG-context] Placement of numbers in numbered equations on the left

2016-09-10 Thread Otared Kavian
[location=right]} one gets: \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC = x_1x_2=\exp(\log(x_1x_2))\NR[eq:explag0] \NC \NC =\exp(\log x_1+\log x_2) = \exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 1+1=2 \stopformula \setupformulas[location

[NTG-context] Placement of numbers in numbered equations on the left

2016-09-07 Thread Otared Kavian
of numbers in equations numbered in an aligned environment and those which are by themselves. Please have a look at the attached PDF which is the result of the following example (using ConTeXt ver: 2016.09.06 19:11 MKIV beta). Best regards: OK %%% begin math-align.tex \starttext \placeformula

Re: [NTG-context] Bug in \placeformula

2016-09-02 Thread Otared Kavian
Hi Henri, Your are right there is an issue with \startmathcases…\stopmathcases: the equations are not numbered when using this structure. As a temporary solution you can use \startmatrix…\stopmatrix as in the following, or you can define your own \startalignedcases. \starttext \placeformula

[NTG-context] Bug in \placeformula

2016-09-02 Thread Henri Menke
Dear list, this formula is not numbered even though it should be. Please fix. \starttext \placeformula \startformula \startmathcases \NC 0 \NC $\mu > 2t$ \NR \NC \pi/2 \NC $\mu = 2t$ \NR \NC \pi \NC $\mu < 2t$ \NR \stopmathcases \stopformula \stoptext Cheers,

Re: [NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-28 Thread Mikael P. Sundqvist
P. Sundqvist <mic...@gmail.com> wrote: >> >> Hi, >> >> The test file >> >> \starttext >> \placeformula >> \startformula >> \startalign >> \NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR >> \NC \NC =\exp(\ln x_1+\ln x_2)=\

Re: [NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Otared Kavian
with startalign, and it seemed to me that Hans fixed it. But it appeared again with the beta 2016.08.11 13:56. Best regards: OK > On 17 Aug 2016, at 14:20, Mikael P. Sundqvist <mic...@gmail.com> wrote: > > Hi, > > The test file > > \starttext > \placeformula > \startfor

[NTG-context] \startalign \stopalign equation number placement seems wrong

2016-08-17 Thread Mikael P. Sundqvist
Hi, The test file \starttext \placeformula \startformula \startalign \NC \exp(t_1)\exp(t_2)\NC =x_1x_2=\exp(\ln(x_1x_2))\NR \NC \NC =\exp(\ln x_1+\ln x_2)=\exp(t_1+t_2).\NR[eq:explag1] \stopalign \stopformula \placeformula \startformula 1+1=2 \stopformula \stoptext gives the attached pdf

Re: [NTG-context] Wrap figures and equations

2016-07-13 Thread Otared Kavian
Hi Hans, I was going to report a similar issue with \placeformula and floats in general, as in the example below. However the trick suggested by Wolfgang does not solve all the problems and in fact in my real size document it triggers an error message saying

Re: [NTG-context] Bug in placeformula with framed text

2016-07-05 Thread Otared Kavian
Hi Hans, Thanks a lot for having fixed the issue I was reporting. Unfortunately I found another issue related to placeformula and alignment in math mode. In the following example the use of \startalign in a \placeformula triggers a weird behavior in the sense that the following instance

Re: [NTG-context] Bug in placeformula with framed text

2016-07-05 Thread Hans Hagen
On 7/4/2016 11:11 AM, Otared Kavian wrote: Below is an example (sorry if it is not absolutely minimal: I ran into this bug when updating a lecture notes which uses a left frame around \proclaim stuff). I attach the PDF showing the problem. I wonder whether this is related to the new features

[NTG-context] Bug in placeformula with framed text

2016-07-04 Thread Otared Kavian
Hi Hans, It seems that there is a bug in the latest beta (ConTeXt vesion: 2016.07.01 16:28) when using \placeformula with a framed text environment. The numbers for the formulas are placed incorrectly, on the left as well as on the right. Also, as one may see in the example below the numbering

[NTG-context] Fonts inside eqno{}

2016-04-29 Thread Freddy Omar López Quintero
expression \placeformula \startformula y = Z \beta_1 + Y \beta_2 + u \stopformula that changes to % \placeformula \startformula y = Z \beta_1 + Y \beta_2 + W_1\tau + u \eqno{ (1')} \stopformula \stoptext ​%%​ ​I would like the (1') ​keep the same kind of font than (1). Any

Re: [NTG-context] Vim snippets

2016-02-22 Thread Aditya Mahajan
') || finish endif let st = g:snip_start_tag let et = g:snip_end_tag let cd = g:snip_elem_delim let bt = st.et let si = IMAP_GetPlaceHolderStart() let ei = IMAP_GetPlaceHolderEnd() exec "Snippet for \\startformula".st.et."\\stopformula".si.ei exec "Snippet pfor \\p

[NTG-context] Formula-numbering and \setuphead[...][number=no]

2016-01-11 Thread Alias 1
] \setuphead[section][number=no] \starttext \chapter{foo} \placeformula \startformula E=mc^2 \stopformula \section{bar} \placeformula \startformula a^2+b^2=c^2 \stopformula \stoptext The second formula has only the formula number 2. I would expect the formula number 1.2 (or at least I would

Re: [NTG-context] Formula numbering

2015-09-08 Thread Wolfgang Schuster
Mari Voipio <mailto:mari.voi...@iki.fi> 8. September 2015 13:40 Hello! I recently had to reformat a document that contains mathematical notation and I was surprised how easy it was once I got the hang of it. There's only one tiny problem: I have one equation inserted with \placef

[NTG-context] Formula numbering

2015-09-08 Thread Mari Voipio
Hello! I recently had to reformat a document that contains mathematical notation and I was surprised how easy it was once I got the hang of it. There's only one tiny problem: I have one equation inserted with \placeformula. Currently this formula gets numbered as equation 2.1 as it is in chapter

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Otared Kavian
-formulas by invoking (\in[mylabel]), but if one wishes to refer to any individual sub-formula one has to give a label inside the structure \start—\stop—subformulas, at the level of \placeformula for that sub-formula. Below is your example, with these remarks. Thanks for your attention and help: OK

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\c_strc_formulas_inside_formulas_sub + \the\everyresetformulas % to be checked \dorechecknextindentation} % here ? begin example \usemodule[visual] \starttext \placeformula \startformula \fakeformula \stopformula %\startsubformulas[+] % These two options for \subformulas

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Otared Kavian
{Cha1} \section{A} \placeformula\startformula\fakeformula\stopformula \section{B} \placeformula\startformula\fakeformula\stopformula \subsection{Ba} \placeformula\startformula\fakeformula\stopformula \stoptext gives numbers in form of (1.1), (1.2

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Procházka Lukáš Ing . - Pontex s . r . o .
, prefixsegments=part, way=bysection, %way=bytext, %location=right, ] \def\fakeformula{a^2 + b^2 = c^2} \starttext \part{P1} \chapter{Cha1} \section{A} \placeformula\startformula\fakeformula\stopformula % 1.1 | 1.1 be part 1, formula #1 in the part \section{B

Re: [NTG-context] Numbering subformulas

2015-08-05 Thread Wolfgang Schuster
} % here ? begin example \usemodule[visual] \starttext \placeformula \startformula \fakeformula \stopformula %\startsubformulas[+] % These two options for \subformulas %\startsubformulas[mylabel] % enable subnumbers for the formulas \startsubformulas \placeformula \startformula

Re: [NTG-context] Numbering subformulas

2015-08-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
] \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:11] \NC a_2 x + b_2 y \NC = c_2 \NR[eq:12] \stopalign \stopformula \stopsubformulas \in{eq:11}[eq:11] \in{eq:12}[eq:12] \placeformula

[NTG-context] Numbering subformulas broken?

2015-08-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the following example (based on http://wiki.contextgarden.net/Math/Display#Automatic_Sub-Formula_Numbering ): \starttext \startsubformulas[eq:1] \placeformula[eq:1a] \startformula c^2 = a^2 + b^2 \stopformula \placeformula[eq:1b] \startformula

[NTG-context] Math alignment

2015-07-06 Thread Hans Aberg
. %\def\equlb#1{\left\{ \startalign #1 \stopalign\right.} %\def\equlb#1{\left\{ \startmathalignment #1 \stopmathalignment\right.} \startformula \placeformula[JcoordDef] J^j:\equlb{ω^0 → 0 \cr ω^j → 0} \quad \equlb{ω^k → ω^l \cr ω^l → -ω^k} \stopformula \stoptext

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-16 Thread Mojca Miklavec
On Fri, May 15, 2015 at 7:07 PM, luigi scarso wrote: a patch is available in trunk, rev. 5244 (not in TeXLive 2015) . Thank you, but something seems wrong. \starttext \hsize=2cm \dorecurse{10}{hi } $$a\eqno(a)$$ \placeformula \startformula a \stopformula $$a^2+b^2=c^2\eqno(b

[NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread Mojca Miklavec
problematic example: \starttext \placeformula \startformula \dorecurse{28}{a+} \stopformula \stoptext Thank you, Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Weird position of equation numbers for long equations

2015-05-14 Thread luigi scarso
that this positioning on the left is intentional: is there any way or setting to force the equation number to be moved to the right? This is a bug in luatex: http://tracker.luatex.org/view.php?id=807 Aditya isn't the the formula simply too long ? \starttext \placeformula \startformula 0

[NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. Thanks, Aditya

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Hans Hagen
On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
On Mon, 27 Apr 2015, Hans Hagen wrote: On 4/27/2015 11:24 AM, Aditya Mahajan wrote: Hi, How does one change the numberconversion for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Wolfgang Schuster
\placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] Using `characters` as numberconversion works, but `set 1` does not. Your original example with \setupformulas[numberconversion=set 1] works for me

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] Using `characters` as numberconversion works, but `set 1` does not. Your original example with \setupformulas

Re: [NTG-context] Changing coversion of formulas

2015-04-27 Thread Aditya Mahajan
for math formulas? The old method: \setupformulas[numberconversion=set 1] \starttext \placeformula \startformula E = mc^2 \stopformula \stoptext does not appear to work. \setupcounter[formula][numberconversion=set 1] Using `characters` as numberconversion works, but `set 1` does not. Your

[NTG-context] Writing between lines

2015-04-13 Thread Otared Kavian
{\darkgray{\infofont #1}}}\atop{}}\atop{}}$} \def\placeformularef[#1]{\doifmode{proofreading}% {\inrightmargin{\infofont #1}}% \placeformula[#1]} \definereferenceformat[Eqref][left=(,right=)] \def\eqref[#1]{\betweenlines{#1}\Eqref[#1]} \setupformulas[location=right] \enablemode

Re: [NTG-context] Writing between lines

2015-04-13 Thread Hans Hagen
}% {\inrightmargin{\infofont #1}}% \placeformula[#1]} \definereferenceformat[Eqref][left=(,right=)] \def\eqref[#1]{\betweenlines{#1}\Eqref[#1]} \setupformulas[location=right] \enablemode[proofreading] \starttext We have \placeformularef[eq:Square] \startformula a^2 + 2ab + b^2 = (a + b)^2

Re: [NTG-context] A couple of setupcaptions questions revisited

2015-04-11 Thread Rik Kabel
{Subsection} \placeformula \startformula a^2+b^2=c^2 \stopformula \stoptext This bug appears to still be with us. Has a solution since been proffered? If not, is a resolution in sight? -- Rik Kabel ___ If your

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Otared Kavian
of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} \definereferenceformat[eqref][left=(,right=),text={formula }] \setupformulas[location

Re: [NTG-context] \version[temporary] in mkiv

2015-04-11 Thread Hans Hagen
to write in the margin next to the number of the formula). The output is attached. % begin placeformula-ref.tex \def\placeformularef[#1]{\doifmodeelse{proofreading}% {\inrightmargin{\tt\txx #1}\placeformula[#1]}% {\placeformula[#1]}} less code \def\placeformularef[#1

[NTG-context] Help wanted: cross referencing

2015-04-08 Thread Otared Kavian
=bysection,location=left] \def\eqref#1{(\in[eq:#1])} \starttext \startchapter[title=Introduction to sequences of numbers] \startsection[title=On sequences,reference=sec:Sequences] \placeformula[eq:Number-e] \startformula a_{n} := \sum_{k=0}^n {1 \over n!} \stopformula \stopsection The sequence

Re: [NTG-context] Different renderings of cross references

2015-04-04 Thread Otared Kavian
{(\in[eq:#1])} \starttext \startchapter[title=Introduction to sequences of numbers] \startsection[title=On sequences,reference=sec:Sequences] \placeformula[eq:Number-e] \startformula a_{n} := \sum_{k=0}^n {1 \over n!} \stopformula \stopsection The sequence defined in equation \eqref{Number-e

[NTG-context] Different renderings of cross references

2015-04-03 Thread Otared Kavian
])} \starttext \startchapter[title=Introduction to sequences of numbers] \startsection[title=On sequences,reference=sec:Sequences] \placeformula[eq:Number-e] \startformula a_{n} := \sum_{k=0}^n {1 \over n!} \stopformula \stopsection The sequence defined in equation \eqref{Number-e} cannot converge

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread Otared Kavian
\{}, right={\right.}, style=\displaystyle] \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \placeformula \startformula K_1 \rightarrow \startalignedcases \NC f \NC \mbox{ for }\, f \ll PS

[NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread j. van den hoff
that use `\mathcases'. example: 8-- bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \placeformula \startformula K_1 \rightarrow \startmathcases \NC f \NC for $f \ll PS$ (flow

Re: [NTG-context] enumeration of equations containing \mathcases

2015-02-10 Thread j. van den hoff
={right,left,left}, distance=3pt, left={\left\{}, right={\right.}, style=\displaystyle] \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \placeformula

[NTG-context] \mathcases and equation numbering

2014-12-31 Thread j. van den hoff
bla bla bla bla bla bla bla bla bla bla bla bla bla bla \placeformula \startformula E(f) = \frac {K_1(f)} {f} \stopformula \placeformula \startformula K_1 \rightarrow \startmathcases \NC f \NC for $f \ll PS$ (flow limited transport) \NR \NC PS \NC for $f \gg PS

[NTG-context] misalignment of equation numbers

2014-12-27 Thread j. van den hoff
in this example: \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla \placeformula \startformula K_1 \rightarrow E(f) = \frac {K_1(f)} { f}\,. \stopformula \placeformula \startformula K_1 \rightarrow \startmathcases \NC

[NTG-context] Subformula numbering problem

2014-08-18 Thread Maggyero
No. Wolfgang This used to work, how is it possible that it does not work anymore? \starttext \startsubformulas[eq:equation] \placeformula[eq:first] \startformula c^2 = a^2 + b^2 \stopformula \placeformula[eq:second] \startformula c^2 = a^2 + b^2 \stopformula \stopsubformulas

[NTG-context] Subformula numbering problem

2014-08-13 Thread Maggyero
The second formula has NO NUMBER (example taken from the ConTeXt Garden's Math/Display page): \starttext \startsubformulas[eq:1] \placeformula[eq:first] \startformula c^2 = a^2 + b^2 \stopformula \placeformula[eq:second] \startformula c^2 = a^2 + b^2 \stopformula \stopsubformulas Formula

Re: [NTG-context] Leave out reference to page if on the same page?

2014-07-24 Thread Otared Kavian
\smartref{equation}[eq:Fermat]. \startplacefigure [reference=fig:alpha] \externalfigure \stopplacefigure \startplacefigure [reference=fig:beta] \externalfigure \stopplacefigure \input knuth.tex \placeformula[eq:Fermat] \startformula a,b,c \in {\Bbb N}^*, \quad n \geq 3, \quad a^n + b^n = c^n \imply

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-04 Thread Hans Hagen
needed to use equation numbers, however that is done in plain tex (the context run doesn't show the problem without the \placeformula). I suspect some internal state is getting slightly corrupted and getting progressively worse with the 30,000 repetitions. here it happens after a pagebreak (a few

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Sanjoy Mahajan
a luatex bug (testing that now) That is my suspicion as well. But I couldn't reproduce it with plain luatex. Though maybe I needed to use equation numbers, however that is done in plain tex (the context run doesn't show the problem without the \placeformula). I suspect some internal state is getting

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread luigi scarso
the problem without the \placeformula). I suspect some internal state is getting slightly corrupted and getting progressively worse with the 30,000 repetitions. I've been finding many unexplained 0.5pt or so differences, which may be related to the underbrace problem. The context, so to speak

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Hans Hagen
different in a trace) ... smells like a luatex bug (testing that now) That is my suspicion as well. But I couldn't reproduce it with plain luatex. Though maybe I needed to use equation numbers, however that is done in plain tex (the context run doesn't show the problem without the \placeformula

Re: [NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-07-03 Thread Wolfgang Schuster
(the context run doesn't show the problem without the \placeformula). I suspect some internal state is getting slightly corrupted and getting progressively worse with the 30,000 repetitions. here it happens after a pagebreak (a few lines overflow are ok) It does also depend on the width

[NTG-context] underbraces get progressively more misaligned (w/ minimal example)

2014-06-29 Thread Sanjoy Mahajan
the problem (I am using 2014.05.17 MkIV): \setupformulas[indentnext=auto, spacebefore=none, spaceafter=none] \starttext \dorecurse{3000}{ \placeformula\startformula \underbrace{\hbox{}}_{\rho} = \underbrace{\hbox{ }}_{\rho} \stopformula } \stoptext It'll produce a 162-page file

Re: [NTG-context] numerator is too high in \frac{3}{4}, in palatino

2014-05-17 Thread Sanjoy Mahajan
. However, the settings don't seem to affect fractions inside square roots. Here's an example (the 20pt setting is to exaggerate the possible effect), using 2014.05.17 beta. \starttext \placeformula\startformula \dfrac{ag}{bcd}\quad{ag\over bcd} \stopformula \placeformula\startformula \sqrt{1\over

[NTG-context] workaround for another too-low symbol in Pagella?

2014-05-09 Thread Sanjoy Mahajan
to the top of the H or E. \setupbodyfont[palatino] \starttext \placeformula\startformula \text{P}( H\,|\, E ) \stopformula \stoptext Again, I don't think it's a ConTeXt problem, but rather a Pagella problem. But is there a recommended ConTeXt workaround? Maybe a metafun symbol? -Sanjoy

Re: [NTG-context] workaround for another too-low symbol in Pagella?

2014-05-09 Thread Otared Kavian
in the surrounding text, to show how it's used (in probability, as P(H|E)). I think the bottom of the bar is correct, but the tip of the bar doesn't reach to the top of the H or E. \setupbodyfont[palatino] \starttext \placeformula\startformula \text{P}( H\,|\, E ) \stopformula \stoptext Again

Re: [NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-24 Thread Hans Hagen
\placeformula\startformula \sqrt{k\over m}\quad \sqrt{\displaystyle{k\over m}} \stopformula \setupmathradical[sqrt][alternative=mp] \placeformula\startformula \sqrt{k\over m}\quad \sqrt{\displaystyle{k\over m}} \stopformula \stoptext In the first line, the fractions come out fine. In the second line

[NTG-context] A couple of setupcaptions questions revisited

2014-04-22 Thread Rik Kabel
=chapter] %\setuphead[subsection][number=no] \setuphead[subsection][incrementnumber=no] \starttext \chapter{Chapter 1} \chapter{Chapter 2} \section{Section} \subsection{Subsection} \placeformula \startformula a^2+b^2=c^2 \stopformula \stoptext This bug appears to still

[NTG-context] \setupmathradical[sqrt] crunches denominator in an \over fraction

2014-04-21 Thread Sanjoy Mahajan
I have been trying out the newish \setupmathradical[sqrt][alternative=mp], which has been very nice because of the fine control over the radical sign. I've noticed that it crunches the denominator in \sqrt{a\over b} For example: \starttext \placeformula\startformula \sqrt{k\over m}\quad \sqrt

Re: [NTG-context] Euler with fallback

2014-03-03 Thread Sanjoy Mahajan
, ucgreek=normal] \starttext \placeformula\startformula M_{\rm Sun}\quad M_{\hbox{\tfx Sun}} \quad M_{\hbox{\tfxx Sun}} \quad M_{\tf Sun} \stopformula \stoptext ___ If your question is of interest to others as well, please

Re: [NTG-context] Euler with fallback

2014-03-03 Thread Sanjoy Mahajan
is symonym with \mathrm etc. The standard way to write this is _{\text{Sun}}. I agree about \rm. However, _{\tf blah} once (in MkII) selected the text font. e.g. \starttext \placeformula\startformula M_{\tf Sun} \stopformula \stoptext Is the II-IV change in \tf semantics intended? It's not hard

[NTG-context] superscripted \circ slightly too low?

2014-02-19 Thread Sanjoy Mahajan
The superscripted degree symbol in $10^\circ$ comes out slightly low. e.g. \starttext \placeformula\startformula 10^\circ \quad 10\mathstrut^\circ \stopformula \placeformula\startformula x^7\quad x\mathstrut^7 \stopformula \stoptext I'm not quite sure what's right, but my eye says

[NTG-context] bug/issue with components and preamble (Re: Euler with fallback)

2014-02-18 Thread Sanjoy Mahajan
, then the problem does not occur.) == test6.tex = \project testproject2 \startcomponent test \input knuth \placeformula\startformula a^2 + b^2 = c^2 \stopformula \stopcomponent == Here is the log file. It says 'result saved in test6.pdf' but no pdf file

Re: [NTG-context] [Math in ConTeXt]

2014-02-18 Thread Matthias Weber
otherwise. \startformula area(f) = \iint_{\Omega} |{f_u\times f_v}|\, du dv \stopformula % limit not centered over double integral \placeformula[-] \stoptext On Feb 16, 2014, at 5:30 AM, Otared Kavian ota...@gmail.com wrote: Hi all, After a series of exchanges on the list, on the topic of how

Re: [NTG-context] Euler with fallback

2014-02-16 Thread Sanjoy Mahajan
\placeformula\startformula a^2 + b^2 = c^2. \stopformula \stoptext If I add \appendtoks \rm \to \everymathematics \setupmathematics[lcgreek=normal, ucgreek=normal] just before \starttext, the math is typeset in roman pagella. What am I doing silly? Also, one of my reservations

Re: [NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2014-02-15 Thread Sanjoy Mahajan
with 2014.02.14 beta, and it is a big improvement. Again, sorry it took so long to test. If I use hoffset=3pt, it seems that some underbraces get 3-pt borders but others don't. For example, \setupmathstackers[vfenced][hoffset=3pt] \starttext \placeformula\startformula \underbrace{15\,\tf cm

Re: [NTG-context] Space problem after formulas inside itemize environments

2013-11-21 Thread Géry Ogam
Could you correct this space problem Hans? \startitemize \item Eeny, meeny, miny, moe \placeformula \startformula \text{Numbered formula: the space after is correct.} \stopformula \item Eeny, meeny, miny, moe \placeformula

Re: [NTG-context] Space problem after formulas inside itemize environments

2013-11-21 Thread Wolfgang Schuster
Am 21.11.2013 um 16:31 schrieb Géry Ogam maggy...@gmail.com: Could you correct this space problem Hans? \startitemize \item Eeny, meeny, miny, moe \placeformula \startformula \text{Numbered formula: the space after is correct

[NTG-context] Space problem after formulas inside itemize environments

2013-11-04 Thread Géry Ogam
Hello, I think there is a space problem after formulas inside itemize environments. E.g.: \starttext \startitemize \item Eeny, meeny, miny, moe \placeformula \startformula \text{Numbered formula: the space after is correct.} \stopformula

[NTG-context] Broken nightly (2013.10.04)

2013-10-13 Thread Kip Warner
Hey list, I've noticed a problem typesetting my book using ConTeXt nightly version 2013.10.04. The following code... \placeformula[formula:Limit of Verhulst equation] \startformula \lim_{t\to\infty} P(t) = K. \stopformula ...seems to raise the following error

Re: [NTG-context] Broken nightly (2013.10.04)

2013-10-13 Thread Wolfgang Schuster
Am 14.10.2013 um 00:14 schrieb Kip Warner k...@thevertigo.com: Hey list, I've noticed a problem typesetting my book using ConTeXt nightly version 2013.10.04. The following code... \placeformula[formula:Limit of Verhulst equation] \startformula \lim_{t\to\infty} P(t

Re: [NTG-context] Broken nightly (2013.10.04)

2013-10-13 Thread Marco Patzer
On 2013–10–13 Kip Warner wrote: I've noticed a problem typesetting my book using ConTeXt nightly version 2013.10.04. The following code... \placeformula[formula:Limit of Verhulst equation] \startformula \lim_{t\to\infty} P(t) = K. \stopformula ...seems

Re: [NTG-context] Conditional float references

2013-09-25 Thread Otared Kavian
, and it is quite useful to be able to visualize such things. For instance I use a quick and dirty macro to print in the margin « eq:Fermat » to the right of the following formula \placeformula[eq:Fermat] \startformula a,b,c \in {\Bbb N}^*, \quad n \geq 3, \quad a^n + b^n = c^n \imply abc = 0

Re: [NTG-context] startitemize bad with columns

2013-09-21 Thread Hans Hagen
} \stopformula \item \startformula \left(\left(\frac{1}{-16}\right)^{-2} \colon \left(\frac{-2}{16}\right)^3\right)^{-3} \stopformula \stopitemize \startformula goes into displaymode so is used in cases like \startmixedcolumns[balance=yes] \placeformula\startformula 5^{-3} \colon 5^4 \stopformula

Re: [NTG-context] startitemize bad with columns

2013-09-21 Thread Xan
\startformula goes into displaymode so is used in cases like \startmixedcolumns[balance=yes] \placeformula\startformula 5^{-3} \colon 5^4 \stopformula \placeformula\startformula (2^{3})^{-2} \cdot 2^{-3} \stopformula \placeformula\startformula \frac{(-4)^2 \cdot 2^3}{2^{-2}} \stopformula

Re: [NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2013-07-11 Thread Hans Hagen
On 7/10/2013 2:02 PM, Sanjoy Mahajan wrote: In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L} \stopformula \stoptext === Using 2013.05.28 00:36

[NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2013-07-10 Thread Sanjoy Mahajan
In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L} \stopformula \stoptext === Using 2013.05.28 00:36 MKIV (from vanilla TL2013), the left brace tip

Re: [NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2013-07-10 Thread Marco Patzer
On 2013–07–10 Sanjoy Mahajan wrote: In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L} \stopformula \stoptext === \starttext

Re: [NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2013-07-10 Thread Rudolf Bahr
On Wed, Jul 10, 2013 at 02:13:28PM +0200, Marco Patzer wrote: On 2013–07–10 Sanjoy Mahajan wrote: In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L

[NTG-context] NTG-context] How to hack the lua files

2013-06-17 Thread Lance Larsen
: test1.tex: - \starttext \chapter{Chapter 1} \placeformula[one] \startformula x = y \stopformula \placeformula[two] \startformula y = z \stopformula \chapter{Chapter 2} \placeformula[three] \startformula z = x \stopformula \stoptext test2.tex: -- \usereferences[test1.tex

[NTG-context] mathvariant bold NOT bold-italic

2013-06-16 Thread Steffen Wolfrum
Hi, as far as I have understood MathML, elements tagged with mathvariant=bold should be set upright bold, not bold-italic. Could this be corrected, please? Thank you very much! Steffen --- \usemodule[mathml] \starttext \placeformula\startformula[9pt] \setbuffer mml:math xmlns:mml=http

Re: [NTG-context] setupformulas

2013-06-11 Thread Wolfgang Schuster
. \setupformula[prefix=no] \setuplabeltext[formula=Steffen-] \starttext \chapter{Chapter} \placeformula \startformula c^2 = a^2 + b^2 \stopformula \stoptext Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] setupformulas

2013-06-11 Thread Steffen Wolfrum
)? It’s not a prefix but you can set a labeltext. \setupformula[prefix=no] \setuplabeltext[formula=Steffen-] \starttext \chapter{Chapter} \placeformula \startformula c^2 = a^2 + b^2 \stopformula \stoptext nice, thank you. i was looking for a key within setupformula, and didn't think

[NTG-context] mathml linebreak?

2013-06-09 Thread Steffen Wolfrum
Hi, usually it is possible to break long formulas. But is there a way to do so, when formula is coded in mathml (see example below)? Thanks, Steffen --- \placeformula\startformula[9pt] \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML; msub xmlns=http://www.w3.org/1998

[NTG-context] mathvariant bold

2013-06-08 Thread Steffen Wolfrum
Hi, any idea, how to get it mi mathvariant=boldp/mi typeset in bold?? Steffen --- \usemodule[mathml] \starttext \placeformula\startformula[9pt] \setbuffer mml:math xmlns:mml=http://www.w3.org/1998/Math/MathML; mi xmlns=http://www.w3.org/1998/Math/MathML;π/mi mo xmlns=http://www.w3

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
have an equation: \placeformula \startformula \NC F = m a \NC \NR[eq:newtonslaw] \stopformula I need a way to log the fact that 'eq:newton' became something like equation (2.3). I hoped there was a tracker that printed this out (maybe there is, but I haven't found it). So I thought maybe I could

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread luigi scarso
equation references to the equation number generated by context. So for example, if I have an equation: \placeformula \startformula \NC F = m a \NC \NR[eq:newtonslaw] \stopformula \usemodule[newmath] \setupformulas[way=bytext,prefix=no] \setupsubformulas[conversion=romannumerals] \starttext

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Wolfgang Schuster
that is available that might get me started? What I trying to do is map equation references to the equation number generated by context. So for example, if I have an equation: \placeformula \startformula \NC F = m a \NC \NR[eq:newtonslaw] \stopformula \usemodule[newmath] From the log

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Hans Hagen
'. For instance, currently, formula references come from structure lists (which also indicates that there can be lists of formulas). The following demonstrates this. \setupbodyfont[pagella] \starttext \placeformula[a] \startformula a \stopformula see \in{formula}[a] \placeformula[b] \startformula b

Re: [NTG-context] How to hack the lua files

2013-06-07 Thread Lance Larsen
. So for example, if I have an equation: \placeformula \startformula \NC F = m a \NC \NR[eq:newtonslaw] \stopformula \usemodule[newmath] \setupformulas[way=bytext,prefix=no] \setupsubformulas[conversion=romannumerals] \starttext \placenamedformula[eq:TEST]{Der einfache Test} \startformula c

[NTG-context] White Space after \startalign

2013-04-08 Thread Devendra Ghate
for your time in advance. *MWE* \starttext¬ Some text before the equation.¬ \placeformula¬ \startformula \startalign¬ \NC a \NC= b\NR¬ \NC c \NC= d\NR[eq:trivial]¬ \stopalign \stopformula¬ Some text after the equation.¬ \stoptext¬ Regards, Devendra Ghate

Re: [NTG-context] White Space after \startalign

2013-04-08 Thread Hans Hagen
am making a silly mistake. Thank you for your time in advance. a side effect of \startalign being math or text aware (lookahead issue in low level tex align) ... fixed in next upload *MWE* \starttext¬ Some text before the equation.¬ \placeformula¬ \startformula \startalign¬ \NC

Re: [NTG-context] Bug in \column

2013-03-22 Thread Xan
\startexercici Resoleu emprant el mètode de substitució: \placeformula \startformula \startmathalignment \NC x + 3y \NC = 9 \NR[+] \NC 2x - y \NC = 3 \NR \stopmathalignment \stopformula \stopexercici \startexercici Resoleu pel mètode de reducció: \placeformula \startformula \startmathalignment \NC 3x

[NTG-context] Bug in \column

2013-03-18 Thread Xan
comuna} \startcolumns \startexercici Resoleu emprant el mètode de substitució: \placeformula \startformula \startmathalignment \NC x + 3y \NC = 9 \NR[+] \NC 2x - y \NC = 3 \NR \stopmathalignment \stopformula \stopexercici \startexercici Resoleu pel mètode de reducció: \placeformula

<    1   2   3   4   5   6   7   >