Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Hagen via ntg-context
[mainface][mono][courier] \definefontfamily [mainface][math][stix] \setupbodyfont[mainface,10pt] \setmathfontalternate{upright} \setupmathematics[integral=nolimits, lcgreek=normal, default=normal] \setupformulae[location=left, indentnext=auto] \setuptyping[indentnext=auto] % Might use

Re: [NTG-context] Unicode superscript and subscript parentheses as operators

2021-12-28 Thread Hans Åberg via ntg-context
ce][serif][stix] \definefontfamily [mainface][mono][courier] \definefontfamily [mainface][math][stix] \setupbodyfont[mainface,10pt] \setmathfontalternate{upright} \setupmathematics[integral=nolimits, lcgreek=normal, default=normal] \setupformulae[location=left, indentnext=au

Re: [NTG-context] Override MathML formula label

2019-07-28 Thread Hans Hagen
know I can adjust how the automatic numbering is generated using \setupformulae, but how can I override the label used for a specific formula, say to set it to (36A)? ** Basically I have a setup where formulae are mostly numbered sequentially but occasionally individual formulae need to have an out-o

[NTG-context] Override MathML formula label

2019-07-26 Thread Duncan Hothersall
ated using \setupformulae, but how can I override the label used for a specific formula, say to set it to (36A)? Basically I have a setup where formulae are mostly numbered sequentially but occasionally individual formulae need to have an out-of-sequence or differently formatted number. Thanks as ev

Re: [NTG-context] Formula numbering conversion

2017-03-01 Thread Antoine Cailliau
stoptext >> %8<- > > > However, the following (simpler) code produce an "Undefined control > sequence" when using \in command. > > \starttext >> { >> \def\a#1{test} >> \defineconversion[a]

Re: [NTG-context] Formula numbering conversion

2017-02-27 Thread Antoine Cailliau
topformula > See \in formula[tag] for a tagged formula > \stoptext > %8<- However, the following (simpler) code produce an "Undefined control sequence" when using \in command. \starttext > { > \def\a#1{test} > \defineconversion[a][\a] >

Re: [NTG-context] setupformulas options (or defineformula) and effort to reduce the font in math formulas

2015-03-12 Thread Jaroslav Hajtmar
modify the settings of defineforumla[MY] \setupformulae[MY][align=right,strut=yes,spacebefore=medium,spaceafter=big] % so we can create new start-stopsmallformula \definestartstop[smallformula] [before={\startformula[small]}, after=\stopformula, ] % and we can so create new start

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

2013-06-17 Thread Lance Larsen
7;formula 1' (i.e. the section number is not included). Using the \usereferences tag works if I label formulas 'bytext' rather than by 'bysection' and turn off chapter prefixes in test1.tex using the following at the start of the document: \setupformulae[way=bytext,prefixsegm

Re: [NTG-context] Strange behavior of references when using annotation-module

2012-09-05 Thread Wolfgang Schuster
en I omit the annotation module, there is no chapter > number at all in the \in[...] reference! > > A minimal example of the problem: > > \usemodule[annotation] > > \setupformulae[way=bychapter,prefixsegments=chapter,prefixstopper=.] > > \starttext > \chapter{A chap

[NTG-context] Strange behavior of references when using annotation-module

2012-09-05 Thread Dominik Leopold Forkert
A minimal example of the problem: \usemodule[annotation] \setupformulae[way=bychapter,prefixsegments=chapter,prefixstopper=.] \starttext \chapter{A chapter} \section{A section} \placeformula[OK] \startformula a+b=c \stopformula In \in[OK] we noticed blabla ... \stoptext Another problem is t

Re: [NTG-context] space around formula

2012-07-20 Thread luigi scarso
On Fri, Jul 20, 2012 at 10:11 PM, Meer, H. van der wrote: > The space around formula with \placeformula is a bit too large to my > taste, even in the case of \setupformulae[spaceafter=small]. Because > setting this to 0pt didn't make much difference, I had to resort to > spacea

[NTG-context] space around formula

2012-07-20 Thread Meer, H. van der
The space around formula with \placeformula is a bit too large to my taste, even in the case of \setupformulae[spaceafter=small]. Because setting this to 0pt didn't make much difference, I had to resort to spaceafter=-1ex. Why is there seemingly always such a large space around the formula

[NTG-context] equation refs broken?

2011-11-20 Thread Hans van der Meer
it is very serious for me, because the I cannot prepare the upcoming texts for my students! Furthermore: \pagereference now introduces spurious white. For the bad vertical spacing on the left I have submitted a tentative bugfix to Hans Hagen. Hans van der Meer \setuppapersize[A6][A6] \setupfor

Re: [NTG-context] extra white after equation

2011-11-13 Thread Meer, H. van der
I guess I have found the culprit in the bad placement of formulas without an equationnumber. The minimal example I used is that found in strc-mat.mkiv, added a [-] in the middle one. \setuppapersize[A6][A6] \setupformulae[spacebefore=0pt,spaceafter=0pt] % \starttext \placenamedformula[one

[NTG-context] wiki correction

2011-11-13 Thread Hans van der Meer
I think I spotted a small error in the parameterlisting of \setupformulae on the wiki: parameter "after dimension" probably should be "spaceafter dimension" because calling with the former has no effect, the latter does. Though using it does not change the difference i

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

2011-08-05 Thread Jean Magnan de Bornier
... . \startenvironment env_test \setupcolors [state=start] \setupcaptions[way=bysection,prefixsegments=chapter] \setupformulae[way=bysection,prefixsegments=chapter] \setupinteraction[state=start] \definereferenceformat[ineq] [left=(,right=),text=équation] \definereferenc

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

2011-08-04 Thread Jean Magnan de Bornier
r document. You forgot the title after \startcomponent and | > | ConTeXt took “\chapter{…}” as argument for the component title. | > | > Right, my mistake! | > | > However, with such mistake we have a prefix for formulas anyway! > | \setupcaptions[way=bysection,prefixsegments=chapte

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

2011-08-04 Thread Wolfgang Schuster
eXt took “\chapter{…}” as argument for the component title. > > Right, my mistake! > > However, with such mistake we have a prefix for formulas anyway! \setupcaptions[way=bysection,prefixsegments=chapter] \setupformulae[way=bysection,prefixsegments=section] You use for the formul

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

2011-08-04 Thread Jean Magnan de Bornier
\startbodymatter \component test1 \component test2 \stopbodymatter \stopproduct .. env_test.tex: . \startenvironment env_test \setupcolors [state=start] \setupcaptions[way=bysection,prefixsegments=chapter] \setupformulae[way=bysection

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

2011-08-03 Thread Jean Magnan de Bornier
nd this page on the wiki: | | > | | > http://wiki.contextgarden.net/Reference/en/setupnumbering | | > | | > Using both these: | | > | | > \setupcaptions[way=bysection,prefixsegments=section] | | > \setupformulae[way=bysection,prefixsegments=section] | | > | | > formula

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

2011-08-02 Thread Jean Magnan de Bornier
rence/en/setupnumbering | > | > Using both these: | > | > \setupcaptions[way=bysection,prefixsegments=section] | > \setupformulae[way=bysection,prefixsegments=section] | > | > formulae are numbered as expected but captions are not, the prefix is | > lacking. > | Does i

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

2011-08-02 Thread Wolfgang Schuster
ptions[way=bysection,prefixsegments=section] > \setupformulae[way=bysection,prefixsegments=section] > > formulae are numbered as expected but captions are not, the prefix is > lacking. Does it help when you add “prefix=yes” to \setupcaptions? When this doesn’t work you should provide a

[NTG-context] A couple of setupcaptions questions

2011-08-02 Thread Jean Magnan de Bornier
Hi all I'm trying to setup captions for figures with mkiv. I found this page on the wiki: http://wiki.contextgarden.net/Reference/en/setupnumbering Using both these: \setupcaptions[way=bysection,prefixsegments=section] \setupformulae[way=bysection,prefixsegments=section] formula

[NTG-context] color all the formulae?

2010-12-15 Thread Yue Wang
Hi, Hans: Is there some way to color all the formulae braced in $$ and \start|stopformula? I search setupcolors, only textcolor is available. there are also no color key in setupformulae. Yue Wang ___ If your

[NTG-context] Problems with cite (minimal example) (was Re: Buggy source code--> references disappears when I put sections and If I put subjects, \completecontent has void list.)

2009-08-18 Thread Xan
, author = "Martin R. Bridson", title = "On the geometry of normal forms in discrete groups", journal = "Proceedings of the London Mathematical Society", year = "1993", volume = "67", pages = "595-616" } @article{riley, author = &quo

[NTG-context] I can't change startitemize[n]--> startitemize[1]

2009-07-23 Thread Xan
headtext[ca][pubs=Referències] \setuppublicationlist[authoretallimit=3] \setuppublicationlist[authoretaltext={\it\ et al.}] \setuppublicationlist[authoretaldisplay=1] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] %\setupformulae[indentnext=yes] % Vertical spaces between par

Re: [NTG-context] I can't put footnote

2009-07-23 Thread Xan
ase=memoria,sort=author] \setuppublications [alternative=ams,numbering=yes, sorttype=bbl, criterium=cite]% \setupheadtext[ca][pubs=Referències] \setuppublicationlist[authoretallimit=3] \setuppublicationlist[authoretaltext={\it\ et al.}] \setuppublicationlist[authoretaldisplay=1] %Indentation \s

Re: [NTG-context] I can't put footnote

2009-07-22 Thread Xan
it\ et al.}] \setuppublicationlist[authoretaldisplay=1] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] %\setupformulae[indentnext=yes] % Vertical spaces between paragraphs \setupwhitespace[small] %Itemize \setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em] \setupit

[NTG-context] I can't put footnote

2009-07-22 Thread Xan
lay=1] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] %\setupformulae[indentnext=yes] % Vertical spaces between paragraphs \setupwhitespace[small] %Itemize \setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em] \setupitemize[each][headstyle

[NTG-context] Strange behaviour of startitemize[1]

2009-07-22 Thread Xan
] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] %\setupformulae[indentnext=yes] % Vertical spaces between paragraphs \setupwhitespace[small] %Itemize \setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em] \setupitemize[each][headstyle=bold] %\setupi

