Re: [NTG-context] Minor error in code, core-tab.tex

2008-03-28 Thread Wolfgang Schuster
On Thu, Mar 27, 2008 at 6:45 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 David wrote:

  The second \catcode line contains \gdef\@@otherquite, which I'm almost
  positive should be \gdef\@@otherquote .

 indeed, fixed

The bug for subpagenumbers with MkII remains also in the last release.

I posted the following fix a few days ago, \edef\oldsubpage should be
\xdef\oldsubpage.

page-num.tex:

\def\gotonextsubpage % overlapt behoorlijk met realpage macro
 {\global\let\checksubpages\relax
  \ifresettingsubpagenumber
\resetnumber[\s!subpage]%
\global\resettingsubpagenumberfalse
  \fi
  \ifsubpaging
%\edef\oldsubpage{\the\subpageno}%
\xdef\oldsubpage{\the\subpageno}%
  ...
  }

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] setuparranging issue

2008-03-28 Thread Andrea Valle

Hi to all,

I have an A5 paper size to be printed on an A4.
Substantially, I'd like to have 2 pages on a paper sheet.
Now, I can use \setuparranging[2*2]. Works fine if I want to print,  
cut and bind.

4 1
2 3


But I'd like also to have another option, simply a sequence of pages  
(for screen reading, printing and binding without cutting)

This:
1 2
3 4


Sorry, I guess it's really easy, but cannot figure out...

Thanks

Best

-a-


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] setuparranging issue

2008-03-28 Thread Wolfgang Schuster
On Fri, Mar 28, 2008 at 1:34 PM, Andrea Valle [EMAIL PROTECTED] wrote:
 Hi to all,

 I have an A5 paper size to be printed on an A4.
 Substantially, I'd like to have 2 pages on a paper sheet.
 Now, I can use \setuparranging[2*2]. Works fine if I want to print, cut and
 bind.
 4 1
 2 3


 But I'd like also to have another option, simply a sequence of pages (for
 screen reading, printing and binding without cutting)
 This:
 1 2
 3 4


 Sorry, I guess it's really easy, but cannot figure out...

You're looking for combinepages.

http://wiki.contextgarden.net/Including_pages_from_PDF_document
http://www.pragma-ade.com/general/magazines/mag-0004.pdf
http://source.contextgarden.net/tex/context/base/page-imp.tex?search=page-imp

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] setuparranging issue

2008-03-28 Thread Willi Egger
Hi Andrea,

On Mar 28, 2008, at 1:34 PM, Andrea Valle wrote:
 Hi to all,

 I have an A5 paper size to be printed on an A4.
 Substantially, I'd like to have 2 pages on a paper sheet.
 Now, I can use \setuparranging[2*2]. Works fine if I want to print,  
 cut and bind.
 4 1
 2 3



 But I'd like also to have another option, simply a sequence of  
 pages (for screen reading, printing and binding without cutting)
 This:
 1 2
 3 4

\setuparranging[XY] %one sheet with x rows and y columns is your 
friend

Auguri

Willi

 Sorry, I guess it's really easy, but cannot figure out...

 Thanks

 Best

 -a-

___
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] setuparranging issue

2008-03-28 Thread Andrea Valle

Thanks Wolfgang,


http://wiki.contextgarden.net/Including_pages_from_PDF_document
http://www.pragma-ade.com/general/magazines/mag-0004.pdf
http://source.contextgarden.net/tex/context/base/page-imp.tex? 
search=page-imp


This means that first I have to create the pdf, and then to process  
via another context  file

\starttext
\copypages
\stoptext

Can't I simply use a command inside the original code?

Thanks

-a-

--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] setuparranging issue

2008-03-28 Thread Andrea Valle

Ah-ah!
Willi, I didn't immediately understand but it put me on the right way:

http://wiki.contextgarden.net/Imposition

I was looking for 2SIDE

Solved

Thanks

Best

-a-



On 28 Mar 2008, at 14:25, Willi Egger wrote:


Hi Andrea,

On Mar 28, 2008, at 1:34 PM, Andrea Valle wrote:

Hi to all,

I have an A5 paper size to be printed on an A4.
Substantially, I'd like to have 2 pages on a paper sheet.
Now, I can use \setuparranging[2*2]. Works fine if I want to print,
cut and bind.
4 1
2 3





But I'd like also to have another option, simply a sequence of
pages (for screen reading, printing and binding without cutting)
This:
1 2
3 4


\setuparranging[XY]		%one sheet with x rows and y columns is your  
friend


Auguri

Willi


Sorry, I guess it's really easy, but cannot figure out...

Thanks

Best

-a-


__ 
_
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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] placecontent and arranging

2008-03-28 Thread Andrea Valle

(Sorry, always me)

I have such a structure

\startproduct prd_tSCIRMA
\project project_scMaterials


\component licence
\component prima

{\switchtobodyfont[20pt] Sommario}\blank
\placecontent
\component c_00_introduzione
\component c_01_scGrado0
\component c_03_oggetti

