[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread Bruce Horrocks
> On 21 Feb 2024, at 08:17, madiazm.eo...@gmail.com wrote: > > Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit > lua in summer. > I just got an error on \qquad and found searching in internet that it was > because escape character conflicts b

[NTG-context] Re: using an end of line as parameter

2024-02-21 Thread madiazm . eoicc
Thanks a lot Bruce, that did the trick! definitely I will have to learn a bit lua in summer. I just got an error on \qquad and found searching in internet that it was because escape character conflicts between tex and lua. For the time i removed it and since I will create itemizes I hope I dont

[NTG-context] Re: using an end of line as parameter

2024-02-20 Thread Bruce Horrocks
cker = 0 the_question = {} else tracker = tracker + 1 the_question[tracker] = the_buffer[i] end -- If tracker has got to 4 then we've read four lines if tracker == 4 then context.startlines() context("{\\bf Beispiel

[NTG-context] Re: using an end of line as parameter

2024-02-19 Thread Hans Hagen
. For the example, I use this macro definition (which does no work!) \long\def\prueba #1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]% {{\bf Beispiel}: #1\\ \qquad  a) #2\\ \qquad  b) {\bf #3}\\ \qquad  c) #4 } I get: tex error on line 493 in file

[NTG-context] using an end of line as parameter

2024-02-19 Thread Miguel Diaz
does no work!) \long\def\prueba #1\par#2\par#3\par#4ñ{\framed[frame=off,width=0.8\textwidth,corner=round,offset=1em,align=flushleft]% {{\bf Beispiel}: #1\\ \qquad a) #2\\ \qquad b) {\bf #3}\\ \qquad c) #4 } I get: tex error on line 493 in file ./prueba.tex: The file ended when scanning

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

2023-07-07 Thread Hans Hagen via ntg-context
On 7/7/2023 1:09 PM, Carlos wrote: \showmakeup displays it astonishingly correctly indeed probably a side effect of the fact that injected stuff resynchronizes the character progression in the pdf file (every char start with explicit coordinates) while without showing it depends on the width

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

2023-07-07 Thread Carlos
ybe bad metricks then but > > > > > I'm > > > > > not going to look into that as the official TUG lucida opentype fonts > > > > > perform okay. > > > > > > > > > > Hans > > > > > > > > The first sentence

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

2023-07-06 Thread Carlos
> Hans > > > > > > The first sentence is irrelevant. And a guess. Bad metrics is not the > > > culprit > > > > > > if it were true, the same problem would be under lualatex, correct? > > > > well, who knows what (me)tricks

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

2023-07-06 Thread Carlos
On Wed, Jul 05, 2023 at 07:37:56PM +0200, Hans Hagen via ntg-context wrote: > On 7/5/2023 7:05 PM, Carlos wrote: > > > And I don't want to stir up anything here either, but if the convention of > > using non-official vs official fonts is the new de facto under lmtx, > > I guess my opening

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

2023-07-06 Thread Carlos
gt; > > perform okay. > > > > > > Hans > > > > The first sentence is irrelevant. And a guess. Bad metrics is not the > > culprit > > > > if it were true, the same problem would be under lualatex, correct? > > well, who knows what (me)tri

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

2023-07-05 Thread Hans Hagen via ntg-context
On 7/5/2023 7:05 PM, Carlos wrote: And I don't want to stir up anything here either, but if the convention of using non-official vs official fonts is the new de facto under lmtx, I guess my opening question is invalid by all acounts Well, the policy wrt font is quite simple: (1) one can

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

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 06:15:41PM +0200, Alan Braslau via ntg-context wrote: > 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

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

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote: > On 7/5/2023 5:53 PM, Carlos wrote: > > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > \showmakeup on \TeX\ shows a > > > > > > > > tSP:3.282 > > > > THK:-1.721 > > > > H__E

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

