[NTG-context] Template from latex to context

2008-12-14 Thread Xan

Hi,

I'm new in context. By now I don't start typing ConTeXt long texts, but 
now I want to start with one post-graduate work


Sorry for the oversimplification, but I see ConTexT like LaTeX but with 
coherence (no conflict among modules) and more customization.


I would like to know if there is a template for having the same 
results in context than in latex. I refer for example in style of page 
(margins, etc), style of chapters (for example 
\setuphead[chapter][style=\tfd]), etc. It could be useful for 
migration from latex to context having such file that specifies the 
styles normally use in latex. So latex user simply have to learn new syntax.


I want to clear that I don't want to make ConTeXt like LaTeX (these are 
different, I know) else define the styles in ConTeXt than LaTeX users 
usually find.


Thanks a lot,
Xan.
___
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] \hspace variations

2008-12-14 Thread Peter Rolf
Vyatcheslav Yatskovsky schrieb:
 Hello,
 
 I have some problems with \hspace. I try to insert it between two
 images, and this is what I get
 1) \hspace{1cm} or \hspace1cm gives space  but writes 1cm betwen
 images;
 2) \hspace[1cm] does not work at all
 3) \hspace[big] works fine, but \hspace[2*big] does not
 
 I want to get space twice as big, but how?


\definehspace[2*big] [2\emspaceamount] % [1] name [2] dimension

\starttext

A big big \hspace[2*big] space.

\stoptext


In this case '2*big' is the name of that skip, not the dimension value.
See core-spa.tex for definitions of \hspace, \definehspace and
\hspaceamount.

Best wishes, Peter


 Best,
 Vyatcheslav
 ___
 
 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] Template from latex to context

2008-12-14 Thread Yanrui Li
2008/12/13 Xan dxpubl...@telefonica.net:

 I would like to know if there is a template for having the same results in
 context than in latex. I refer for example in style of page (margins, etc),
 style of chapters (for example \setuphead[chapter][style=\tfd]), etc. It
 could be useful for migration from latex to context having such file that
 specifies the styles normally use in latex. So latex user simply have to
 learn new syntax.

 I want to clear that I don't want to make ConTeXt like LaTeX (these are
 different, I know) else define the styles in ConTeXt than LaTeX users
 usually find.

Hi, Xan,

Can LaTeX2ConTeXt (http://www.berenddeboer.net/tex/LaTeX2ConTeXt.pdf) help you?

In addition, you can get a lot of things from
http://wiki.contextgarden.net/From_LaTeX_to_ConTeXt

-- 
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
___


Re: [NTG-context] Experience on writing a thesis with MKIV

2008-12-14 Thread Mohamed Bana

Hi Aditya

Are you aware of this

using
\setupindenting   [big,yes]

in L 263 env-thesis.tex instead of the default;

\setupindenting   [medium,yes]

results in 'Chapters' in the TOC being indented slightly more than
References, Abstract etc.  give it a try, you'll notice that it
protrudes slightly more than the other entries.

___
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
___