Re: [NTG-context] Feature request: \digits command

2008-06-20 Thread Morgan Brassel
écrit : > On Fri, Jun 20, 2008 at 4:10 PM, Morgan Brassel <[EMAIL PROTECTED]> wrote: > >> Thank you, Wolfgang. >> I have already read the "This Way" on your link very carefully. >> In fact, I was looking for a solution to have >> \digits{e-5} printed as

Re: [NTG-context] Feature request: \digits command

2008-06-20 Thread Morgan Brassel
ts? Regards, Morgan Wolfgang Schuster a écrit : > On Thu, Jun 19, 2008 at 10:10 PM, Morgan Brassel <[EMAIL PROTECTED]> wrote: > >> Hi everyone, >> >> The \digits command is really great when it comes to typeset numbers in >> different languages. However,

[NTG-context] Feature request: \digits command

2008-06-19 Thread Morgan Brassel
Hi everyone, The \digits command is really great when it comes to typeset numbers in different languages. However, I miss one functionality from the numprint package in latex: when you type for example $e-5$, you get 10^{-5} (with no dot in front of it). Would it be possible to add an option t

Re: [NTG-context] Problem with '\ ' in math commands in current minimals

2008-06-10 Thread Morgan Brassel
On Tue, 10 Jun 2008, Hans Hagen wrote: > Aditya Mahajan wrote: >> On Tue, 10 Jun 2008, Morgan Brassel wrote: >> >>> Hi everyone, >>> >>> In the following example: >>> >>> \define[1]\com{com\ #1} >>> \starttext >>> \c

[NTG-context] Problem with '\ ' in math commands in current minimals

2008-06-09 Thread Morgan Brassel
Hi everyone, In the following example: \define[1]\com{com\ #1} \starttext \com{1} $\com{1}$ \stoptext the second call to \com (the one in math mode) seems to stop the compilation of the file. Is it a bug? It wasn't happening before. I'm using the latest minimals. Best regards, Morgan ___

Re: [NTG-context] References with or without interaction

2008-04-06 Thread Morgan Brassel
On Sun, 6 Apr 2008, Hans Hagen wrote: > Morgan Brassel wrote: >> Hi everyone, >> >> I noticed what seems to be a lack of coherence when typesetting references >> with interaction enabled. Look at the example below: >> >> \setupinteraction[state=start]

[NTG-context] References with or without interaction

2008-04-06 Thread Morgan Brassel
Hi everyone, I noticed what seems to be a lack of coherence when typesetting references with interaction enabled. Look at the example below: \setupinteraction[state=start] \starttext See \in{figure}[fig:a]. {\it See \in{figure}[fig:a].} \placefigure [][fig:a] {A caption.} {HELLO} \stopt

Re: [NTG-context] UTF-8 characters and gnuplot module

2008-03-25 Thread Morgan Brassel
> You can use > > \setupGNUPLOTterminal > [context] > [dashed=no, > textscale=0.9] Thank you, Mojca! The dashed option is ok, but I didn't manage to have 'textscale' work: adding these lines in my previous example still gives 12pt font... Am I missing something? >> * ' and " quotes do n

Re: [NTG-context] UTF-8 characters and gnuplot module

2008-03-25 Thread Morgan Brassel
Hi everyone, Hi Mojca, I finally compiled gnuplot with support for the context terminal. It was really easy in the end, I should not have been afraid... I have two questions however (see example below): * Does the option 'solid' work with the context terminal? I still get dashed lines here..

Re: [NTG-context] UTF-8 characters and gnuplot module

2008-03-24 Thread Morgan Brassel
to > be parsed? > - Is there a way to get UTF-8 accented latin characters out of plain > metapost files when using mptopdf? > > > On Mon, Mar 24, 2008 at 3:38 PM, Morgan Brassel wrote: >> Hi everyone, > > Hello Morgan, > >> I'm currently learning how to us

[NTG-context] UTF-8 characters and gnuplot module

2008-03-24 Thread Morgan Brassel
Hi everyone, I'm currently learning how to use the gnuplot module (thank you Mojca, and all the others, for this great tool!). I stick for now with the metapost terminal, as I'm not sure I'd be able to recompile gnuplot in order to add the context terminal. It seems that accents are not supp

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

2008-03-23 Thread Morgan Brassel
On Sun, 23 Mar 2008, Aditya Mahajan wrote: > On Thu, 13 Mar 2008, Morgan Brassel wrote: >> 3) Aditya, I saw your remark in your 'My Way' concerning the 'multline' >> environment. I must admit I would really be glad to see it appear in >> ConTeXt! I

Re: [NTG-context] Command \NN in table?

2008-03-23 Thread Morgan Brassel
On Sun, 23 Mar 2008, Aditya Mahajan wrote: > On Sun, 23 Mar 2008, Morgan Brassel wrote: > >> >>> Does this do what you want? >>> >>> %\TracingFormats=1 >>> \starttable[|b{\digits}r|] >>> \NC 1.@@ \NC \AR >>> \NC 1.1@ \N

Re: [NTG-context] Command \NN in table?

2008-03-23 Thread Morgan Brassel
> Does this do what you want? > > %\TracingFormats=1 > \starttable[|b{\digits}r|] > \NC 1.@@ \NC \AR > \NC 1.1@ \NC \AR > \NC 1.11 \NC \AR > \NC 11.11 \NC \AR > \stoptable > > Aditya Hi Aditya, Thank you for this solution. I saw it on the wiki before I sent my first e-mail: it is actuall

Re: [NTG-context] Clash in itemize options?

2008-03-23 Thread Morgan Brassel
On Sun, 23 Mar 2008, Wolfgang Schuster wrote: > Hi Morgan, > >> I am wondering about the effects of the 'margin=yes' option in itemize >> environments. It seems to be incompatible with the 'packed' option. > > you can't use assignments and commands in the same argument. D'oh! Now I feel terribly

[NTG-context] Clash in itemize options?

2008-03-23 Thread Morgan Brassel
Hi everyone, I am wondering about the effects of the 'margin=yes' option in itemize environments. It seems to be incompatible with the 'packed' option. In the following example, the third itemize doesn't get packed, even if the 'packed' option is present. Is it a feature? In this case, how can

Re: [NTG-context] Command \NN in table?

2008-03-22 Thread Morgan Brassel
> What exactly are you trying to achieve? I do not completely know all the > features of digits. But table has a numerical columns n and q, see > http://www.tug.org/TUGboat/Articles/tb29-1/tb91mahajan.pdf. There are also > \HC (hook column) which can do certain things. Can you give an example of >

Re: [NTG-context] Command \NN in table?

2008-03-22 Thread Morgan Brassel
hard to add it in 'table'? Best wishes, Morgan On Mon, 17 Mar 2008, Morgan Brassel wrote: > > Hi, > I'm currently trying to typeset tables of digits. I read in This Way #3 > that the tabulate environment has digits support with \NN. Would it be > possible to had the sam

Re: [NTG-context] Incompatibility bib num style / reference prefix option

2008-03-17 Thread Morgan Brassel
On Mon, 17 Mar 2008, Taco Hoekwater wrote: > Morgan Brassel wrote: >> Hi, >> >> I think I discovered a bug in the 'num' alternative of the bib module. It >> seems to be incompatible with the prefix=+ option of referencing. > > Yes, indeed. It is do

[NTG-context] A new feature for \digits: \digits{e-1}

2008-03-16 Thread Morgan Brassel
Hi everyone, In LaTeX, the numprint package provides the \numprint command, and is pretty useful when typing numbers. It is quite similar to the \digits ConTeXt command. However, the two commands differ when it comes to this example: \numprint{e-1} \digits e-1 In this case, the \numprint comman

[NTG-context] Command \NN in table?

2008-03-16 Thread Morgan Brassel
Hi, I'm currently trying to typeset tables of digits. I read in This Way #3 that the tabulate environment has digits support with \NN. Would it be possible to had the same feature in the table environment? By the way, I'd like to congratulate Hans for the \digits command: it really saved me so

Re: [NTG-context] Strange format error with xetex engi ne on debian?sid

2008-03-15 Thread Morgan Brassel
Le Saturday 15 March 2008 19:26:06 Peter Münster, vous avez écrit : > On Sat, Mar 15 2008, Morgan Brassel wrote: > > get the following error: > > > > kpathsea: Running mktextfm lmromanslant10-regular > > mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag

[NTG-context] Incompatibility bib num style / reference prefix option

2008-03-15 Thread Morgan Brassel
Hi, I think I discovered a bug in the 'num' alternative of the bib module. It seems to be incompatible with the prefix=+ option of referencing. The following example gives an unknow reference: % tex file \usemodule[bib] \setupbibtex[database=biblio] \setuppublications[alternative=num] \setuphea

Re: [NTG-context] Strange format error with xetex engi ne on debian sid

2008-03-15 Thread Morgan Brassel
Le Saturday 15 March 2008 17:01:41 Peter Münster, vous avez écrit : > On Sat, Mar 15 2008, Morgan Brassel wrote: > > I'm experiencing problems with the xetex engine on debian sid. I'm using > > the official packages context and texlive-xetex. Maybe one of you has the >

[NTG-context] Strange format error with xetex engine on debian sid

2008-03-15 Thread Morgan Brassel
Hi everyone, I'm experiencing problems with the xetex engine on debian sid. I'm using the official packages context and texlive-xetex. Maybe one of you has the same setup and has a hint... When I try to compile a simple "hello world!" document, I get the following message: This is XeTeXk, Vers

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

2008-03-14 Thread Morgan Brassel
Le Friday 14 March 2008 09:00:49 Wolfgang Schuster, vous avez écrit : > What do you want seems to be not possible but you could use the > following solution although it is better to define a new command. > > \let\normalin\in > > \definereferenceformat > [figref] > [left=\normal, >text=\norm

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

2008-03-13 Thread Morgan Brassel
> > \definereferenceformat > > [eqref] > > [left=\bgroup\normal(, > > right=)\egroup] > > This was my first attempt, but it gave some trouble. I need to go back and > check. > > Aditya I now realize that my first question was not very clear: what I need in fact is to typeset *all* references

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

2008-03-13 Thread Morgan Brassel
Le Friday 14 March 2008 00:48:55 Aditya Mahajan, vous avez écrit : > So, will this user interface be enough: > > \startformula \startmultline >\NC line 1 \FR >\NC line 2 \MR >\NC line 3 \LR > \stopmultline \stopformula > > Lines with \FR are flush left, lines with \MR are centered, and

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

2008-03-13 Thread Morgan Brassel
Le Thursday 13 March 2008 19:16:02 Wolfgang Schuster, vous avez écrit : > On Thu, 13 Mar 2008 08:03:22 -0400 (EDT) > > Aditya Mahajan <[EMAIL PROTECTED]> wrote: > > On Thu, 13 Mar 2008, Morgan Brassel wrote: > > > Hi everyone, > > > > > > I

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

2008-03-13 Thread Morgan Brassel
Le Thursday 13 March 2008 13:23:06 Aditya Mahajan, vous avez écrit : > On Thu, 13 Mar 2008, Morgan Brassel wrote: > > Hi everyone, > > > > I read carefully the two 'My Way' from Aditya regarding math alignment > > (thank you for those, they were extremely u

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

2008-03-13 Thread Morgan Brassel
Le Thursday 13 March 2008 13:03:22 Aditya Mahajan, vous avez écrit : > On Thu, 13 Mar 2008, Morgan Brassel wrote: > > Hi everyone, > > > > I'm looking for an easy way to typeset all references produced by the \in > > command in upshape format (even in an italic par

[NTG-context] A few questions about aligned maths

2008-03-13 Thread Morgan Brassel
Hi everyone, I read carefully the two 'My Way' from Aditya regarding math alignment (thank you for those, they were extremely useful to me, and should maybe get even more visibility on the wiki), and I have some questions about it: 1) Is there a way to modify interline spacing in 'cases' envi

[NTG-context] References and formulae numbers in upshape

2008-03-13 Thread Morgan Brassel
Hi everyone, I'm looking for an easy way to typeset all references produced by the \in command in upshape format (even in an italic paragraph for example). I tried with the 'left' option of \definereferenceformat, but without good results. I would also like to typeset all formulae numbers in

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

2008-02-01 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > \defineenumeration[theorem][indenting=always] > > This is actually easier to find, because it actually is documented > in texshow: http://texshow.contextgarden.net/ You're right. I found it there just after I sent the mail... Thank you, and sorry I did

Re: [NTG-context] \everymath and ' accent

2008-01-31 Thread morgan . brassel
Selon Hans Hagen <[EMAIL PROTECTED]>: > it's pretty dangerous to overload \everymath Yes, I guess so! It was just to see the difference between LaTeX and ConTeXt in this case. > maybe \appendtoks\displaystyle\to\everymath works Indeed, thank you! What I need actually is to modify $.$ locally (i

[NTG-context] \everymath and ' accent

2008-01-31 Thread morgan . brassel
Hi everyone, This topic has already been discussed on the list, but I didn't clearly understand the conclusion, so I'm asking again... It is not clear to me why the following \everymath{\displaystyle} \starttext \startformula \frac{1}{A'} \stopformula $\frac{1}{A'}$ \stoptext fails with ConTeXt

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: > > > > Ok, it's clearer to me now. Then I've got one last question on the subject: > I > > didn't manage to have paragraph indented inside an 'enumeration' block, is > there > > an option to do that? Thank you for your patience!

Re: [NTG-context] The point about theorems

2008-01-31 Thread morgan . brassel
Selon Aditya Mahajan <[EMAIL PROTECTED]>: > Quoting [EMAIL PROTECTED]: > > > Selon Aditya Mahajan <[EMAIL PROTECTED]>: > > > >> On Wed, 30 Jan 2008, [EMAIL PROTECTED] wrote: > >> > >> > Hi, > >> > > >> > I need to typeset theorems with ConTeXt, and I would like to get your > >> advice > >> > befor

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 > > documented somewhere? I'm having a real hard time understanding

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

2008-01-30 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > Selon Taco Hoekwater <[EMAIL PROTECTED]>: > > > >> [EMAIL PROTECTED] wrote: > >>> The option indentnext=yes does not handle properly the first situation. > >> What do > >>> you think? > >> That works for me as it should. My c

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

2008-01-30 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > The option indentnext=yes does not handle properly the first situation. > What do > > you think? > > That works for me as it should. My context: 2008.01.28, pdftex 1.40.5 > What are your versions? I'm using the context packa

[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] \starttext

Re: [NTG-context] The point about theorems

2008-01-30 Thread morgan . brassel
Selon Aditya Mahajan <[EMAIL PROTECTED]>: > On Wed, 30 Jan 2008, [EMAIL PROTECTED] wrote: > > > Hi, > > > > I need to typeset theorems with ConTeXt, and I would like to get your > advice > > before I begin. I read an interesting post about it on the dev list: > > > > Enhancements to core-des for t

Re: [NTG-context] Need of a new global option for indenting?

2008-01-30 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > Hi, > > > > Sorry to bother you with this question again, but I didn't get any > definitive > > answer in the previous discussion: wouldn't it be useful to have a new > option in > > \setupindenting that indents EVERY paragra

[NTG-context] The point about theorems

2008-01-30 Thread morgan . brassel
Hi, I need to typeset theorems with ConTeXt, and I would like to get your advice before I begin. I read an interesting post about it on the dev list: Enhancements to core-des for theorems http://archive.contextgarden.net/message/20070601.055815.50e07e4d.en.html But I was unable to understand the

[NTG-context] Need of a new global option for indenting?

2008-01-30 Thread morgan . brassel
Hi, Sorry to bother you with this question again, but I didn't get any definitive answer in the previous discussion: wouldn't it be useful to have a new option in \setupindenting that indents EVERY paragraph? I mean even after floats, formulae, heads, etc. It would be easier than to set every 'in

Re: [NTG-context] Bug in indenting after formula

2008-01-27 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > Hi, > > > > We had similar problems with indenting after floats (figures and > > tables) and after headings. Paragraphs after these kind of objects > > seem to refuse indenting. We tried several options including "always" > >

[NTG-context] Bug in indenting after formula

2008-01-27 Thread morgan . brassel
Hi, It seems that a paragraph after a formula never gets indented, even with the option \setupindenting[yes,medium]. Is it a feature or a bug? Look at the following example: \setupindenting[yes,medium] \starttext Indented OK \startformula x = 0. \stopformula Not indented = bug? Indented OK \s

Re: [NTG-context] Declare new math operators

2008-01-26 Thread morgan . brassel
Selon Taco Hoekwater <[EMAIL PROTECTED]>: > [EMAIL PROTECTED] wrote: > > Hi, > > > > Is there a way in ConTeXt to define new math operators as with > > \DeclareMathOperators of AMSlatex? > > If I understand correctly, you want to use this command: > >\definemathcommand [det] [limop] {\mfunctio

[NTG-context] Declare new math operators

2008-01-26 Thread morgan . brassel
Hi, Is there a way in ConTeXt to define new math operators as with \DeclareMathOperators of AMSlatex? Thanks for your answers, Morgan ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Superscript text size

2008-01-22 Thread morgan . brassel
Selon Aditya Mahajan <[EMAIL PROTECTED]>: > On Tue, 22 Jan 2008, [EMAIL PROTECTED] wrote: > > > Selon Aditya Mahajan <[EMAIL PROTECTED]>: > > > >> On Mon, 21 Jan 2008, [EMAIL PROTECTED] wrote: > >> > >>> Hi, > >>> > >>> The superscript in expressions like $R^N$ seems to be typeset with a > bigger

Re: [NTG-context] Superscript text size

2008-01-21 Thread morgan . brassel
Selon Aditya Mahajan <[EMAIL PROTECTED]>: > On Mon, 21 Jan 2008, [EMAIL PROTECTED] wrote: > > > Hi, > > > > The superscript in expressions like $R^N$ seems to be typeset with a bigger > font > > size in ConTeXt than in LaTeX. Is it the wanted behaviour? From the > typographic > > point of view, wh

Re: [NTG-context] Indenting with ConTeXt

2008-01-21 Thread morgan . brassel
Selon Wolfgang Schuster <[EMAIL PROTECTED]>: > Hi Morgan, > > On Jan 21, 2008 2:02 PM, <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm very new to ConTeXt and I've got some (probably naive) questions about > > indenting. > > > > 1. According to the ConTeXt Excursion, using \setupindenting[medium]

[NTG-context] Bug with command \to in captions

2008-01-21 Thread morgan . brassel
Hi, The simple example: \starttext \placefigure[][]{$x \to 0$}{My figure} \stoptext does not compile, whether it's on my installation or on the live interface. It seems that there is a problem with using \to in captions... Or maybe I'm missing something... Morgan ___

[NTG-context] Superscript text size

2008-01-21 Thread morgan . brassel
Hi, The superscript in expressions like $R^N$ seems to be typeset with a bigger font size in ConTeXt than in LaTeX. Is it the wanted behaviour? From the typographic point of view, which is the best of the two renderings? Thanks for your advice, Morgan

[NTG-context] Indenting with ConTeXt

2008-01-21 Thread morgan . brassel
Hi, I'm very new to ConTeXt and I've got some (probably naive) questions about indenting. 1. According to the ConTeXt Excursion, using \setupindenting[medium] should lead to indented paragraph. And actually, at least for me, it doesn't... I saw examples on the wiki with \setupindenting[yes,medium