Re: [NTG-context] Combining figures

2009-05-09 Thread Robert Blackstone
On Sat, May 9, 2009 at 5:57 PM, Thomas A. Schmitz wrote:

>
>
> On May 9, 2009, at 1:15 PM, Robert Blackstone wrote:
>
> > Both work. Thank you.  Stupid of me to forget or neglect a pair of
> > empty curly braces.
> >
> >
> I don't know if this is of any comfort to you, but you're not alone:
>
> http://archive.contextgarden.net/message/20050406.125324.0c9e677e.en.html
>
> Thomas
>
> Some comfort, yes, thank you. The tricky thing was that I coiuld not find
any clue in the logfile: leaving out both empty curly braces generates no
error message and the file typesets beautifully except for this one detail,
a vertical instead of the desired horizontal arrangement of two figures. But
when one leaves out only one of the empty curly braces the file does not
typeset at all and there is a clear (well, fairly clear) error message. Like
what happens for instance when one leaves out the {} for the caption
after \placefigure[][].
A useful experience anyway. Thanks again.
Best regards,

Robert Blackstone
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \savebuffer disappeared

2009-05-09 Thread Arthur Reutenauer
Hello,

> The macro \savebuffer seems to have disappeared from mkiv. What's now
> the official way to write out chunks of code into a file?

  I guess there's not going to be an official way anymore, according to
yourself (http://www.ntg.nl/pipermail/ntg-context/2007/026680.html), but
you can always use the original definition:

\def\savebuffer{\dosingleempty\dosavebuffer}
\def\dosavebuffer[#1]{\ctxlua{buffers.save("#1")}}

Arthur
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-09 Thread Mojca Miklavec
On Sat, May 9, 2009 at 18:35, Otared Kavian wrote:
>
> Some time ago, I think you or someone else, reported a bug with mkiv and
> tickz, but it seems that this problem is fixed now (at least with LuaTeX,
> Version beta-0.40.1-2009050813 (Web2C 7.5.7), ConTeXt  ver: 2009.05.08 21:48
> MKIV)
>
> The reported bug was about the following example:
>
> %%% begin bug-tickz
> \usemodule[tikz]
> \setupcolors[state=start]
> \starttext
> \tikz\shade[ball color=red!40!yellow] (0,0) circle (.15cm);
> \blank[2*big]
> \tikz\shade[ball color=red!40!yellow] (0,0) circle (2cm);
> \blank[2*big]
> \tikz\shade[ball color=red!40!yellow] (3,0) circle (2cm);
> \stoptext
> %%% end bug-tickz
>
> Best regards: OK

Yes, thanks a lot, that's exactly the case I was referring to. (Maybe
the reason for failure was exactly the same back then, just the
\unprotect being in some other file.)

It's so nice when bugs "just resolve" themselves with time without
human interaction ... I wish all the bugs were such :) :) :)

This indeed works now, though ironically I still cannot compile the
document from where I extracted the example, for at least two
different reasons, one of them being in my own module :)

Mojca
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-09 Thread Otared Kavian


On 9 mai 09, at 17:56, Mojca Miklavec wrote:


[…]
I wanted to test a related problem I had in past (missing color in
tikz in mkiv; without loading bib module), but the other document
fails in two other ways with mkiv, so I'll be grateful for this fix
for now and try to fight the rest of bugs separately.

Thanks,
   Mojca


Hi Mojca,

Some time ago, I think you or someone else, reported a bug with mkiv  
and tickz, but it seems that this problem is fixed now (at least with  
LuaTeX, Version beta-0.40.1-2009050813 (Web2C 7.5.7), ConTeXt  ver:  
2009.05.08 21:48 MKIV)


The reported bug was about the following example:

%%% begin bug-tickz
\usemodule[tikz]
\setupcolors[state=start]
\starttext
\tikz\shade[ball color=red!40!yellow] (0,0) circle (.15cm);
\blank[2*big]
\tikz\shade[ball color=red!40!yellow] (0,0) circle (2cm);
\blank[2*big]
\tikz\shade[ball color=red!40!yellow] (3,0) circle (2cm);
\stoptext
%%% end bug-tickz