[NTG-context] Problems with bibtex and @incollection

2009-06-06 Thread Xan
[alternative=ams,numbering=yes, sorttype=bbl, criterium=cite]% \setupheadtext[ca][pubs=Referències] \setuppublicationlist[authoretallimit=3] \setuppublicationlist[authoretaltext={\it\ et al.}] \setuppublicationlist[authoretaldisplay=1] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,smal

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
n" is not. Why? Xan. PS: Please, CCme I have %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] \setupformulae[indentnext=yes] in headers. if I put setupformulae[identnext=yes] and ident=yes for enumerations _always_ have indenting after formula even if the text

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Aditya Mahajan
On Sat, 30 May 2009, Xan wrote: Hi, I have \setupformulae[indentnext=auto] but when I put a \startformula \stopformula in demo environment it does not indent. Why? What can I do for getting that? My environment is: \defineenumeration[demo][text={Demostració.\space}, number=no,location

[NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
Hi, I have \setupformulae[indentnext=auto] but when I put a \startformula \stopformula in demo environment it does not indent. Why? What can I do for getting that? My environment is: \defineenumeration[demo][text={Demostració.\space}, number=no,location=serried,width=fit,headstyle=italic

Re: [NTG-context] MKIV bug

2009-01-17 Thread Yue Wang
ont[iwona, ss,12pt], the label for the equation still uses roman font unless i manually change them by \setupformulae. I think this can be improved. Yue Wang ___ If your question is of interest to others as well, pl

[NTG-context] different behavior between context versions

2008-12-20 Thread Yue Wang
] and \setupformulae[indentnext=auto] should be documented in quick reference or something. Yue Wang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Indention problem after formula

2008-04-20 Thread Peter Münster
On Sun, Apr 20 2008, Tobias Burnus wrote: > \stopformula > > \indent Here, a new paragraph shall begin -- indented! There are at least 3 possibilities: 1.) \indentation Here, a new paragraph shall begin -- indented! 2.) \setupformulae[indentnext=yes] 3.) \setupformulae[indentnext=a

Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Jan-Erik Hägglöf
t;> \starttext >> >>> >> >>> \placefigure >> >>> [here][fig:det] >> >>> {Example} >> >>> {\blackrule[width=3cm,height=3cm]} >> >>> >> >>> \it See \in[fig:det] for details. >&g

Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Johan Sandblom
t;> > >>> \it See \in[fig:det] for details. > >>> > >>> \stoptext > > > >> Thank you for your help, Wolfgang! I think I'll define a new \ref command > >> similar to the one in LaTeX, with upshape number. But maybe a new option

Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Jan-Erik Hägglöf
] for details. >>> >>> \stoptext > >> Thank you for your help, Wolfgang! I think I'll define a new \ref command >> similar to the one in LaTeX, with upshape number. But maybe a new option >> would be welcome? (just as for numberstyle=normal in \setupformu

