Re: [NTG-context] New math feature requests

2006-08-07 Thread Aditya Mahajan
On Tue, 8 Aug 2006, Aditya Mahajan wrote: > Hi Hans and Taco, > > I am back with some more math request Forgot a small request: Can this be added to core-mat.tex \def\intertext#1{\startintertext#1\stopintertext} Aditya ___ ntg-context mailing list ntg

[NTG-context] New math feature requests

2006-08-07 Thread Aditya Mahajan
Hi Hans and Taco, I am back with some more math request---one alignment construct, one inner math alignment construct, and one formula tagging request. These are primarily to "complete" the context math environments. I am posting here rather than on the dev list, so that other math users can a

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Aditya Mahajan
On Mon, 7 Aug 2006, Mojca Miklavec wrote: > On 8/7/06, Hans Hagen wrote: >> >>> (I'll spare you the fun with sections for some other time,) but since >>> you reminded me that I might have some questions left, here you have >>> another one: how do I replace hyphens, en-dashes and em-dashes with >>>

[NTG-context] safe way of writing arguments

2006-08-07 Thread Jano Kula
Hi! Is it safe to leave spare comma at the end of the key=value list or other list of arguments? It is not nice, but when adding/commenting arguments in readable way (one per line) it's faster and while experimenting with parameters one doesn't have to care about the last comma adding or remov

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Sanjoy Mahajan
> in such case you need to add a \dontleavehmode to force tex into > starting a paragraph Is that better than using \noindentation (suggested by the other Mahajan)? The one problem with it that I found is an extra space in indentation for the first paragraph. I guess it's because there's a space

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Mojca Miklavec
On 8/7/06, Hans Hagen wrote: > > > (I'll spare you the fun with sections for some other time,) but since > > you reminded me that I might have some questions left, here you have > > another one: how do I replace hyphens, en-dashes and em-dashes with > > "spaces/line breaks"? > >\catcode`~=1

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Hans Hagen
Sanjoy Mahajan wrote: > From:Taco Hoekwater <[EMAIL PROTECTED]> > >> The current release has version 2006.08.04 >> > > After updating I see a slightly earlier date: > > CtxTools | context version: 2006.08.02 23:31 > > >> * some identation problems removed >> > > I just tested

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Hans Hagen
Mojca Miklavec wrote: > On 8/7/06, Hans Hagen wrote: > >> Mojca Miklavec wrote: >> ftp://tug.ctan.org/pub/tex-archive/macros/plain/contrib/misc/xii.tex >> yeah, a famous tex master piece! >> But of course, you will not write anything like this in an ab

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Hans Hagen
Idris Samawi Hamid wrote: > On Mon, 07 Aug 2006 03:07:49 -0600, Taco Hoekwater <[EMAIL PROTECTED]> > wrote: > > >> A very short list of changes is given below. As usual, there is an >> html page with more detailed release notes available on the Wiki, see: >> > > Does that include the core

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Idris Samawi Hamid
On Mon, 07 Aug 2006 03:07:49 -0600, Taco Hoekwater <[EMAIL PROTECTED]> wrote: > A very short list of changes is given below. As usual, there is an > html page with more detailed release notes available on the Wiki, see: Does that include the core-fig change \global\setbox\foundexternalfigure\v

[NTG-context] environment files and indenting

2006-08-07 Thread Sanjoy Mahajan
Not sure what I'm doing wrong here, but this is the minimal example I could make. The environment file ne.tex contains \startenvironment ne \setupindenting[medium,yes] \stopenvironment And the test file is \environment ne \starttext \placeformula\startformula x = 10 \stopformula \stoptext texe

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Mojca Miklavec
On 8/7/06, Hans Hagen wrote: > Mojca Miklavec wrote: > >> ftp://tug.ctan.org/pub/tex-archive/macros/plain/contrib/misc/xii.tex > >> > >> > yeah, a famous tex master piece! > >> But of course, you will not write anything like this in an abstract > >> :-) > >> > hm, let me provide a word counter for

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Nicolas Grilly
I'm sorry to come with another problem related to character alignment... My natural tables are enclosed in a \starttableau \stoptableau pair that breaks character alignment: \starttableau \bTABLE ... \eTABLE \stoptableau These command is defined this way: \definestartstop[tableau][ before={

Re: [NTG-context] custom itemize

2006-08-07 Thread Aditya Mahajan
On Fri, 4 Aug 2006, Renaud AUBIN wrote: > > % frenchitemize > \setbox0=\hbox{--~} > \def\indenteddash#1{\hskip\parindent--~} > \definesymbol[indentdash][\indenteddash] > \def\startfrenchitemize{\startitemize[indentdash,packed,joinedup,intext][indentnext=yes,width=\dimexpr > \parindent + \wd0 \rela

Re: [NTG-context] indenting after section headings with before, after keyvals

2006-08-07 Thread Sanjoy Mahajan
> I think that the command is \noindentation. Thanks, that does the trick. For future ConTeXt releases, should the no-indentation be handled automatically by \section (e.g. it would wrap the section including the before and after material in an environment with \parindent=0pt)? Or is it better to

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Nicolas Grilly wrote: > > But what do you think about a simpler solution: > > - In \def\popTBL, don't add line \resetcharacteralign > - In \def\dobTABLE, move \resetcharacteralign just before \bgroup > > On my computer, it fixes the bug without adding something to > \def\popTBL. Is it correct?

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Nicolas Grilly
Taco Hoekwater wrote: > > This should do it: > >\def\popTBL > {\ifnum\TBLlevel>\plusone > \globalpopmacro\rowTBL > \globalpopmacro\colTBL > \else > \global\intablefalse > \fi > \resetcharacteralign % Do this here !! > \doglobal\decrement\TBLl

Re: [NTG-context] indenting after section headings with before, after keyvals

2006-08-07 Thread Aditya Mahajan
On Sun, 6 Aug 2006, Sanjoy Mahajan wrote: > The text after section headings is normally not indented, even if > \setupindenting[yes] is given -- which looks good and was a pain to get > right in my plain TeX days. But the "don't indent that" code seems to > get confused if before= and after= valu

Re: [NTG-context] buffers

2006-08-07 Thread Aditya Mahajan
On Mon, 31 Jul 2006, Aditya Mahajan wrote: > On Mon, 31 Jul 2006, Hans van der Meer wrote: > >> The ConTeXt manual tells me on page 237: >> >> You can define your own buffer with: >> \definebuffer[...] >> ... name >> After this command /getbuffer and \typebuffer are available w

Re: [NTG-context] adding an icon (flushed left) in a displayed formula with equation number

2006-08-07 Thread Aditya Mahajan
On Mon, 7 Aug 2006, Taco Hoekwater wrote: > > David Arnold wrote: >> All, >> >> We have: >> >> \placeformula[eq:commonb] >> \startformula >>(1)^2+(\sqrt{4x+13})^2=(2x)^2, >> \stopformula >> >> >> This gives us a centered equation with an number pushed to the right >> edge of the page (I probabl

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
This should do it: \def\popTBL {\ifnum\TBLlevel>\plusone \globalpopmacro\rowTBL \globalpopmacro\colTBL \else \global\intablefalse \fi \resetcharacteralign % Do this here !! \doglobal\decrement\TBLlevel\relax} Taco __

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Nicolas Grilly wrote: > I completely reinstalled ConTeXt and tried one more time with the > attached file, and I confirm it doesn't work correctly on my computer. > > I attached another test file, simpler than the previous one. I dont know what was wrong before, you are right, this is wrong now

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Renaud AUBIN
http://renojrl.lrv.uvsq.fr/testbed/character_alignment_bug_simple.pdf Nicolas Grilly a écrit : > I completely reinstalled ConTeXt and tried one more time with the > attached file, and I confirm it doesn't work correctly on my computer. > > I attached another test file, simpler than the previous o

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Renaud AUBIN
See http://renojrl.lrv.uvsq.fr/testbed/character_alignment_bug.pdf, freshly processed... Taco Hoekwater a écrit : Nicolas Grilly wrote: Hereunder is the output of texexec --check on my computer. Everything seems okay. Can you send me your test file in order I launch it on my

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Nicolas Grilly
I completely reinstalled ConTeXt and tried one more time with the attached file, and I confirm it doesn't work correctly on my computer. I attached another test file, simpler than the previous one. Thanks, Nicolas On 8/7/06, Taco Hoekwater <[EMAIL PROTECTED]> wrote: Nicolas Grilly wrote: >

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Nicolas Grilly wrote: Hereunder is the output of texexec --check on my computer. Everything seems okay. Can you send me your test file in order I launch it on my computer? Your own file (attached). Can someone else try this, please? Taco character_alignment_bug.tex Description: TeX documen

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Nicolas Grilly
Hereunder is the output of texexec --check on my computer. Everything seems okay. Can you send me your test file in order I launch it on my computer? TeXExec | current distribution: web2c TeXExec | context source date: 2006.08.04 22:23 TeXExec | format path: . c:/tex/texmf-project/web2c/unsetengin

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-07 Thread Hans Hagen
Andreas Schneider wrote: > \setuppapersize[A4][A4] > \mainlanguage[de] > \language[de] > \enableregime[windows] > > \setupencoding[default=ec] > %\loadmapfile[ec-bitstrea-eleggar.map] > \usetypescriptfile[type-eleggar] > \usetypescript[eleggar] > \setupbodyfont[eleggar,11pt] > > \setupbodyfontenvir

Re: [NTG-context] visualising evolution from one version to another

2006-08-07 Thread Peter Münster
On Sun, 6 Aug 2006, Aditya Mahajan wrote: > But what should happen if you change markup? What if a \bf is > changed to \it or a \framed is added around a bit of text? > Marking differences in math is altogether a different story. Yes, of course, I'll need to adjust manually in such cases. But I'm

Re: [NTG-context] texfont: installed font only works with pdftex

2006-08-07 Thread Andreas Schneider
On Mon, 7 Aug 2006, Taco Hoekwater wrote: Andreas Schneider wrote: but xdvi gives error messages like [...] My guess is that you have to copy the final file you used to the folder where dvips (and xdvi, which looks in the same place normally) looks for encoding files. I created a symlink in

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Sanjoy Mahajan wrote: > From:Taco Hoekwater <[EMAIL PROTECTED]> > >>The current release has version 2006.08.04 > > > After updating I see a slightly earlier date: > > CtxTools | context version: 2006.08.02 23:31 > > >>* some identation problems removed > > > I just tested yesterday's

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Nicolas Grilly wrote: > Hello Taco, > > Thanks for this new release. But it seems the fix for the bug "column > alignment in natural tables" doesn't work. > > I installed and tried this new release with the examples Peter and I > posted some days ago on this list and the columns of last table are

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Sanjoy Mahajan wrote: > From:Taco Hoekwater <[EMAIL PROTECTED]> > >>The current release has version 2006.08.04 > > > After updating I see a slightly earlier date: > > CtxTools | context version: 2006.08.02 23:31 It looks like the new release is only in 'current' and not in 'latest'. Tac

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Sanjoy Mahajan
From:Taco Hoekwater <[EMAIL PROTECTED]> > The current release has version 2006.08.04 After updating I see a slightly earlier date: CtxTools | context version: 2006.08.02 23:31 > * some identation problems removed I just tested yesterday's example of paragraph indention combined with befor

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Nicolas Grilly
Hello Taco, Thanks for this new release. But it seems the fix for the bug "column alignment in natural tables" doesn't work. I installed and tried this new release with the examples Peter and I posted some days ago on this list and the columns of last table are still mis-aligned. Or I have a pro

Re: [NTG-context] adding an icon (flushed left) in a displayed formula with equation number

2006-08-07 Thread Taco Hoekwater
David Arnold wrote: > All, > > We have: > > \placeformula[eq:commonb] > \startformula >(1)^2+(\sqrt{4x+13})^2=(2x)^2, > \stopformula > > > This gives us a centered equation with an number pushed to the right > edge of the page (I probably should say text area). > > What we'd like to do

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-07 Thread Hans Hagen
Mojca Miklavec wrote: > On 8/7/06, Taco Hoekwater wrote: > >> Mojca Miklavec wrote: >> >>> The "real problem" appears in the following figure where the first >>> black is ignored and the second one is not, so it's rather >>> inconsistent: >>> >> It is not really inconsistent, the rul

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-07 Thread Mojca Miklavec
On 8/7/06, Taco Hoekwater wrote: > > Mojca Miklavec wrote: > > > > The "real problem" appears in the following figure where the first > > black is ignored and the second one is not, so it's rather > > inconsistent: > > It is not really inconsistent, the rule is very simple: > >all use of "withc

Re: [NTG-context] Context 2006.08.04 released

2006-08-07 Thread Renaud AUBIN
Hi, A suggestion for the next release: diff type-buy.tex type-buy.tex.20060804 114c114 < \definefontsynonym [MathBeta] [LucidaNewMath-Demibold] --- > \definefontsynonym [MathBeta] [LucidaNewMath-DemiBold] 123c123 < \definefontsynonym [MathBetaBold] [LucidaNewMath-Demibold] %

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Hans Hagen
Mojca Miklavec wrote: >> ftp://tug.ctan.org/pub/tex-archive/macros/plain/contrib/misc/xii.tex >> >> yeah, a famous tex master piece! >> But of course, you will not write anything like this in an abstract >> :-) >> hm, let me provide a word counter for that one before you get the idea to a

[NTG-context] Context 2006.08.04 released

2006-08-07 Thread Taco Hoekwater
Hello all, I am pleased to announce that the new ConTeXt release from Hans Hagen can be downloaded as of now from the Pragma ADE website or one of its mirrors. http://www.pragma-ade.com/context/current/cont-tmf.zip http://context.aanhet.net/context/current/cont-tmf.zip http://mirror.cont

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-07 Thread Taco Hoekwater
Andreas Schneider wrote: > > it doesn't complain, but xdvi gives error messages like My guess is that you have to copy the final file you used to the folder where dvips (and xdvi, which looks in the same place normally) looks for encoding files. Cheers, Taco __

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-07 Thread Andreas Schneider
On Mon, 7 Aug 2006, Andreas Schneider wrote: Now I've found lm-ec.enc in another texmf tree. When I copy lm-ec.enc to the directory where I run texfont, it works fine. Unfortunately it only works with pdftex, i.e. texexec --pdf and pdflatex. With texexec or latex it does not work. For example,

Re: [NTG-context] counting the words in a TeX document

2006-08-07 Thread Mojca Miklavec
On 8/6/06, Aditya Mahajan wrote: > On Sun, 6 Aug 2006, Mojca Miklavec wrote: > > Base on those three answers I got a more clear idea of two (different, > > but complementary) methods that might be sensible: > > > > a) ctxtools --wordcount filename[tex|pdf] > > to do the wordcount for the whole docu

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-07 Thread Taco Hoekwater
Mojca Miklavec wrote: > > The "real problem" appears in the following figure where the first > black is ignored and the second one is not, so it's rather > inconsistent: It is not really inconsistent, the rule is very simple: all use of "withcolor " upto the first non-zero color is ignor

Re: [NTG-context] metafun & \sometxt: should black be "black" or "textcolor"?

2006-08-07 Thread Mojca Miklavec
On 8/7/06, Hans Hagen wrote: > Taco Hoekwater wrote: > > Hi Mojca, > > > > Mojca Miklavec wrote: > > > >> But the other \sometxt was indeed red - withcolor seems to work, but > >> only conditionally. And I have some weird examples of two texts one > >> after another. In some cases (if something els

Re: [NTG-context] texfont produces faked ligatures with ec encoding

2006-08-07 Thread Andreas Schneider
On Sun, 6 Aug 2006, Thomas A. Schmitz wrote: > No, I never had problems with Umlauts. Now I've found lm-ec.enc in another texmf tree. When I copy lm-ec.enc to the directory where I run texfont, it works fine. > What you can also try is this: if you open EC.enc, you'll find a couple > of LIGKERN