% etc

\stopproduct

Everything works perfectly if I arrange one page for sheet, e.g.
\setuppapersize[A5][A5]
or
\setuppapersize[A5][A4, landscape]


If have more pages for sheet,
\setuppapersize[A5][A4, landscape]
\setuparranging[2*2]

there's no table of content in the pdf.

?

Many thanks

Best

-a-


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--


I did this interview where I just mentioned that I read Foucault. Who  
doesn't in university, right? I was in this strip club giving this  
guy a lap dance and all he wanted to do was to discuss Foucault with  
me. Well, I can stand naked and do my little dance, or I can discuss  
Foucault, but not at the same time; too much information.

(Annabel Chong)




--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] placecontent and arranging

2008-03-28 Thread Wolfgang Schuster
On Fri, Mar 28, 2008 at 3:18 PM, Andrea Valle [EMAIL PROTECTED] wrote:
 (Sorry, always me)

 I have such a structure

 \startproduct prd_tSCIRMA\project project_scMaterials

 \component licence\component prima
 {\switchtobodyfont[20pt] Sommario}\blank\placecontent\component
 c_00_introduzione\component c_01_scGrado0 \component c_03_oggetti
 % etc
 \stopproduct
 Everything works perfectly if I arrange one page for sheet, e.g.
 \setuppapersize[A5][A5]
 or
 \setuppapersize[A5][A4, landscape]


 If have more pages for sheet,
 \setuppapersize[A5][A4, landscape]
 \setuparranging[2*2]

 there's no table of content in the pdf.

You need texexec --arrange filename to get a table of contents with
imposition.

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] placecontent and arranging

2008-03-28 Thread Andrea Valle

(why?)
Many thanks Wolfgang, I'll try it

Best

-a-


On 28 Mar 2008, at 15:27, Wolfgang Schuster wrote:

On Fri, Mar 28, 2008 at 3:18 PM, Andrea Valle [EMAIL PROTECTED]  
wrote:

(Sorry, always me)

I have such a structure

\startproduct prd_tSCIRMA\project project_scMaterials

\component licence\component prima
{\switchtobodyfont[20pt] Sommario}\blank\placecontent\component
c_00_introduzione\component c_01_scGrado0 \component c_03_oggetti
% etc
\stopproduct
Everything works perfectly if I arrange one page for sheet, e.g.
\setuppapersize[A5][A5]
or
\setuppapersize[A5][A4, landscape]


If have more pages for sheet,
\setuppapersize[A5][A4, landscape]
\setuparranging[2*2]

there's no table of content in the pdf.


You need texexec --arrange filename to get a table of contents with
imposition.

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
__ 
_


--
Andrea Valle
--
CIRMA - DAMS
Università degli Studi di Torino
-- http://www.cirma.unito.it/andrea/
-- http://www.myspace.com/andreavalle
-- [EMAIL PROTECTED]
--



Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty

(Ken Perlin on noise)





___
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] placecontent and arranging

2008-03-28 Thread Thomas A. Schmitz

On Mar 28, 2008, at 3:42 PM, Andrea Valle wrote:
 (why?)
 Many thanks Wolfgang, I'll try it

 Best

 -a-

This is a FAQ, maybe you could add something to the wiki (I'm sure  
it's already there). Here's a message from Hans which explains the  
phenomenon: 
http://archive.contextgarden.net/message/20080218.104223.67d0f7a4.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
___


Re: [NTG-context] placecontent and arranging

2008-03-28 Thread Wolfgang Schuster
why?

 Everything works perfectly if I arrange one page for sheet, e.g.
 \setuppapersize[A5][A5]
 or
 \setuppapersize[A5][A4, landscape]

This creates a normal document with a A5 pagesize and a A4 papersize,
independant from page arrangment.

 If have more pages for sheet,
 \setuppapersize[A5][A4, landscape]
 \setuparranging[2*2]

This create pages in A5 format and place the individual pages and a paper
with A4, landscape format.

The table of content is always disabled in imposition mode, to get rid of this
you can use the arrangment key for texexec. This will run the document
at first without page arrangment and impose the pages in a seperate run after
the table of contents is created.

Hans explained this a few times in the past.

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] Pagenumbering in header-margin with outer-align

2008-03-28 Thread Peter Schorsch
Hi,

I am trying to put the pagenumber in the margin of the header. But I also want 
it outer-aligned - not inner-aligned, which seems to be the standart 
alignment of margin. But the inner-align of the body-margin should still be 
inner-aligned. So I tried following:

\setuppagenumbering[conversion=Romannumerals,alternative=doublesided,
location={header,margin},style={\setupalign[outer]}]

but Context dont like this.. it stops converting. Does anyone know a working 
solution for this problem?

Thanks, P.
___
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] Natural tables, offsets

2008-03-28 Thread David
Hi all

I'm using the natural table environment, and would like the text in 
each cell to have some horizontal offset from the cell boundaries - but 
I don't want to change the vertical offset. Is there a way to do this?

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