Re: [NTG-context] References and formulae numbers in upshape

2008-03-15 Thread Wolfgang Schuster
figure > > [here][fig:det] > > {Example} > > {\blackrule[width=3cm,height=3cm]} > > > > \it See \in[fig:det] for details. > > > > \stoptext > Thank you for your help, Wolfgang! I think I'll define a new \ref command > similar to the one in

Re: [NTG-context] References and formulae numbers in upshape

2008-03-14 Thread Morgan Brassel
Thank you for your help, Wolfgang! I think I'll define a new \ref command similar to the one in LaTeX, with upshape number. But maybe a new option would be welcome? (just as for numberstyle=normal in \setupformulae). What do you think? Is it a bad idea? I'm just curious... Morgan _

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-02-01 Thread morgan . brassel
inbetween. \placeformula shouldn't modify anything there... > * any itemgroups, enumerations, descriptions, floats etc. that > were not predefined in the context core. > * ... > > I hope you see the problem with that. Even a simple command like > > \setupin

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-02-01 Thread Taco Hoekwater
efined in the context core. * ... I hope you see the problem with that. Even a simple command like \setupindentnext[yes] does not work out-of-the-box, because you actually wanted \setupformulae[indentnext=auto] % not yes As I said before, it may be much easier to put all this i

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-31 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > >> Ah, misunderstood. You want > >> > >>\setupformulae[indentnext=auto] > > > > Thank you, Taco! And may I ask the difference with the 'yes' option? Is it > >

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-30 Thread Taco Hoekwater
[EMAIL PROTECTED] wrote: >> Ah, misunderstood. You want >> >>\setupformulae[indentnext=auto] > > Thank you, Taco! And may I ask the difference with the 'yes' option? Is it > documented somewhere? I'm having a real hard time understanding all the &g

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-30 Thread morgan . brassel
But I also tried with ConTeXt live, and the result is the same... Notice > that > > the line after the first formula should NOT be indented. How is it with > your > > installation? > > Ah, misunderstood. You want > >\setupformulae[indentnext=auto] Thank you, Taco

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-30 Thread Taco Hoekwater
uld NOT be indented. How is it with your > installation? Ah, misunderstood. You want \setupformulae[indentnext=auto] Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to

[NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-30 Thread morgan . brassel
Hi, Sorry but I'm going to talk about indenting again. This time, it seems to me that there is really something wrong with the indentnext=yes option. Look at the following example, it speaks for itself (or at least I hope so). \setupindenting[yes,medium] \setupformulae[indentnext=yes] \star

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
|edge][text|section|date|mark|pagenumber][text|section|date|mark|pagenumber] \setupfootnotedefinition[settings] \setupfootnotes[options] \setupforms[method=HTML|FDF] \setupformulae[options] \setupframed[options] \setupframedtexts[options] \setuphead[sections][options] \setupheader[text|margin|edge][o

Re: [NTG-context] About the indent after a displayed formula

2007-12-19 Thread Longmin Wang
t;> This is a test file. >> \startformula >> x^2+y^2=1. >> \stopformula >> >> This is a test file. >> >> This is a test file. >> \s

Re: [NTG-context] About the indent after a displayed formula

2007-12-19 Thread Wolfgang Schuster
test file. > \stoptext This is the normal behaviour in ConTeXt but you can change it. \setupformulae[indentnext=auto] % or yes Wolfgang ___ If your question is of interest to others as well, pleas

[NTG-context] Context 2006.07.13 released

2006-07-14 Thread Taco Hoekwater
es * A new release of the bib module, with better support for interaction and per-chapter bibliographies * Some small extensions to \framed * The database module now supports ASCII (non-TeX) files with CSV quoting * \setupformulae accepts a conversion parameter now * More built in math support

Re: [NTG-context] How to \bf for math?

2006-01-16 Thread David Munger
Hi Mojca, I must say I understand about nothing about fonts in ConTeXt. But I've somehow managed do define a "bold vector" command, working in my environment. I hope it helps. \definetypeface [boldmath] [mm] [boldmath] [latin-modern] [default] % boldsymbol work-around \setup

Re: [NTG-context] Alignments side by side

2006-01-16 Thread Willi Egger
Hi David, you can play with placing floats in a combination: \setupoutput[pdftex] \setupformulae[location=left,margin=no] \startbuffer[1] \framed[frame=on,width=fit] {\startformula \eqalign{ f(x)&=x2-2x-3\cr f(x)&=x^02x+1-1-3\cr f(x)&=(x-1)2-4} \stopformula} \stopbuffer \s

Re: [NTG-context] Reg. fonts and math

2006-01-14 Thread Aditya Mahajan
.. Is there someway in which the formula numbering can be forced to be at the bottom. Maybe by adding an option to setupformulae. Latex has a class option ctags/tbtags which controls this. [ useful example snipped] Thanks, Aditya -- Aditya Mahajan, EE

[NTG-context] nath problems and patches

2004-08-13 Thread Christopher Creutzig
, but at least it will compile. Another bug: t-nath.tex defines \savecatcode and \restorecatcode, but these names have already been used in verb-ini.tex. I have locally replaced these with \nath!savecatcode and \nath!restorecatcode, seems to work. A math problem not related to nath: \start

[NTG-context] boldsymbol workaround

2004-02-22 Thread David Munger
la{\bfm #1 I also have to: \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mrbf=cmbx10 sa 1, exbf=cmex10 sa 1, mibf=cmmib10 sa 1, sybf=cmbsy10 sa 1, mabf=msam10 sa 1] \setupformulae[method=bold] Then, I may define very handy commands like \define\grad{\

Re: [NTG-context] Aligned numbered math formulas

2003-08-15 Thread Holger Schöner
; enclose the formula with "\startformula ... \endformula": > Here it works with \startformula \stopformula [stop not end]. All right, I used \stopformula ... And I just found out the reason, it seems: I used \setupformulae[align=right] Then, if I use $$ instead of \startfo

[NTG-context] Aligned numbered math formulas

2003-08-15 Thread Holger Schöner
margin? 2) What are the keywords "alternative" and "indentnext" in \setupformulae meant for? Is there any documentation available concerning math formulae, besides "ConTeXt, the manual"? 3) I'd like to be able to set more than one line below large math operators

[NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
right margin? 2) What are the keywords "alternative" and "indentnext" in \setupformulae meant for? Is there any documentation available concerning math formulae, besides "ConTeXt, the manual"? 3) I'd like to be able to set more than one line below large math ope

Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread David Arnold
All, I am following this thread and I can report the same result as Holger. \setupformulae[align=right] \starttext \placeformula[david] \startformula \eqalignno{% left & right & \formulanumber \cr left & right & \formulanumber \cr } \stopformula \stoptext Gives this resu

Re: [NTG-context] Aligned numbered math formulas

2003-08-14 Thread Holger Schöner
; enclose the formula with "\startformula ... \endformula": > Here it works with \startformula \stopformula [stop not end]. All right, I used \stopformula ... And I just found out the reason, it seems: I used \setupformulae[align=right] Then, if I use $$ instead of \startfo