Re: [NTG-context] A ConTeXt bug tracker to keep track of reported bugs?

2008-09-11 Thread Patrick Gundlach
Hi, I've reported several bugs (mostly Arabic related) and I'm afraid it might get lost as time goes, I wonder if there is a bug tracker for ConTeXt where we can track reported bugs? I searched the wiki and I didn't find any thing. There used to be a public bug tracker at foundry.supelec.fr

[NTG-context] first steps with \dosingleempty

2008-09-11 Thread Goebel, Juergen
Hi, Regarding the following example I've got two questions. (1) Why don't I ever see the argument #2 in the output? (2) What do I have to do to suppress the unwanted space after the end of the output of this macro (as can be seen in the result before the following comma)? Regards, Juergen

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 40

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 7:21 AM, Goebel, Juergen wrote: ACK. Accustomed to LaTeX this handling had the feeling of TeX, but of course it isn't. Nevertheless I'm afraid I'm going to have a hard time to learn this. The next problem(s) are already in the pipeline. Juergen Of course all of this

Re: [NTG-context] first steps with \dosingleempty

2008-09-11 Thread Hans Hagen
Goebel, Juergen wrote: Hi, Regarding the following example I've got two questions. (1) Why don't I ever see the argument #2 in the output? (2) What do I have to do to suppress the unwanted space after the end of the output of this macro (as can be seen in the result before the following

Re: [NTG-context] A ConTeXt bug tracker to keep track of reported bugs?

2008-09-11 Thread Hans Hagen
Patrick Gundlach wrote: Hi, I've reported several bugs (mostly Arabic related) and I'm afraid it might get lost as time goes, I wonder if there is a bug tracker for ConTeXt where we can track reported bugs? I searched the wiki and I didn't find any thing. There used to be a public bug

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi guys, I'm pulling my hair out. I'm trying to set up an automatism to fit pictures to the available space on a slide. I need to consider three parameters: 1. If the user supplies a value for width= or height= , use this value (captured in a macro); 2.

Re: [NTG-context] first steps with \dosingleempty