2023-07-05 Thread Hans Hagen
math) But it's not there. I can't (and won't) check that as I don't have (lua)latex installed nor have those fonts. I also don't see where this \qquad is in your example. As for the \showmakup ... it is used extensively and afaiks there are no issues with it. Hans

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

2023-07-05 Thread Carlos
On Wed, Jul 05, 2023 at 06:12:32PM +0200, Hans Hagen wrote: > On 7/5/2023 5:53 PM, Carlos wrote: > > On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: > > > On 7/5/2023 3:18 PM, Carlos wrote: > > > > \showmakeup on \TeX\ shows a > > > > > > > > tSP:3.282 > > > > THK:-1.721 > > > > H__E

[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

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

2023-07-05 Thread Hans Hagen
On 7/5/2023 5:53 PM, Carlos wrote: On Wed, Jul 05, 2023 at 04:43:56PM +0200, Hans Hagen wrote: On 7/5/2023 3:18 PM, Carlos wrote: \showmakeup on \TeX\ shows a tSP:3.282 THK:-1.721 H__E X HK:-1.291 SP:3.282 no MWE includes so clueless \starttypescript[mylucidaserif]

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

2023-07-05 Thread Carlos
41 MB mkiv lua stats > lua properties: engine: lua 5.4, used memory: 62 MB, ctx: 59 MB, max: 59 MB, symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.508 seconds, 1 processed pages, 1 shipped pages, 1.967 pages/second > > > > > > I assume that SP stands for space

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

2023-07-05 Thread Carlos
as to what does HK means there? > > horizontal kern thanks (sorry for duplicate messages. sending out to mailing list works sporadically Sometimes works, other times doesn't). > > > Anyhow > > > > If I were to have, say, a control _word_ such as \TeX\, the sequen

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

2023-07-05 Thread Hans Hagen
ave a a \qquad preceding the control sequence e.g., {\qquad \TeX\ significantly} to sort of ameliorate this side-effect. But then again. Spacing is off. e.g., no MWE so a space cam come from anywhwere The separation of any of these four components would have hurt {\qquad\TeX\ significantly}. If I

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

2023-07-05 Thread Carlos
rmation as to what does HK means there? > > > > Anyhow > > > > If I were to have, say, a control _word_ such as \TeX\, the sequence of > > TeX kerning is thrown off. The only remedy would be to have a a \qquad > > preceding the control sequence e.g., {\qquad >

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

2023-07-05 Thread Carlos
quence of > TeX kerning is thrown off. The only remedy would be to have a a \qquad > preceding the control sequence e.g., {\qquad > \TeX\ significantly} to sort of ameliorate this side-effect. But then > again. Spacing is off. e.g., > > The separation of any of these four components

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

2023-07-05 Thread Carlos
can provide me more information as to what does HK means there? Anyhow If I were to have, say, a control _word_ such as \TeX\, the sequence of TeX kerning is thrown off. The only remedy would be to have a a \qquad preceding the control sequence e.g., {\qquad \TeX\ significantly} to sort

Re: [NTG-context] Building fomula

2023-03-25 Thread Willi Egger via ntg-context
rac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad > {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo} > \stopformula > > \stoptext > > > Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context > a écrit : > Good afternoon everybody, > &

Re: [NTG-context] Building fomula

2023-03-25 Thread Alexandre Christe via ntg-context
Hi Willi, A dead simple solution would be \starttext \startformula {\frac{47 \times 62}{44 \times 56}} \times {12} \qquad \rm{or} \qquad {{\frac{47 \times 62 \times 12}{44 \timess 56}}=14.2 \rm kilo} \stopformula \stoptext Le sam. 25 mars 2023 à 18:09, Willi Egger via ntg-context <

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

2023-03-14 Thread Hans Hagen via ntg-context
On 3/13/2023 10:55 PM, Gavin wrote: On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context wrote: On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: \startformula \unit{3 meter} \qquad \unit{6 Meter} \qquad \unit{3 mEtEr} \qquad \stopformula Units with lowercase prefixes (c, k, n

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

2023-03-13 Thread Gavin via ntg-context
> On Mar 13, 2023, at 3:44 PM, Hans Hagen via ntg-context > wrote: > > On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: >> \startformula >> \unit{3 meter} \qquad >> \unit{6 Meter} \qquad >> \unit{3 mEtEr} \qquad >> \stopformula

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

2023-03-13 Thread Hans Hagen via ntg-context
On 3/9/2023 2:04 PM, Gavin via ntg-context wrote: \startformula \unit{3 meter} \qquad \unit{6 Meter} \qquad \unit{3 mEtEr} \qquad \stopformula Units with lowercase prefixes (c, k, n). \startformula \unit{3cm} \qquad \unit{6kg} \qquad \unit{3ns} \qquad \stopformula Units

Re: [NTG-context] Bug in maths environment: thematrix

2023-03-12 Thread Hans Hagen via ntg-context
noticed this bug two weeks ago, but could not produce a minimal example until now… Please see below, in particular the output for the matrices M_1, M_2 and M_3… Best regards: Otared % begin bug-thematrix.tex \starttext \startformula M_{1}(t) := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad B_{1}(t

[NTG-context] Bug in maths environment: thematrix

2023-03-09 Thread Otared Kavian via ntg-context
a minimal example until now… Please see below, in particular the output for the matrices M_1, M_2 and M_3… Best regards: Otared % begin bug-thematrix.tex \starttext \startformula M_{1}(t) := \thematrix{{\rm e}^s ; {\rm e}^t}, \qquad B_{1}(t) := \thematrix{1 , {\rm e}^t}, \stopformula \startformula M_{2

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

2023-03-09 Thread Gavin via ntg-context
\unit{3 meter} \qquad \unit{6 Meter} \qquad \unit{3 mEtEr} \qquad \stopformula Units with lowercase prefixes (c, k, n). \startformula \unit{3cm} \qquad \unit{6kg} \qquad \unit{3ns} \qquad \stopformula Units with capital letters, called with names (coulomb, kelvin, newton). \startformula

Re: [NTG-context] Bug in math alignment

2022-11-03 Thread Otared Kavian via ntg-context
ed, > align={1:right,2:left,3:left}, > strut=yes, > ] > > \starttext > > \placeformula > \startformula > \startpdeproblem > \NC - \Delta u \NC = 0 \NC \qquad\text{in } \Omega \NR > \NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC > \qquad\text{on } \p

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Mikael Sundqvist via ntg-context
ents, as it is is shown in the following example. > > > I confirm what you said. > > However, if I use \dm{} instead of \displaystyle as following, then the > output is correct. > > \placeformula > \startformula > \startalignedcases > \NC - \Delta u \NC = 0 \NC \qquad\te

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Otared Kavian via ntg-context
use \dm{} instead of \displaystyle as following, then the > output is correct. > > \placeformula > \startformula > \startalignedcases > \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR > \NC \dm{\frac{\partial u}{\partial {\bi n}}} > \NC = V u + \phi \NC \

Re: [NTG-context] Bug in math alignment

2022-11-02 Thread Jeong Dal via ntg-context
placeformula \startformula \startalignedcases \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR \NC \dm{\frac{\partial u}{\partial {\bi n}}} \NC = V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR \stopalignedcases \stopformula or this (with\type{\displaystyle} added) \placeformula \

[NTG-context] Bug in math alignment

2022-11-02 Thread Otared Kavian via ntg-context
={\left\{}, right={\right.}, style=\displaystyle] \starttext Consider this \placeformula \startformula \startalignedcases \NC - \Delta u \NC = 0 \NC \qquad\text{in }\, \Omega \NR \NC \frac{\partial u}{\partial {\bi n}} \NC = V u + \phi \NC \qquad\text{on }\, \partial\Omega. \NR

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-18 Thread Otared Kavian via ntg-context
] [align={1:right,2:left,3:left}]} \starttext \doifelsemode{lmtx}{We are using LMTX}{We are using mkiv} \placeformula[eq:1] \startformula \startalignedcases \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, \Omega\times (0,+\infty) \NR \NC {\partial\phi(u) \over \partial

Re: [NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Aditya Mahajan via ntg-context
t; \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, > \Omega\times (0,+\infty) \NR > \NC {\partial\phi(u) \over \partial{\bi n}} \NC = 0 \NC\qquad\text{on }\, > \partial \Omega\times (0,+\infty)\NR > \NC u(x,0) \NC = u_{0}(x)\NC\qquad\text{in }\, \Om

[NTG-context] Bug in alignment with LMTX version 2022.01.15 17:32

2022-01-17 Thread Otared Kavian via ntg-context
, left={\left\{}, right={\right.}, style=\displaystyle] \starttext \placeformula[eq:1] \startformula \startalignedcases \NC \partial_{t} u \NC = \Delta u + \epsilon^{-2}f(u) \NC\qquad\text{in }\, \Omega\times (0,+\infty) \NR \NC {\partial\phi(u) \over

[NTG-context] sqrt does not align properly

2021-05-05 Thread Benny Schurig
Peak of the root ends at baseline, but only in some cases: \starttext   $\sqrt{2}$ \qquad $\sqrt{a^2+b^2}$ \qquad $\sqrt{a^2-b^2}$ \stoptext In this example only \sqrt{a^2+b^2} works as expected [ConTeXt  ver: 2021.04.29 23:09 LMTX  fmt: 2021.5.4] Typesetting in ConTeXt live is correct

[NTG-context] fancybreak fails in LMTX

2020-11-07 Thread Rik Kabel
the break should be, as shown in the included snips. \usemodule  [fancybreak] \definesymbol   [asterisms][*\qquad fancybreak\qquad *] \setupfancybreak[indentnext=no,symbol=asterisms] \starttext   Before \fancybreak   After \stoptext MkIV output: LMTX output

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
Stix Math, TeX > Gyre Math, and so on, but doing this the math-italic does not appear in these > fonts: does this mean that I have to set explicitely math-italic in > definefontfamily? > > Also what is the best math font adapted for Nimbus? > > Below is my definition of a

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Otared Kavian
traat 27 | 8061 GH Hasselt | The Netherlands >>tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl >> ----- >> >> >> -- >> >> Message: 5 >&

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jairo A. del Rio
; Below is my definition of a fontfamily for Nimbus fonts. > > Thanks in advance for any help: Otared K > > %% begin definefontfamily-nimbus.tex > \definefontfamily [mainface] [rm] [Nimbus Roman No9 L] > \definefontfamily [mainface] [ss] [Nimbus Sans L] [rscale=0.85] > \defi

[NTG-context] Math fonts for Nimbus fonts

2020-09-21 Thread Otared Kavian
\it Italic \bf Bold \bi BoldItalic} And here are a few math formulas $\alpha^2 + \beta^2 + \gamma^2 = x^2 + y^2 + t^2$. \startformula \int_{0}^{2\pi} \sin(x)dx = 0, \qquad {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \sum_{n=1}^{\infty}{1 \over n^2} = {\pi^2 \over 6}. \stopformula \stoptext %% end

Re: [NTG-context] math align broken

2019-12-16 Thread Jeong Dal
aligned display mode \startformula\startalign[m=2] \NC 2^7 \equiv \qquad \NC \pmod {341}, \NC 14^7 \equiv \qquad \NC \pmod {341}, \NR \NC 11^7 \equiv \qquad \NC \pmod {341}, \NC 3^7 \equiv \qquad \NC \pmod {341}, \NR \stopalign\stopformula \startformula\startalign[n=3

Re: [NTG-context] Bug in lmtx in display mathmode

2019-08-19 Thread Hans Hagen
define its {\it limit inferior}, denoted $\liminfbar$ by setting: \startformula a_{n} := \inf\{u_{k} \; ; \; k \geq n \}, \qquad\text{and then}\quad \liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}. \stopformula \stoptext %%% end bug-math-lmtx.tex also in yesterdays beta? Hans

[NTG-context] Bug in lmtx in display mathmode

2019-08-18 Thread Otared Kavian
$\liminfbar$ by setting: \startformula a_{n} := \inf\{u_{k} \; ; \; k \geq n \}, \qquad\text{and then}\quad \liminfbar_{n\to\infty} u_{n} := \sup_{n \geq 1} a_{n}. \stopformula \stoptext %%% end bug-math-lmtx.tex ___ If your

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
\startalign[n=3,align={left,right}] > and finish the alignment with > \stopalign > > Is this what you are looking for? > > \starttext > \startformula > \startalign[n=3,align={left,right}] >\NC \qquad > \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overli

Re: [NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Otared Kavian
Hi Fabrice, I think you have to use \startalign[n=3,align={left,right}] and finish the alignment with \stopalign Is this what you are looking for? \starttext \startformula \startalign[n=3,align={left,right}] \NC \qquad \NC\frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD

[NTG-context] Equivalent of alignat of amsmath with context

2019-01-05 Thread Fabrice Couvreur
Hi, I'm trying to get the same result for this file compiled with latex. Thanks. Fabrice \documentclass{article}\usepackage{amsmath} \begin{document} \begin{alignat*}{2}&\qquad& \frac{\lvert\overline{AD}\rvert}{\lvert\overline{CD}\rvert} &=\frac{\lvert\overline{DC}\rvert}{\lvert

Re: [NTG-context] \quad confusion

2018-12-27 Thread Henri Menke
idth} > \unexpanded\def\quad {\hskip \emwidth} > \unexpanded\def\qquad {\hskip 2\emwidth} > > The syntax for the \hskip primitive is > > \hskip > > and the definition of is > > plusminus > > So “\quad minuskel” will expand to “\hskip\emwidth

Re: [NTG-context] \quad confusion

2018-12-27 Thread Henri Menke
make the error appear. > If i rewrite minus by {minus} the error does not show up either. That's because the skips in spac-hor.mkiv are defined like this \unexpanded\def\enskip{\hskip.5\emwidth} \unexpanded\def\quad {\hskip \emwidth} \unexpanded\def\qquad {\hskip 2\em

Re: [NTG-context] two nested \mathbin command changes spacing

2018-05-17 Thread Hans Hagen
On 4/30/2018 6:50 PM, Ulrike Fischer wrote: In the following document the second a is much nearer placed to the V: \starttext $V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $ \stoptext (in the second case an italic kern seems to be missing) Can one avoid this side effect of nested \math

Re: [NTG-context] two nested \mathbin command changes spacing

2018-05-01 Thread Ulrike Fischer
Am Tue, 1 May 2018 10:12:42 +0200 schrieb Hans Hagen: > On 4/30/2018 6:50 PM, Ulrike Fischer wrote: >> In the following document the second a is much nearer placed to the >> V: >> >> \starttext >> $V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $ >&g

Re: [NTG-context] two nested \mathbin command changes spacing

2018-05-01 Thread Hans Hagen
On 4/30/2018 6:50 PM, Ulrike Fischer wrote: In the following document the second a is much nearer placed to the V: \starttext $V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $ \stoptext (in the second case an italic kern seems to be missing) Can one avoid this side effect of nested \math

[NTG-context] two nested \mathbin command changes spacing

2018-04-30 Thread Ulrike Fischer
In the following document the second a is much nearer placed to the V: \starttext $V \mathbin{a} W \qquad V \mathbin{\mathbin{a}} W $ \stoptext (in the second case an italic kern seems to be missing) Can one avoid this side effect of nested \math-command? When building symbols it is not always

Re: [NTG-context] eqalignno failin

2017-04-27 Thread Meer, Hans van der
I had this code: 99 \placeformula\startformula 100 \eqalignno{ 101 >> H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 102 W(I,J) &= H(J) - H(J|I)\qquad&\hbox{\ineq[eq:wedinfo]}\cr 103 } 104 \stopformula On 26 Apr 2017, at 16:38, Otared Kav

Re: [NTG-context] eqalignno failing

2017-04-26 Thread Otared Kavian
ced alignment tab character & > > & > > l.101 H(I,J) & > = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr > > 99 \placeformula\startformula > 100 \eqalignno{ > 101 >> H(I,J) &= H(I) + H(J|I)\qquad&\hbox{\ineq[eq:eq

[NTG-context] eqalignno failing

2017-04-26 Thread Meer, Hans van der
This code now fails where before contextbeta had no problems: tex error > tex error on line 101 in file Info/waarneming.tex: ! Misplaced alignment tab character & & l.101 H(I,J) & = H(I) + H(J|I)\qquad&\hbox{\ineq[eq:equivoc]}\cr 99 \placeformu

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Alan Bowen
;> \definereferenceformat [cite] [type=title,left={},right={}] >> \definereferenceformat [bibpage] [type=page] >> >> \starttext >> >> \startbibitem[A, B, and C]\stopbibitem % TEST by commenting >>

Re: [NTG-context] new lua/stack error

2017-02-24 Thread Hans Hagen
\startbibitem[ABC]\stopbibitem \startbibitem[A]\stopbibitem \startbibitem[B]\stopbibitem \startbibitem[C]\stopbibitem * \cite[A, B, and C] \qquad{\red output should be: A{,} B{,} and C} **\cite[ABC] \qquad{\r

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
>>> >>> \definereferenceformat [cite] [type=title,left={},right={}] >>> \definereferenceformat [bibpage] [type=page] >>> >>> \starttext >>> >>> \startbibitem[A, B, and C]\stopbibitem % TEST by commenting these >>> %\startbi

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Alan Bowen
ibitem[A, B, and C]\stopbibitem % TEST by commenting these >> %\startbibitem[A{,} B{,} and C]\stopbibitem% lines out >> >> \startbibitem[ABC]\stopbibitem >> \startbibitem[A]\stopbibitem >> \startbibitem[B]\stopbibitem >> \startbibitem[C]\stopbibitem >> >

Re: [NTG-context] new lua/stack error

2017-02-23 Thread Hans Hagen
% lines out \startbibitem[ABC]\stopbibitem \startbibitem[A]\stopbibitem \startbibitem[B]\stopbibitem \startbibitem[C]\stopbibitem * \cite[A, B, and C] \qquad{\red output should be: A{,} B{,} and C} **\cite[ABC] \qquad{\red output should be: ABC} ***\cite[A], \cite[B], \cite[C] \qquad{\red output

Re: [NTG-context] new lua/stack error

2017-02-22 Thread Alan Bowen
\startbibitem[A]\stopbibitem \startbibitem[B]\stopbibitem \startbibitem[C]\stopbibitem * \cite[A, B, and C] \qquad{\red output should be: A{,} B{,} and C} **\cite[ABC] \qquad{\red output should be: ABC} ***\cite[A], \cite[B], \cite[C] \qquad{\red output should be: A, B, C} \cite[A]\cite[B

Re: [NTG-context] align text and formula

2017-02-09 Thread Jan Willem Flamma
gt;>> I apologize for not explaining it better. >>> >>> Maybe the below example will illustrate better what I’m trying to achieve. >>> - The first formula is perfectly aligned. >>> - The bottom three formulas do not line up with the top formula >>> &

Re: [NTG-context] Vertical space around displayed formulas

2017-01-18 Thread Otared Kavian
what is wrong: please have a look at the second formula in the attached PDF. (The output with the older version from TeXLIve 2016 is correct). %% begin vertical-space-bug.tex \starttext \input knuth.tex \startformula a \leq a_{n+1} \leq a_{n} \leq b_{n+1} \leq b_{n} \leq b, \qquad\mbox{et}\qquad 0

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Florian Leupold
t;> \Clozed{\color[white]{x}\quad\color[red]{CLOZE 3}\quad\color[white]{x}} >>> \input ward >>> \Clozed{\color[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}} >>> \input ward >>> space \Clozed{\color[red]{CLOZE 5}\qquad\color[white]{x}} space >

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Florian Leupold
\input ward >> \Clozed{\color[red]{CLOZE 1}} >> \input ward >> \Clozed{\quad\color[red]{CLOZE 2}\quad} >> \input ward >> \Clozed{\color[white]{x}\quad\color[red]{CLOZE 3}\quad\color[white]{x}} >> \input ward >> \Clozed{\color[green]{x}\quad\color[red]{CL

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Hans Hagen
]{CLOZE 3}\quad\color[white]{x}} \input ward \Clozed{\color[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}} \input ward space \Clozed{\color[red]{CLOZE 5}\qquad\color[white]{x}} space \input ward \stoptext in next beta you can specify an empty option which will remove the text (otherwise

Re: [NTG-context] Creating cloze texts

2016-09-04 Thread Hans Hagen
r[green]{x}\quad\color[red]{CLOZE 4}\quad\color[white]{x}} \input ward space \underbar{\color[red]{CLOZE 5}\qquad\color[white]{x}} space \input ward \stoptext I would greatly appreciate help with this problem. \definebar[ClozedBar][underbar][continue=yes] \unexpanded\def\Clozed#1{\ClozedBar{

[NTG-context] Creating cloze texts

2016-09-02 Thread Florian Leupold
r[white]{x}} \input ward space \underbar{\color[red]{CLOZE 5}\qquad\color[white]{x}} space \input ward \stoptext I would greatly appreciate help with this problem. Thanks so much in advance! Florian signature.asc Description: Message signed with OpenPGP usi

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
Otared, >>> >>> I apologize for not explaining it better. >>> >>> Maybe the below example will illustrate better what I’m trying to achieve. >>> - The first formula is perfectly aligned. >>> - The bottom three formulas do not line up with the top for

Re: [NTG-context] align text and formula

2016-08-25 Thread Jan Willem Flamma
gt; I apologize for not explaining it better. >> >> Maybe the below example will illustrate better what I’m trying to achieve. >> - The first formula is perfectly aligned. >> - The bottom three formulas do not line up with the top formula >> >> I’m trying to align all formula

Re: [NTG-context] align text and formula

2016-08-25 Thread Henri Menke
t; - The bottom three formulas do not line up with the top formula > > I’m trying to align all formulas regardless of the amount of text added to > the left of the formula. > Of course I could add \qquad or \quad to try and manually align but basically > I’m interested to know if a

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
t; > %%% begin example.tex > \starttext > > \setupformulas[align=flushleft] > \startformula > \startalign[n=2,align={left,middle}] > \NC \text{Text1}\NC\qquad E = mc^2\NR > \NC \text{Text2}\NC\qquad E = mc^2\NR >

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
of text added to the left of the formula. Of course I could add \qquad or \quad to try and manually align but basically I’m interested to know if a fool proof method exist that aligns all without using \\qquad or \quad \starttext % Mid-aligned formula \startformula E = mc^2 \stopformula

Re: [NTG-context] align text and formula

2016-08-24 Thread Otared Kavian
=flushleft] \startformula \startalign[n=3,align={left,middle}] \NC \text{Text1}\NC \qquad\NC E = mc^2\NR \NC \text{This is an explanation}\NC\qquad\NC E = mc^2\NR \NC \text{This is a longer explanation}\NC\qquad\NC E = mc^2\NR \stopalign

Re: [NTG-context] align text and formula

2016-08-24 Thread Jan Willem Flamma
t; > %%% begin example.tex > \starttext > > \setupformulas[align=flushleft] > \startformula > \startalign[n=2,align={left,middle}] > \NC \text{Text1}\NC\qquad E = mc^2\NR > \NC \text{Text2}\NC\qquad E = mc^2\NR >

Re: [NTG-context] align text and formula

2016-08-24 Thread Otared Kavian
Hi Jan, You can specify a certain horizontal distance in the second column, as in the following: %%% begin example.tex \starttext \setupformulas[align=flushleft] \startformula \startalign[n=2,align={left,middle}] \NC \text{Text1}\NC\qquad E = mc^2\NR \NC \text

Re: [NTG-context] inconsistent math fontsize

2016-07-30 Thread Jan Willem Flamma
> On 28 jul. 2016, at 00:46, Hans Hagen <pra...@wxs.nl> wrote: > > On 7/27/2016 2:29 PM, Jan Willem Flamma wrote: >> Dear list members >> >> Sofar, I’ve been using \qquad to separate two formulas side-by-side on a >> single line. >> To ensure consi

Re: [NTG-context] inconsistent math fontsize

2016-07-27 Thread Hans Hagen
On 7/27/2016 2:29 PM, Jan Willem Flamma wrote: Dear list members Sofar, I’ve been using \qquad to separate two formulas side-by-side on a single line. To ensure consistency with spacing I want to change to using a \startformulas .. \stopformulas construction. See MWE below However

[NTG-context] inconsistent math fontsize

2016-07-27 Thread Jan Willem Flamma
Dear list members Sofar, I’ve been using \qquad to separate two formulas side-by-side on a single line. To ensure consistency with spacing I want to change to using a \startformulas .. \stopformulas construction. See MWE below However, the solution using the \startformulas .. \stopformulas

Re: [NTG-context] Wrap figures and equations

2016-07-13 Thread Otared Kavian
ext \startexpli \input knuth.tex \stopexpli \input ward.tex On dit que la loi de composition interne $\oplus$ est {\bf associative} si on a \startformula \forall\, x,y,z \in G, \qquad x\oplus (y \oplus z) = (x\oplus y) \oplus z. \stopformula \input ward.tex \input tufte.tex \stoptext % end

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

2016-07-05 Thread Otared Kavian
] \NC a_{n} := {n - 1 \over n},\qquad\qquad \NC x_{n} := {n^2 + 1 \over n^2}, \NR \NC b_{n} := -1 , \NC y_{n} := -1. \NR \stopalign \stopformula \blank \hairline \blank \setupformulas[location=right] \placeformula \startformula \startLgather \NC a_{n} = O(1)\; \mbox{ and }\; u_{n} = O(1) \imply

[NTG-context] Oddity: \buildtextaccent shifts glyph right

2015-09-06 Thread Rik
,joinedup,packed] \item \Dicitque \qquad\boxWidth{\Dicitque}\par \item \DicitqueK \qquad\boxWidth{\DicitqueK}\par \item \DicitqueKK \qquad\boxWidth{\DicitqueKK}\par \it \item \Dicitque \qquad\boxWidth{\Dicitque}\par \item \DicitqueK \qquad\boxWidth{\DicitqueK}\par \item \DicitqueKK

Re: [NTG-context] noheaderandfooterlines messes with colors

2015-08-03 Thread Aditya Mahajan
\egroup} \starttext \red{This is red} \qquad \darkred{This is dark red} \starttikzpicture \draw (0,2) node[color=red] {This is red}; \draw (4,2) node[color=darkred] {This is dark red}; \stoptikzpicture \stoptext Aditya

[NTG-context] Temporary spacing between letters

2015-07-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Doslov\par \cldcontext{t(Doslov, \\,)}\par \cldcontext{t(Doslov, \\;)}\par \cldcontext{t(Doslov)}\par \cldcontext{t(Doslov, ~~)}\par \cldcontext{t(Doslov, \\quad )}\par \cldcontext{t(Doslov, \\qquad )}\par \stoptext Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l

Re: [NTG-context] Temporary spacing between letters

2015-07-18 Thread Hans Hagen
str:gsub((.), %1 .. (filler or ~), #str - 1) end \stopluacode Doslov\par \cldcontext{t(Doslov, \\,)}\par \cldcontext{t(Doslov, \\;)}\par \cldcontext{t(Doslov)}\par \cldcontext{t(Doslov, ~~)}\par \cldcontext{t(Doslov, \\quad )}\par \cldcontext{t(Doslov, \\qquad )}\par

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
\qquad \headtextcontent \stopframedtext \stopsetups \definehead[HeadB][section][alternative=HeadB] \starttext \HeadA{Knuth} \input knuth \HeadB{Tufte} \input tufte \stoptext Wolfgang -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http

Re: [NTG-context] \setuphead[part] - special look

2015-06-23 Thread Wolfgang Schuster
\headnumbercontent \qquad \headtextcontent \stopframedtext \stopsetups \definehead[HeadB][section][alternative=HeadB] \starttext \HeadA{Knuth} \input knuth \HeadB{Tufte} \input tufte \stoptext Wolfgang ___ If your

Re: [NTG-context] How to define a new environment / function?

2015-06-20 Thread Wolfgang Schuster
to typeset in a usable and readable way. It should look something like this: ---snip: minimal example--- \starttext \setupdelimitedtext[blockquote] {{\bf Geschlecht} \qquad Geschlecht \hfill $0,1$} \startblockquote Das Geschlecht des Probanden. \stopblockquote \blank {{\bf SoB} \qquad Geburtssaison

[NTG-context] How to define a new environment / function?

2015-06-17 Thread Dr. Thomas Möbius
this: ---snip: minimal example--- \starttext \setupdelimitedtext[blockquote] {{\bf Geschlecht} \qquad Geschlecht \hfill $0,1$} \startblockquote Das Geschlecht des Probanden. \stopblockquote \blank {{\bf SoB} \qquad Geburtssaison \hfill $1,\dots,4$} \startblockquote Jahreszeit der Geburt. Kodierung: 1

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Jörg Weger
it? Is there a way to let it break a line if needed in certain circumstances or is there something else like a “non-non-breaking thinspace”? Are these enough? \starttext %\hsize\zeropoint \startlines a\enskip b a\quad b a\qquad b a\twoperemspace b

Re: [NTG-context] Does a half-space or small space exist in ConTeXt?

2015-03-08 Thread Wolfgang Schuster
or is there something else like a “non-non-breaking thinspace”? Are these enough? \starttext %\hsize\zeropoint \startlines a\enskip b a\quad b a\qquad b a\twoperemspace b a\threeperemspaceb a\fourperemspace b a\sixperemspace b a\figurespaceb

Re: [NTG-context] running PlainTeX from beta

2014-07-11 Thread Otared Kavian
-plaintex.tex This is intended to test Plain \TeX\ from the ConTeXt stand-alone. An elementary identity: $(a + b)^2 = a^2 + 2ab + b^2$. And a well-known identity due to Leonhard Euler in which the five most important numbers appear: $$ {\rm e}^{{\rm i}\pi} + 1 = 0, \qquad \hbox{where }\; {\rm i} := \sqrt{-1

Re: [NTG-context] running PlainTeX from beta

2014-07-11 Thread Hans Hagen
, \qquad \hbox{where }\; {\rm i} := \sqrt{-1}. $$ \bye %%% end test-plaintex.tex Saying in the Terminal: mtxrun --script plain basic-plaintex.tex results in mtx-plain | running command 'luatex --fmt=luatex-plain basic-plaintex.tex »’ This is LuaTeX, Version beta-0.79.1 (TeX

[NTG-context] First letter lost possible cause: \grabbfferdata

2014-06-25 Thread Rik Kabel
\stoptexdefinition \starttexdefinition dostartWithIgnore \grabbufferdata[Test][startWithIgnore][stopTest] \ignorespaces \stoptexdefinition \starttexdefinition stopTest \getbufferdata[Test] \endgroup \stoptexdefinition \define\TestText {\qquad If you can read

[NTG-context] Bug in maths prime (derivative)

2013-09-16 Thread Otared Kavian
{\Bbb Z}$ then we denote \startformula f'_{n}(x) := \lim_{h\to 0}{f_{n}(x + h) - f_{n}(x) \over h}\qquad\mbox{and}\quad u^k_{n} := u_{n}(k) \stopformula \stopbuffer \getbuffer[math] \switchtobodyfont[times] \getbuffer[math] \switchtobodyfont[palatino] \getbuffer[math] \stoptext end

  1   2   >