Re: [NTG-context] answers (cumulative reply :)

2009-11-01 Thread Hans Hagen
Vyatcheslav Yatskovsky wrote: Thank you, friends, for answers. To Hahns: Can I make $$ envinroment behave like \startformula? In other words, to no redefine $$ to be substituted by \start-stop formula? Writing \startformula and \stopformula every time is too verbose. well, time spent

Re: [NTG-context] [OT] creating-a-style-file-in-context

2009-10-25 Thread Jan-Erik Hägglöf
or { } structure.counters = structure.counters or { } structure.counters.collected = structure.counters.collected or { } structure.counters.collected={ [@@si]={ { 0, 0 }, }, endnote={ { 0, 0, 0, 0 }, }, figure={ { 0, 0 }, }, footnote={ { 0, 0, 0, 0 }, }, formula={ { 0, 0

[NTG-context] \pagereference changes spacing in displayed formula

2009-09-26 Thread Sanjoy Mahajan
Using a \pagereference in a displayed formula slightly changes the horizontal spacing. The shift is small, roughly the thickness of an integral sign. I don't know whether that's considered a bug. Here is the test file. The control test file is the same but without the \pagereference line

Re: [NTG-context] about \sym{} and n*broad

2009-09-16 Thread Hans Hagen
set just serried or broad instead of 4*broad in the second or the third level, it seems to be ignored. Is it normal? i uploaded a new beta (also fixed some of the reported formula ref problems) can you test if itemize behaves as expected? i jusy tested: \setupitemgroup[itemize][2][color=blue

[NTG-context] subformulas end theorems in Mark IV

2009-09-15 Thread Yury G. Kudryashov
Hello! I've tried the following example (from wiki): \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 (\in[eq:1]) states

[NTG-context] Reference to formula does not work?

2009-09-14 Thread Mingyang Sun
Hi all, Say I have a formula that is numbered as 1.1. The problem is when I use \in to refer to that formula, the reference only shows a number 1, and if interaction is enabled, the link does not work neither. The following is the code I use: \setupinteraction[state=start,focus=standard

Re: [NTG-context] Reference to formula does not work?

2009-09-14 Thread Aditya Mahajan
On Mon, 14 Sep 2009, Mingyang Sun wrote: Hi all, Say I have a formula that is numbered as 1.1. The problem is when I use \in to refer to that formula, the reference only shows a number 1, and if interaction is enabled, the link does not work neither. Confirmed (in MKIV). I don't know how

Re: [NTG-context] Reference to formula does not work?

2009-09-14 Thread Mingyang Sun
On Mon, Sep 14, 2009 at 05:15:52PM -0400, Aditya Mahajan wrote: On Mon, 14 Sep 2009, Mingyang Sun wrote: Another question is, how to make formula number without the chapter number?. The usual way is to say \setupformulas[way=bytext] but that also seems to be broken in MKIV. Ya

Re: [NTG-context] Reference to formula does not work?

2009-09-14 Thread Hans Hagen
Mingyang Sun wrote: On Mon, Sep 14, 2009 at 05:15:52PM -0400, Aditya Mahajan wrote: On Mon, 14 Sep 2009, Mingyang Sun wrote: Another question is, how to make formula number without the chapter number?. The usual way is to say \setupformulas[way=bytext] but that also seems to be broken

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Taco Hoekwater
\index entry (containing the simple math formula $k$) got cut off just before the closing $ for some reason that I can't figure out. Best wishes, Taco ___ If your question is of interest to others as well, please add

Re: [NTG-context] Urgent: Strange index problems

2009-09-10 Thread Hans Hagen
. It looks like Xan's \index entry (containing the simple math formula $k$) got cut off just before the closing $ for some reason that I can't figure out. btw, i noticed in one of the examples ... {amplada+mitjan respecte de \mathematics k+1 valors} so, that's then $k$ and not $k+1$ anyhow, what

[NTG-context] mathalign with \{ ?

2009-09-02 Thread Xan
put braces and do that enumeration formula is at middle possition (not in first or last line, just in the middle). I use Aditya manual but I did not see it. Xan. ___ If your question is of interest to others as well

Re: [NTG-context] mathalign with \{ ?

2009-09-02 Thread Aditya Mahajan
have MKII. How can I put braces and do that enumeration formula is at middle possition (not in first or last line, just in the middle). I use Aditya manual but I did not see it. Can you visually show what you want to achieve? Aditya

Re: [NTG-context] rawmathcollection eats input

2009-08-18 Thread Wolfgang Schuster
\definetypeface[mine][rm][serif][modern][default] \definetypeface[mine][mm][math] [lucida][default] \setupbodyfont[mine] \starttext some text in latin modern and a simple formula in lucida new math: $1+2=3$. \stoptext Wolfgang

[NTG-context] missing space between text and a formula

2009-08-11 Thread Bostjan Vesnicer
Hi, I found the solution to my problem about missing space between text and a formula in MKII when using \indenting[next] (see http://archive.contextgarden.net/message/20080424.112935.a81d9346.en.html), however it seems to me that the proposed fix hasn't been applied to the ConTeXt

Re: [NTG-context] missing space between text and a formula

2009-08-11 Thread Aditya Mahajan
On Tue, 11 Aug 2009, Bostjan Vesnicer wrote: Hi, I found the solution to my problem about missing space between text and a formula in MKII when using \indenting[next] (see http://archive.contextgarden.net/message/20080424.112935.a81d9346.en.html), however it seems to me that the proposed

[NTG-context] formula references missing

2009-06-27 Thread Mojca Miklavec
Hello, References to formulas don't work in MKIV: \placeformula[bla] \startformula a+b \stopformula \in[bla] Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] formula references missing

2009-06-27 Thread Hans Hagen
Mojca Miklavec wrote: Hello, References to formulas don't work in MKIV: \placeformula[bla] \startformula a+b \stopformula \in[bla] probably a few mire don't work; when i've released the new backend code (in sync with new luatex version) i'll look into structure related issues again Hans

Re: [NTG-context] formula references missing

2009-06-27 Thread Mojca Miklavec
On Sat, Jun 27, 2009 at 14:32, Hans Hagen wrote: Mojca Miklavec wrote: Hello, References to formulas don't work in MKIV: \placeformula[bla] \startformula a+b \stopformula \in[bla] probably a few mire don't work; when i've released the new backend code (in sync with new luatex

Re: [NTG-context] formula references missing

2009-06-27 Thread Khaled Hosny
On Sat, Jun 27, 2009 at 02:21:18PM +0200, Mojca Miklavec wrote: Hello, References to formulas don't work in MKIV: I think all references don't work, I can't get any references working, not only to formulas. Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org

Re: [NTG-context] ppchtex experience

2009-06-06 Thread Alan BRASLAU
://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX? 2) Is there any kind of repository, where I can take common structures and/or adapt these to the required structures? Regards, Helge I just came across your message from over a month ago... Here is my solution (ConTeXt

[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] 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},

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

2009-05-30 Thread Xan
Thanks Aditya, but it does not work what it should? With: \defineenumeration[demo][text={Demostració.\space},number=no, location=serried,width=fit,headstyle=italic,indentnext=yes, between=\blank,textdistance=.5em,closesymbol={\mathematics{\Box}}, style=normal,indenting=yes] and \starttext

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

2009-05-30 Thread 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 is following. Xan

Re: [NTG-context] MkIV italic correction?

2009-05-27 Thread Hans Hagen
then -- the magic 40 and it formula come from Dohyun Kim local fontdata = tfmdata.shared.otfdata or tfmdata.shared.afmdata local metadata = fontdata and fontdata.metadata if metadata then local italicangle = metadata.italicangle if italicangle

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
at ntg-context-ow...@ntg.nl When replying, please edit your Subject line so it is more specific than Re: Contents of ntg-context digest... Today's Topics: 1. Re: how to prevent header at page bottom (Wolfgang Schuster) 2. Re: interlinespace (Thomas A. Schmitz) 3. Re: formula-style

Re: [NTG-context] formula-style alignment

2009-05-18 Thread Wolfgang Schuster
Am 17.05.2009 um 21:23 schrieb afsmith: Hey again, ntg-context. I would like to align one piece of a line to the left, and another piece of the same line to the right, sort of like numbered math equations, except not math. Additionally I would like to do this inside a narrowed block

Re: [NTG-context] formula-style alignment

2009-05-18 Thread afsmith
Thanks Wolfgang. That works... Now how about inside a definition or subject header? Here is an example. \localhsize in this case seems to resolve to a width of 0, making the contained text break as often as it can... \defineframed[lrframe][ width=\localhsize, align=normal, rulethickness=1pt]

[NTG-context] formula-style alignment

2009-05-17 Thread afsmith
Hey again, ntg-context. I would like to align one piece of a line to the left, and another piece of the same line to the right, sort of like numbered math equations, except not math. Additionally I would like to do this inside a narrowed block How can I do this? I have tried

Re: [NTG-context] ppchtex color

2009-05-13 Thread Hans Hagen
that the parameters should be handled identically. no, that was actually the problem ... local vs global ... for the moment set it up local (per formula) as i need to make an inheritance chain now that i've split in mkii/mkiv that's easier since we no longer have to keep things working in latex

Re: [NTG-context] ppchtex color

2009-05-13 Thread Alan BRASLAU
the problem ... local vs global ... for the moment set it up local (per formula) as i need to make an inheritance chain now that i've split in mkii/mkiv that's easier since we no longer have to keep things working in latex (which means that we can use more core helper code) just remind me

Re: [NTG-context] ppchtex color

2009-05-13 Thread Hans Hagen
... local vs global ... for the moment set it up local (per formula) as i need to make an inheritance chain now that i've split in mkii/mkiv that's easier since we no longer have to keep things working in latex (which means that we can use more core helper code) just remind me occasionally OK

Re: [NTG-context] ppchtex color

2009-05-12 Thread Hans Hagen
formula must have the settings; when i have time i'll make a mkiv variant so that we can upgrade (i don't want interference with mkii since that version is also used in latex and we don't need to upgrade that) \def\setchemicalattributes {\scratchdimen\@@chemicalrulethickness \def

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Aditya Mahajan
. For example, see the attached image from the empheq package for latex (I know Hans doesn't like to read big pdfs from latex packages, hence the attached image ;-) If framed could be incorporated into formula, we could easily create many fancy boxes.attachment

Re: [NTG-context] mframed, setupinteractions

2009-05-11 Thread Hans Hagen
display framed boxes. For example, see the attached image from the empheq package for latex (I know Hans doesn't like to read big pdfs from latex packages, hence the attached image ;-) If framed could be incorporated into formula, we could easily create many fancy boxes. mframed is either

[NTG-context] ppchtex experience

2009-04-21 Thread Helge Kruse
Hello, I need to write some chemical strucutures in LaTeX and dont know, what is the best tools to do it. The structures are crown ether and cryptands. Yes, and I am unexperienced. 1) What would be the way to write a [18]crown-6 (http://en.wikipedia.org/wiki/Crown_ether) structure formula

Re: [NTG-context] ppchtex experience

2009-04-21 Thread Henning Hraban Ramm
://en.wikipedia.org/wiki/Crown_ether) structure formula with PPCHTEX? 2) Is there any kind of repository, where I can take common structures and/or adapt these to the required structures? see http://wiki.contextgarden.net/Chemistry and http://mitglied.lycos.de/ppchtex/00index.html Sorry, can't help you further

Re: [NTG-context] problems with bibliography

2009-04-17 Thread Nicolas Luchier
inside the \text in the formula setting ended up messing with all the following *new* citations, recalling of already mentioned citation was OK. \cite citation withdrawn, everything was back to the normal. Thanks for your help, Nicolas Le 16 Apr 2009 à 16:25, Nicolas Luchier a écrit : Thank you

[NTG-context] Umlaute in Formula

2009-04-13 Thread Florian M. Baudach
Dear all, I need german Umlaute in my formulas of my master thesis. I used \ddot{a} for ä. It had worked fine until I updated Context yesterday :-(. Since that update I only get an crossed a with an accent, but no ä. I still use MKII. Has anybody a solution for my little problem? Thanks

Re: [NTG-context] Umlaute in Formula

2009-04-13 Thread Mojca Miklavec
On Mon, Apr 13, 2009 at 11:01, Florian M. Baudach wrote: Dear all, I need german Umlaute in my formulas of my master thesis. I used \ddot{a} for ä. It had worked fine until I updated Context yesterday :-(. Since that update I only get an crossed a with an accent, but no ä. I still use

Re: [NTG-context] Umlaute in Formula

2009-04-13 Thread Aditya Mahajan
On Mon, 13 Apr 2009, Florian M. Baudach wrote: Dear all, I need german Umlaute in my formulas of my master thesis. I used \ddot{a} for ä. It had worked fine until I updated Context yesterday :-(. Since that update I only get an crossed a with an accent, but no ä. Here \starttext $\ddot a$

Re: [NTG-context] Umlaute in Formula

2009-04-13 Thread Florian M. Baudach
Aditya Mahajan schrieb: On Mon, 13 Apr 2009, Florian M. Baudach wrote: Dear all, I need german Umlaute in my formulas of my master thesis. I used \ddot{a} for ä. It had worked fine until I updated Context yesterday :-(. Since that update I only get an crossed a with an accent, but no ä.

Re: [NTG-context] Umlaute in Formula

2009-04-13 Thread Mojca Miklavec
On Mon, Apr 13, 2009 at 20:14, Florian M. Baudach wrote: Aditya Mahajan schrieb: On Mon, 13 Apr 2009, Florian M. Baudach wrote: Dear all, I need german Umlaute in my formulas of my master thesis. I used \ddot{a} for ä. It had worked fine until I updated Context yesterday :-(. Since that

Re: [NTG-context] colored backgrounds in displayed math

2009-04-13 Thread Sanjoy Mahajan
I was trying to highlight a piece of a formula using a gray background. Use backgroundoffset, not frameoffset. Ah! Because I used frame=off, I did not notice that frameoffset=5pt was correctly moving the frame (rather than the background) outward. So, thanks for the recipe; it works perfectly

[NTG-context] colored backgrounds in displayed math

2009-04-09 Thread Sanjoy Mahajan
In displayed math I was trying to highlight a piece of a formula using a gray background. After a few spacing failures with \framed, I discovered \mframed in the core-rul.tex source file. The comments there say: %D As usual, one can specify in what way the text should be %D framed. One should

Re: [NTG-context] colored backgrounds in displayed math

2009-04-09 Thread Wolfgang Schuster
Hi Sanjoy, welcome back In displayed math I was trying to highlight a piece of a formula using a gray background. After a few spacing failures with \framed, I discovered \mframed in the core-rul.tex source file. The comments there say: Use backgroundoffset, not frameoffset. Wolfgang

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread Aditya Mahajan
the width of the box (like \start stop formula). In those cases you need to specify width=something to \framed. Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery

Re: [NTG-context] Linebreak in Metapost/Metafun Label

2009-03-27 Thread CuriousLearn
(like \start stop formula). In those cases you need to specify width=something to \framed. Of course, certain objects like floats, footnotes, marginpars, will never work inside metapost. (I think you can get floats and footnotes to work, but that will require some hackery) Aditya

[NTG-context] math problems

2009-03-15 Thread Mohamed Bana
|},\quad\lambda \searrow 0, \stopformula Moreover, if $W_\infty=0$, then they are able to prove a similar formula for the higher Landau levels, \startformula \lim_{j\to\infty} \bigl(\pm j!(\lambda_{j,q}^{\pm}-\Lambda_q\bigr)^{1/j} = \frac{B_0}{2}\kap(K)^2,\quad q=0,1,\ldots. \stopformula

Re: [NTG-context] Jalali Calendar for MKIv

2009-02-23 Thread Hans Hagen
this in MKIV? Is there copyright issues? i have no problem with adding a conversion routine to mkiv, but not in this form; what is the official formula? the original so to say? maybe in pseudo c-code Hans

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-22 Thread Otared Kavian
one can write \starttext goedmorgen Hans! This is some maths formula: $a^2+b^2 = c^2$. \stoptext Therefore, in the same spirit one should have some default allowing the user to write \setupArabic[state=start] \setupHanzi[state=start] \starttext goedmorgen Hans! This is some maths formula: $a^2

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-22 Thread Otared Kavian
\starttext goedmorgen Hans! This is some maths formula: $a^2+b^2 = c^2$. \stoptext Therefore, in the same spirit one should have some default allowing the user to write \setupArabic[state=start] \setupHanzi[state=start] \starttext goedmorgen Hans! This is some maths formula: $a^2+b^2 = c^2

Re: [NTG-context] Making necessary OpenType features on by default

2009-02-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
; sure Therefore, in the same spirit one should have some default allowing the user to write \setupArabic[state=start] \setupHanzi[state=start] \starttext goedmorgen Hans! This is some maths formula: $a^2+b^2 = c^2$. And this is some Arabic text written and typeset from right to left

[NTG-context] Unicode Math - what it is

2009-02-13 Thread Michail Vidiassov
Dear All, sorry for a stupid question, the unicode math that is about to come means formula input using Unicode Math instead of tex commands as suggested in Unicode Nearly Plain-Text Encoding of Mathematics http://www.unicode.org/notes/tn28/UTN28-PlainTextMath-v2.pdf or use of the Unicode

Re: [NTG-context] Unicode Math - what it is

2009-02-13 Thread Yue Wang
Hi, On Wed, Feb 11, 2009 at 5:04 AM, Michail Vidiassov mas...@iaas.msu.ru wrote: Dear All, sorry for a stupid question, the unicode math that is about to come means formula input using Unicode Math instead of tex commands as suggested in Unicode Nearly Plain-Text Encoding of Mathematics

Re: [NTG-context] Unicode Math - what it is

2009-02-13 Thread Mojca Miklavec
On Tue, Feb 10, 2009 at 10:04 PM, Michail Vidiassov wrote: Dear All, sorry for a stupid question, the unicode math that is about to come means formula input using Unicode Math instead of tex commands as suggested in Unicode Nearly Plain-Text Encoding of Mathematics http://www.unicode.org

Re: [NTG-context] Unicode Math - what it is

2009-02-13 Thread Michail Vidiassov
Dear Mojca and All, sorry for a stupid question, the unicode math that is about to come means formula input using Unicode Math instead of tex commands as suggested in Unicode Nearly Plain-Text Encoding of Mathematics The answer to your question might as well be a tiny bit of yes because I'm

Re: [NTG-context] What is wrong with this flowchart

2009-02-13 Thread Cecil Westerhof
2009/2/13 Yue Wang yuleo...@gmail.com: Please upgrade your ConTeXt distribution. I have done this, but it has an unexpected side effect. A tex-file that worked without a problem, now gives: systems : begin file NPW at line 130 ! Math formula deleted: Insufficient symbol fonts

Re: [NTG-context] A few questions about aligned maths

2009-01-19 Thread Aditya Mahajan
the bells and whistles (take care of where the formula number is to be placed, and how how the formula is to be aligned). Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] A few questions about aligned maths

2009-01-17 Thread Dave
aditya is confident that it makes sense and works as expected it will probably end up in the core, but as usual i'll wait till he sends me an updated core file It will be a while before I am able to get all the bells and whistles (take care of where the formula number is to be placed, and how how

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Ilda Khaki
1) numbers in maths formula is Persian, possible? 2) is it hard to write a converter? 4) there are two footnote commands. one for persian and one for english. persian footnotes will be on left and persian footnotes on right. also if the first footnote in a page is persian, footnote rule

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
for the translation of Context an excursion and it is suitable thought not complete. On Fri, Jan 9, 2009 at 2:57 PM, Ilda Khaki ilda.kh...@gmail.com wrote: 1) numbers in maths formula is Persian, possible? 2) is it hard to write a converter? 4) there are two footnote commands. one for persian

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Hans Hagen
Ilda Khaki wrote: 1) numbers in maths formula is Persian, possible? luatex will have unicode math and then we can look into that (it does not make sense to do that in traditional tex math) 2) is it hard to write a converter? no, it's done in core-con.lua etc 4) there are two footnote

[NTG-context] Unescaped $ and in texts

2008-12-17 Thread Wolfgang Schuster
Can't we add a new mode to ConTeXt to use $ and in text without escaping them with a backslash, is not needed to write tables and for inline math \formula could be used. In text only documents I want also the % as normal character where I don't need comments. What do you think

Re: [NTG-context] Unescaped $ and in texts

2008-12-17 Thread Aditya Mahajan
On Wed, 17 Dec 2008, Wolfgang Schuster wrote: Can't we add a new mode to ConTeXt to use $ and in text without escaping them with a backslash, is not needed to write tables and for inline math \formula could be used. Also add # to the list. Basically, we can just define a catcode regime

Re: [NTG-context] Unescaped $ and in texts

2008-12-17 Thread Wolfgang Schuster
Am 17.12.2008 um 21:46 schrieb Aditya Mahajan: On Wed, 17 Dec 2008, Wolfgang Schuster wrote: Can't we add a new mode to ConTeXt to use $ and in text without escaping them with a backslash, is not needed to write tables and for inline math \formula could be used. Also add # to the list

Re: [NTG-context] Unescaped $ and in texts

2008-12-17 Thread Hans Hagen
Aditya Mahajan wrote: On Wed, 17 Dec 2008, Wolfgang Schuster wrote: Can't we add a new mode to ConTeXt to use $ and in text without escaping them with a backslash, is not needed to write tables and for inline math \formula could be used. Also add # to the list. Basically, we can just

Re: [NTG-context] math detail

2008-12-13 Thread Yue Wang
the distance to the line above gets increased!!! TeX did this quite right, I think. The bounding box of the inline formula looks ok. Concerning your \high stuffs: you can read the code and it is quite clear that the box dimension has nothing to do with those within \high{}, no matter where

[NTG-context] trick

2008-12-11 Thread Hans Hagen
The next trick is dedicated to Aditya ... % engine=luatex \unprotect \def\Hack#1#2% {\pdfliteral{/Span /ActualText \ctxlua{pdf.hexify(\!!bs\detokenize{#1}\!!es)} BDC}#2\pdfliteral{EMC}} \protect \def\Formula#1{\Hack{#1}{$#1$}} \startTEXpage[offset=3pt] test \Formula{e + a = mc^2

[NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
Hi, this code \setupformulas[location=left] \placeformula \startformula K = V + W(V) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? Thanks

Re: [NTG-context] formula label

2008-12-04 Thread Wolfgang Schuster
Am 04.12.2008 um 12:46 schrieb Steffen Wolfrum: Hi, this code \setupformulas[location=left] \placeformula \startformula K = V + W(V) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K

Re: [NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case the equation is not centered to textwidth anymore

Re: [NTG-context] formula label

2008-12-04 Thread Wolfgang Schuster
: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case

Re: [NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de

Re: [NTG-context] formula label

2008-12-04 Thread Hans Hagen
But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case the equation

Re: [NTG-context] formula label

2008-12-04 Thread Hans Hagen
But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case the equation

Re: [NTG-context] formula label

2008-12-04 Thread Wolfgang Schuster
gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks

Re: [NTG-context] formula label

2008-12-04 Thread Aditya Mahajan
, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext] \setuplabeltext[de][formula=Gleichung~] Two remarks: 1) In this case

Re: [NTG-context] formula label

2008-12-04 Thread Steffen Wolfrum
\startformula K = V + W(V) × S (Gleichung 1) \stopformula gives, as expected: (1.1) K = V + W(V ) × S But I need the following label (Gleichung means formula): (Gleichung 1) K = V + W(V ) × S How can this be done (in Mk II) ? In the same way as you do it in MkIV :) \setupformulas[way=bytext

Re: [NTG-context] formula label

2008-12-04 Thread Rory Molinari
Hello, Aditya Mahajan wrote: if formula_width + 2*label_width hsize place formula in center of hsize, place label on right else if formula_width + label_width hsize DONT_KNOW else place formula in the center of hszie, place label one the next line endif I do not know what

Re: [NTG-context] muse, pandoc and context

2008-12-03 Thread Jörg Hagmann
Hi Jean and Gour, Thanks for the comments. I would prefer muse, but superscripts/subscripts are extremely common in biology, not just for chemical formula, and maybe there are more things missing I didn't come across so far. On the other hand, tables didn't work well in markdown -- pandoc

[NTG-context] mathml test 1

2008-10-10 Thread Steffen Wolfrum
Hi, the following should be an equation with fraction. typesetting it (mkii), there are now fractions what's wrong? [apologies, my first mathml test] \starttext \startXMLdata formula math display='block' semantics mrow mfrac mrow mover miA/mi mo#x2022;/mo

[NTG-context] MathML Test 1b

2008-10-10 Thread Steffen Wolfrum
Hi, the following should be an equation with fractions. Typesetting it (MkII), there are NO (!) fractions! What's wrong? [apologies, my first mathml test] \starttext \startXMLdata formula math display='block' semantics mrow mfrac mrow mover miA/mi mo#x2022

[NTG-context] how to typeset this formula ?

2008-10-08 Thread Steffen Wolfrum
the code with newmath. Only one kind of formula with arrays gave errors. I attach the respective formula as a doc file here. Does anybody know a better way to deal with this kind of formulae in ConTeXt? Any help very much appreciated!! Steffen formula.doc Description: MS-Word document

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Wolfgang Schuster
better tip very welcome!). The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors. I attach the respective formula as a doc file here. Does anybody know a better way to deal with this kind of formulae in ConTeXt? Any help very much

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Wolfgang Schuster
with the Word plugin MathType, resp. with the different translator options (any better tip very welcome!). The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors. I attach the respective formula as a doc file here. Does anybody know

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Steffen Wolfrum
MathType, resp. with the different translator options (any better tip very welcome!). The best results I had with typesetting the code with newmath. Only one kind of formula with arrays gave errors. I attach the respective formula as a doc file here. Does anybody know a better way to deal

Re: [NTG-context] how to typeset this formula ?

2008-10-08 Thread Oliver Buerschaper
If you are allowed to make some minor adjustments you may probably even leave out most of the \cdot commands, which will turn the formula even sleeker ... Just my two cents, Oliver \starttext \startformula \frac{g_a}{\theta} = \startcases[left={\left[},right={\right]}] \NC

Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Wolfgang Schuster
\starttext \usemodule[chemic] \setupchemical[size=small,scale=200,width=fit,frame=off] \starttable[|c|] \HL \VL chemical formula \VL\AR \HL \VL \startchemical \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R

[NTG-context] \bTABLE and \chemical

2008-09-08 Thread Alan BRASLAU
,frame=off] \starttable[|c|] \HL \VL chemical formula \VL\AR \HL \VL \startchemical \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R] \stopchemical \VL\LR \HL \stoptable \blank[line] \setupTABLE[c][1][align

[NTG-context] Formula number in right2left direction

2008-09-03 Thread Mehdi Omidali
Hi, There is a problem in formula numbers in RL direction. I mean in a formula the direction of the number of formula is from left to right. I tried \mathdir TRT and this problem disappeared but two new problems appeared. First, the hole formula typesetted from right to left which shouldn't

Re: [NTG-context] Formula number in right2left direction

2008-09-03 Thread Khaled Hosny
On Wed, Sep 03, 2008 at 10:21:10AM +, Mehdi Omidali wrote: Hi, There is a problem in formula numbers in RL direction. I mean in a formula the direction of the number of formula is from left to right. I tried \mathdir TRT and this problem disappeared but two new problems appeared. First

Re: [NTG-context] Changing sections, formula,... numbering order

2008-08-23 Thread Mehdi Omidali
Thank you Khaled. As you said we don't need \textdir in Xetex and I can use \pardir TRT in this situation. I thought that maybe there is a simple setup for sectioning number in context that I am not aware of. Any way, I have translated The not so short introduction to latex to farsi and also I am

Re: [NTG-context] Changing sections, formula,... numbering order

2008-08-22 Thread Khaled Hosny
On Wed, Aug 20, 2008 at 05:49:31PM +0330, Mehdi Omidali wrote: Hi everyone, I want to use context+xetex for right-to-left typesetting and need to know if it is possible to use the command \pagedir TRT in this situation. (I tested that apparently only \pardir TRT is active). If the answer of

Re: [NTG-context] Changing sections, formula,... numbering order

2008-08-22 Thread Khaled Hosny
On Sat, Aug 23, 2008 at 12:31:38AM +0300, Khaled Hosny wrote: On Wed, Aug 20, 2008 at 05:49:31PM +0330, Mehdi Omidali wrote: Hi everyone, I want to use context+xetex for right-to-left typesetting and need to know if it is possible to use the command \pagedir TRT in this situation. (I

[NTG-context] Changing sections, formula,... numbering order

2008-08-20 Thread Mehdi Omidali
Hi everyone, I want to use context+xetex for right-to-left typesetting and need to know if it is possible to use the command \pagedir TRT in this situation. (I tested that apparently only \pardir TRT is active). If the answer of the above question is negative I would like to know how can I change

Re: [NTG-context] Passing unicode characters

2008-07-28 Thread Hans Hagen
Mehdi Omidali wrote: Hi everyone, Another thing that have to be fixed is about formula numbering in right-to-left texts. By default I think lua prints a formula number in a formula in the wrong direction, like \thechapter.\thesection.\theequation but it should be \theequation.\thesection

Re: [NTG-context] Passing unicode characters

2008-07-27 Thread Taco Hoekwater
Mehdi Omidali wrote: Dear Mojca, Thanks to the conversion option I found a clean way to setup a good left-to-right layout. But I found a mysterious bug in the bidirectional algorithm. Please run the attached file and look at the formula. This definately looks like a bug in luatex itself

Re: [NTG-context] Passing unicode characters

2008-07-27 Thread Mehdi Omidali
Hi everyone, Another thing that have to be fixed is about formula numbering in right-to-left texts. By default I think lua prints a formula number in a formula in the wrong direction, like \thechapter.\thesection.\theequation but it should be \theequation.\thesection.\thechapter because chapter

<    4   5   6   7   8   9   10   11   12   13   >