Re: [NTG-context] How to use metauml in ConTeXt
On Tue, Dec 1, 2009 at 7:10 AM, Joshua Lee muz...@gmail.com wrote: Hi All, Is there any way to use metauml from ConTeXt? http://thor.info.uaic.ro/~ogh/lop/ Do you have a simple example ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] new beta
On Mon, Nov 30, 2009 at 23:45, Vyatcheslav Yatskovsky wrote: By the way, why we have two copies of core execuatbles -- one at texmf-mswin\bin and other at texmf-context\scripts\context\stubs\mswin ? The former are called first, so updating the latter had no effect at all. Because the distribution copies whatver is present in texmf-context\scripts\context\stubs\mswin to texmf-mswin\bin. You need to update the contents of texmf-mswin\bin if you want to test. Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to use metauml in ConTeXt
Hi luigi, Please refer to http://edutechwiki.unige.ch/en/MetaUML for the example, thanks. There's the metauml package from texlive-metapost, i'm not sure how to use it in ConTeXt. Best regards, Joshua On Tue, 01 Dec 2009, luigi scarso wrote: On Tue, Dec 1, 2009 at 7:10 AM, Joshua Lee muz...@gmail.com wrote: Hi All, Is there any way to use metauml from ConTeXt? http://thor.info.uaic.ro/~ogh/lop/ Do you have a simple example ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Joshua Lee Alpha Networks(Chengdu) Co., LTD Shanghai Branch TEL: (86-21)61609650 EXT: 8020 FAX: (86-21)61609650 EXT: 8041 ADD: Suite 301, No.10, 198 Lane, Zhangheng Road, ZJ Hi-Tech Park, Shanghai, China 201204 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] latest beta and file mismatch problem
I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) Alan___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] auto-sizing of nested parentheses
hi, is there a way to let ConTeXt make nested parentheses bigger automatically (based on level of nesting)? if you have like (..).)..))..), it is very hard to read if all parentheses are the same size. tobias ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Windows executables not DOS in beta
Hi, I just updated to the latest beta on Vista and I get the following executing texexec.exe: This program cannot be run in DOS mode. Isn't this just a compiler switch? Would be helpful as I am calling texexec from a Tcl script. Christopher ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
On Tue, Dec 01, 2009 at 01:47:17PM +0100, comm...@googlemail.com wrote: hi, is there a way to let ConTeXt make nested parentheses bigger automatically (based on level of nesting)? if you have like (..).)..))..), it is very hard to read if all parentheses are the same size. What about: $\Bigg(\bigg(\Big(\big((..).\big)..\Big)\bigg)..\Bigg)$ Regards, Khaled -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows executables not DOS in beta
Christopher G D Tipper wrote: I just updated to the latest beta on Vista and I get the following executing texexec.exe: This program cannot be run in DOS mode. I stumbled upon it in my XP box. I checked out on google and it seemed that this bug had someting to do with the presence of multiple copies of cygwin1.dll in your executable path. However, wiping out all supplemental cygwin copies did not address the problem :-( Greetings, Max ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Superscript-fontfeature for footnotenumbers
Am 01.12.2009 um 00:01 schrieb Hans Hagen: Andreas Harder wrote: I need to look into the numberstyle comand as well as some duplicate command being applied but here is a test \setupenumerations [footnote] [ style=\type{(es)}, headstyle=\type{(hs)}] \setupnote [footnote] [style=\type{(s)}, command=\type{(c)}, textcommand=\type{(tc)}, textstyle=\type{(ts)}, numberstyle=\type{(ns)}, numbercommand=\type{(nc)}] \setuplayout[backspace=6cm,marginwidth=cm,width=middle] \starttext \dorecurse{9}{This\footnote{Hello World #1} is a test.\par } \stoptext i added numberstyle ... this test shows where thinsg end up Thank you, this make things clear. Greetings, Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
What about: $\Bigg(\bigg(\Big(\big((..).\big)..\Big)\bigg)..\Bigg)$ Regards, Khaled thanks for your reply, but i would like to have it done automatically, not by hand; something like a switch for parentheses mode. also i´m not sure if those \big( parentheses vary their size according to what they surround, so i should have asked for parentheses with sizing based on level of nesting AND what´s inside. tobias ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
comm...@googlemail.com wrote: What about: $\Bigg(\bigg(\Big(\big((..).\big)..\Big)\bigg)..\Bigg)$ Regards, Khaled thanks for your reply, but i would like to have it done automatically, not by hand; something like a switch for parentheses mode. also i´m not sure if those \big( parentheses vary their size according to what they surround, so i should have asked for parentheses with sizing based on level of nesting AND what´s inside. Like with \left? $\left(\left( ... \right)\right)$ Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows executables not DOS in beta
Hello, I use contextminimals and todays update failed with the same message: context.exe: This program cannot be run in DOS mode greeting, Helmut Christopher G D Tipper schrieb am 01.12.2009 14:05: Hi, I just updated to the latest beta on Vista and I get the following executing texexec.exe: This program cannot be run in DOS mode. -- Helmut Schwertner Kirchweg 154 28201 Bremen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
Like with \left? $\left(\left( ... \right)\right)$ Best wishes, Taco maybe im doing something wrong here. i have this expression \startformula \sum\limits_{i = 1}^n {\left( {\left( {\left( {\alpha { \odot _{C}}{{\tilde k}_i}\left( y \right)} \right){ \oplus _{C}}\left( {\beta { \odot _{C}}{{\tilde k}_i}\left( z \right)} \right)} \right){ \odot _Y}{u_i}} \right)} \stopformula and the first 3 parentheses have the same size. i would like the outer to be bigger than the inner, like in the attached image (i hope attachments work). tobias inline: linear.gif___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
comm...@googlemail.com wrote: Like with \left? $\left(\left( ... \right)\right)$ Best wishes, Taco maybe im doing something wrong here. i have this expression \startformula \sum\limits_{i = 1}^n {\left( {\left( {\left( {\alpha { \odot _{C}}{{\tilde k}_i}\left( y \right)} \right){ \oplus _{C}}\left( {\beta { \odot _{C}}{{\tilde k}_i}\left( z \right)} \right)} \right){ \odot _Y}{u_i}} \right)} \stopformula and the first 3 parentheses have the same size. i would like the outer to be bigger than the inner, like in the attached image (i hope attachments work). I see. You can add \delimiterfactor=1001 in the preamble somewhere. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] path juggling in mtxrun or my bad carma again?
Hello, I have one version of gnuplot in ~/bin/gnuplot (the one with support for context terminal) and one in /opt/local/bin/gnuplot. My PATH is set to ~/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin inside .bash_profile The problem is that now mtxrun calls the second gnuplot in /opt/local/bin/gnuplot and complains about missing context terminal. If I run gnuplot from the same shell it works fine and calls the right gnuplot. Does anyone have any idea what could be going on? Thanks, Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] path juggling in mtxrun or my bad carma again?
~/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin Is the ~ in your PATH a literal ~? mtxrun might have problems with that, it's always better to use the full path to your home directory. Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion : 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
comm...@googlemail.com wrote: Like with \left? $\left(\left( ... \right)\right)$ Best wishes, Taco maybe im doing something wrong here. i have this expression \startformula \sum\limits_{i = 1}^n {\left( {\left( {\left( {\alpha { \odot _{C}}{{\tilde k}_i}\left( y \right)} \right){ \oplus _{C}}\left( {\beta { \odot _{C}}{{\tilde k}_i}\left( z \right)} \right)} \right){ \odot _Y}{u_i}} \right)} \stopformula and the first 3 parentheses have the same size. i would like the outer to be bigger than the inner, like in the attached image (i hope attachments work). I see. You can add \delimiterfactor=1001 in the preamble somewhere. Best wishes, Taco yes, that´s what i was searching for! thank you so much for your fantastic help! \delimitershortfall=-2pt seems to be another alternative. tobias ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
comm...@googlemail.com wrote: yes, that´s what i was searching for! thank you so much for your fantastic help! \delimitershortfall=-2pt seems to be another alternative. Yes. There is a small bit of danger in the value -2pt, though: at smaller pointsizes you may skip over an intermediate size. Any negative value will do, so \delimitershortfall=-1sp is better than -2pt. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] path juggling in mtxrun or my bad carma again?
On Tue, Dec 1, 2009 at 16:32, Arthur Reutenauer wrote: ~/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin Is the ~ in your PATH a literal ~? mtxrun might have problems with that, it's always better to use the full path to your home directory. Hmmm ... export PATH=~/bin:/opt/local/bin:/opt/local/sbin:$PATH I have no idea who inserted the quotation marks here (and why). If I remove the quotation marks then it works without a problem. But I have never noticed that because it has always worked when executed from bash. Thanks a lot, Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mocja— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Mojca (at last!)— I was also wondering when you would get her name right ;-) Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I am a lousy typist and she is very very patient. A. On Dec 1, 2009, at 11;17,04 , Arthur Reutenauer wrote: Mojca (at last!)— I was also wondering when you would get her name right ;-) Arthur ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows executables not DOS in beta
Massimiliano Lambertini wrote: Christopher G D Tipper wrote: I just updated to the latest beta on Vista and I get the following executing texexec.exe: This program cannot be run in DOS mode. I stumbled upon it in my XP box. I checked out on google and it seemed that this bug had someting to do with the presence of multiple copies of cygwin1.dll in your executable path. However, wiping out all supplemental cygwin copies did not address the problem :-( new beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] About \version[temporary]
Hi all, I have a question which can be elementary, but nevertheless it has some importance… When using cross references, one can somehow « visualize » the list of the cross references on each page with the command \version[temporary] However, in mkii at least, the list of the references is placed at the top of the page in the right margin and this is not very convenient when proof reading, especially in mathematical articles. It would be more handy to have each reference in the left (or right) margin of the line where it is defined or where it is invoked with the command « \in ». However I didn't manage to understand how this behaviour can be changed (various attempts with \setuplist[references] had no effect). (By the way, in mkiv, the list is not shown). Can anyone give an insight? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] url breaking
Hi all, a) I've reported this before; I ca1n't seem to wrap long URLs across lines in XeTeX $ pdfinfo x.pdf Title: x Subject:x Author: Mohamed Bana Creator:ConTeXt - 2008.10.31 13:58 Producer: xdvipdfmx (0.7.3) CreationDate: Tue Dec 1 17:19:25 2009 ModDate:Tue Dec 1 00:00:00 2009 Tagged: no Pages: 1 Encrypted: no Page size: 595.28 x 841.89 pts (A4) File size: 37209 bytes Optimized: no PDF version:1.5 If I do this in LuaTeX it seems to work fine. \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][\hyphenatedurl{ http://dx.doi.org/10.1109/32.689404}] \from[doilink] But with XeTeX it insists on overflowing into the margins or into another column. Does anyone have a workaround? $ pdfinfo x.pdf Title: x Subject:x Author: Mohamed Bana Creator:ConTeXt - 2009.12.01 17:09 Producer: LuaTeX-0.46.0 CreationDate: Tue Dec 1 17:30:14 2009 ModDate:Tue Dec 1 00:00:00 2009 Tagged: no Pages: 2 Encrypted: no Page size: 595.276 x 841.89 pts (A4) File size: 32262 bytes Optimized: no PDF version:1.5 In this latest version I don't even need the \hyphenatedurl macro :). b) And please, guys, will you just include a macro that will take a URL as a parameter and typeset it. Having to do \useURL[doilink][http://dx.doi.org/10.1109/32.689404][][\hyphenatedurl{ http://dx.doi.org/10.1109/32.689404}] \from[doilink] is just unnecessary. I'm thinking \typeurl[url], that's it. c) Is there something wrong with using \footnote{text} whilst in a column? I can send the full example off-list. Just ping me. Thank you, —Mohamed ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows executables not DOS in beta
No still not working. I've discounted the 'cygwin1.dll' issue as there are only two copies on my hard-disk and the non-Context one is definitely not on my path. Christopher Hans Hagen wrote: Massimiliano Lambertini wrote: Christopher G D Tipper wrote: I just updated to the latest beta on Vista and I get the following executing texexec.exe: This program cannot be run in DOS mode. I stumbled upon it in my XP box. I checked out on google and it seemed that this bug had someting to do with the presence of multiple copies of cygwin1.dll in your executable path. However, wiping out all supplemental cygwin copies did not address the problem :-( new beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, .bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote: Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? Alan On Dec 1, 2009, at 10;40,52 , Mojca Miklavec wrote: On Tue, Dec 1, 2009 at 13:25, Bowen Alan C. wrote: I have just installed the latest beta (minimals) and updated my .bash_profile (as advised) so that it now reads: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin Why the second argument? (It's optional, but wrong in this case.) When I try to compile any file, I get: FatalError : Your format does not match the base files! FormatVersion : 2009.11.26 16:28 MKII FilesVersion: 2009.12.01 00:14 How do I fix this? (texexec --make --all did not do the trick.) I suspect that you don't call the right texexec when you run it (maybe you have another texexec in TeX Live?) Mojca ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Bowen Alan C. wrote: I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, ..bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote: Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On Tue, Dec 01 2009, Bowen Alan C. wrote: I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Hello Alan, You don't need setuptex. Just add this line to your .bash_profile or .bashrc: PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? Hi Alan, If you are running Mac OS X 10.6.1 or later, the right folder (or directory) is ConTeXtMinimals/tex/texmf-osx-64/bin In any case you can test this just by changing the name of either of the folders and try to typeset a file (you can change the name of the folder for example in the Finder). Do you use TeXShop or any other GUI application? A last point: at the beginning of the ConTeXt minimals, at one point I installed the minimals in the /Application/ folder (directory) but had constantly problems due to the rights of writing and executing, I think. Now I have the Minimals in another place and everything works fine. Good luck! Best regards: OK___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
I think so, Hans: I updated it over the weekend. Alan On Dec 1, 2009, at 15;26,12 , Hans Hagen wrote: Bowen Alan C. wrote: I should add that when my .bash_profile has . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ I cannot compile any file because of the mismatch between format and base files. If I change my .bash_profile to . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin as suggested in When you want to use context, you need to initialize the tree by typing: . /Applications/ConTeXtMinimals/tex/setuptex in your shell or add /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin to PATH variable if you want to set it permanently. This can usually be done in .bashrc, ..bash_profile (or whatever file is used to initialize your shell). I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Alan 'On Dec 1, 2009, at 11;15,15 , Bowen Alan C. wrote: Mojca (at last!)— I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Metapost code does not work - Can you find the problem?
Can someone please tell me why the code below does not work? Thanks a ton. \starttext \startuseMPgraphic[CS] u:=1cm; pickup pencircle scaled 2pt; %Paths path demandCS; demandCS := (0,5u) -- (10u,0); % Draw Demand draw demandCS withcolor 0.5red; % The point on demand curve draw ((6,2) -- (6,0)) scaled u dashed evenly withpen pencircle scaled 1pt withcolor 0.5white; draw ((6,2) -- (0,2)) scaled u dashed evenly withpen pencircle scaled 1pt withcolor 0.5white; \stopuseMPgraphic \useMPgraphic{CS} \placefigure[here][CS1]{Consumer Surplus}{\useMPgraphic{CS}} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Metapost code does not work - Can you find the problem?
Sorry for the question. I figured it out. I have square brackets instead of braces in the \startuseMPgraphic line. On Tue, Dec 1, 2009 at 3:52 PM, Curiouslearn curiousle...@gmail.com wrote: Can someone please tell me why the code below does not work? Thanks a ton. \starttext \startuseMPgraphic[CS] u:=1cm; pickup pencircle scaled 2pt; %Paths path demandCS; demandCS := (0,5u) -- (10u,0); % Draw Demand draw demandCS withcolor 0.5red; % The point on demand curve draw ((6,2) -- (6,0)) scaled u dashed evenly withpen pencircle scaled 1pt withcolor 0.5white; draw ((6,2) -- (0,2)) scaled u dashed evenly withpen pencircle scaled 1pt withcolor 0.5white; \stopuseMPgraphic \useMPgraphic{CS} \placefigure[here][CS1]{Consumer Surplus}{\useMPgraphic{CS}} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 when I compile as file with both or with either one alone. Alan On Dec 1, 2009, at 15;38,29 , Otared Kavian wrote: I see that I have two texexecs in my Minimals now: one in ConTeXtMinimals/tex/texmf-osx-intel/bin the other in ConTeXtMinimals/tex/texmf-osx-64/bin Which one is the right one? only mojca knows ... did you use the latest version of teh installer script? Hi Alan, If you are running Mac OS X 10.6.1 or later, the right folder (or directory) is ConTeXtMinimals/tex/texmf-osx-64/bin In any case you can test this just by changing the name of either of the folders and try to typeset a file (you can change the name of the folder for example in the Finder). Do you use TeXShop or any other GUI application? A last point: at the beginning of the ConTeXt minimals, at one point I installed the minimals in the /Application/ folder (directory) but had constantly problems due to the rights of writing and executing, I think. Now I have the Minimals in another place and everything works fine. Good luck! Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Thanks, Peter. I will assume for the moment that the question of my profile entry is separable from the problem in getting a file to compile. (The problem persists no matter what line I have in .bash-profile.) Alan On Dec 1, 2009, at 15;28,29 , Peter Münster wrote: On Tue, Dec 01 2009, Bowen Alan C. wrote: I get the error message The argument /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin is not a valid TEXROOT path. (There is no file /Applications/ConTeXtMinimals/tex/texmf-osx-64/bin/texmf/tex/plain/base/plain.tex) Hello Alan, You don't need setuptex. Just add this line to your .bash_profile or .bashrc: PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-64/bin:$PATH Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows executables not DOS in beta
OK, further investigations suggests that ctxtools has been fixed but texexec returns the same message, This program cannot be run in DOS mode. No problem, it's not urgent. Christopher Christopher G D Tipper wrote: No still not working. I've discounted the 'cygwin1.dll' issue as there are only two copies on my hard-disk and the non-Context one is definitely not on my path. Christopher Hans Hagen wrote: Massimiliano Lambertini wrote: Christopher G D Tipper wrote: I just updated to the latest beta on Vista and I get the following executing texexec.exe: This program cannot be run in DOS mode. I stumbled upon it in my XP box. I checked out on google and it seemed that this bug had someting to do with the presence of multiple copies of cygwin1.dll in your executable path. However, wiping out all supplemental cygwin copies did not address the problem :-( new beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - -- o00o In the beginning there was nothing. God said, 'Let there be light!' And there was light. There was still nothing, but you could see it a whole lot better. -- Ellen DeGeneres ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
On 1 déc. 2009, at 22:09, Bowen Alan C. wrote: Hi, Otared, Thanks for the tip. The first problem is that ./first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) \write18 enabled. (/Applications/ConTeXtMinimals/tex/texmf-context/web2c/natural.tcx) kpathsea: Running mktexfmt cont-en.fmt mktexfmt: No such file or directory I can't find the format file `cont-en.fmt'! TeXExec | runtime: 0.10815 when I compile as file with both or with either one alone. Alan Hi Alan, It doesn't matter if first-setup.sh, or setuptex, whichever, installs two directories /tex/texmf-osx-64/bin and /tex/texmf-osx-intel/bin in the folder where you have first-setup.sh. As far as I am concerned, running Mac OS X 10.6.2, I even removed manually the folder /tex/texmf-osx-intel/bin, and everything works fine. Something which seems strange to me is the line you have in your .bash_profile which has: . /Applications/ConTeXtMinimals/tex/setuptex /Applications/ConTeXtMinimals/tex/ this seems unorthodox… In any case this /Applications/ConTeXtMinimals/tex/ should not be there and you should remove it. In order to locate the problem, you may remove this line and then in a Terminal window issue the command: source /Applications/ConTeXtMinimals/tex/setuptex (Using source is better than the. in my humble opinion). Next issue the command which context in order to see what binary context is going to be executed when you typeset a file. Finally, assuming that you have the right context binary, typeset a test file, named for instance myfile.tex, by issuing the command: context myfile.tex in the directory where myfile.tex is present. Good luck: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] latest beta and file mismatch problem
Bowen Alan C. wrote: Hi, Otared, Thanks for the tip. The first problem is that ../first-setup.sh installs both files texmf-os-x and texmf-osx-intgel. The second is that I now get is there a startus file? if so, delete that one (or try a fresh minimals) the problem is that in order to figure out the osx 32/64 mess several hacks have been tried Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Windows executables not DOS in beta
Christopher G D Tipper wrote: No still not working. I've discounted the 'cygwin1.dll' issue as there are only two copies on my hard-disk and the non-Context one is definitely not on my path. i'll test on an xp machine tomorrow - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to use metauml in ConTeXt
Joshua == Joshua Lee muz...@gmail.com writes: Joshua Hi All, Is there any way to use metauml from ConTeXt? Joshua http://thor.info.uaic.ro/~ogh/lop/ Joshua BTW, is there any ConTeXt modules to write uml sequence diagram Joshua similar to http://code.google.com/p/pgf-umlsd ? Joshua Thanks in advance. Joshua Best regards, Joshua Hi Joshua, There we use the following chain: - Edit UML diagrams with bouml (a really really great tool to design and for reverse engineering… ) - Export to SVG (take care of the font with qt-config if you want some consistency within your final pdf) - SVG to PDF conversion with inkscape (command line + fonts embedding option if needed) - just use the PDF as another external figure… I'll check tomorrow if I have succeeded to optimize the fonts embedding (this point has annoyed me a lot)… From my POV, MetaUML is not adapted to a real production environment (except at pure design stage)… Worth give à try to bouml - pdf Your UML diagrams should look great with a few bouml/fonts/qt-config configuration. Renaud ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] auto-sizing of nested parentheses
On Tue, Dec 1, 2009 at 3:30 PM, comm...@googlemail.com wrote: Like with \left? $\left(\left( ... \right)\right)$ Best wishes, Taco maybe im doing something wrong here. i have this expression \startformula \sum\limits_{i = 1}^n {\left( {\left( {\left( {\alpha { \odot _{C}}{{\tilde k}_i}\left( y \right)} \right){ \oplus _{C}}\left( {\beta { \odot _{C}}{{\tilde k}_i}\left( z \right)} \right)} \right){ \odot _Y}{u_i}} \right)} \stopformula and the first 3 parentheses have the same size. i would like the outer to be bigger than the inner, like in the attached image (i hope attachments work). a bit ot.. It sounds to me like a hint: is the third parentheses necessary ? -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to use metauml in ConTeXt
Hi Renaud, Thanks, I'll have a try. Best regards, Joshua On Tue, 01 Dec 2009, Renaud AUBIN wrote: Joshua == Joshua Lee muz...@gmail.com writes: Joshua Hi All, Is there any way to use metauml from ConTeXt? Joshua http://thor.info.uaic.ro/~ogh/lop/ Joshua BTW, is there any ConTeXt modules to write uml sequence diagram Joshua similar to http://code.google.com/p/pgf-umlsd ? Joshua Thanks in advance. Joshua Best regards, Joshua Hi Joshua, There we use the following chain: - Edit UML diagrams with bouml (a really really great tool to design and for reverse engineering… ) - Export to SVG (take care of the font with qt-config if you want some consistency within your final pdf) - SVG to PDF conversion with inkscape (command line + fonts embedding option if needed) - just use the PDF as another external figure… I'll check tomorrow if I have succeeded to optimize the fonts embedding (this point has annoyed me a lot)… From my POV, MetaUML is not adapted to a real production environment (except at pure design stage)… Worth give à try to bouml - pdf Your UML diagrams should look great with a few bouml/fonts/qt-config configuration. Renaud ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- Joshua Lee Alpha Networks(Chengdu) Co., LTD Shanghai Branch TEL: (86-21)61609650 EXT: 8020 FAX: (86-21)61609650 EXT: 8041 ADD: Suite 301, No.10, 198 Lane, Zhangheng Road, ZJ Hi-Tech Park, Shanghai, China 201204 ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] place figure without \placefigure
R. Bastian wrote: On Tue, 17 Nov 2009 13:01:11 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: \placefigure[none]{}{\externalfigure[...]} it wörks nit, but That's because the none ended up between the wrong parentheses; when you do not want captions while using \placefigure, write none in the spot where the caption would normally be: \placefigure [...] {none} %no caption {\externalfigure[...]} This works, at least in older versions of ConTeXt. I've got a few figures where it is used, this way I can be certain that the figure placement etc. is consistent all over. It works in combinations, too; in the following example I combine three figures on one row. The whole combination does have a caption, but the individual figures in the combination do not - so if you look at the final pdf, this looks like any single figure with one caption underneath. \placefigure [here] % placement [fig:nameplates] % reference {IA sensor nameplates} % caption for whole group { \startcombination[3*1] % 3 columns, 1 row {\externalfigure[sanitary ia]} {none} {\externalfigure[general ia]} {none} {\externalfigure[aggressive ia]} {none} \stopcombination } % whole combination in braces of placefigure Regards, Mari ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___