Best regards: OK

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setuptex changes in minimals

2009-05-09 Thread Yue Wang
Hi, list:

Well, TeX is evolving rapidly these years (especially in the LuaTeX world).
So there are many things that Chinese typographers never imagine about
in the past can now be solved thanks to LuaTeX's development.

For example:
- Now we can use Lua to detect the character code. so it is possible
to assign different fonts for latin, CJK, CJK-ext A, CJK-extB. font
switching is easy and elegent. This is not possible in tex82.
- It is ugly to produce a paragraph whose last line only consists one
Chinese character. In order to avoid that, tex82 programmers should
write very complicated macros. So many developers here tend to ignore
this problem. However, in LuaTeX, this is quite easy. It is simple to
scan the position before the punctuation and \par in lua, and insert a
line break penalty there.
- Punctuation compression. In the past this is not easy to do (a lot
of macros should be defined), and because each Chinese fonts are so
distinctly designed, their punctuations' positions in the character
box are different. So different parameters should be applied when
different fonts are involved in typesetting. However, LuaTeX make it
possible to calculate character bounding box information, so
punctuation compression is as easy as re-setting the punctuation
width.

There are many more examples, and these are just three. But we can see
that with the development of TeX engine (especially the open-up of TeX
engine), users might consider better ways for old solutions, and even
request for possibilities they never thought about before. So it is
possible for different users to provide different specifications.

But we (me, Li Yanrui, Chen Zhichu) as the board members of the
Chinese TeX Society, will try our best to organized the typesetting
discussion on local forums, taking different opinions into
consideration, and later provide a complete specification as long as
we can.

Chinese support in ConTeXt is not easy, we should thank all the
developers who contribute to our language (esp, Hans, Taco and
Wolfgang), their innovation and hardworking make Chinese typesetting
in ConTeXt possible, and drastically improve the performance of font
loading. Though the current solution is not perfect (eg. there are
many more things we should fix and implement, and the current font
loading time is still a bit too long), I think with the current fast
pace, we will have a very prospective solution near luatex 1.0:)

Yue Wang


On 5/9/09, Yanrui Li  wrote:
> On Sat, May 9, 2009 at 4:02 PM, Hans Hagen  wrote:
> > Yue Wang wrote:
> >>
> >> On Sat, May 9, 2009 at 2:20 AM, Yanrui Li  wrote:
> >>>
> >>> Sorry!
> >>>
> >>> s/MkIV have not support Chinese typesetting now / MkIV have not
> >>> support Chinese typesetting well now/g
> >>
> >>
> >> We can start a fork of scrp-* on code.google.com/p/ctex-kit,
> >> making a usable version, and later ask Hans to merge back into ConTeXt.
> >
> > it all depends how scrp evolves as it has to deal with more issues too; i
> > will not merge code that i don't fully understand but experimenting does not
> > hurt; one problem with script stuff is that (in the future) it might be
> > closely cooperate with other mechanisms of context (it used to be part of
> > the font analyser, now it's plugged in elsewhere but even that might change,
> > for instance when in upcoming versions of luatex we have a bit more control)
> >
>
> What I have done is only experiment. I will try my best to follow the
> evolves of the
>  scrp-* files until that day, when MkIV support Chinese typesetting well, 
> comes.
> I have to introduce MkIV to Chinese users and make them paying close attention
> to it in this way.
>
> > also, some issues will be dealt with in other code in the future (i simply
> > cannot touch all code at the same time) so don't expect mkiv to be finished
> > before 2012 (when luatex 1 is ready); it's a stepwise process and it's only
> > driven by context (i.e. generic code only shows up when context code works
> > okay);
> >
> > anyhow, as long as nobody tells me what the expected behaviour is, with test
> > code etc i can;t fix anything; one complication (e.g. with chinese) is that
> > over the last few year is got conflicting requests; now, if there are
> > multiple ways to deal with it, then i can implement variants but only if i
> > know the exact conventions (with proper names for them)
> >
>
> Yes. It is a key reson that we are still not familiar with MkIV well
> now. But with
> in-depth understanding of MkIV, maybe many suggestions will be post to you.
> Of course these suggestions should be collected according actual demands by
> Chinese TeX users group.
>
> > for instance when i found out that cjk-korean is not the same as cjk-chinese
> > (one of them) i split the machinery so we're not talking cjk here, but very
> > specific needs; after the split i never tested chinese (no samples) and no
> > one else propbably did that either
> >
> > keep in mind that context is not meant for one language but for m

Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-09 Thread Mojca Miklavec
On Sat, May 9, 2009 at 09:51, Taco Hoekwater wrote:
> Otared Kavian wrote:
>>
>> On 8 mai 09, at 22:45, Mojca Miklavec wrote:
>>
>>> […]
>>>
>>> Can anyone please confirm the bug? […]
>>
>
> There is an extra '\unprotect' in t-bib.mkiv (line 21),
> causing the exclamation marker to remain having \catcode 11
> for the rest of the doucment.
>
> I can't upload right now, but you can verify that that fixes
> it by adding \protect right after the \usemodule[bib]

