[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] 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] 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

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 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 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

[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 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

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

2008-09-10 Thread Goebel, Juergen
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 Jürgen ___ If your question is of

[NTG-context] defining (new) macros with optional arguments

2008-09-10 Thread Goebel, Juergen
Hi, Does something like \newcommand exist in ConTeXt? My questions aims especially at the optional argument with a predefined value. So, how do I realize \newcommand{\test}[2][A]{foo} with ConTeXt. In the fine manual I found an index entry \definecommand, but in the 'rest' of the manual it

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

2008-09-10 Thread Goebel, Juergen
Wolfgang Schuster schrieb: Can you try this \enableregime[windows] \starttext \SS\space\ssharp\space\number`? \stoptext The result is shown in the attached test5.pdf, \SS and \ssharp show the 'eszet', \number` deliveres 63. Juergen test5.pdf Description: test5.pdf

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

2008-09-10 Thread Goebel, Juergen
Thomas A. Schmitz wrote: No, we never define any commands... Err, in fact yes, sometimes we do. You want to read http://wiki.contextgarden.net/System_Macros , especially http://wiki.contextgarden.net/System_Macros/Handling_Arguments HTH Yes, it does. Although I must admit, that

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

2008-09-10 Thread Goebel, Juergen
Wolfgang Schuster wrote: http://wiki.contextgarden.net/Commands_with_optional_arguments And we have also \define and \redefine but you can't use optional arguments with them. That's a good starting point, thanks for the link. My first attempts are running, although faulty. Perhaps I'll

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

2008-09-10 Thread Goebel, Juergen
Thomas A. Schmitz wrote: ??? I have no idea what you want to say here. 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

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

2008-09-09 Thread Goebel, Juergen
Wolfgang Schuster wrote: How old is your TeX installation, the name of the binary is now pdftex and no longer pdfetex Seems to be somewhat older since pdftex is not known as executable. He says pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2c 7.5.2) (I'm hopefully waiting for TL 2008 for updating

[NTG-context] german Umlaut 'ß'

2008-09-09 Thread Goebel, Juergen
Hi, My next problem seems to be the german umlaut 'ß'. Running the following example delivers only six of the seven wanted characters, while the 'ß' is left blank. I'm not sure whether this might be a problem with my editor WinEdt, but I'm sure you can show me the right direction. Regards,

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

2008-09-09 Thread Goebel, Juergen
Wolfgang Schuster wrote: Can you show us what do you get from my two examples. I'm going to try to and I hope the attachments will work. In short: the first example (result in test3.pdf) shows the 'eszet' while the second example (test4.pdf) doesn't. Jürgen test3.pdf Description: test3.pdf

[NTG-context] \language[de] ?

2008-09-08 Thread Goebel, Juergen
Hi, Doing my first steps with ConTeXt (after about ten years experience with LaTeX) I was running into the following problem. Running the enclosed example I got still the english version (as can be seen in the 'Contents'-title of the TOC). % language=de tex=pdfetex output=pdftex \language[de]