Re: [NTG-context] ConTeXt Toys' Project

2007-06-13 Thread Wolfgang Schuster
2007/6/14, Zhichu Chen <[EMAIL PROTECTED]>:
> Hi luigi
>
> I've posted my source file at
> http://wiki.contextgarden.net/Toys
> but this module is not even close to be well done, so modifications would be
> unavoidable. I'm thinking that will it make you confused that I change the
> code frequently, or I just should put the codes there and work on my module
> until it becomes perfect and then upload it.
>
> By the way, I can't find any category it could belong to, so it's just a
> single page.

Hi Chen,

how about the path games/go. In not sure if you should put the game directory
into a subdirectory (visuals or structurals) or to make a direct entry
on the start page.

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] ConTeXt Toys' Project

2007-06-13 Thread Zhichu Chen

Hi luigi

I've posted my source file at
http://wiki.contextgarden.net/Toys
but this module is not even close to be well done, so modifications would be
unavoidable. I'm thinking that will it make you confused that I change the
code frequently, or I just should put the codes there and work on my module
until it becomes perfect and then upload it.

By the way, I can't find any category it could belong to, so it's just a
single page.


On 6/14/07, luigi scarso <[EMAIL PROTECTED]> wrote:


On 6/13/07, Zhichu Chen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've registered a project on:
> https://foundry.supelec.fr/projects/contexttoys/
>
> I'm attracted by ConTeXt since I used it. I'm willing to do everything
with
> ConTeXt.
yes it has charme.
>
> If any of you guys have any tricky ConTeXt toys,
Why wiki is not good for this kind of things ?


--
luigi

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

___





--
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
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] ConTeXt Toys' Project

2007-06-13 Thread Zhichu Chen

Hi luigi,

The source file is small, but I have to say that the output file is pretty
huge and depends on how many steps the game contains. And, compiling the
source takes such a long long time that not all people can endure.

Meanwhile, I haven't used wiki before, so I didn't consider it immediately.
I'll try to learn how to use wiki now :)

On 6/14/07, luigi scarso <[EMAIL PROTECTED]> wrote:


On 6/13/07, Zhichu Chen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've registered a project on:
> https://foundry.supelec.fr/projects/contexttoys/
>
> I'm attracted by ConTeXt since I used it. I'm willing to do everything
with
> ConTeXt.
yes it has charme.
>
> If any of you guys have any tricky ConTeXt toys,
Why wiki is not good for this kind of things ?


--
luigi

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

___





--
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
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] dosetupidentity problem

2007-06-13 Thread Christopher G D Tipper
Hi friends,

I've been using eXaMpLe for some years and I find that recently  
dosetupidentity stopped doing anything. (This is a setup for document  
headers in PDF). I was wondering if this was a bug, as I used to get  
Acrobat Document Properties and now I don't, simply from updating  
ConTeXt.

I am using latest gwTeX on Mac OS X.
(Web2C 7.5.6) (format=cont-en 2007.5.15)

Sample code:

\defineXMLenvironment [meta]
   {\bgroup
\defineXMLpush[author]
\defineXMLpush[subject]
\defineXMLpush[head]
\defineXMLpush[keywords]}
   {\dosetupidentity
 {\XMLpop{head}}
 {\XMLpop{subject}}
 {\XMLpop{author}}
 {TeX with the ConTeXt macro package}
 {}
 {\XMLpop{keywords}}
   \egroup}

Many thanks, it's been a long time!
Christopher

___
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] prevent new paragraph when changing font

2007-06-13 Thread zs
On Wed, 13 Jun 2007 10:47:33 +0200
"Wolfgang Schuster" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> the problem is your definetypeface definition. Replace your current
> one with the next one:
> 
> \definetypeface[def][rm][serif][latin-modern][default][encoding=texnansi]
> 
> Wolfgang

...thanks, that's it, although I'm not sure what is wrong with
"\definetypeface [def] [latin-modern] [default]"
I got no error. Why a new paragraph is made when I use that command?

It might be useful for somebody to know why I used such such command:

I use DejaVu TTF fonts in my document. I'm rather satisfied with it,
but there is one problem probably caused by my not perfect
typescriptfiles: when I want to typeset greek capital letter, i.e.
$\Omega$, I get nothing useful. I found something about that problem in
conference archive, but I didn't really (want to?) understand pretty
uneasy solution. I uncovered that when I temporarily switch to default
latin modern font ({\switchtobodyfont[def]$\Omega$}) everything works
fine.

-- Conclusion --

Using command:
"\definetypeface [def] [latin-modern] [default]"
causes problem with unwanted new paragraph.

Command:
\definetypeface[def][rm][serif][latin-modern][default][encoding=texnansi]
switches correctly to latin modern but is not the solution to trouble
with $\Omega$ not being typeset.

Finally:
\definetypeface[def][mm][latin-modern][default][encoding=texnansi]
seems works really fine - so far :-) 



Regards

Zdenek


___
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] ConTeXt Toys' Project