Great, thanks a lot. This fixes the problem.

I wanted to test a related problem I had in past (missing color in
tikz in mkiv; without loading bib module), but the other document
fails in two other ways with mkiv, so I'll be grateful for this fix
for now and try to fight the rest of bugs separately.

Thanks,
Mojca
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \savebuffer disappeared

2009-05-09 Thread Mojca Miklavec
Hello Hans,

The macro \savebuffer seems to have disappeared from mkiv. What's now
the official way to write out chunks of code into a file?

\startbuffer[abc]
Module stopped working !?#...@!
\stopbuffer
\savebuffer[abc]

Thanks,
Mojca
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rscale in latest beta

2009-05-09 Thread Thomas A. Schmitz


On May 9, 2009, at 2:52 PM, Hans Hagen wrote:

maybe Hans can say which files are likely to be the culprit so I  
can run a diff between these two versions?


most likely font-ini.mkiv

Hans


Thanks Hans, I'll see if I can find anything!

Thomas
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] rscale in latest beta

2009-05-09 Thread Hans Hagen

Thomas A. Schmitz wrote:

Hi all,

the "rscale" key does not work for my Greek module in the latest beta
ConTeXt  ver: 2009.05.08 21:48 MKIV
The font always stays the same size, no matter what value I give. It did 
work in the version 2009.04.21. I haven't been able to reproduce the 
error in a minimal file yet., but maybe Hans can say which files are 
likely to be the culprit so I can run a diff between these two versions?


most likely font-ini.mkiv

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Mailing list

2009-05-09 Thread Otared Kavian


On 9 mai 09, at 13:43, Thomas Floeren wrote:


[…]
I’m receiving the mails via gmail, the client program is the  
standard AppleMail-program.

Does anybody have similar issues?



Hi Thomas,

I use Gmail and Mail.app on a Mac too, and have been puzzled like you:  
Gmail orders the messages as "conversations" and when you send a  
message with Gmail, when it is sent back to you through the mailing  
list, then Gmail does not deliver again a copy to you… Indeed it  
assumes that you are already aware of it :-)


One solution (which I use) for being certain that your message has  
been received by the mailing list, is to configure your settings at

http://www.ntg.nl/mailman/options/ntg-context/
so that you receive a confirmation message whenevr you send a message  
to the list.


Best regards: OK___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining figures

2009-05-09 Thread Thomas A. Schmitz


On May 9, 2009, at 1:15 PM, Robert Blackstone wrote:

Both work. Thank you.  Stupid of me to forget or neglect a pair of  
empty curly braces.




I don't know if this is of any comfort to you, but you're not alone:

