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

2008-06-20 Thread Morgan Brassel
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, I miss one functionality from the numprint package in latex: when you

[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

[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

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

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] \starttext See \in{figure}[fig:a]. {\it See \in{figure

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

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 not give

[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

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

2008-03-24 Thread Morgan Brassel
? - 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 use the gnuplot module (thank you Mojca, and all the others, for this great tool!). I

[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] 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 sorry

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 actually less

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@ \NC \AR \NC 1.11 \NC \AR \NC 11.11 \NC \AR \stoptable Aditya Hi Aditya, Thank you

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'm afraid I'm not able to implement it myself... I use

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

2008-03-22 Thread Morgan Brassel
'? 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 same feature in the table environment? By the way, I'd like

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 a

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 doubtful that it ever will be compatible with prefixes

[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

[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

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

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 same setup and has a hint... When

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

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:=1; nonstopmode; input lmromanslant10

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=\normal

[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

[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'

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 paragraph for example). I tried

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 useful to me, and should maybe get even more

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'm looking for an easy way to typeset all references produced

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 lines

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 obtained by

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 didn't

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 all the

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 before I begin. I read an interesting

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! It is

[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

[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

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 paragraph? I mean

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 theorems

[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] 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 package in

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 context: 2008.01.28,

[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

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 or next with

[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] 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] {\mfunction{det}} Best

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 font size in ConTeXt

[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

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

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] should lead to

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, which is the best