2007-06-13 Thread luigi scarso
On 6/13/07, Zhichu Chen <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've registered a project on:
> https://foundry.supelec.fr/projects/contexttoys/
>
> I'm attracted by ConTeXt since I used it. I'm willing to do everything with
> ConTeXt.
yes it has charme.
>
> If any of you guys have any tricky ConTeXt toys,
Why wiki is not good for this kind of things ?


-- 
luigi

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] hyphenation inside natural tables.

2007-06-13 Thread Aditya Mahajan
Quoting Horacio Suarez <[EMAIL PROTECTED]>:

> Thankyou very much.
>
> Sometimes I don´t know the complete  list of keys. Where I have to 
> look for it?

texshow.contextgarden.net (slightly out of date)

or the sources for a complete up to date list

Aditya

___
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] hyphenation inside natural tables.

2007-06-13 Thread Horacio Suarez

Thankyou very much.

Sometimes I don´t know the complete  list of keys. Where I have to look for 
it?


Thanks.





Horacio Suarez
Editotrial Antropofagia
www.eantropofagia.com.ar






From: "Wolfgang Schuster" <[EMAIL PROTECTED]>
Reply-To: mailing list for ConTeXt users 
To: "mailing list for ConTeXt users" 
Subject: Re: [NTG-context] hyphenation inside natural tables.
Date: Wed, 13 Jun 2007 08:44:07 +0200

2007/6/13, Horacio Suarez <[EMAIL PROTECTED]>:
> Hello all:
>
> Is posible to hyphenate inside natural tables?
>
> or,
>
> I want  "justified" paragraphs alignment with hyphenation inside natural
> tables.
>
> Thankyou in advance.
>
>
> 
> Horacio Suarez

Hi Horacio,

you can change alignment in natural tables with the align-key, it should
accept the same values as \setupalign for the normal text.

\starttext
\bTABLE[align=hyphenated]
\bTR
  \bTD\input knuth \eTD
  \bTD\input knuth \eTD
\eTR
\eTABLE
\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
___


_
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
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] ConTeXt Toys' Project

2007-06-13 Thread Zhichu Chen

Hi all,

I've registered a project on:
https://foundry.supelec.fr/projects/contexttoys/

I'm attracted by ConTeXt since I used it. I'm willing to do everything with
ConTeXt.

If any of you guys have any tricky ConTeXt toys, could you share on the
project. I've convinced many people to use ConTeXt, and I'm sure that these
little programs won't be the least things that they are interested.

--
Best Regards
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
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] prevent new paragraph when changing font

2007-06-13 Thread Wolfgang Schuster
2007/6/13, zs <[EMAIL PROTECTED]>:
>
> Here is the example:
>
> \usetypescript[modern]
> \definetypeface [def] [latin-modern] [default]
> \setupbodyfont[modern]
> \starttext
> Hello world!\switchtobodyfont[def]Hello world!
> \stoptext
>
> Result(pdf) is attached.
>
> ZS

Hi,

the problem is your definetypeface definition. Replace your current one
with the next one:

\definetypeface[def][rm][serif][latin-modern][default][encoding=texnansi]

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] prevent new paragraph when changing font

2007-06-13 Thread zs
On Wed, 13 Jun 2007 10:04:50 +0200
"Wolfgang Schuster" <[EMAIL PROTECTED]> wrote:

> 2007/6/13, zs <[EMAIL PROTECTED]>:
> > Hello,
> >
> > is there any way to prevent ending the paragraph when changing the
> > font?
> >
> > I want to keep this in one paragraph:
> >
> > Some text \switchtobodyfont[def]another text in different
> > font.
> >
> > But when after typesetting I get:
> >
> > Some text
> > another text in different font.
> >
> > Thanks
> >
> > Zdenek
> 
> Hi,
> 
> I don't what you're doing wrong, the following works for me:
> 
> \usetypescript[palatino][texnansi]
> \setupbodyfont[modern]
> \starttext
> Hello world!
> \switchtobodyfont[palatino]%
> Hello world!
> \stoptext
> 
> Can you make a example to show your problem.
> 

Thank you for interest.

Here is the example:

\usetypescript[modern]
\definetypeface [def] [latin-modern] [default]
\setupbodyfont[modern]
\starttext
Hello world!\switchtobodyfont[def]Hello world!
\stoptext

Result(pdf) is attached.

ZS





pokus.pdf
Description: Adobe PDF document
___
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] prevent new paragraph when changing font

2007-06-13 Thread Wolfgang Schuster
2007/6/13, zs <[EMAIL PROTECTED]>:
> Hello,
>
> is there any way to prevent ending the paragraph when changing the font?
>
> I want to keep this in one paragraph:
>
> Some text \switchtobodyfont[def]another text in different font.
>
> But when after typesetting I get:
>
> Some text
> another text in different font.
>
> Thanks
>
> Zdenek

Hi,

I don't what you're doing wrong, the following works for me:

\usetypescript[palatino][texnansi]
\setupbodyfont[modern]
\starttext
Hello world!
\switchtobodyfont[palatino]%
Hello world!
\stoptext

Can you make a example to show your problem.

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
___