Re: [NTG-context] Migrations: exactly LaTeX margins -- ConTeXt margins

2010-09-01 Thread xancorreu

Al 31/08/10 22:29, En/na Wolfgang Schuster ha escrit:

Am 31.08.2010 um 18:33 schrieb xancorreu:

   

Al 31/08/10 12:22, En/na Wolfgang Schuster ha escrit:
 

\definelayout
   [latex10]
   [width=\ifdim\dimexpr\paperwidth-2in\relax345pt\relax 
345pt\else\dimexpr\paperwidth-2in\relax\fi, % \paperwidth-2in or 345pt, use the 
smaller value
backspace=\dimexpr(\paperwidth-\textwidth)/2-1in\relax,
leftmargindistance=7pt,
leftmargin=,
topspace=,
header=12pt,
headerdistance=.25in,
height=,
footer=,
footerdistance=,]


   

Thank you very much for your effort, but it does not work for me:
 


This was just a example to show you how difficult it is to emulate latex’s 
layout
in context because the values depend on different paramaters like the fontsize 
and
the papersize. The example does not work because a few value like topspace or 
height
are missing and this is why you get the error messages.

Wolfgang

   
Yes, it's true but I thought that because all is TeX based then there 
are similar in basic elements (like this). But definitely, they are very 
differents



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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] definedelimitedtext options

2010-09-01 Thread xancorreu

Al 31/08/10 22:22, En/na Wolfgang Schuster ha escrit:

Am 31.08.2010 um 18:37 schrieb xancorreu:

   

Hi,

Another time ;-)

I have

\definedelimitedtext
  [abstract]
  [leftmargin=yes,
   spacebefore=line,
   style={\switchtobodyfont[9pt]},after=\normal]
 

why 'after=\normal'?

   

and I want to indent more the abstract. What are the options of 
definedelimitedtext? In the manual there is no mention for that.
 

indenting={yes,big}

   

Is there any way of doing the same as \startnarrower[2*middle,3*middle]?
 

leftmargin=2cm,
rightmargin=3cm

or whatever value you want, by default rightmargin has the same amount as 
leftmargin

Wolfgang

   
Thanks a lot, Wolfgang. Now at least there is one source of information 
of definedelimitedtext options ;-)


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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-31 Thread xancorreu

I follow your suggestion: rule but I'm in trouble: with

\setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=12cm,height=fit,backspace=3cm,rightedge=5cm,leftedge=5cm]

I obtained a non-centered layout!!! leftedge and rightedge are the 
margins between the final of the paper and the {left,right}margin, isn't?


How to center the layout with
topspace=3cm,
leftmargin=3cm,
rightmargin=3cm,
header=2cm,
footer=2cm,
width=12cm,
height=fit,
backspace=3cm

???

Thanks
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-31 Thread xancorreu

Al 31/08/10 11:16, En/na Hans Hagen ha escrit:

On 31-8-2010 9:39, xancorreu wrote:


Thanks Mojca for trying it now you check that this was very
difficult for a newbee as me ;-)


Seems difficult for anyone so I think that Taco's approach: just 
measure is the safest. After all, you will never get 100% compatible 
output.


Hans


Yeah but it's a little bit chapucero (spanish) ;-)

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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-31 Thread xancorreu

Al 31/08/10 11:23, En/na Hans Hagen ha escrit:

On 31-8-2010 11:20, xancorreu wrote:

I follow your suggestion: rule but I'm in trouble: with

\setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=12cm,height=fit,backspace=3cm,rightedge=5cm,leftedge=5cm] 




I obtained a non-centered layout!!! leftedge and rightedge are the
margins between the final of the paper and the {left,right}margin, 
isn't?


How to center the layout with
topspace=3cm,
leftmargin=3cm,
rightmargin=3cm,
header=2cm,
footer=2cm,
width=12cm,
height=fit,
backspace=3cm


width=middle

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-



WIth

\setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=middle,height=fit,backspace=3cm,rightedge=5cm,leftedge=5cm]


leftedge and rightedge are ignored. Arg!!!


Thanks,
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Fwd: Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-31 Thread xancorreu

Simple case:

% Margins
\setuplayout[topspace=3cm,leftmargin=5cm,rightmargin=5cm,header=2cm,footer=2cm,width=middle,height=fit,backspace=3cm]

the left and rightmargin values are ignored: 5cm, 2cm no matter... 
always the same.

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] startenumerate in romans a la LaTeX

2010-08-31 Thread xancorreu

Al 31/08/10 12:16, En/na Otared Kavian ha escrit:

On 31 août 2010, at 11:28, Xan wrote:
   

It does not work for me. The numbers are left aligned.

Xan.
 

Wolfgang's solution works for me with mkiv: Xan, are you using mkii or mkiv?

Best regards: OK
   

I use mkii
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Migrations: exactly LaTeX margins -- ConTeXt margins

2010-08-31 Thread xancorreu

Al 31/08/10 12:22, En/na Wolfgang Schuster ha escrit:

\definelayout
   [latex10]
   [width=\ifdim\dimexpr\paperwidth-2in\relax345pt\relax 
345pt\else\dimexpr\paperwidth-2in\relax\fi, % \paperwidth-2in or 345pt, use the 
smaller value
backspace=\dimexpr(\paperwidth-\textwidth)/2-1in\relax,
leftmargindistance=7pt,
leftmargin=,
topspace=,
header=12pt,
headerdistance=.25in,
height=,
footer=,
footerdistance=,]

   

Thank you very much for your effort, but it does not work for me:

! Missing number, treated as zero.
to be read again
   \global
\dorecalculatelayout ...ter \c!leftmargin \global
  \rightmarginwidth 
\layoutp...


\dosetuplayout ...#1}}}\fi \fi \recalculatelayout
  \checkcurrentlayout 
\prese...

to be read again
   \par
l.36

? x
No pages of output.
Transcript written on arxiv.log.


For now, I use
% Margins
\setuplayout[topspace=3cm,leftmargin=3cm,rightmargin=3cm,header=2cm,footer=2cm,width=middle,height=fit,backspace=4.4cm]

with approximate the latex in 10.

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] definedelimitedtext options

2010-08-31 Thread xancorreu

Hi,

Another time ;-)

I have

\definedelimitedtext
  [abstract]
  [leftmargin=yes,
   spacebefore=line,
   style={\switchtobodyfont[9pt]},after=\normal]


and I want to indent more the abstract. What are the options of 
definedelimitedtext? In the manual there is no mention for that.


Is there any way of doing the same as \startnarrower[2*middle,3*middle]?

Thanks in advance,
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___