http://archive.contextgarden.net/message/20050406.125324.0c9e677e.en.html

Thomas
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] rscale in latest beta

2009-05-09 Thread Thomas A. Schmitz

Hi all,

the "rscale" key does not work for my Greek module in the latest beta
ConTeXt  ver: 2009.05.08 21:48 MKIV
The font always stays the same size, no matter what value I give. It  
did work in the version 2009.04.21. I haven't been able to reproduce  
the error in a minimal file yet., but maybe Hans can say which files  
are likely to be the culprit so I can run a diff between these two  
versions?


All best

Thomas
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setuptex changes in minimals

2009-05-09 Thread Yanrui Li
On Sat, May 9, 2009 at 4:02 PM, Hans Hagen  wrote:
> Yue Wang wrote:
>>
>> On Sat, May 9, 2009 at 2:20 AM, Yanrui Li  wrote:
>>>
>>> Sorry!
>>>
>>> s/MkIV have not support Chinese typesetting now / MkIV have not
>>> support Chinese typesetting well now/g
>>
>>
>> We can start a fork of scrp-* on code.google.com/p/ctex-kit,
>> making a usable version, and later ask Hans to merge back into ConTeXt.
>
> it all depends how scrp evolves as it has to deal with more issues too; i
> will not merge code that i don't fully understand but experimenting does not
> hurt; one problem with script stuff is that (in the future) it might be
> closely cooperate with other mechanisms of context (it used to be part of
> the font analyser, now it's plugged in elsewhere but even that might change,
> for instance when in upcoming versions of luatex we have a bit more control)
>

What I have done is only experiment. I will try my best to follow the
evolves of the
 scrp-* files until that day, when MkIV support Chinese typesetting well, comes.
I have to introduce MkIV to Chinese users and make them paying close attention
to it in this way.

> also, some issues will be dealt with in other code in the future (i simply
> cannot touch all code at the same time) so don't expect mkiv to be finished
> before 2012 (when luatex 1 is ready); it's a stepwise process and it's only
> driven by context (i.e. generic code only shows up when context code works
> okay);
>
> anyhow, as long as nobody tells me what the expected behaviour is, with test
> code etc i can;t fix anything; one complication (e.g. with chinese) is that
> over the last few year is got conflicting requests; now, if there are
> multiple ways to deal with it, then i can implement variants but only if i
> know the exact conventions (with proper names for them)
>

Yes. It is a key reson that we are still not familiar with MkIV well
now. But with
in-depth understanding of MkIV, maybe many suggestions will be post to you.
Of course these suggestions should be collected according actual demands by
Chinese TeX users group.

> for instance when i found out that cjk-korean is not the same as cjk-chinese
> (one of them) i split the machinery so we're not talking cjk here, but very
> specific needs; after the split i never tested chinese (no samples) and no
> one else propbably did that either
>
> keep in mind that context is not meant for one language but for many and
> that when possible mechanisms need to be able to used mixed; there will
> never be exclusive solutions for one languages unless it's a very
> specialized module
>
> anyhow, we can best follow the same route as with other language / script
> support
>
> - we need consistent specs, or maybe multiple specs as variants
> - as well as test files for each such case
> - and then we can look into what can be improved or added
>

I think that maybe this needs a very long time until CJK users know what each
other needs. But three years should be enough :)

-- 
Best wishes,
Li Yanrui
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Mailing list

2009-05-09 Thread Thomas Floeren
Is there anything wrong with the mailing list or am I just missing  
something in the config?


I just wrote a mail, and only afterwards I’ve seen on the mail archive  
that the subject/prob was already ok.


It seems that I can’t receive the actual mails in my inbox, only after  
an indeterminable delay they are delivered.
I dont receive either my own mails (yes, the box in the config is  
checked).
I’m receiving the mails via gmail, the client program is the standard  
AppleMail-program.

Does anybody have similar issues?

Thanks

Thomas


