Re: [NTG-context] hyphenated url

2010-10-30 Thread Aditya Mahajan
On Mon, 25 Oct 2010, Steffen Wolfrum wrote: Hi, the "%" is a frequently used character in URL. But \hyphenatedurl{} can deal with it ... Does someone has a fix? \starttext text\footnote{test \hyphenatedurl{www.test%it.com} test.} text. \stoptext This is more a proof of concept so I did not

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Aditya Mahajan
On Sun, 31 Oct 2010, Khaled Hosny wrote: On Sun, Oct 31, 2010 at 01:08:40AM -0400, Aditya Mahajan wrote: On Sun, 31 Oct 2010, Khaled Hosny wrote: On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote: Hi, I want to write a macro that checks for some settings and if the settings are

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Khaled Hosny
On Sun, Oct 31, 2010 at 01:08:40AM -0400, Aditya Mahajan wrote: > On Sun, 31 Oct 2010, Khaled Hosny wrote: > > >On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote: > >>Hi, > >> > >>I want to write a macro that checks for some settings and if the > >>settings are wrong stop the current

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Aditya Mahajan
On Sun, 31 Oct 2010, Khaled Hosny wrote: On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote: Hi, I want to write a macro that checks for some settings and if the settings are wrong stop the current compilation and terminate with an error message. Right now I have \def\ERROR

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Khaled Hosny
On Sat, Oct 30, 2010 at 07:27:02PM -0400, Aditya Mahajan wrote: > Hi, > > I want to write a macro that checks for some settings and if the > settings are wrong stop the current compilation and terminate with > an error message. Right now I have > > \def\ERROR > {\writeline >\showmes

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Aditya Mahajan
On Sun, 31 Oct 2010, Aditya Mahajan wrote: How can I force context (the macro package) to exit with a status of 1 so that context (the program) does not attempt a second compilation? Adding \errmessage{} before \normalend changes the error code to 1. Aditya ___

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Aditya Mahajan
On Sun, 31 Oct 2010, Wolfgang Schuster wrote: Am 31.10.2010 um 01:27 schrieb Aditya Mahajan: Hi, I want to write a macro that checks for some settings and if the settings are wrong stop the current compilation and terminate with an error message. Right now I have \def\ERROR {\writeli

Re: [NTG-context] Grid typesetting

2010-10-30 Thread Wolfgang Schuster
Am 30.10.2010 um 21:42 schrieb Andrzej Orłowski-Skoczyk: > On 10/23/2010 06:18 AM, Wolfgang Schuster wrote: >> \setuplayout[grid=yes] >> %\showgrid >> \starttext >> \title{Example texts} >> \subject{Knuth} >> \input knuth >> \subject{Tufte} >> \input tufte >> \stoptext > > Thank you very much. I

Re: [NTG-context] Stop with an error signal

2010-10-30 Thread Wolfgang Schuster
Am 31.10.2010 um 01:27 schrieb Aditya Mahajan: > Hi, > > I want to write a macro that checks for some settings and if the settings are > wrong stop the current compilation and terminate with an error message. Right > now I have > > \def\ERROR > {\writeline > \showmessage\??external

[NTG-context] Default length units - can I change them from pt to bp or dd?

2010-10-30 Thread Andrzej Orłowski-Skoczyk
Can I [easily] change the output of commands like \showlayout to show dimensions in bp/dd rather than pt? As a traditionalist I try to stick to dd/cc standard. For compatibility with others I sometimes have to use bp standard. I find TeX native standard of pt useless and very confusing. I would be

[NTG-context] Stop with an error signal

2010-10-30 Thread Aditya Mahajan
Hi, I want to write a macro that checks for some settings and if the settings are wrong stop the current compilation and terminate with an error message. Right now I have \def\ERROR {\writeline \showmessage\??externalfilter??{forbidden}\getexternalfilterdirectory \batchmod

Re: [NTG-context] Grid typesetting

2010-10-30 Thread Andrzej Orłowski-Skoczyk
On 10/23/2010 06:18 AM, Wolfgang Schuster wrote: > \setuplayout[grid=yes] > %\showgrid > \starttext > \title{Example texts} > \subject{Knuth} > \input knuth > \subject{Tufte} > \input tufte > \stoptext Thank you very much. It worked. This puzzled me a lot, as seemingly the same setup refused to w

Re: [NTG-context] transliteration russian

2010-10-30 Thread Steffen Wolfrum
Am 30.10.2010 um 00:15 schrieb Andrzej Orłowski-Skoczyk: > > Warning: the transliteration used in Steffen's document is (or at least > the example is) lossy and as such will likely produce wrong hyphenation > output no matter the applied method of making TeX hyphenate it. > > The transliteratio

[NTG-context] tex.toks & cld -- something weird

2010-10-30 Thread Philipp Gesang
Hi all, while playing with the new extended cld stuff I encountered this: 8<--- context.starttext() context("\\toks0 = {Something}") context("\\the\\toks0") -- works --context(tex.toks[0]) -- fails print("

[NTG-context] tex @ stackexchange.com

2010-10-30 Thread Taco Hoekwater
Hi all, If you are bored (it is the weekend, after all) please have a look at and consider joining this new Q&A site: http://tex.stackexchange.com/ A blurb to promote the site itself, not by me: StackExchange is specialized StackOverflow, which is a social website for programmers. StackExc

Re: [NTG-context] transliteration russian

2010-10-30 Thread Philipp Gesang
On 2010-10-30 <01:06:33>, Andrzej Orłowski-Skoczyk wrote: > On 10/30/2010 12:47 AM, Philipp Gesang wrote: > > As others already pointed out, with a small number of strings > > Steffen might get acceptable results by using the patterns of a > > similar language. Although real transliterations work b

Re: [NTG-context] transliteration russian

2010-10-30 Thread Khaled Hosny
On Sat, Oct 30, 2010 at 10:17:11AM +0200, Hans Hagen wrote: > On 30-10-2010 12:05, Khaled Hosny wrote: > >On Fri, Oct 29, 2010 at 11:25:20PM +0200, Mojca Miklavec wrote: > >>By far the easiest and most portable solution would be if you could > >>convince Taco to implement something like "latin a is

Re: [NTG-context] transliteration russian

2010-10-30 Thread Taco Hoekwater
On 10/30/2010 10:17 AM, Hans Hagen wrote: On 30-10-2010 12:05, Khaled Hosny wrote: On Fri, Oct 29, 2010 at 11:25:20PM +0200, Mojca Miklavec wrote: By far the easiest and most portable solution would be if you could convince Taco to implement something like "latin a is equivalent to cyrillic a a

Re: [NTG-context] transliteration russian

2010-10-30 Thread Hans Hagen
On 30-10-2010 12:05, Khaled Hosny wrote: On Fri, Oct 29, 2010 at 11:25:20PM +0200, Mojca Miklavec wrote: By far the easiest and most portable solution would be if you could convince Taco to implement something like "latin a is equivalent to cyrillic a as far as hyphenation is concerned" (which c

Re: [NTG-context] NTG Meeting October 27, 2010

2010-10-30 Thread Taco Hoekwater
On 10/29/2010 11:59 PM, luigi scarso wrote: On Fri, Oct 29, 2010 at 11:51 PM, Martin Schröder wrote: 2010/10/28 Hans Hagen: On 28-10-2010 2:17, luigi scarso wrote: Frans G decided never to print again. And Hans& Taco startet a Print-On-Demand shop. :-) And this is a good sign :-) Not if