Re: [NTG-context] system macros/doquadrupleemtpy

2008-09-04 Thread Wolfgang Schuster
On Wed, Sep 3, 2008 at 4:41 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: Hi all, I'm trying to define a macro \Command which can either have four or five arguments. If it has five, I want to define them as \Command1[#1][#2][#3][#4]{#5} if it has four, as \Command2[#1][#2][#3]{4#} I

Re: [NTG-context] system macros/doquadrupleemtpy

2008-09-04 Thread Thomas A. Schmitz
Aditya, Peter, as always, thanks a lot for your help. Peter, you're certainly right that it's difficult to diagnose my problem - I'm sending only snippets, no example. But it's a fairly complex thing here for my presentation module and difficult to reduce in size. On Sep 3, 2008, at 6:58

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread Hans Hagen
B. Tommy Jensen wrote: Hi, I have a short question about verbatim areas (\starttyping): I have been trying to define a background color to verbatim areas in a document. My method so far is to define a textbackground named verbatim and refer to this in the setuptyping method:

Re: [NTG-context] system macros/doquadrupleemtpy

2008-09-04 Thread Thomas A. Schmitz
On Sep 4, 2008, at 8:45 AM, Wolfgang Schuster wrote: \def\Commanda {\doquadrupleempty\doCommanda} \def\doCommanda[#1][#2][#3][#4]% {\iffourthargument \def\next{\doCommandafive[#1][#2][#3][#4]}% \else \def\next{\doCommandafour[#1][#2][#3]}% \fi\next}

Re: [NTG-context] Bug in luatex?

2008-09-04 Thread Hans Hagen
Diego Depaoli wrote: Hi all, compiling this small file with luatex I get weird results. this is a bug in luatex itself taco: when i comment brokenpenalty here, it works ok \def\nopenalties {\widowpenalty\zerocount \clubpenalty \zerocount \brokenpenalty

Re: [NTG-context] error message query

2008-09-04 Thread Wolfgang Schuster
On Wed, Sep 3, 2008 at 9:48 PM, Alan Bowen [EMAIL PROTECTED] wrote: It appears that the problem is my definition \def\ {|~|} Though this definition works in a simple test file, it apparently conflicts with something in my environment file and produces the error message reported previously.

Re: [NTG-context] interactionbuttons

2008-09-04 Thread Hans Hagen
Alan Stone wrote: What's missing for this to work ? \definereference[GoToToC][\goto{ToC}[myToC]] \def\myButtons {\interactionbuttons[width=1cm][ GoToToC,CloseDocument]} see symb-nav.tex -

Re: [NTG-context] Verbatim with color background

2008-09-04 Thread B. Tommy Jensen
On Thu, 04 Sep 2008 10:12:47 +0200, Hans Hagen [EMAIL PROTECTED] wrote: Is there any other easy way of controlling the background color on verbatim areas? can you make a small example that shows where it goes wrong? The example I used is shown below. Other observations are: - The code

Re: [NTG-context] interactionbuttons

2008-09-04 Thread Alan Stone
On Thu, Sep 4, 2008 at 10:12 AM, Hans Hagen [EMAIL PROTECTED] wrote: see symb-nav.tex Got that Hans. Thanks. Now I'd like to assign a command to a(nother) new button. However, from what I understand from \button[...,...=...,...]{...}[ref,ref,...]

Re: [NTG-context] synctex support for ConTeXt fixed

2008-09-04 Thread Hans Hagen
Jérome Laurens wrote: I'll notice developers of Skim, Sumatra-PDF, TeXWorks, TeXShop, since i'm on windows i checked on sumatra-pdf but it has incomplete hyperlink support and crashes on show-man.pdf (also has clipping problems) ... no time now to look into it but i'll pick up it up later

Re: [NTG-context] error message query

2008-09-04 Thread Alan Bowen
Thanks, Wolfgang. That is just what I needed: it works in all my environments and looks good in the output. As for line breaking, it can produce an overfull \hbox but that is very easily seen and repaired. Best, Alan On Sep 4, 2008, at 04;39,32 , Wolfgang Schuster wrote: On Wed, Sep 3,

[NTG-context] symb-uni.tex

2008-09-04 Thread Alan Stone
Hi, re: http://source.contextgarden.net/symb-uni.tex What does, for example, 0x2000: Requires UnicodeRegular20 mean in \startsymbolset[Unicode Additional Punctuation] % 0x2000: Requires UnicodeRegular20 in the context of \usesymbols[uni] \def\mySymbol{\symbol[Unicode Additional

Re: [NTG-context] symb-uni.tex

2008-09-04 Thread Hans Hagen
Alan Stone wrote: Hi, re: http://source.contextgarden.net/symb-uni.tex What does, for example, 0x2000: Requires UnicodeRegular20 mean in \startsymbolset[Unicode Additional Punctuation] % 0x2000: Requires UnicodeRegular20 in the context of \usesymbols[uni]

Re: [NTG-context] symb-uni.tex

2008-09-04 Thread Alan Stone
this system is ... a kind of obsolete mechanism now that we have mkiv Excuse me my ignorance... What mkiv feature/mechanism replaces the obsolete one ? Best, Alan On Thu, Sep 4, 2008 at 5:36 PM, Hans Hagen [EMAIL PROTECTED] wrote: Alan Stone wrote: Hi, re:

Re: [NTG-context] symb-uni.tex

2008-09-04 Thread Hans Hagen
Alan Stone wrote: this system is ... a kind of obsolete mechanism now that we have mkiv Excuse me my ignorance... What mkiv feature/mechanism replaces the obsolete one ? named glyph access but so far i had no time to make dedicated symb files for that Hans

Re: [NTG-context] symb-uni.tex

2008-09-04 Thread Alan Stone
Ok Hans. So back to the old days... What additional instruction(s) are required to satisfy the condition of, for example 0x2000: Requires UnicodeRegular20 ? -- Best, Alan * using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int: english/english (on Windows XP) On Thu, Sep 4, 2008 at

Re: [NTG-context] MKIV textext problem.

2008-09-04 Thread Hans Hagen
Wolfgang Schuster wrote: On Wed, Sep 3, 2008 at 10:08 AM, Yue Wang [EMAIL PROTECTED] wrote: Hi, Hans, the code works for MKII but not for MKIV. known issue or bug? Yue Wang and here comes the file. in mkii: - when you run out of fonts (due to randomization), then use a snapper:

[NTG-context] frameoffset in textbackground

2008-09-04 Thread Wolfgang Werners-Lucchini
Hallo, what is 'frameoffset' for? There seems to be no difference with and without this key. -- \setupcolors[state=start] \definetextbackground[strong] [backgroundcolor=lightgray, location=paragraph, frame=on, frameoffset=5mm] \starttext bla