On May 9, 2009, at 10:49 , Wolfgang Schuster wrote:



Am 09.05.2009 um 10:19 schrieb Robert Blackstone:


For me normally \startcombination[2*1] .. works. MKII; Side by side
with a single caption.
Please tell me if I didnt understand your problem.


\placefigure
[here,force][fig:Ex6]{Ux zeuhl, ma lamax quolt epp ik, korsa ozlint  
vusp urfa,.}

\startcombination[2*1]
{\externalfigure[Ex6a]}{}
{\externalfigure[Ex6b]}{}
  ^^
\stopcombination

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining figures

2009-05-09 Thread Robert Blackstone
On Sat, May 9, 2009 at 12:00 PM, Wolfgang Schuster wrote:

>
>
> \placefigure{some title}
>   {\placeontopofeachother
>  {\externalfigure[figure 1]}
>  {\externalfigure[figure 2]}}
>
>
> \placefigure{some title}
>   {\hbox\placesidebyside
>  {\externalfigure[figure 1]}
>  {\externalfigure[figure 2]}}
>
> Wolfgang
>

and:

>
> \placefigure
> [here,force][fig:Ex6]{Ux zeuhl, ma lamax quolt epp ik, korsa ozlint
> vusp urfa,.}
> \startcombination[2*1]
> {\externalfigure[Ex6a]}{}
> {\externalfigure[Ex6b]}{}
>^^
> \stopcombination
>
> Wolfgang


Both work. Thank you.  Stupid of me to forget or neglect a pair of empty
curly braces.
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining figures

2009-05-09 Thread Thomas Floeren

i think, you just forgot the second pair of curly brackets({}):

{\externalfigure[Ex6a]}{}
{\externalfigure[Ex6b]}{}

for me (mac, context 2009.04.10 18:02 MKII) your code works fine like  
this, the two side by side.


Greets



On May 9, 2009, at 10:19 , Robert Blackstone wrote:




On Fri, May 8, 2009 at 10:23 PM, , Mojca  
Miklavec and Thomas Floeren wrote, respectively:



On Fri, May 8, 2009 at 21:53, Robert Blackstone wrote:
> Hi All,
> I am working on a text that contains many combined figures, some  
side by
> side, ?some arranged vertically. I use, following ?ConTeXt, an  
excursion?,
> \startcombination[1*2] and \startcombination[2*1] respectively.  
The first
> one works, the second doesn?t, that is, it also places the figures  
one above
> the other. It happens both with the ?MacTeX?-version of ConTeXt  
and with the

> minimals.
> What can I do to place two figures side by side with a single  
caption?


Both variants work for me.

\starttext
\placefigure{some title}
{\startcombination[1*2]
   {\framed[width=5cm]{}}{}
   {\framed[width=5cm]{}}{}
\stopcombination}
\placefigure{some title}
{\startcombination[2*1]
   {\framed[width=5cm]{}}{}
   {\framed[width=5cm]{}}{}
\stopcombination}
\stoptext

Mojca


--


For me normally \startcombination[2*1] .. works. MKII; Side by side
with a single caption.
Please tell me if I didnt understand your problem.

Greetings
Tom

Thanks to Mojca and Tom,
With Mojca’s commands, {\framed[width=5cm]{}}{}, it works for me  
too. But I do not want the figures framed. When I replace that piece  
with {\externalfigure[NameofFigure]}, the figures are placed  
vertically, both with [2*1] and with [1*2].
I have uploaded a folder with a small testfile, which on my Mac  
shows this behaviour, as you can see in the pdf. (For convenience I  
have entered the two possibilities in the testfile, one of them  
commented out.) It can be downloaded from http://web.me.com/blackstone.robert/filechute/Combining_Figures.zip 
.

Maybe there are some other errors in the file that I do not know of.
Thanks for the attention.
Best regards,
Robert Blackstone

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining figures

2009-05-09 Thread Wolfgang Schuster


Am 09.05.2009 um 10:19 schrieb Robert Blackstone:


