[NTG-context] Test suite report

2012-10-21 Thread Marco Pessotto
Hello there. Aditya added a couple of testfiles. Thanks a lot. I encourage anyone reporting bugs to send a minimal example to me too, via mail or via pull requests on github, so people running the tests can catch regressions. I modified the code, so a unique filename for each test

Re: [NTG-context] Test suite report

2012-10-21 Thread Hans Hagen
with lots of test files, it might make sense to take some from them (not all make sense in a visual compare) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] Test suite report

2012-10-21 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: there is s zip with lots of test files, it might make sense to take some from them (not all make sense in a visual compare) There are more then 800 files in http://www.pragma-ade.com/context/latest/cont-tst.7z Any clue about which directory can be safely

Re: [NTG-context] Test suite report

2012-10-21 Thread Marco Pessotto
Any clue about which directory can be safely dropped? Nevermind, I'm finding the way. -- Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Alan BRASLAU
On Thu, 18 Oct 2012 00:20:01 +0200 Romain Diss romain.d...@yahoo.fr wrote: Le mercredi 17 octobre 2012, Alan BRASLAU a écrit : Furiously, breaking many old curiosities, fixing broken and incomplete functionality, AND completely re-writing the documentation! (Not that I really know much

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Hans Hagen
On 18-10-2012 00:20, Romain Diss wrote: Le mercredi 17 octobre 2012, Alan BRASLAU a écrit : Furiously, breaking many old curiosities, fixing broken and incomplete functionality, AND completely re-writing the documentation! (Not that I really know much about chemistry myself... :) Since you

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Alan BRASLAU
On Thu, 18 Oct 2012 10:41:00 +0200 Sietse Brouwer sbbrou...@gmail.com wrote: Alpha particles are \lohi[left]{40}{2}He. Alpha particles are He\high{2+} (helium nucleus) not to be confused with He\low{2} (helium molecules) that DO exist but are unstable and only last 13 seconds or so. Someone

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Romain Diss
Le jeudi 18 octobre 2012, Sietse Brouwer a écrit : What about \lohi with the [left] key? That might serve your needs until Alan gets \chemistry to parse and typeset isotopes correctly. Yes there are some hacks to typeset isotopes correctly, but I think it would be better to be able to typeset

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Romain Diss
Le jeudi 18 octobre 2012, Alan BRASLAU a écrit : By the way, \lohi[left]{2}{4}He is somewhat a tautology, like all such isotopic nomenclature, as He ALWAYS has an atomic number of 2, otherwise it is not He (and U ALWAYS has an atomic number of 92, otherwise it is no longer U). Sure but but the

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-18 Thread Sietse Brouwer
Sietse wrote: Alpha particles are \lohi[left]{40}{2}He. Alain wrote: Someone needs to fix the wiki... (done!) [Alain fixed the wiki to Alpha particles are \lohi[left]{4}{2}He\high{2+}.] But, but, but ... that doesn't demonstrate the fact that the elements right-align instead of left-align!

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Pessotto
Aditya Mahajan adit...@umich.edu writes: It may be worthwhile to merge the two repos. I'm on my way. I'll keep you posted. -- Marco ___ If your question is of interest to others as well, please add an entry to

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread luigi scarso
On Wed, Oct 17, 2012 at 8:44 AM, Marco Pessotto melmo...@gmail.com wrote: Aditya Mahajan adit...@umich.edu writes: It may be worthwhile to merge the two repos. I'm on my way. I'll keep you posted. Can you use graphicsmagick ? -- luigi

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Patzer
A week ago I had a conversation with mpfusion and another user over IRC about the ConTeXt test suite. mpfusion had a tarball with some test and an elaborate machinery to see if the testfiles compile. He kindly provided the tarball, That's me, by the way. and I took the liberty to do

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Pessotto
luigi scarso luigi.sca...@gmail.com writes: On Wed, Oct 17, 2012 at 8:44 AM, Marco Pessotto melmo...@gmail.com wrote: Aditya Mahajan adit...@umich.edu writes: It may be worthwhile to merge the two repos. I'm on my way. I'll keep you posted. Can you use graphicsmagick

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread luigi scarso
On Wed, Oct 17, 2012 at 9:27 AM, Marco Pessotto melmo...@gmail.com wrote: luigi scarso luigi.sca...@gmail.com writes: On Wed, Oct 17, 2012 at 8:44 AM, Marco Pessotto melmo...@gmail.com wrote: Aditya Mahajan adit...@umich.edu writes: It may be worthwhile to merge the two

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Pessotto
ones in a dedicated directory. There are 62 files now, and the test takes 13 minutes to run on my humble machine. These are the results for version 2012.10.16 23:38 against TeXlive2012: | File name | Success | Differs Avg | Worst value | Pages | Time | | arrows-001 | OK

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Pessotto
for each test file. You can specify “sensitivity=low|medium|high”, this sets a predefined tolerance for the page difference. I don't see any other option. There is no single value which is sensitive enough, for instance to detect if a footnote is subscripted or not and at the same time tolerant

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Hans Hagen
different output. That's why I use a header for each test file. You can specify “sensitivity=low|medium|high”, this sets a predefined tolerance for the page difference. I don't see any other option. There is no single value which is sensitive enough, for instance to detect if a footnote is subscripted

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Pessotto
Ok, this is my first bug report. I noticed that the column width/margin is quite altered since TL12. There are some other problems, tough. Full report here: https://github.com/melmothx/context-unofficial-test-suite/commit/8575456ae9e5dfe1f5dea5ac1224f75b5d1eb0a2 (It's stored in the commit log

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Patzer
2012-10-17 Marco Pessotto: Ok, this is my first bug report. I noticed that the column width/margin is quite altered since TL12. There are some other problems, tough. Full report here: https://github.com/melmothx/context-unofficial-test-suite/commit/8575456ae9e5dfe1f5dea5ac1224f75b5d1eb0a2

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Hans Hagen
On 17-10-2012 19:58, Marco Pessotto wrote: Ok, this is my first bug report. I noticed that the column width/margin is quite altered since TL12. There are some other problems, tough. Full report here: https://github.com/melmothx/context-unofficial-test-suite/commit

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Hans Hagen
On 17-10-2012 20:08, Marco Patzer wrote: 2012-10-17 Marco Pessotto: Ok, this is my first bug report. I noticed that the column width/margin is quite altered since TL12. There are some other problems, tough. Full report here: https://github.com/melmothx/context-unofficial-test-suite/commit

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Hans Hagen
On 17-10-2012 20:08, Marco Patzer wrote: 2012-10-17 Marco Pessotto: Ok, this is my first bug report. I noticed that the column width/margin is quite altered since TL12. There are some other problems, tough. Full report here: https://github.com/melmothx/context-unofficial-test-suite/commit

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Marco Pessotto
/context-unofficial-test-suite/commit/8575456ae9e5dfe1f5dea5ac1224f75b5d1eb0a2 (It's stored in the commit log). I also caught some problems which are fixed in the beta, but broken in TL12. I don't know if Hans appreciates a test suite, seems like plenty of work for him ;) I'm not alone doing

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-17 Thread Hans Hagen
report here: https://github.com/melmothx/context-unofficial-test-suite/commit/8575456ae9e5dfe1f5dea5ac1224f75b5d1eb0a2 (It's stored in the commit log). I also caught some problems which are fixed in the beta, but broken in TL12. I don't know if Hans appreciates a test suite, seems like plenty

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-17 Thread Alan BRASLAU
On Wed, 17 Oct 2012 22:52:33 +0200 Hans Hagen pra...@wxs.nl wrote: On 17-10-2012 21:30, Marco Pessotto wrote: Some things, like the chemical stuff, require someone who actually does know what they are (I don't). Alan is currently reviewing the chemical subsystem. Furiously, breaking

Re: [NTG-context] ConTeXt unofficial test suite stub (chemistry)

2012-10-17 Thread Romain Diss
Le mercredi 17 octobre 2012, Alan BRASLAU a écrit : Furiously, breaking many old curiosities, fixing broken and incomplete functionality, AND completely re-writing the documentation! (Not that I really know much about chemistry myself... :) Since you talk about chemistry, is there now a way to

Re: [NTG-context] ConTeXt unofficial test suite stub

2012-10-16 Thread Aditya Mahajan
On Sun, 7 Oct 2012, Marco Pessotto wrote: Hello there! TL;DR: https://github.com/melmothx/context-unofficial-test-suite A week ago I had a conversation with mpfusion and another user over IRC about the ConTeXt test suite. mpfusion had a tarball with some test and an elaborate machinery

[NTG-context] odd and even test: incorrect behavior on the first two lines

2012-09-06 Thread stdin | Alexandre Leray
Hi, I'm trying to make the content of an environment behave differently weither it appears on a right page or on a left page. It works mainly, except that with the following code, from the second page, the two first lines of subsequent pages don't show the expected behavior.

[NTG-context] \startchapter[title=Test] is not working inside \startcomponent

2012-09-04 Thread Jeong Dalyoung
Dear Listers, \startchapter[title=Test] is working inside \starttext and \stoptext. But it is not working inside \startcomponent and \stopcomponent. Is it a natural behavior? I am using iMac, OSX Mountain Lion. And the ConTeXt version is ConTeXt ver: 2012.08.28 20:00 MKIV fmt: 2012.9.4 int

Re: [NTG-context] \startchapter[title=Test] is not working inside \startcomponent

2012-09-04 Thread Marco Patzer
On 2012-09-04 Jeong Dalyoung hak...@me.com wrote: Hi Jeong, \startchapter[title=Test] is working inside \starttext and \stoptext. But it is not working inside \startcomponent and \stopcomponent. Is it a natural behavior? Yes. \startcomponent expects an argument. \startcomponent

Re: [NTG-context] \startchapter[title=Test] is not working inside \startcomponent

2012-09-04 Thread Jeong Dalyoung
Dear Marco, Aha, I missed to put the name of the component. With the component name, it works fine. I am sorry for the noise. Thank you. Best regards, Dalyoung ___ If your question is of interest to others as well,

Re: [NTG-context] test for (negative) number

2012-08-21 Thread Procházka Lukáš
On Mon, 20 Aug 2012 20:11:32 +0200, Sietse Brouwer sbbrou...@gmail.com wrote: Hi Peter, I recommend using the following handy little idiom: \ctxlua{commands.doifelse(-45 0)}{big}{small} % small It lets you do all sorts of things that are tricky in TeX: \ctxlua{ commands.doifelse(

Re: [NTG-context] test for (negative) number

2012-08-21 Thread Wolfgang Schuster
Am 21.08.2012 um 08:32 schrieb Procházka Lukáš l...@pontex.cz: On Mon, 20 Aug 2012 20:11:32 +0200, Sietse Brouwer sbbrou...@gmail.com wrote: Hi Peter, I recommend using the following handy little idiom: \ctxlua{commands.doifelse(-45 0)}{big}{small} % small It lets you do all

Re: [NTG-context] test for (negative) number

2012-08-21 Thread Peter Rolf
Thanks for all the answers so far. The 'doifelse' should do the trick. I was hoping for a system macro, but if there is none, I have to program it myself. :-) Peter Am 21.08.2012 08:56, schrieb Wolfgang Schuster: Am 21.08.2012 um 08:32 schrieb Procházka Lukáš l...@pontex.cz: On Mon, 20

Re: [NTG-context] test for (negative) number

2012-08-21 Thread Procházka Lukáš
... I also found another solution reposter before: \ctxlua{commands.testcase(condition)} { If true...} {If false} Note that both blocks (if-true and if-false) are mandatory. Considering Wolfgang's last answer, it would be better to write: \ctxcommand{testcase(condition)}

Re: [NTG-context] test for (negative) number

2012-08-21 Thread Hans Hagen
On 21-8-2012 17:13, Procházka Lukáš wrote: I also found another solution reposter before: \ctxlua{commands.testcase(condition)} { If true...} {If false} yes, but testcase is an unfortunate name and sort of obsolete (so best use doifelse)

[NTG-context] test for (negative) number

2012-08-20 Thread Peter Rolf
Hi, I used '\doifnumberelse' to validate some macro parameters (angle). Sadly it does not work with negative numbers. Is there a similar macro, that also supports negative values? Example: \doifnumberelse {45}{yes}{no}% yes \doifnumberelse{-45}{yes}{no}% no Greetings, Peter

Re: [NTG-context] test for (negative) number

2012-08-20 Thread Sietse Brouwer
Hi Peter, I recommend using the following handy little idiom: \ctxlua{commands.doifelse(-45 0)}{big}{small} % small It lets you do all sorts of things that are tricky in TeX: \ctxlua{ commands.doifelse( string.len( -45 ) 5 ) }{long}{short} Cheers, Sietse

Re: [NTG-context] How do I test for empty labeltext?

2011-10-25 Thread Mojca Miklavec
On Mon, Oct 24, 2011 at 20:41, Hans Hagen pra...@wxs.nl wrote: On 24-10-2011 19:41, Mojca Miklavec wrote: Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the reasons that I approximately understand

Re: [NTG-context] How do I test for empty labeltext?

2011-10-25 Thread Hans Hagen
On 25-10-2011 11:26, Mojca Miklavec wrote: On Mon, Oct 24, 2011 at 20:41, Hans Hagenpra...@wxs.nl wrote: On 24-10-2011 19:41, Mojca Miklavec wrote: Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended

Re: [NTG-context] How do I test for empty labeltext?

2011-10-25 Thread Aditya Mahajan
On Tue, 25 Oct 2011, Mojca Miklavec wrote: you can try \doiftextelse instead Thank you very much. This works fine. This should probably be added to http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions at least (possibly to reference next to labels as well), but I'm not sure

[NTG-context] How do I test for empty labeltext?

2011-10-24 Thread Mojca Miklavec
Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the reasons that I approximately understand (not exactly, but I understand that there might be a lot of weird stuff returned when I ask for labeltext

Re: [NTG-context] How do I test for empty labeltext?

2011-10-24 Thread Hans Hagen
On 24-10-2011 19:41, Mojca Miklavec wrote: Hello, The following code \setuplabeltext[test=] test is \doifemptyelse{\labeltext{test}}{empty}{not empty} doesn't work as intended for the reasons that I approximately understand (not exactly, but I understand that there might be a lot of weird

[NTG-context] [t-filter] [PATCH] tests: add test file for reST (reStructuredText)

2011-04-29 Thread Paul Menzel
be a table here. +\startrest += = + test table += = + α b + c d + +\stoprest +\stoptext -- 1.7.4.4 signature.asc Description: This is a digitally signed message part

[NTG-context] is this possbile ? \externalfigure[c:\test\test.pdf at page 5 (0, 0) (20, 20)]

2011-04-18 Thread 정진기
Title: Samsung Enterprise Portal mySingle Greeting Context users, I like to ask if following command is possible in context. \externalfigure[c:\test\test.pdf at page 5 (0,0) (20,20)] What I like to do is “getting certain area of certain page of a PDF file” using context command

Re: [NTG-context] is this possbile ? \externalfigure[c:\test\test.pdf at page 5 (0, 0) (20, 20)]

2011-04-18 Thread Peter Münster
/externalfigure and http://wiki.contextgarden.net/Reference/en/clip I guess, that \ in a filename is not allowed. Perhaps it's better to use c:/test/test.pdf. -- Peter ___ If your question is of interest to others

[NTG-context] Test for existence of a Ctx buffer by Lua

2011-01-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to test by Lua whether a Ctx buffer exists? --- \startbuffer[A] Aaa aaa \stopbuffer \starttext \getbuffer[A] Test %\getbuffer[NonExisting] Vvv \stoptext --- To get something like 'context.buffers.A' - no-nil and 'context.buffers.NonExisting' - nil? Best regards, Lukas

Re: [NTG-context] Test for existence of a Ctx buffer by Lua

2011-01-28 Thread Hans Hagen
On 28-1-2011 3:13, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, how to test by Lua whether a Ctx buffer exists? \doifelsebuffer --- \startbuffer[A] Aaa aaa \stopbuffer \starttext \getbuffer[A] Test %\getbuffer[NonExisting] Vvv \stoptext --- To get something like 'context.buffers.A

[NTG-context] xml: test for attribute

2010-12-13 Thread Thomas Schmitz
Hi all, I thought I had done this and it was easy, but I can't find a solution: I want to test whether a xml tag has an attribute and vary the typeset content accordingly. There used to be \xmldoifelseempty, but that has been commented out (lxml-ini.mkiv). What else could I use? Here's

Re: [NTG-context] xml: test for attribute

2010-12-13 Thread Hans Hagen
On 13-12-2010 8:58, Thomas Schmitz wrote: Hi all, I thought I had done this and it was easy, but I can't find a solution: I want to test whether a xml tag has an attribute and vary the typeset content accordingly. There used to be \xmldoifelseempty, but that has been commented out (lxml

Re: [NTG-context] xml: test for attribute

2010-12-13 Thread Thomas Schmitz
Hans, thanks a lot! On Mon, 13 Dec 2010 21:17:23 +0100 Hans Hagen pra...@wxs.nl wrote: something like this: \doifelse {\xmlatt{#1}{important}} {} { \color[darkblue]{EMPTY: \xmlflush{#1}} } { \color[darkred]{NOTEMPTY: \xmlatt{#1}{important}} } \par Yes, this works! or (untested):

[NTG-context] TEST

2010-09-22 Thread Procházka Lukáš
Please ignore this message - it's just a test due to some problems delivering e-mails to this conference. Lukas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Metapost: union test of two paths

2010-07-04 Thread Taco Hoekwater
On 07/04/2010 01:11 AM, Marco wrote: Hi Taco! That is hard. The main problem is the word 'arbitrary'. Sorry, I was too general. The paths are a outline of a relatively simple shape (so border cases should rarely occur) with area0k, not selfintersecting. That helps. First test whether

Re: [NTG-context] Metapost: union test of two paths

2010-07-04 Thread Marco
Thanks for the hints. But the hardest thing with doing all this in metapost is that you cannot trust metaposts results in the mathematical sense: rounding errors creep in easily in the internal routines, which is one the problems I hope to solve with metapost 2. When is MP2 expected to be

Re: [NTG-context] Metapost: union test of two paths

2010-07-04 Thread Taco Hoekwater
On 07/04/2010 10:09 AM, Marco wrote: Thanks for the hints. But the hardest thing with doing all this in metapost is that you cannot trust metaposts results in the mathematical sense: rounding errors creep in easily in the internal routines, which is one the problems I hope to solve with

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/02/2010 07:01 PM, Marco wrote: Hi, two arbitrary paths are given. A small path and a larger path, both cycled. How to find out if the smaller path lies completely »inside« the larger path? That is hard. The main problem is the word 'arbitrary'. An arbitrary path does not even have to

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
is a test file that defines a macro inside() that takes two arguments: a point and a cyclic path. It returns true if the point lies inside that path, in most cases. There are lots of problems with it; what happens to a point actually on the curve is basically undefined, and self-intersects sometimes make

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Alan BRASLAU
On Saturday 03 July 2010 10:03:32 Taco Hoekwater wrote: On 07/02/2010 07:01 PM, Marco wrote: Hi, two arbitrary paths are given. A small path and a larger path, both cycled. How to find out if the smaller path lies completely »inside« the larger path? That is hard. The main problem

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
thing to try to write a macro for. Attached is a test file that defines a macro inside() that takes two arguments: a point and a cyclic path. It returns true if the point lies inside that path, in most cases. There are lots of problems with it; what happens to a point actually on the curve is basically

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Taco Hoekwater
On 07/03/2010 12:33 PM, Alan BRASLAU wrote: So, in a Cartesian space, if the energy cost of a kink is low, than path p; p := origin--(100,100)--cycle; should be a straight line running back on itself. Indeed, this is what metapost produces. Now try p := origin..(100,100)..cycle; The

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Marco
Hi Taco, many thanks for your effort! I'm just having a look at your code. Kind regards Marco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

Re: [NTG-context] Metapost: union test of two paths

2010-07-03 Thread Marco
Hi Taco! That is hard. The main problem is the word 'arbitrary'. Sorry, I was too general. The paths are a outline of a relatively simple shape (so border cases should rarely occur) with area 0k, not selfintersecting. * is a point *on* the path in or out? It doesn't matter in my case. This

[NTG-context] Metapost: union test of two paths

2010-07-02 Thread Marco
Hi, two arbitrary paths are given. A small path and a larger path, both cycled. How to find out if the smaller path lies completely »inside« the larger path? If this is too complicated, it might help if I can find out if a given point lies inside a given cycled path. I hope it's understandable

Re: [NTG-context] FiXme test file

2009-05-04 Thread Wolfgang Schuster
Am 04.05.2009 um 15:50 schrieb Vyatcheslav Yatskovsky: there is now a test file to show the usage of the module. Nice. But under mkiv I get an empty list of corrections. It's a bug with \placelist (you get also a empty list of figures and tables). Wolfgang

Re: [NTG-context] FiXme test file

2009-05-04 Thread Vyatcheslav Yatskovsky
there is now a test file to show the usage of the module. Nice. But under mkiv I get an empty list of corrections. Best, Vyatcheslav ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] color test not working

2008-11-22 Thread Hans Hagen
Alan STONE wrote: On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors}

Re: [NTG-context] color test not working

2008-11-22 Thread Alan STONE
On Sat, Nov 22, 2008 at 1:06 PM, Hans Hagen [EMAIL PROTECTED] wrote: ok, fixed; will be in end-of-december release End of *december* ? Best, Alan ___ If your question is of interest to others as well, please add

Re: [NTG-context] color test not working

2008-11-21 Thread Alan STONE
On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone [EMAIL PROTECTED]wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors} \blank[3*big]

Re: [NTG-context] color test not working

2008-11-21 Thread Alan STONE
On Fri, Nov 21, 2008 at 1:02 PM, Alan STONE [EMAIL PROTECTED]wrote: FYI, this currently doesn't work under Windows XP with ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.11.21 int: english/english Output in attachement. By the way, I installed the latest context-setup-mswin.zip

Re: [NTG-context] color test not working

2008-11-21 Thread Yue Wang
Hi: Ummm... Same here with LuaTeX (It is ok here two or three days ago). MKII works fine. So I always keep a production release (ver 2005.01.31 with pdfeTeX 3.141592-1.21a-2.2) to process our journal and use the cutting edge for fun :-) Yue On Fri, Nov 21, 2008 at 12:02 PM, Alan STONE [EMAIL

[NTG-context] How to test font availability?

2008-10-22 Thread Ruini Xue
I want to define sans to A.ttf, and if A.ttf is unavailable, B.ttf will be used. So the question is, how to test whether a font is available? Or is it possible to provide a list of candidates (e.g., \definefontsynonym[sans][name:A.ttf;name:B.ttf])? -- ruini

Re: [NTG-context] How to test font availability?

2008-10-22 Thread Hans Hagen
Ruini Xue wrote: I want to define sans to A.ttf, and if A.ttf is unavailable, B.ttf will be used. So the question is, how to test whether a font is available? Or is it possible to provide a list of candidates (e.g., \definefontsynonym[sans][name:A.ttf;name:B.ttf])? you can do something

[NTG-context] mathml test 1

2008-10-10 Thread Steffen Wolfrum
Hi, the following should be an equation with fraction. typesetting it (mkii), there are now fractions what's wrong? [apologies, my first mathml test] \starttext \startXMLdata formula math display='block' semantics mrow mfrac mrow mover miA/mi mo#x2022;/mo

[NTG-context] MathML Test 1b

2008-10-10 Thread Steffen Wolfrum
Hi, the following should be an equation with fractions. Typesetting it (MkII), there are NO (!) fractions! What's wrong? [apologies, my first mathml test] \starttext \startXMLdata formula math display='block' semantics mrow mfrac mrow mover miA/mi mo#x2022

Re: [NTG-context] color test not working

2008-09-14 Thread Peter Münster
On Sat, Sep 13 2008, Alan Stone wrote: All give a blackwhite output, except the rgb (somecolor): and (somecolor)*: ones No problem here. Versions: [EMAIL PROTECTED]:~ context --version MtxRun | current version: 2008.09.10 14:01 [EMAIL PROTECTED]:~ pdftex --version pdfTeX 3.1415926-1.40.9-2.2

Re: [NTG-context] color test not working

2008-09-14 Thread Yue Wang
Hans fix this program one week ago. On Sun, Sep 14, 2008 at 5:04 AM, Alan Stone [EMAIL PROTECTED] wrote: Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page

Re: [NTG-context] color test not working

2008-09-14 Thread Alan Stone
Thanks guys. Updating... Best, 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 :

[NTG-context] test files for Xindy (was Re: [Context] Xindy)

2008-09-13 Thread Gour
Arthur == Arthur Reutenauer [EMAIL PROTECTED] writes: Hello Arthur! Arthur At for the original question, it certainly sounds like a good Arthur idea to me, but it needs investigation. Gour, can you make a Arthur small test file with usage instruction? I've found some old post from Xindy

[NTG-context] color test not working

2008-09-13 Thread Alan Stone
Hi, \setupcolors[state=start] \setupcolor[rgb] \setupcolor[xwi] \setupcolor[ema] \starttext \midaligned{\tfb \bf RGB colors} \blank[3*big] \showcolor[rgb] \page \midaligned{\tfb \bf XWI colors} \blank[3*big] \showcolor[xwi] \page \midaligned{\tfb \bf EMA colors} \blank[3*big] \showcolor[ema]

[NTG-context] Test message, different mail server.

2007-11-06 Thread John Culleton
My isp doesn't like ntg.nl for some reason. -- John Culleton Resources for every author and publisher: http://wexfordpress.com/tex/shortlist.pdf http://wexfordpress.com/tex/packagers.pdf http://www.creativemindspress.com/newbiefaq.htm http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm

[NTG-context] Test message---different mail server.

2007-11-06 Thread John Culleton
-- John Culleton Precision Typesetting Able Indexers and Typesetters http://wexfordpress.com ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

[NTG-context] [OT] STIX Fonts Released for Beta Test

2007-11-01 Thread luigi scarso
After some delay, http://www.stixfonts.org/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] [OT] STIX Fonts Released for Beta Test

2007-11-01 Thread Hans Hagen
luigi scarso wrote: After some delay, http://www.stixfonts.org/ i wonder how useful these fonts are ... split over many fonts; pfb in otf disguise (so we need many commands and families, or we need to make a virtual font, or ...) Hans

Re: [NTG-context] [OT] STIX Fonts Released for Beta Test

2007-11-01 Thread Taco Hoekwater
Hans Hagen wrote: luigi scarso wrote: After some delay, http://www.stixfonts.org/ i wonder how useful these fonts are ... split over many fonts; pfb in otf disguise (so we need many commands and families, or we need to make a virtual font, or ...) They do seem to have 'math' feature

Re: [NTG-context] [dev-context] Call for test documents

2007-10-03 Thread Norbert Preining
On Di, 02 Okt 2007, Hans Hagen wrote: http://context.aanhet.net/svn/manuals/ Is there svn access? I have a checkout (very old) but the svn address has changed. Best wishes Norbert --- Dr. Norbert Preining [EMAIL

Re: [NTG-context] [dev-context] Call for test documents

2007-10-03 Thread Hans Hagen
Norbert Preining wrote: On Di, 02 Okt 2007, Hans Hagen wrote: http://context.aanhet.net/svn/manuals/ Is there svn access? I have a checkout (very old) but the svn address has changed. taco fetches from our internal svn server so he can give you the magic lines (sounds stupid, but since

Re: [NTG-context] [dev-context] Call for test documents

2007-10-03 Thread Taco Hoekwater
Norbert Preining wrote: On Di, 02 Okt 2007, Hans Hagen wrote: http://context.aanhet.net/svn/manuals/ Is there svn access? I have a checkout (very old) but the svn address has changed. My mirror script (that populates the above url) uses: svn://83.247.100.17:33690/manuals

[NTG-context] Call for test documents

2007-10-02 Thread Norbert Preining
Dear all, I am currently testing the installation of ConTeXt/MkIV on Debian and thus being in search for test documents using MkIV features/luatex stuff. Or at least document which I can/should be able to process with luatex/context. If you have any documents it would be great if you could send

Re: [NTG-context] [dev-context] Call for test documents

2007-10-02 Thread Hans Hagen
Norbert Preining wrote: Dear all, I am currently testing the installation of ConTeXt/MkIV on Debian and thus being in search for test documents using MkIV features/luatex stuff. Or at least document which I can/should be able to process with luatex/context. If you have any documents

[NTG-context] Test whether variable has been set

2007-05-27 Thread Elliot Clifton
Hi, How can test whether a variable has been set? I couldn't find any reference to this in the wiki? TIA, Elliot ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Peter Rolf
Hi Elliot, Elliot Clifton schrieb: Hi, How can test whether a variable has been set? I couldn't find any reference to this in the wiki? What do you mean by set? I use \doifnothing{\getvariable{foo}{bar}} {foo:bar contains nothing.\par}% \doifsomething{\getvariable{foo}{bar}} {foo:bar

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Elliot Clifton
=DefaultValue], right? So how do I test for a (Default)Value? Sorry, I'm just beginning TeX programming I don't understand how to do this. Elliot ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Aditya Mahajan
file first, right? \setvariable[namespace][key=DefaultValue], right? So how do I test for a (Default)Value? Sorry, I'm just beginning TeX programming I don't understand how to do this. Elliot, You can use \doif{\getvalue{set}{var}}{value} for simple string comparisons. See http

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Hans Hagen
them in the environment file first, right? \setvariable[namespace][key=DefaultValue], right? So how do I test for a (Default)Value? Sorry, I'm just beginning TeX programming I don't understand how to do this. Elliot, You can use \doif{\getvalue{set}{var}}{value} for simple string

Re: [NTG-context] Test whether variable has been set

2007-05-27 Thread Peter Rolf
one. Search the ConTeXt sources to get an idea. The \doifnothing,\doifsomething and \doifelsenothing macros just test, if the variable is empty or not. A variable can be defined with an empty value (\setvariable[foo][bar=]). I use this for automatic size calculations. If no default value is given

[NTG-context] test

2007-03-25 Thread John R. Culleton
-- John Culleton Able Indexing and Typesetting Precision typesetting (tm) at reasonable cost. Satisfaction guaranteed. http://wexfordpress.com ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Test message

2007-03-02 Thread John Culleton
test ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] test

2007-02-13 Thread David Arnold
All, please ignore this test. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] test

2007-02-13 Thread Steve Peter
On Feb 13, 2007, at 10:24 PM, David Arnold wrote: please ignore this test. Too late. I've already read it. Steve ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

<    1   2   3   >