2008-09-11 Thread Goebel, Juergen
Hans Hagen wrote: \unexpanded\def\Geb{\dosingleempty\doMyGeb} \def\doMyGeb[#1]#2#3% {, x \iffirstargument Aha \fi \doifsomethingelse{#2}{#2}{...}\space \doifsomethingelse{#3}{#3}{...}% \par} Thanks a lot, elegant and much shorter. But, alas, I can't test it yet since the

Re: [NTG-context] A ConTeXt bug tracker to keep track of reported bugs?

2008-09-11 Thread Hans Hagen
Khaled Hosny wrote: I've reported several bugs (mostly Arabic related) and I'm afraid it might get lost as time goes, I wonder if there is a bug tracker for they're still in my mailbox ... time ... -

Re: [NTG-context] first steps with \dosingleempty

2008-09-11 Thread Patrick Gundlach
Hi, Does anyone know when the TL 2008 will be distributed to the DANTE-members? very likely, but you should consider trying out the official context distribution: http://distribution.contextgarden.net/ Patrick -- ConTeXt wiki and more: http://contextgarden.net

Re: [NTG-context] Strange behaviour with tikz

2008-09-11 Thread Mojca Miklavec
On Wed, Sep 10, 2008 at 7:44 PM, Eric DÉTREZ wrote: Hello again I don't understand a strange thing. Patterns in tikz become black in some case. Here is a minimal example : *** \usemodule[tikz] \usetikzlibrary[patterns] \starttext blabla \chapter

Re: [NTG-context] first steps with \dosingleempty

2008-09-11 Thread Wolfgang Schuster
On Thu, Sep 11, 2008 at 9:56 AM, Goebel, Juergen [EMAIL PROTECTED] wrote: Hans Hagen wrote: \unexpanded\def\Geb{\dosingleempty\doMyGeb} \def\doMyGeb[#1]#2#3% {, x \iffirstargument Aha \fi \doifsomethingelse{#2}{#2}{...}\space \doifsomethingelse{#3}{#3}{...}% \par} Thanks

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 40

2008-09-11 Thread Taco Hoekwater
Thomas A. Schmitz wrote: You should really read the wiki section I recommended (there is also a pdf version at http://tex.aanhet.net/context/syst-gen-doc.pdf, so if you want to read it offline, just download it. Hey Taco, we're still waiting for part 2...) Actually I no longer have

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Mojca Miklavec
On Wed, Sep 10, 2008 at 9:04 AM, Wolfgang Schuster wrote: On Wed, Sep 10, 2008 at 8:56 AM, Goebel, Juergen wrote: Wolfgang Schuster wrote: Which file do you used for test3 and which for test4? I'm sorry, seems to be too early in the morning. test3: umlaut-utf.tex test4: umlaut-latin.tex

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm]{\externalfigure[mill.png] [maxwidth=3cm,maxheight=4cm,width=10cm]} \stoptext seems to work Ah of course! I could set the width to an absurdly high number and so make sure that it will always reach

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Goebel, Juergen
Mojca Miklavec wrote: But as far as I understood, the problem got resolved, right? Didn't the umlaut-utf work OK? No, not with my oldtimer. (Jürgen, in case that you are still using the old version of ConTeXt - *many* aspects have improved since then, including encodings and regimes, so

[NTG-context] modes questions

2008-09-11 Thread Alan Stone
Hi, (1) --mode=modelist (1.1) Is there a limit to the number of modes in modelist ? (1.2) Is there a way to call the modelist and submit it to conditional testing within ConTeXt ? For example, to lookup (true/false) the presence of modes containing/starting with (an) alphannumeric string(s) ?

[NTG-context] use of the \cite command (bib-module)

2008-09-11 Thread Martin Hoher
Hello, concerning the bib-module and the \cite command I've got two questions: (1) The output in the text of the document should look like this: Goldstein (2003:95). The name of the author should be located on the outside of the brackets.

Re: [NTG-context] use of the \cite command (bib-module)

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 12:19 PM, Martin Hoher wrote: Hello, concerning the bib-module and the \cite command I've got two questions: (1) The output in the text of the document should look like this: Goldstein (2003:95). The name of the author should be located on the outside

Re: [NTG-context] first steps with \dosingleempty

2008-09-11 Thread Wolfgang Schuster
On Thu, Sep 11, 2008 at 12:28 PM, Goebel, Juergen [EMAIL PROTECTED] wrote: Patrick Gundlach wrote: http://distribution.contextgarden.net/ Hmm, is there a zip-file or something like this, which I can download via http or ftp for use with windows? I think of something like

Re: [NTG-context] modes questions

2008-09-11 Thread Hans Hagen
Alan Stone wrote: Hi, (1) --mode=modelist (1.1) Is there a limit to the number of modes in modelist ? no, just what the console and memory permit (1.2) Is there a way to call the modelist and submit it to conditional testing within ConTeXt ? For example, to lookup (true/false) the

Re: [NTG-context] modes questions

2008-09-11 Thread Taco Hoekwater
Hans Hagen wrote: (1.2) Is there a way to call the modelist and submit it to conditional testing within ConTeXt ? For example, to lookup (true/false) the presence of modes containing/starting with (an) alphannumeric string(s) ? \doifmodeelse{somemode} { } { } etc etc etc This presumes

Re: [NTG-context] first steps with \dosingleempty

2008-09-11 Thread Goebel, Juergen
Patrick Gundlach wrote: http://distribution.contextgarden.net/ Hmm, is there a zip-file or something like this, which I can download via http or ftp for use with windows? I think of something like context-setup-mswin.zip, only not minimal. I would very much appreciated a link to this

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Wolfgang Schuster
On Thu, Sep 11, 2008 at 12:13 PM, Goebel, Juergen [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: But as far as I understood, the problem got resolved, right? Didn't the umlaut-utf work OK? No, not with my oldtimer. (Jürgen, in case that you are still using the old version of ConTeXt -

Re: [NTG-context] modes questions

2008-09-11 Thread Hans Hagen
Taco Hoekwater wrote: Hans Hagen wrote: (1.2) Is there a way to call the modelist and submit it to conditional testing within ConTeXt ? For example, to lookup (true/false) the presence of modes containing/starting with (an) alphannumeric \doifinstring string(s) ? \doifmodeelse{somemode} {

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Goebel, Juergen
Wolfgang Schuster wrote: Can you try it again with my new test files. umlaut-iso-8859-1.tex -- no sharp s umlaut-utf-8.tex -- sharp s umlaut-windows-1250.tex -- no sharp s BTW: The download is running (or should I say crawling) with a gargantuan data rate of about 25

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Wolfgang Schuster
On Thu, Sep 11, 2008 at 1:56 PM, Goebel, Juergen [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: Can you try it again with my new test files. umlaut-iso-8859-1.tex -- no sharp s umlaut-utf-8.tex -- sharp s umlaut-windows-1250.tex -- no sharp s Can you try my updated

Re: [NTG-context] modes questions

2008-09-11 Thread Alan Stone
On Thu, Sep 11, 2008 at 12:52 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Hans Hagen wrote: (1.2) Is there a way to call the modelist and submit it to conditional testing within ConTeXt ? For example, to lookup (true/false) the presence of modes containing/starting with (an) alphannumeric

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Hans Hagen
Wolfgang Schuster wrote: On Thu, Sep 11, 2008 at 12:13 PM, Goebel, Juergen [EMAIL PROTECTED] wrote: Mojca Miklavec wrote: But as far as I understood, the problem got resolved, right? Didn't the umlaut-utf work OK? No, not with my oldtimer. (Jürgen, in case that you are still using the old

Re: [NTG-context] modes questions

2008-09-11 Thread Alan Stone
On Thu, Sep 11, 2008 at 1:37 PM, Hans Hagen [EMAIL PROTECTED] wrote: Taco Hoekwater wrote: Hans Hagen wrote: (1.2) Is there a way to call the modelist and submit it to conditional testing within ConTeXt ? For example, to lookup (true/false) the presence of modes containing/starting with (an)

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm]{\externalfigure[mill.png] [maxwidth=3cm,maxheight=4cm,width=10cm]} \stoptext seems to work Ah of course! I could set the width to an absurdly

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 36

2008-09-11 Thread Goebel, Juergen
Wolfgang Schuster wrote: Can you try my updated version of the two buggy files, I think I found the problem and want to be sure. Both versions still show no sharp s, but it's the oldtimer running. The download of the new version will soon be finished and tomorrow I'll install it - hopefully

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Peter Rolf
Thomas A. Schmitz schrieb: On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm]{\externalfigure[mill.png] [maxwidth=3cm,maxheight=4cm,width=10cm]} \stoptext seems to work Ah of course! I could

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Wolfgang Schuster
On Thu, Sep 11, 2008 at 3:28 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext \framed[width=5cm,height4cm]{\externalfigure[mill.png] [maxwidth=3cm,maxheight=4cm,width=10cm]}

[NTG-context] installation of ConTeXt

2008-09-11 Thread Goebel, Juergen
Hi, Do I really have to install ruby? I downloaded it, but can't find anything like install, setup or something like this. Even the readme is not very helpful at all. And another question: for using Ruby - and therefore ConTeXt - do I need cygwin? Regards, Juergen

Re: [NTG-context] installation of ConTeXt

2008-09-11 Thread Hans Hagen
Goebel, Juergen wrote: Hi, Do I really have to install ruby? I downloaded it, but can't find anything like install, setup or something like this. Even the readme is not very helpful at all. And another question: for using Ruby - and therefore ConTeXt - do I need cygwin? no, try to avoid

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 4:01 PM, Peter Rolf wrote: Hi Thomas, I tried the above solution for the creation of figure libraries a few hours ago... with the same result. Using 'height=10cm' instead of 'width=10cm' should work in this case. At least this workaround gives the right results for my

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Hans Hagen
Thomas A. Schmitz wrote: On Sep 11, 2008, at 4:01 PM, Peter Rolf wrote: Hi Thomas, I tried the above solution for the creation of figure libraries a few hours ago... with the same result. Using 'height=10cm' instead of 'width=10cm' should work in this case. At least this workaround gives

Re: [NTG-context] \cite command (bib-module)

2008-09-11 Thread Martin Hoher
Message: 4 Date: Thu, 11 Sep 2008 12:35:59 +0200 From: Thomas A. Schmitz [EMAIL PROTECTED] Subject: Re: [NTG-context] use of the \cite command (bib-module) To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII;

[NTG-context] One very silly question

2008-09-11 Thread Yue Wang
Hi, I read the manual, and it said: rm, ss,tt,hw,cg are styles, bf,it,bi,sl,bs, sc, os, tf are alternatives. one can use one alternative in one style like \rm\bf. However, I think we should add more alternatives like boldsmallcaps or bold old style number? in opentype, smcp, onum are just

Re: [NTG-context] ntg-context Digest, Vol 51, Issue 44

2008-09-11 Thread Martin Hoher
[EMAIL PROTECTED] schrieb: Send ntg-context mailing list submissions to ntg-context@ntg.nl To subscribe or unsubscribe via the World Wide Web, visit http://www.ntg.nl/mailman/listinfo/ntg-context or, via email, send a message with subject or body 'help' to [EMAIL

Re: [NTG-context] A ConTeXt bug tracker to keep track of reported bugs?

2008-09-11 Thread Hans Hagen
Khaled Hosny wrote: On Thu, Sep 11, 2008 at 09:24:52AM +0200, Hans Hagen wrote: Khaled Hosny wrote: I've reported several bugs (mostly Arabic related) and I'm afraid it might get lost as time goes, I wonder if there is a bug tracker for they're still in my mailbox ... time ... I'm afraid

Re: [NTG-context] \cite command (bib-module)

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 5:01 PM, Martin Hoher wrote: Thank you for your answer. The first example works. The result is: Goldstein (2003) but unfortunately it is impossible to combine it with the [extras={:95}] option to get the page number behind the citation. If you type \cite

[NTG-context] Request for digested readers: please change subject

2008-09-11 Thread Mojca Miklavec
Hello, ConTeXt mailing list is really a huge one and an overkill to follow it as a whole. But to all those of you who read mail in digested mode: feel free to hit reply and answer there, but then please: a) delete all the other non-relevant 24 messages in the digest b) If original subject was

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 4:13 PM, Wolfgang Schuster wrote: On Thu, Sep 11, 2008 at 3:28 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext

Re: [NTG-context] installation of ConTeXt

2008-09-11 Thread Mojca Miklavec
On Thu, Sep 11, 2008 at 4:08 PM, Goebel, Juergen wrote: Hi, Do I really have to install ruby? I downloaded it, but can't find anything like install, setup or something like this. There are two alternatives for installing ruby. Take this one:

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Mojca Miklavec
On Thu, Sep 11, 2008 at 12:06 AM, Thomas A. Schmitz wrote: Hi guys, I'm pulling my hair out. I'm trying to set up an automatism to fit pictures to the available space on a slide. Hello, I'm probably talking about something else, though highly related. There's one thing that I often miss on

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Hans Hagen
Thomas A. Schmitz wrote: On Sep 11, 2008, at 4:13 PM, Wolfgang Schuster wrote: On Thu, Sep 11, 2008 at 3:28 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Sep 11, 2008, at 10:04 AM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 9:28 AM, Hans Hagen wrote: \starttext

Re: [NTG-context] One very silly question

2008-09-11 Thread Hans Hagen
Yue Wang wrote: Hi, I read the manual, and it said: rm, ss,tt,hw,cg are styles, bf,it,bi,sl,bs, sc, os, tf are alternatives. one can use one alternative in one style like \rm\bf. However, I think we should add more alternatives like boldsmallcaps or bold old style number? no, in such

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 6:20 PM, Thomas A. Schmitz wrote: \starttext \start \setbox\scratchbox\vbox{\externalfigure[mill]} \dimen0=\wd\scratchbox \dimen2=\ht\scratchbox \framed[frame=on,strut=no,width=8cm,height=2cm] {\dimen1=\hsize \divide\dimen1 by \dimen0 \dimen3=\vsize

[NTG-context] frameoffset in textbackground

2008-09-11 Thread Wolfgang Werners-Lucchini
Hallo, I asked this question a week ago, but got no answer. Does anybody know what is 'frameoffset' for? I can not see any difference with and without this parameter. -- \setupcolors[state=start] \definetextbackground[strong] [backgroundcolor=lightgray,

[NTG-context] \mathop inside \sometxt in MKIV

2008-09-11 Thread Aditya Mahajan
Hi, I am using ConTeXt ver: 2008.09.10 14:01 MKIV fmt: 2008.9.11 and the following file \starttext \startMPcode label.bot(\sometxt{$\mathop{}$}, origin) ; \stopMPcode \stoptext gives ! Missing number, treated as zero. to be read again ## \purenumber

[NTG-context] width of cell in TABLE

2008-09-11 Thread Peter Münster
Hello, How could I get a column with 0 width (useful for dummy columns). Example, that shows, that the width is not 0: \starttext \setupTABLE[width=0pt, offset=0pt, height=1cm] \bTABLE \bTR\bTD\eTD\eTR \eTABLE \framed[width=0pt, offset=0pt, height=1cm]{} \stoptext Cheers, Peter --

Re: [NTG-context] rows and columns in TABLE (fwd)

2008-09-11 Thread Peter Münster
Hello, I would like to adjust the height of each row. But I manage to get the desired result only with a seventh dummy column. Consider this example with and without the mode seven: %\enablemode[seven] \starttext \setupTABLE[r][2,3,4,5,6,7][height=6ex] \bTABLE[width=0.125\textwidth] \bTR \bTH 1.

Re: [NTG-context] fitting a picture to the available space

2008-09-11 Thread Thomas A. Schmitz
On Sep 11, 2008, at 7:59 PM, Thomas A. Schmitz wrote: On Sep 11, 2008, at 6:20 PM, Thomas A. Schmitz wrote: \starttext \start \setbox\scratchbox\vbox{\externalfigure[mill]} \dimen0=\wd\scratchbox \dimen2=\ht\scratchbox \framed[frame=on,strut=no,width=8cm,height=2cm] {\dimen1=\hsize

Re: [NTG-context] installation of ConTeXt

2008-09-11 Thread Goebel, Juergen
Mojca Miklavec wrote: There are two alternatives for installing ruby. Take this one: http://rubyinstaller.rubyforge.org/wiki/wiki.pl?RubyInstaller Thanks, I'll give it a try (installation is already running). Juergen