Re: [NTG-context] old charts bug
At 02:09 15/05/2004, Henning Hraban Ramm wrote: Am Freitag, 14.05.04, um 21:45 Uhr (Europe/Zurich) schrieb Hans Hagen: Any \connection[bb]{something} leads to an error. Could you please look into it? sure, can you make me a small exampl;e file? Here you are: \starttext \usemodule [chart] \startFLOWchart[test] \startFLOWcell \name {eins} \location {1,1} \text {eins} \connection[bb]{zwei} \stopFLOWcell \startFLOWcell \name {zwei} \location {2,1} \text {zwei} \stopFLOWcell \stopFLOWchart \FLOWchart[test] \stoptext Every other connection that's not from bottom to bottom does work. Thanks for your work! in mp-char.mp you should patch: begin experiment xypoints[3] := xypoints[3] shifted (dsp_x,0) ; xypoints[4] := xypoints[4] shifted (dsp_x,0) ; ^ Hans ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] LaTeX linespacing
I don't speak Dutch, so I am partly guessing at what you are asking for. Look at the LaTeX package "setspace," which may be found at ftp://ftp.dante.de/tex-archive/macros/latex/contrib/setspace. The package is described at pages 106-08 of The LaTeX Companion (2nd ed. 2004). The package adjusts interline spacing either globally with a spacing command in the preamble (e.g., \usepackage{setspace} \doublespacing) or locally using a spacing environment (e.g., with the command \usepackage{setspace} in the preamble, \begin{spacing}{2.0}text\end{spacing}). Hope this is helpful. Gary Hoffman > > From: "J Bos" <[EMAIL PROTECTED]> > Date: 2004/05/12 Wed AM 05:05:49 EDT > To: [EMAIL PROTECTED] > Subject: [NTG-context] LaTeX linespacing > > Hallo, Ik kwam bij toeval op uw site terecht ik ben bezig met het programma LaTeX en ik wil de regelafstand in mijn gehele document op 1.5 pt hebben. Zou u mij kunnen vertellen hoe ik dit voor elkaar krijg? Alvast bedankt voor de moeite. Met vriendelijke groet, Johan BosMSN Zoeken, voor duidelijke zoekresultaten! klik hier ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Another Metafun issue
Hello again, > I thought textext was just a faster version of btex ... etex and > supposed that this would be the 'way to go', since it is a part of > MetaFun. I guess you know now; but for the record: btexetex does not allow any variable part in the text to be typeset. This is due to the fact that metapost scans for btex ... etex parts in the input file and creates the text in one single TeX run (preprocessing) and then executes the macros (so the texts are fixed). There are several approaches to allow texts with variable data such as %% does not work! for i=0 upto 10: btex "i is now " + decimal i etex; endfor; one of them is textext: for i=0 upto 10: textext ("i is now " + decimal i); endfor; should work (untested) Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Another Metafun issue
Hi, any reason you use textext here? Do you need changing labels? If not, you should use [...] draw btex $\frac{a}{b}$ etex; [...] I thought textext was just a faster version of btex ... etex and supposed that this would be the 'way to go', since it is a part of MetaFun. But I checked out the btex ... etex version and that worked out like a charm. As you can tell from my previous posts, I'm a TeX newbie, so I don't know what's wrong here (if at all), but since it's working now and there is no noticeable speed difference, I'm happy with it. So, thanks for your help and best regards, Sebastian ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Re: Another Metafun issue
Hello Sebastian (sorry for sending twice; this time to the list), > \startuseMPgraphic{test} > draw textext("$\frac{a}{b}$"); > draw textext("$\root a \of b$"); > \stopuseMPgraphic any reason you use textext here? Do you need changing labels? If not, you should use -- \startuseMPgraphic{test} draw btex $\frac{a}{b}$ etex; draw btex $\root a \of b$ etex shifted (10,10) \stopuseMPgraphic \useMPgraphic{test} -- as a workaround. But this still looks like an unwanted behaviour to me. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Another Metafun issue
Hi, Well, you should post a *complete* and *minimal* examplefile showing your problem, together with the context/metafun version numbers (or logfile). This way emails like the last one can be avoided and the others can try to reproduce the problem without hassle. okay, sorry for that. I've included a simple test file and the corresponding *.log files. The error message can be found in the tmpgraph.log file. I'm using the i-Installer teTeX distribution with the main TeX package dating from 2004/05/05. Best regards, Sebastian testfile.tex Description: TeX document testfile-mpgraph.log Description: Binary data testfile.log Description: Binary data tmpgraph.log Description: Binary data
[NTG-context] Re: Another Metafun issue
Hello Sebastian, > oops, stupid typo. The code that didn't want to compile was > textext("$\root a \of b$") and textext("$\frac{a}{b}$"), so I only > forgot the math signs when writing the email. Well, you should post a *complete* and *minimal* examplefile showing your problem, together with the context/metafun version numbers (or logfile). This way emails like the last one can be avoided and the others can try to reproduce the problem without hassle. Patrick ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Another Metafun issue
Hi, Hello Sebastian, I don't know much about Metafun yet, but shouldn't you use math-mode for \root and \frac? oops, stupid typo. The code that didn't want to compile was textext("$\root a \of b$") and textext("$\frac{a}{b}$"), so I only forgot the math signs when writing the email. Thanks for pointing that out. Best regards, Sebastian ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Another Metafun issue
On Sun, 16 May 2004, Sebastian Sturm wrote: > when trying to set fractions or non-square roots in Metapost figures > using the Metafun macro textext (textext("\frac{a}{b}") or > textext("\root a \of b")), I get the error message > > !Missing $ inserted. Hello Sebastian, I don't know much about Metafun yet, but shouldn't you use math-mode for \root and \frac? Cheers, Peter -- http://pmrb.free.fr/contact/ FilmSearch engine with a lot of new features: http://f-s.sf.net/ ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] LaTeX linespacing
Hallo, Ik kwam bij toeval op uw site terecht ik ben bezig met het programma LaTeX en ik wil de regelafstand in mijn gehele document op 1.5 pt hebben. Zou u mij kunnen vertellen hoe ik dit voor elkaar krijg? Alvast bedankt voor de moeite. Met vriendelijke groet, Johan BosMSN Zoeken, voor duidelijke zoekresultaten! klik hier ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Another Metafun issue
Hi, when trying to set fractions or non-square roots in Metapost figures using the Metafun macro textext (textext("\frac{a}{b}") or textext("\root a \of b")), I get the error message !Undefined control sequence $\setbox \rootbox \hbox {$\mathsurround \z @ \scriptscriptstyle {a }$}\m... in case of the root and !Missing $ inserted. $ \mathchoice l.11 $\relax ${{\mathchoice {\displaystyle a}{\textstyle a}{\scriptstyle a}{... in case of the fraction. I probably made some stupid error, but I can't seem to find it. Best regards, Sebastian ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Re: Metapost font size
Hi, even better; thanks to both of you! Best regards, Sebastian ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context