[NTG-context] Updated RawSteps module

2006-01-12 Thread David Munger
Hi all, There have been many requests in the last few months regarding the RawSteps module, but I had not much time to spend on it before the holidays. Until Patrick updates the garden, you can grab the updated module on my website: http://mhd.selfip.info/tex/ The documentation is also updated o

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

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

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

2006-02-17 Thread David Munger
Very interesting, but with these definitions, I can't get roman characters in formulae. For the moment, the best solution for me is still the hbox wrapper. David > Adam Lindsay wrote: > > > \startmathcollection[default] %eventual patch for math-tex? > > \definemathcharacter [a] [nothing] [mi]

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

2006-02-17 Thread David Munger
Adam Lindsay wrote : > David Munger wrote: > > Very interesting, but with these definitions, I can't get roman > > characters in formulae. For the moment, the best solution for me is > > still the hbox wrapper. > > Okay. > What do you mean by "can&

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

2006-02-17 Thread David Munger
Adam Lindsay wrote : > David Munger wrote: > > Adam Lindsay wrote : > >> David Munger wrote: > >>> Very interesting, but with these definitions, I can't get roman > >>> characters in formulae. For the moment, the best solution for me is > >&

Re: [NTG-context] Bold in math mode

2006-07-12 Thread David Munger
David, The method I use to get bold math is on the wiki: http://wiki.contextgarden.net/Bold_Math under "Wrapping in a \hbox". Then, to get a bold x, I would use $\boldsymbol{x}$. Regards, David David Arnold : > How do I get a bold x in math mode? > _

[NTG-context] Gathered equations with t-amsl and t-nath

2003-12-07 Thread David Munger
[Sorry if this is a repost. The first time, I posted from the wrong email account.] --- Hello Giuseppe, you've done a great work with amsl an nath modules! Seems that there is a little bug when you try to gather more than two formulas: \placeformula \startgather f(x) = x

[NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-07 Thread David Munger
> \placeformula > \startgather > f(x) = x \\ > g(x) = x^2 \\ > h(x) = x^3 > \stopgather I will look into this. Are you using amsl only or nath too? It works well with amsl only. Though it would be nice to have an option to chose between individual numbering or one number for all equations.

[NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
Hello Giuseppe, you've done a great work with amsl an nath modules! Seems that there is a little bug when you try to gather more than two formulas: \placeformula \startgather f(x) = x \\ g(x) = x^2 \\ h(x) = x^3 \stopgather When doing so, I end up with the last two equations on the same li

[NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
> \placeformula > \startgather > f(x) = x \\ > g(x) = x^2 \\ > h(x) = x^3 > \stopgather I will look into this. Are you using amsl only or nath too? It works well with amsl only. Though it would be nice to have an option to chose between individual numbering or one number for all equations.

Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
What version of ConTeXt are you using? texexec says: ConTeXt ver: 2003.1.31 fmt: 2003.10.4 int: english mes: english I'm using the version included in debian unstable's tetex package. * formula (sub)numbering needs a good cleanup in ConTeXt (just like math support in general ...). I need to d

[NTG-context] Re : [NTG-context] Re: [NTG-context] Re: [NTG-context] Re : [NTG-context] Gathered equations with t-amsl and t-nath

2003-12-08 Thread David Munger
Monday, December 8, 2003 Giuseppe Bilotta wrote: > Regarding your problem(s): > * with the ConTeXt version I have (2003.09.26), all lines in > the gather are separate. The whole block has a single number, > though. This is both with, and without nath. > * formula (sub)numbering needs a good clean

[NTG-context] MetaPost with etex/btex

2003-12-14 Thread David Munger
Hello, The following code results in no label output: \starttext \startMPcode label.top(btex Some label etex, (1cm,1cm)) ; \stopMPcode \stoptext I'm using ConTeXt 2003.12.12. By the way, why don't \startMPgraphic and \stopMPgraphic do anything? David ___

[NTG-context] psfrag

2003-12-14 Thread David Munger
Hello, I know this topic was treated in the past years, but I couldn't find the answer in mailing list archives. So, is there any ConTeXt equivalent to LaTeX's \psfrag command? It would be very useful to process PostScript output from vector graphics drawing programs. David ___

Re : [NTG-context] MetaPost with etex/btex

2003-12-14 Thread David Munger
lities of including metapost graphics in ConTeXt are described in the METAFUN-manual on pages 9, 81-82, 115 For your refernce I attach a small demo file using your code ... Kind regards Willi David Munger wrote: Hello, The following code results in no label output: \starttext \startMPco

[NTG-context] Re : [NTG-context] Re: Re : MetaPost with etex/btex

2003-12-14 Thread David Munger
Patrick Gundlach wrote : Do you have \protectbufferstrue in cont-sys.tex? That was the exact point. It fixed it. Thanks a lot! David ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re : [NTG-context] Re: psfrag

2003-12-14 Thread David Munger
Patrick Gundlach wrote : Hi David, > So, is there any ConTeXt equivalent to LaTeX's \psfrag command? No. > It would be very useful to process PostScript output from vector > graphics drawing programs. How does psfrag from LaTeX work internally? Perhaps we are able to make something similar. I

[NTG-context] Re : [NTG-context] Re: Re : [NTG-context] Re: Re : MetaPost with etex/btex

2003-12-14 Thread David Munger
what ConTeXt version do you have? It sounds like an older one. texexec says: ConTeXt ver: 2003.12.12 fmt: 2003.12.14 int: english mes: english Freshly downloaded, but poorly installed by a novice... Actually I replaced the ConTeXt part from the debian unstable package source. So teTeX and Con

[NTG-context] Indentation after formulas

2004-01-15 Thread David Munger
Hello, Compiling the following results in indented text following the formula: % interface=en tex=pdfetex output=pdftex \usemodule [nath] \setupindenting [medium] \starttext \section{Some section} Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. \stoptext I'd like "where $x$ means not

[NTG-context] Indentation after formulas

2004-01-15 Thread David Munger
Hello, Compiling the following results in indented text following the formula: % interface=en tex=pdfetex output=pdftex \usemodule [nath] \setupindenting [medium] \starttext \section{Some section} Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. \stoptext I'd like "where $x$ means no

Re : [NTG-context] Indentation after formulas

2004-01-20 Thread David Munger
Let \placeformula \[ f(x) = x^2, \] where $x$ means nothing. I've found that inserting \let\startformula\startmpformula \let\stopformula\stopmpformula before \usemodule[nath] does the trick. But I feel it's not a very good idea. Any advice? David _

Re : [NTG-context] Re: Re : [NTG-context] Indentation after formulas

2004-01-21 Thread David Munger
Try \setupformulas[indentnext=yes], rather. Of course, you do know that indenting the text following a formula when the text refers to the formula is not a typographical/structural good idea, don't you? ;) Ahhh... It works fine with \setupformulas[indentnext=no]. Thanks. Actually, I was not trying

[NTG-context] bfmath in nath

2004-02-17 Thread David Munger
Hello, The following outputs a nice bold displayed omega (the first one), and a thin normal inline one (the second one): \usemodule [nath] \setupbodyfont [12pt] \definebodyfont [12pt] [mm] [mibf=cmmib10 sa 1] \starttext \[\bfmath \omega\] $\bfmath \omega$ \stoptext Note that replacing nath with

[NTG-context] Unicode garbage in table of contents

2004-02-19 Thread David Munger
Hello, I'm using \enableregime[utf] in the preamble and unicode characteurs in the document are typeset correctly. But, in the table of contents and in the index, they are replaced with their hex codes with some garbage. Anything I might be doing wrong? David __

Re : [NTG-context] Unicode garbage in table of contents

2004-02-20 Thread David Munger
\enableregime[utf] in the preamble and unicode characteurs in the document are typeset correctly. But, in the table of contents and in the index, they are replaced with their hex codes with some garbage. how does the \jobname.tuo file looks like? maybe you run a 7 bit tex (in which care you nee

Re : [NTG-context] Re: Re : [NTG-context] Unicode garbage in table of contents

2004-02-20 Thread David Munger
hm, so maybe nath makes < or > active ? I guess you're right. What should I look for in the tex file to make them inactive? David ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] boldsymbol workaround

2004-02-22 Thread David Munger
Hi all, I've just found a little workaround for using boldsymbols. It works even with the nath module. It's probably not the best way of doing it, but since it does the trick for me, I guess it might useful to other ConTeXters. Here it is: \define[1]\boldsymbol{{\hbox{\formula{\bfm #1

Re : [NTG-context] boldsymbol workaround

2004-02-22 Thread David Munger
\define[1]\boldsymbol{{\hbox{\formula{\bfm #1 When using nath, it doesn't work with inline formulas. So in that case, better use \unprotect [EMAIL PROTECTED] \bfm #1 [EMAIL PROTECTED] \protect ___ ntg-context mailing list [EMAIL PROTECTED] http://w

[NTG-context] aligned equation numbers in nath

2004-02-23 Thread David Munger
Hi Giuseppe, I know it's still work in progress, but could you suggest me some workaround in order to number individual aligned equations in nath? Maybe some \label command that would work like this way: \[ \startalign x^2 + y^2 &= a^2 \\ \label[eq:bogus] a^2 &= R^2 \stopalign \

[NTG-context] French quotes

2004-05-20 Thread David Munger
Hello, Processing this source: \enableregime [utf] \mainlanguage [french] \starttext Let's quote \quote{something}. \stoptext with ConTeXt ver: 2004.4.9 fmt: 2004.5.20 int: english mes: english results in pdf with strange symbols instead of french quotation marks. It used to work fine with: Con

[NTG-context] amsl: startcases/stopcases

2004-05-20 Thread David Munger
Hello Giuseppe, I'm having a little trouble with the cases in amsl. Compiling this: \[ f(x) = \startcases 0& \text{if $x < -\epsilon$} \\ \frac12 & \text{if $x > \epsilon$} \stopcases \] results in an error around the \frac. Changing it to \dfrac makes the input compile ok, but

Re : [NTG-context] French quotes

2004-05-21 Thread David Munger
there has been a fix in the guillemots (wrong latin modern defs) It works great now. Thanks a lot, Hans. David ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

Re : [NTG-context] amsl: startcases/stopcases

2004-05-25 Thread David Munger
> Is there some way of telling startcases/stopcases to behave in display > mode? Yup, I just changed a couple of things and now we have a \startbigcases ... \stopbigcases for this. Will upload new version soon. Oh, great! I'm really looking forward to get this new version. By the way, would you b

[NTG-context] Cell padding in natural tables

2004-05-26 Thread David Munger
Hello, There was that question to which I could not find an answer: http://www.ntg.nl/pipermail/ntg-context/2002/000140.html So, is there a way to set the cell padding in natural tables? And by the way, is there a way to lock the total width of the table without setting the width of individual ce

Re : [NTG-context] Cell padding in natural tables

2004-05-26 Thread David Munger
And by the way, is there a way to lock the total width of the table without setting the width of individual cells? you can set the 'offset'; think of each table cell as being something \framed Ahh... So that was the point. Works perfectly. Thank you. And how about locking the table's total width

Re : [NTG-context] Re: Re : [NTG-context] amsl: startcases/stopcases

2004-05-27 Thread David Munger
> Oh, great! I'm really looking forward to get this new version. By the > way, would you be so kind to include some multiline equation > environment? Something like (or better than) > \[ > first part of very long equation > \eqbreak > second part of very long equation > \eqbreak > third p

Re : [NTG-context] Re: Re : [NTG-context] Re: Re : [NTG-context] amsl: startcases/stopcases

2004-05-27 Thread David Munger
> Indeed, I used to like nath a lot, but as I pointed out in this thread > http://www.ntg.nl/pipermail/ntg-context/2004/005306.html > there are bugs which prevent me from using it at the moment. Yes, it's still in my TODO list. Sadly, I don't have enough time to work on it these days :\ What you've

[NTG-context] definemathsymbol and txfonts

2004-06-26 Thread David Munger
Hi, I can't figure out how to get \definemathsymbol work with txfonts extended-A math fonts: \definemathsymbol [oiint] [op] [txexa] ["09] \starttext I want to get this: \getglyph{txexa}{\char"09} \startformula \oiint f(x,y) \,da \stopformula \stoptext Thanks for any help, David

[NTG-context] placeformula with active colon

2004-10-26 Thread David Munger
\setfalse \handleformulanumber ... ... l.5 \startformula Thanks for any help, David Munger ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] \presentationstep

2004-11-01 Thread David Munger
Hi, Could someone tell me if I'm doing something bad here, please? File test.tex --- \usemodule[pre-original] \starttext \Subject{Test} step 1 \presentationstep step 2 \stoptext --- texexec --mode=step --output=pdf test.tex This gives me a

Re: [NTG-context] \presentationstep

2004-11-02 Thread David Munger
2004 Ã 10:58 +0100, Hans Hagen a Ãcrit : > Henning Hraban Ramm wrote: > > > Am 02.11.2004 um 07:04 schrieb David Munger: > > > >> Could someone tell me if I'm doing something bad here, please? > >> > >> File test.tex > >> -

Re: [NTG-context] \presentationstep

2004-11-02 Thread David Munger
> try > > texexec --pdf --mode=demo s-pre-61 This is actually what I tried. > and see if that one suit syour needs (the stepper can be used with other sytles > as well, once \usemodule[pre-60] is done; acrobat 6 needed) I think the latest Acrobat Reader version for Linux is 5.0.9. I guess this

Re: [NTG-context] \presentationstep

2004-11-03 Thread David Munger
Hi Otared, Thanks a lot for you macros. They do the job pretty well. They remind me of the way Prosper does things. When I have time, I'll try to find out how to Wiki your post. Thanks again! David Otared Kavian wrote : > Hi David, > > A few months ago I had to use steps in my presentations, bu

Re: [NTG-context] \presentationstep

2004-11-06 Thread David Munger
Hi all, Inspiring from Otared Kavian's code and Han's presentation styles with support for steps, I cooked the following in order to solve the non JavaScript version issue. I post it in case it could be useful to other people. This implementation supports an \{Only|From|Until}Step[n] syntax as we

Re: [NTG-context] \presentationstep

2004-11-07 Thread David Munger
Otared Kavian wrote : > Hi David, Hi all Contexters, > > Sorry for being late in answering. > > I just tried to test your code but did not succeed in showing things > step by step, even after adding: > \def\Subject#1{\centerline{\bf #1}} > \setuppapersize [S6][S6] > \setupcolors[state=start] > a

Re: [NTG-context] \presentationstep

2004-11-08 Thread David Munger
--- %D \module %D [ file=t-rsteps, %Dversion=2004.11.08, %D title=\CONTEXT\ User Module, %D subtitle=Raw steps for slides, %D author=David Munger, %D date=\currentdate, %D copyright={David Munger}] % Thanks to Otared Kavian

Re: [NTG-context] \presentationstep

2004-11-08 Thread David Munger
Otared Kavian wrote : > Hi David, > > I could not get through the example file: here is what I get: Argh... It's because of the line splits in email. I just put the file on my website: http://cfd.homelinux.org/tex/ Regards, David ___ ntg-context m

Re: [NTG-context] \presentationstep

2004-11-10 Thread David Munger
Otared Kavian wrote : > Hi David and all ConTeXters, > > I was away from my e-mail so I am late in answering. > Thank you for the file you put on your site. Indeed everything works > as intended (the \placeformula no longer advances with each step), > and I think one may suggest to Hans to inclu

Re: [NTG-context] \presentationstep

2004-11-10 Thread David Munger
Hans Hagen wrote : > David Munger wrote: > > > I'm sorry, I'm no TeX/ConTeXt guru and I really have no idea of how to > > achieve this. I think now we need Hans' help. > > I haven't followed the discussion so closely, what is the problem? We're

Re: [NTG-context] Request: translation of texshow-web

2004-11-22 Thread David Munger
Patrick Gundlach wrote : > Dear ConTeXt (and texshow-web) users, > > I am currently translating texshow-web into various languages. Well > I'd like to, but all languages besides german (and english) give me > headaches... So I am looking for some native speakers to help me > translating. The job i

Re: [NTG-context] Updated math modules

2004-11-22 Thread David Munger
Hello Giuseppe, Thanks for your good work. Sorry for reminding this bug to you, but it's the only reason why I can't use nath even though I wish a lot. About the problem unicode characters in toc. Ref.: http://www.ntg.nl/pipermail/ntg-context/2004/005306.html I attached a minimal example unicode

Re: [NTG-context] Updated math modules

2004-11-22 Thread David Munger
Ok. I got a simpler example (no TOC): \usemodule [nath] \enableregime [utf] \starttext ^^c3^^a9 \stoptext With nath, I get "^^c3^^a9" in the output; without, I get "Ã". Thanks for any help, David ___ ntg-context mailing list [EMAIL PROTECTED] http://

Re: Re[2]: [NTG-context] Updated math modules

2004-11-23 Thread David Munger
Giuseppe Bilotta wrote : > > Try the attached nath module. > Works great. Thanks. David ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] nath bug

2004-12-03 Thread David Munger
Hello Giuseppe, I think I found a bug in the nath module. Try the following: \usemodule[nath] \starttext \[ e^{f(x)} \] \stoptext And by the way, fractions in exponents are typeset too big: \usemodule[nath] \starttext \[ e^{\frac{1}{\gamma-1}} \] \stoptext Best regards, David __

Re: [NTG-context] using \startfiguretext ... \stopfiguretext

2004-12-09 Thread David Munger
Hi NIkolai, It might not be the only way, this should work: \placefigure [here] [fig:somelabel] {Caption} \placelegend{Figure} {Text} Nikolai Weibull wrote : > How do I get a figure with text that is displayed like > > Figure > Text > Caption > > where we first hav

[NTG-context] \bfm broken

2004-12-10 Thread David Munger
\bfm seems broken in 2004.12.06 Compiling the following: \setupformulas [method=bold] \starttext \startformula {\bfm x} \stopformula \stoptext results in: ... ! Bad number (127). \defaultskewcharmi \dosetskewchar ...ar \empty \skewchar \textfont #1

Re: [NTG-context] nath bug

2004-12-23 Thread David Munger
Giuseppe Bilotta wrote : > \appendtoks > \livesupsub@ > \to\everymath > > in t-nath.tex after the definition of livesupsub@ and > killsupsub@ Hmm... It seemed to work at first, but it just moved the problem. Now it's (\sum) limits that are typeset like in inline style. > Maybe Hans has some sug

[NTG-context] bib module problem

2005-01-25 Thread David Munger
The bib module won't complete the publications list when there is more than one cite command. Try the following: \usemodule[bib] \startpublication[k=biskamp2003,t=inbook, a={Biskamp},y=2003,n=1,s=Bis03] \author[]{Dieter}[D.]{}{Biskamp} \pubyear{200

Re: [NTG-context] bib module problem

2005-01-25 Thread David Munger
Taco Hoekwater wrote : > David Munger wrote: > > The bib module won't complete the publications list when there is more > > than one cite command. Try the following: > > Works for me, so .. what versions are you using? Ok. Here it is: $ texexec --version TeXExec 5.

[NTG-context] bib module: \cite with page numbers

2005-02-16 Thread David Munger
Hello, Is it possible to get page numbers (or a chapter number) displayed in a citation, e.g. \cite[authoryears]{pp. 163-170}[davidson2001] and see \cite[authoryear]{chap. 3}[davidson2001] would format as: (Davidson, 2001, pp. 163-170) and see Davidson (2001) chap. 3 Thanks for any clue,

Re: [NTG-context] bib module: \cite with page numbers

2005-02-18 Thread David Munger
It works pretty well, thanks a lot! David Taco Hoekwater wrote : > >\setupcite[author,year][left=,right=] % disable braces >\def\citewithpages[#1]#2{% new command > (\cite[author][#1], \cite[year][#1], #2)% >} > >\citewithpages[davidson2001]{pp. 163-170} _

[NTG-context] \stretched fails with accents

2005-04-10 Thread David Munger
Hello, Both of these fail (the second one is assumed to be unicode). \hbox to \textwidth {\stretched{pr\'edoctoral}} \hbox to \textwidth {\stretched{prÃdoctoral}} Regards, David ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mail

[NTG-context] Page number in interaction menu

2005-04-10 Thread David Munger
Hello, Is there a way to remove the page number from the interaction menu? I might be doing something wrong. Thanks for any clue. Minimal example: \setuppapersize [S6][S6] \setuplayout [height=300pt, bottom=24pt] \setupbodyfont [20pt] \setupinteraction [state=start, menu=on] \startinteractionme

[NTG-context] symbol parameter of \setuplist

2005-04-10 Thread David Munger
Hello, I fear I cannot figure out what is the meaning of the `symbol' parameter of \setuplist. From all the documentation or mailing list archives, the only use I can find is "symbol=1". Is there a way to use it to draw bullets, say, before each list item, like those in the itemize environment? I

Re: [NTG-context] symbol parameter of \setuplist

2005-04-11 Thread David Munger
> \definesymbol[list][mine] [\MyListSymbol] > \definesymbol[list][another][\AnotherListSymbol] Aha! My code lacked the `list' parameter after \definesymbol. Thanks Hans. David ___ ntg-context mailing list ntg-context@ntg.nl http

Re: [NTG-context] \stretched fails with accents

2005-04-11 Thread David Munger
> \hbox to \textwidth {\stretched{pr{\'e}doctoral}} > \hbox to \textwidth {\stretched{pr{Ã}doctoral}} Right. Thanks. > an other alternative is to use the properties mechanism Do you mean with something like: \hbox to \textwidth {\setuptolerance[stretch]inter word space is stretched} ? David _

Re: [NTG-context] \stretched fails with accents + \hyphenation

2005-04-11 Thread David Munger
Hi again, I ran into the same problem with unicode strings in \hyphenation{...}. Any clue? \hyphenation{ma-gn{Ã}-to-hy-dro-dy-na-mi-que} Regards, David Le lundi 11 avril 2005 Ã 11:28 +0200, Hans Hagen a Ãcrit : > David Munger wrote: > > > Both of these fail (the second one is a

Re: [NTG-context] new beta

2005-04-15 Thread David Munger
I tried today's beta too. Got exactly the same output as Otared's. Regards, David Otared Kavian : > Then after making a texhash, ran again context and ended up with an > error, which is not exactly as yours: > No pages of output. > Transcript written on cont-en.log.' instead of a fi

Re: [NTG-context] new beta

2005-04-15 Thread David Munger
Hi Thomas, You may try to look in your texexec.ini (run "kpsewhich texexec.ini" to get the path) for those lines: set TeXFormatFlag to & set MpFormatFlag to & and replace them with those: set TeXFormatFlag to \& set MpFormatFlag to \& It solved it for me. Regard

Re: [NTG-context] Page number in interaction menu

2005-04-15 Thread David Munger
Sorry to bother again, but could somebody please check if they get these undesired page numbers within the interaction menu from this code? It seems to me that it is a bug, unless there is some setup command missing in my code. Thanks for any help, David David Munger : > Hello, > >

Re: [NTG-context] new beta

2005-04-15 Thread David Munger
Hans, > unless ( $dosish && ! $escapeshell ) { > $cmd =~ s/[^\\]\&/\\\&/io ; > } The space before the & gets replaced by a \ so that cmd was: ... -int=batchmode &cont-en and becomes: ... -int=batchmode\&cont-en Maybe use: $cmd =~ s/([^\\])\&/$1\\\&/io ; David

Re: [NTG-context] new beta

2005-04-16 Thread David Munger
Hi Thomas, Thanks for trying, but it is not the correct way. Sorry for being unclear. The point is that shell escaping was not done in the proper way. Fix 1 used to do it in the configuration file (texexec.ini) which is basically a bad idea. Shell escaping has to be done properly by texexec. Tho

Re: [NTG-context] section title in second line

2005-04-17 Thread David Munger
Hi Steffen, I'm used to doing it this way: \def\ChapterTitleCmd#1#2% {\vbox {\blank[6*big]{\tfd #1}\blank[big]{\bfd #2}\blank[2*big]}} \setuphead [chapter] [style={},header=empty,command=\ChapterTitleCmd] Regards, David Steffen Wolfrum : > Hi, > > probably a silly question - neverthel

Re: [NTG-context] new beta

2005-04-17 Thread David Munger
Hans, That's not enough. There is another problem when ConTeXt text has to be rendered from inside MetaPost graphics. Consider the following code: \starttext \startuseMPgraphic{mptest} label (btex test etex, origin); \stopuseMPgraphic \useMPgraphic{mptest} \stoptext Even with the patch for tex

Re: [NTG-context] new beta

2005-04-19 Thread David Munger
Le mardi 19 avril 2005 Ã 09:43 +0200, Hans Hagen a Ãcrit : > David Munger wrote: > > Hans, > > > > That's not enough. There is another problem when ConTeXt text has to be > > rendered from inside MetaPost graphics. Consider the following code: > > > &

Re: [NTG-context] new beta

2005-04-19 Thread David Munger
Solved. Insert the usual escaping command before line 2769 of texexec.pl: ... unless ( $dosish && !$escapeshell ) { $cmd =~ s/[^\\]\&/\\\&/io ; } $Problems = system("$cmd $MpMpName"); David ___ ntg-context mailing list ntg-context@ntg.nl http:/

Re: [NTG-context] How to insert a full page pdf.

2005-04-19 Thread David Munger
Hi John, John R. Culleton : > I need to insert some example pages from one document into > another. Both are 8.5 x 11. > > I have read the old posts about \startTEXpage etc. and looked at > the source code. But I still have a few questions: > 1. Can I select e.g., just page 2 from the external d

Re: [NTG-context] start*matter adding page

2005-04-26 Thread David Munger
Hi Stuart, I use to have the same problem some time ago, and I've found the solution on the wiki: http://contextgarden.net/Empty_page_at_the_end Regards, David Le mardi 26 avril 2005 Ã 17:01 -0600, Stuart Jansen a Ãcrit : > When I divide my document into \startfrontmatter, \startbodymatter, e

Re: [NTG-context] Using modes

2005-04-28 Thread David Munger
Reminds me of this post: http://archive.contextgarden.net/message/20041101.205339.1e76d98d.html I bet that is what we all do! David Matthias Weber : > Hello again, > > oh my, this was a stupid mistake. I added the > [screen] and [print] parameters to \stopmode. > No wonder that is what is being

Re: [NTG-context] s-pre-19: page numbers?

2005-06-17 Thread David Munger
Christopher Creutzig : > Christopher Creutzig wrote: > > Taco Hoekwater wrote: > > > >> Is this not the same problem as the one that was mentioned last > >> week (the one that requires the core-lst.tex that Hans posted > >> as attachment)? > > As a short term measure, I have included > > \def\

Re: [NTG-context] t-rsteps and starttyping

2005-06-29 Thread David Munger
Hi Peter, I'm currently not at home. I'll be back next week and then I'll try to figure out what happens. Regards, David Peter Münster : > Hello, > could somebody help me with the following problem please? > > With the following test file, I get the error > "ERROR: Illegal parameter number in

Re: [NTG-context] scite

2005-07-25 Thread David Munger
Hans Hagen : > Hi, > > I made a spell checking extension (tex/xml aware), wrapper and some more > stuff for scite. Should work with any recent scite version. Of course > the challenge is to get it working for all kind of encodings. > > Is there any interest for this kind of things? > > Hans I

Re: [NTG-context] t-rsteps and starttyping

2005-09-12 Thread David Munger
alternate mechanism to define the \StartLong...\StopLong pair. However, this is beyond my knowledge. Hans? Regards, David Le Monday 12 September 2005 à 19:04 +0200, Peter Münster a écrit : > On Mon, 27 Jun 2005, David Munger wrote: > > > I'm currently not at home. I'll be back n

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread David Munger
Le Mercredi 21 septembre 2005 à 14:38 +0200, Christopher Creutzig a écrit : > David Munger wrote: > > \long\def\StartLong#1\StopLong{#1} > > > > \starttext > > \StartLong > > \starttyping > > hallo > > \stoptyping > > \StopLong > > \stopt

Re: [NTG-context] t-rsteps and starttyping

2005-09-21 Thread David Munger
} > > Cheers, > > Taco > > David Munger wrote: > > > > I do need the argument. Its use is repeated in the real macro. > > > > > >>\long\def\StartLong#1\StopLong{\scantokens{#1}} > > > > > > This produces no

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
g/tex/ David Le Jeudi 22 septembre 2005 à 08:56 +0200, Christopher Creutzig a écrit : > David Munger wrote: > > > Unfortunately, the \StartLong macro is not meant only for producing > > line-wise content. In the general case, it contains something else than > > just \starttyping

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hans, The RawSteps module produces virtual slides with stepping, by rendering the step incrementally on successive pages. Thus, the \StartSteps...\StopSteps macro has to expand its argument (i.e. the content of the slide) a certain number of times, depending the number of requested steps. Of cours

Re: [NTG-context] t-rsteps and starttyping

2005-09-22 Thread David Munger
Hans Hagen: > did you ever try > > texexec --mode=demo s-pre-61 > > using 'layers' is rather robust (no duplicate pages and such); Of course, I did. The only issue is about JavaScript, which does not work in most non-Acrobat PDF readers. This is the purpose of the RawSteps module: to avoid

Re: [NTG-context] Boxed formula

2005-09-30 Thread David Munger
The way I usually do it: \startformula \mframed[offset=.3em,rulethickness=1pt]{a^2 + b^2 = c^2} \stopformula Regards, David Le Vendredi 30 septembre 2005 à 13:41 +0200, Jilani Khaldi a écrit : > Hi All, > how to make a boxed formula with ConTeXt? > Thanks! >

Re: [NTG-context] Boxed formula

2005-09-30 Thread David Munger
Jilani, > Thank you for your answer. I seems that "\startformula .. \stopformula" > doesn't have any effect to produce a "dispaly mode" formula. When I try: \startformula \mframed[offset=.3em,rulethickness=1pt]{ I=x-\sqrt2\,\arctan\frac{x}{\sqrt2}+C} \stopformula it does typeset a displ

Re: [NTG-context] Re: function plotting

2005-10-05 Thread David Munger
> gnuplot is great indeed, but the output is rather large; it would be nice if > there was a real good output mode (say, comparable to the output produced by > metapost: compact, parsable); > > btw, is it really that difficult to use gnuplot output in context? > > Hans I often use metapost