For me normally \startcombination[2*1] .. works. MKII; Side by side
with a single caption.
Please tell me if I didnt understand your problem.


\placefigure
[here,force][fig:Ex6]{Ux zeuhl, ma lamax quolt epp ik, korsa ozlint  
vusp urfa,.}

\startcombination[2*1]
{\externalfigure[Ex6a]}{}
{\externalfigure[Ex6b]}{}
   ^^
\stopcombination

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] narrow space in "\ldots."

2009-05-09 Thread Wolfgang Schuster


Am 08.05.2009 um 22:22 schrieb Ryo Furue:


\starttext
Hello\ldots.  World.\ldots

Hello\unknown.  World.\unknown

Hello\unknown World.
\stoptext


\unexpanded\def\fourdots{{\def\periodswidth{.3em}\periods[4]}}

\starttext
Hello\fourdots\ World\fourdots

Hello\fourdots\ World.
\stoptext

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Combining figures.

2009-05-09 Thread Wolfgang Schuster


Am 08.05.2009 um 22:06 schrieb Mojca Miklavec:


\starttext
\placefigure{some title}
{\startcombination[1*2]
{\framed[width=5cm]{}}{}
{\framed[width=5cm]{}}{}
\stopcombination}


\placefigure{some title}
  {\placeontopofeachother
 {\externalfigure[figure 1]}
 {\externalfigure[figure 2]}}


\placefigure{some title}
{\startcombination[2*1]
{\framed[width=5cm]{}}{}
{\framed[width=5cm]{}}{}
\stopcombination}


\placefigure{some title}
  {\hbox\placesidebyside
 {\externalfigure[figure 1]}
 {\externalfigure[figure 2]}}

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Combining figures

2009-05-09 Thread Robert Blackstone
On Fri, May 8, 2009 at 10:23 PM, , Mojca
Miklavec and Thomas Floeren wrote, respectively:

>
>
> On Fri, May 8, 2009 at 21:53, Robert Blackstone wrote:
> > Hi All,
> > I am working on a text that contains many combined figures, some side by
> > side, ?some arranged vertically. I use, following ?ConTeXt, an
> excursion?,
> > \startcombination[1*2] and \startcombination[2*1] respectively. The first
> > one works, the second doesn?t, that is, it also places the figures one
> above
> > the other. It happens both with the ?MacTeX?-version of ConTeXt and with
> the
> > minimals.
> > What can I do to place two figures side by side with a single caption?
>
> Both variants work for me.
>
> \starttext
> \placefigure{some title}
> {\startcombination[1*2]
>{\framed[width=5cm]{}}{}
>{\framed[width=5cm]{}}{}
> \stopcombination}
> \placefigure{some title}
> {\startcombination[2*1]
>{\framed[width=5cm]{}}{}
>{\framed[width=5cm]{}}{}
> \stopcombination}
> \stoptext
>
> Mojca
>
>
> --
>
>
> For me normally \startcombination[2*1] .. works. MKII; Side by side
> with a single caption.
> Please tell me if I didnt understand your problem.
>
> Greetings
> Tom


Thanks to Mojca and Tom,
With Mojca’s commands, {\framed[width=5cm]{}}{}, it works for me too. But I
do not want the figures framed. When I replace that piece with
{\externalfigure[NameofFigure]}, the figures are placed vertically, both
with [2*1] and with [1*2].
I have uploaded a folder with a small testfile, which on my Mac shows this
behaviour, as you can see in the pdf. (For convenience I have entered the
two possibilities in the testfile, one of them commented out.) It can be
downloaded from
http://web.me.com/blackstone.robert/filechute/Combining_Figures.zip.
Maybe there are some other errors in the file that I do not know of.
Thanks for the attention.
Best regards,
Robert Blackstone
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Obeyspaces in tables

2009-05-09 Thread Hans Hagen

paul morgan wrote:


Does \obeyspaces work in tables? I cannot determine how to make it do so. In


no, does not work there


the following example, I am unable to maintain the space between the words
"T H E" and "P R O J E C T".


\bTD[ny=2][align=middle]{\ssa
\setbox0\hbox{\ssx 100 East 10th Street, NY 10003}%
\hbox to \wd0{\bf\stretched{THE PROJECT}}\\\box0}%
\eTD


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setuptex changes in minimals

2009-05-09 Thread Hans Hagen

Yue Wang wrote:

On Sat, May 9, 2009 at 2:20 AM, Yanrui Li  wrote:

Sorry!

s/MkIV have not support Chinese typesetting now / MkIV have not
support Chinese typesetting well now/g



We can start a fork of scrp-* on code.google.com/p/ctex-kit,
making a usable version, and later ask Hans to merge back into ConTeXt.


it all depends how scrp evolves as it has to deal with more issues too; 
i will not merge code that i don't fully understand but experimenting 
does not hurt; one problem with script stuff is that (in the future) it 
might be closely cooperate with other mechanisms of context (it used to 
be part of the font analyser, now it's plugged in elsewhere but even 
that might change, for instance when in upcoming versions of luatex we 
have a bit more control)


also, some issues will be dealt with in other code in the future (i 
simply cannot touch all code at the same time) so don't expect mkiv to 
be finished before 2012 (when luatex 1 is ready); it's a stepwise 
process and it's only driven by context (i.e. generic code only shows up 
when context code works okay);


anyhow, as long as nobody tells me what the expected behaviour is, with 
test code etc i can;t fix anything; one complication (e.g. with chinese) 
is that over the last few year is got conflicting requests; now, if 
there are multiple ways to deal with it, then i can implement variants 
but only if i know the exact conventions (with proper names for them)


for instance when i found out that cjk-korean is not the same as 
cjk-chinese (one of them) i split the machinery so we're not talking cjk 
here, but very specific needs; after the split i never tested chinese 
(no samples) and no one else propbably did that either


keep in mind that context is not meant for one language but for many and 
that when possible mechanisms need to be able to used mixed; there will 
never be exclusive solutions for one languages unless it's a very 
specialized module


anyhow, we can best follow the same route as with other language / 
script support


- we need consistent specs, or maybe multiple specs as variants
- as well as test files for each such case
- and then we can look into what can be improved or added

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-09 Thread Taco Hoekwater

Otared Kavian wrote:


On 8 mai 09, at 22:45, Mojca Miklavec wrote:


[…]

Can anyone please confirm the bug? […]




There is an extra '\unprotect' in t-bib.mkiv (line 21),
causing the exclamation marker to remain having \catcode 11
for the rest of the doucment.

I can't upload right now, but you can verify that that fixes
it by adding \protect right after the \usemodule[bib]

Best wishes,
Taco
PS Best minimal file/bug recipe ever!




___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-09 Thread Taco Hoekwater

Otared Kavian wrote:


On 8 mai 09, at 22:45, Mojca Miklavec wrote:


[…]

Can anyone please confirm the bug? […]




There is an extra '\unprotect' in t-bib.mkiv (line 21),
causing the exclamation marker to remain having \catcode 11
for the rest of the doucment.

I can't upload right now, but you can verify that that fixes
it by adding \protect right after the \usemodule[bib]

Best wishes,
Taco




___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] loading bib module breaks colors in tikz figures (mkiv)

2009-05-09 Thread Otared Kavian


On 8 mai 09, at 22:45, Mojca Miklavec wrote:


[…]

Can anyone please confirm the bug? […]


Hi Mojca,

I tested your file on Mac OS X 10.5.6 with
mkiv, LuaTeX version 40,
LuaTeX revision 0, (LuaTeX date stamp 2009050515),
ConTeXt version 2009.05.08 09:21

and the color of the sector is black while with mkii it is light green  
(as intended).



[…] (I often mess with my system too much ...)


so this time BachoTeX is not to blame…

Best regards: OK
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___