Re: [NTG-context] Setting up a project

2007-12-21 Thread Hans Hagen
Joel C. Salomon wrote:

 Does a project with a single product really require the full hierarchy?
 Is there a dummy layout I can put into the environment file to test the 
 set-up?

no, you could stick to a product but maybe later on you want for 
instance a screen version which then can make another product

 \startenvironment env_firefly
 \definepapersize[sixbynine][width=6in,height=9in]
 \setuppapersize[sixbynine][sixbynine]
 \setuplayout[...
   ...]
 \stopenvironment
 
 Do I need to define  name the paper size, or is putting it in the
 \setuplayout sufficient?

looks ok to me; it depends on your papersize

also try:

\setuppapersize[sixbynine][oversized]
\setuplayout[marking=on]

 What are the offset  scale in the paper size?

special purpose, tweaking, seldom needed

 I want to have 6″×9″ trim, inner margin of 48pt, outer margin 96pt,
 top margin 72pt, bottom margin 144pt for starters.  Headers and
 footers, when they exist, are allocated 12 points height and are 12pt
 away from the text. (See the linked-to example.)
 
 I have read several of the manuals, I'm just having trouble putting it
 all together.  Also, I'm not looking for a recipe but guides on
 developing the layout myself so I can understand it.

use \showframe

stat with defining headers and footers and then set topspace and 
backspace dimensions

-
   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] a question about s-pre-61.tex

2007-12-21 Thread Hans Hagen
Dalyoung Jeong wrote:
 Dear all,
 
 I tried to compile s-pre-61.tex to see the interaction.
 
 At the first time, I got the font error. It had a problem to use  
 Optima-nova font.
 I changed the bodyfont to pagella in type-gyr.tex file and tried again.
 It runs without the error, but it didn't make pdf output. I checked  
 the log file and found the following strange message (1),(2), and (3).
 
 (/usr/local/texlive/2007/../texmf-local/tex/context/base/type-gyr.tex)
 interaction : active
 color   : mpcmyk color space is supported
 color   : mpspot color space is supported
 color   : system rgb is global activated
 system  : mark Topic defined [chapter]
 system  : mark Topicnumber defined [chapternumber]
 system  : mark Nopic defined [title]
 system  : mark Nopicnumber defined [titlenumber]
 )
 systems : invalid \starttext...\stoptext structure   
 (1)

texexec --mode=demo ...

it's a style, not a document, but some have demo sections

-
   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] Setting up a project

2007-12-21 Thread Wolfgang Schuster
On Thu, 20 Dec 2007 18:04:57 -0500
Joel C. Salomon [EMAIL PROTECTED] wrote:

 I'm trying a fairly ambitious project to teach myself practical
 ConTeXt -- typesetting a book I'm writing.  As per
 http://wiki.contextgarden.net/Project_structure, I've created files
 for the project, environment, product, and component.  The component
 file (preface.tex) is the only one with (dummy) content right now.

 Side questions:
 Does a project with a single product really require the full hierarchy?
 Is there a dummy layout I can put into the environment file to test the 
 set-up?

you can omit the project file, I use it myself only for documents where
I use the same layout for more than one product/Dokument.

 Now I want to set up the layout.  An example of what I'm trying to
 achieve is at http://typophile.com/files/Layout.pdf, currently done
 in OpenOffice.  I'm not yet asking about fonts; I just want to put the
 text in the correct places.  It doesn't seem that 6×9 (inches) is a
 built-in size, so my environment file (env_firefly.tex) needs to look
 something like:

How to use th Gentium fonts with ConTeXt have been asked not so long
ago, I could also send you a typescript file to use the DejaVo fonts
with XeTeX but I had a few problems to use them with LuaTeX in the last
time.

 \startenvironment env_firefly
 \definepapersize[sixbynine][
   width=6in,height=9in,
   offset=???,scale=???]
 \setuppapersize[sixbynine][sixbynine]
 \setuplayout[...
   ...]
 \stopenvironment

 Do I need to define  name the paper size, or is putting it in the
 \setuplayout sufficient?
 What are the offset  scale in the paper size?

You need \definepapersize to set the width and height of your page.

I never the used the offset and scale keys for \definepapersize but the
offset key sems to change the with and height of the papersize by the
given value, positive value means reduce the size by this dimension.

Don't know what the scale key is for, I tried to use it but got no
change in the output.

\setuplayout is meant to set the margin on your page.

You forgot \setuppagenumbering[location=doublesided] in your
environment to get a doublesided document.

 I want to have 6″×9″ trim, inner margin of 48pt, outer margin 96pt,
 top margin 72pt, bottom margin 144pt for starters.  Headers and
 footers, when they exist, are allocated 12 points height and are 12pt
 away from the text. (See the linked-to example.)

\setuplayout
  [backspace=48pt,
   cutspace=96pt,
   width=fit,
   height=fit,
   %topspace=72pt,
   topspace=60pt,
   header=12pt,
   headerdistance=12pt,
   %bottomspace=144pt,
   bottomspace=132pt,
   footer=12pt,
   footerdistance=12pt]

 I have read several of the manuals, I'm just having trouble putting it
 all together.  Also, I'm not looking for a recipe but guides on
 developing the layout myself so I can understand it.

You could try to read the example layouts on the wiki.

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] luatex not compiling

2007-12-21 Thread Martin Schröder
2007/12/20, Hans van der Meer [EMAIL PROTECTED]:
 Probably changing the code into:
 #include signal.h
 #ifndef _SIGNAL_H_
 #include sys/signal.h
 #endif
 might help, but I have not tested this (some of the pie should be left
 for Taco c.s. ;-)

Just curious: What does the man page of signal.h say how to include
it on OSX? On linux it's signal.h ...

Best
   Martin
___
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] bib module in pdftex and luatex

2007-12-21 Thread Hans Hagen
Thomas A. Schmitz wrote:
 Hi all (esp. Taco ;-),
 
 here's a very fundamental question about the bib-module: my main bib  
 file now has ~ 1,700 entries. When I tried to compile a file which  
 includes bibliographic references in mkii, I got this error:
 
 ! TeX capacity exceeded, sorry [hash size=6].
 \@@shortsectionnumber ...\c!conversion \endcsname
\relax [EMAIL PROTECTED] 
 \ifx  
 \csname \...
 
 \@@longsectionnumber ...\@@shortsectionnumber {#1}
\fi
 \finalsectionnumber ...alue {\@@sectie \c!number }
\fi \fi
 \dodododoconstructhead ...er {\someheadconversion
}\getvalue {\??ko  
 #1\c!inb...
 l.162 \section{Textausgaben}
 
 !  == Fatal error occurred, no output PDF file produced!
 
 The same file compiles without errors in mkiv. So I'm curious: Is it  
 possible that the bib file is just too large for mkii? Or is it more  
 probable that there's some error in it such as missing crossref etc?  
 Does anyone have experience with large bib files and the bib module?

you can increase the hash size in texmf.cnf ... if so, then also remake 
the format

in mkiv we need less hash space if only because it got rid of encodings 
and regimes

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] bib module in pdftex and luatex

2007-12-21 Thread Thomas A. Schmitz

On Dec 21, 2007, at 1:47 PM, Hans Hagen wrote:

 you can increase the hash size in texmf.cnf ... if so, then also  
 remake
 the format

 in mkiv we need less hash space if only because it got rid of  
 encodings
 and regimes

Indeed, increasing the hash_extra size and rebuilding the formats  
worked. Remarkable that mkiv is already more efficient wrt hash space!

Thanks, and 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
___


[NTG-context] bib module in pdftex and luatex

2007-12-21 Thread Thomas A. Schmitz
Hi all (esp. Taco ;-),

here's a very fundamental question about the bib-module: my main bib  
file now has ~ 1,700 entries. When I tried to compile a file which  
includes bibliographic references in mkii, I got this error:

! TeX capacity exceeded, sorry [hash size=6].
\@@shortsectionnumber ...\c!conversion \endcsname
   \relax [EMAIL PROTECTED] 
\ifx  
\csname \...

\@@longsectionnumber ...\@@shortsectionnumber {#1}
   \fi
\finalsectionnumber ...alue {\@@sectie \c!number }
   \fi \fi
\dodododoconstructhead ...er {\someheadconversion
   }\getvalue {\??ko  
#1\c!inb...
l.162 \section{Textausgaben}

!  == Fatal error occurred, no output PDF file produced!

The same file compiles without errors in mkiv. So I'm curious: Is it  
possible that the bib file is just too large for mkii? Or is it more  
probable that there's some error in it such as missing crossref etc?  
Does anyone have experience with large bib files and the bib module?

Thanks, and best wishes

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] luatex not compiling

2007-12-21 Thread Idris Samawi Hamid
Hi guys,

On Fri, 21 Dec 2007 03:50:04 -0700, Martin Schröder [EMAIL PROTECTED]  
wrote:

 2007/12/20, Hans van der Meer [EMAIL PROTECTED]:
 Probably changing the code into:
 #include signal.h
 #ifndef _SIGNAL_H_
 #include sys/signal.h
 #endif
 might help, but I have not tested this (some of the pie should be left
 for Taco c.s. ;-)

 Just curious: What does the man page of signal.h say how to include
 it on OSX? On linux it's signal.h ...

Should'nt this discssion go to the dev-luatex list? :-)

Best wishes
Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
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] luatex not compiling

2007-12-21 Thread Taco Hoekwater



Idris Samawi Hamid wrote:
 Hi guys,
 
 On Fri, 21 Dec 2007 03:50:04 -0700, Martin Schröder [EMAIL PROTECTED]  
 wrote:
 
 2007/12/20, Hans van der Meer [EMAIL PROTECTED]:
 Probably changing the code into:
 #include signal.h
 #ifndef _SIGNAL_H_
 #include sys/signal.h
 #endif
 might help, but I have not tested this (some of the pie should be left
 for Taco c.s. ;-)
 Just curious: What does the man page of signal.h say how to include
 it on OSX? On linux it's signal.h ...
 
 Should'nt this discssion go to the dev-luatex list? :-)

But did not CC the list himself. :-)

This:   http://www.hmug.org/man/2/sigaltstack.php

looks like a Mac OS X manual page. However, Thomas reported that
using stack_t (as the man page says) did not actually help either.

I do not have a recent Macintosh, so I can not test this. If this
issue can not be resolved, I will simply remove the signal trapping
code in the next beta.

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] bib module in pdftex and luatex

2007-12-21 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 
 The same file compiles without errors in mkiv. So I'm curious: Is it  
 possible that the bib file is just too large for mkii? 

Just to be complete: In general, the answer to that is yes, even for
mkiv.

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] bib module in pdftex and luatex

2007-12-21 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 On Dec 21, 2007, at 2:37 PM, Taco Hoekwater wrote:
 
 Just to be complete: In general, the answer to that is yes, even for
 mkiv.

 Best wishes,
 Taco

 
 Hmm, okay, thanks, Taco. Any rule of thumb for just how big is too big? 

Depends on your texmf.cnf. IIRC, I have twenty or so csnames per
entry, and the baseline for mkii is a bit over 40.000 csnames,
so you need about

40.000 + 20 * (numberofentries)

 And what do people do in cases like this? One of the wonderful  

Increase hash_extra, as Hans said. There is (virtuallly) no limit
to that.

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] bib module in pdftex and luatex

2007-12-21 Thread Thomas A. Schmitz

On Dec 21, 2007, at 2:37 PM, Taco Hoekwater wrote:

 Just to be complete: In general, the answer to that is yes, even for
 mkiv.

 Best wishes,
 Taco


Hmm, okay, thanks, Taco. Any rule of thumb for just how big is too  
big? And what do people do in cases like this? One of the wonderful  
things about bibtex for me was that I could build up one big database  
which I could reuse for all my needs.

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] (mkii) language-specific options for \placeregister[index] ?

2007-12-21 Thread Wolfgang Schuster
On Wed, 19 Dec 2007 22:01:14 +0100
Steffen Wolfrum [EMAIL PROTECTED] wrote:

 Am 19.12.2007 um 14:45 schrieb Wolfgang Schuster:
 
  2007/12/19, Steffen Wolfrum [EMAIL PROTECTED]:
  Hi,
 
  the following (with mkii) is probably not the most pressuring topic
  to most of you  ... apologies!
 
  Although I have set \mainlanguage[de]   the register seems  
  to be
  unaffected. All my cultural heritage (i.e. the Umaut) is ignored!!!
 
  o(
 
  The problem is the sorting – keywords containing umlauts seem to be
  sorted after e:
 
  Bestimmung
  Bühler
  Bildung
 
  Are there language-specific arguments/options for
  \placeregister[index]?
 
  Thanks,
 
  Steffen
 
  Hi Steffen,
 
  Can you post a example where this did happen for you.

Hi Hans and all others,

I found the reason for the wrong index sorting in Steffens files.

The correct sorted file contains something like this.

\enableregime[utf]
\starttext
text\index{Bestimmung} text\index{Bühler} text\index{Bildung} text
\placeindex
\stoptext

The text is enclosed by the normal start/stoptext pair and the document
setup is written before the start of the document while the wrong file
contains this:

\starttext
\enableregime[utf]
text\index{Bestimmung} text\index{Bühler} text\index{Bildung} text
\placeindex
\stoptext

The files did not really contain start/stop but use ConTeXts document
structure and \everystarttext is executed by \startpoduct, the first
command in the product file.

The problem is now, ConTeXt write information for the index sorting
into the tui file and a few additional entries for every spcifiec file
encoding, in this utf-8.

This works quite well in the first example because \enableregime is
writte before \starttext while in the second example the sorting
information are written before ConTeXt knows the file encoding.

A workaround for the moment is to write \enableregime before
\startproduct in the main file but I hope this coule be fiyed in the
next release.

I still wonder why nobody noticed this untill now.

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] Setting up a project

2007-12-21 Thread Hans Hagen
Joel C. Salomon wrote:
 On Dec 21, 2007 3:19 AM, Hans Hagen [EMAIL PROTECTED] wrote:
 \setuppapersize[sixbynine][oversized]
 \setuplayout[marking=on]
 
 Cool!  Is there a way to center the 6″×9″ page on 8½″×11″ paper?  I've tried
   \setuppapersize[sixbynine][letter]
 but that puts the page in the upper-left corner.  Right now I'm using
   \setuppapersize[sixbynine][sixbynine]
 and having Acrobat Reader center this on the printed page.  (Which
 might well be the best way to do this.)

location=middle (in setuplayout)


-
   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] bib module in pdftex and luatex

2007-12-21 Thread Thomas A. Schmitz

On Dec 21, 2007, at 4:56 PM, Taco Hoekwater wrote:

 Depends on your texmf.cnf. IIRC, I have twenty or so csnames per
 entry, and the baseline for mkii is a bit over 40.000 csnames,
 so you need about

40.000 + 20 * (numberofentries)

 And what do people do in cases like this? One of the wonderful

 Increase hash_extra, as Hans said. There is (virtuallly) no limit
 to that.

 Best wishes,
 Taco

Ah, okay! Thanks a lot. So I will pit my ever larger and larger bib  
files against the ever more powerful computers that we will have in  
the future and let them fight it out!

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] bib module in pdftex and luatex

2007-12-21 Thread Hans Hagen
Thomas A. Schmitz wrote:

 Ah, okay! Thanks a lot. So I will pit my ever larger and larger bib  
 files against the ever more powerful computers that we will have in  
 the future and let them fight it out!

we can manage the bib data in lua and do all bibtex actions there,

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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 3:19 AM, Hans Hagen [EMAIL PROTECTED] wrote:
 \setuppapersize[sixbynine][oversized]
 \setuplayout[marking=on]

Cool!  Is there a way to center the 6″×9″ page on 8½″×11″ paper?  I've tried
\setuppapersize[sixbynine][letter]
but that puts the page in the upper-left corner.  Right now I'm using
\setuppapersize[sixbynine][sixbynine]
and having Acrobat Reader center this on the printed page.  (Which
might well be the best way to do this.)

 use \showframe

 stat with defining headers and footers and then set topspace and
 backspace dimensions

Thanks; now I can see what I'm doing.

On Dec 21, 2007 3:55 AM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 you can omit the project file, I use it myself only for documents where
 I use the same layout for more than one product/Dokument.

I assume that I'd replace every instance of \project
firefly_novelization_proj with \environment
firefly_novelization_env, correct?  But keeping the project file
isn't much hassle, and there might be two volumes, so...

 How to use th Gentium fonts with ConTeXt have been asked

My use of Gentium is a temporary thing for the OpenOffice mockup; I'm
asking for type suggestions on Typophile.  For the nonce I'l be
satisfied with the Latin Modern fonts.

 You forgot \setuppagenumbering[location=doublesided] in your
 environment to get a doublesided document.

Thanks; that was not obvious from any sample document I've seen.

 \setuplayout
   [backspace=48pt,
snip
footerdistance=12pt]

I'm using
\setuplayout
[marking=on
%backspace=48pt, cutspace=96pt,
backspace=36pt, cutspace=84pt,
width=fit, height=fit,
%topspace=72pt,
topspace=48pt, header=12pt, headerdistance=12pt,
%bottomspace=144pt,
bottomspace=120pt, footer=12pt, footerdistance=12pt]
right now.  Notice the backspace  cutspace values; the values you
gave me defined some sort of left and right marginal areas with a
separation between them and the main text area, and I wanted the text
area to be 6″×9″.  Now I'm thinking there must be a clearer way to
express it, something like:
width=288pt, height=432pt,
header=12pt, headerdistance=12pt,
footer=12pt, footerdistance=12pt,
left**=48pt, right**=96pt, top**=72pt, bottom**=144pt,
something to define an outer marginal area; I don't intend to put
anything in the inner margin]
where the left** c. define the distance between the paper's edge and
the edge of the text area.  Is this what the edgedistance values are?

 You could try to read the example layouts on the wiki.

I'm using those for ideas too; I'm still missing some important things though.

--Joel
___
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] Keeping up-to-date under TeXLive

2007-12-21 Thread Joel C. Salomon
My new Ubuntu installation includes TeXLive version 2007-10.  Is there
a way for me to keep the ConTeXt part of this up-to-date with current
(stable) versions?  Considering that I have XeTeX 0.996, do I want to,
or should I stick with what currently works?

--Joel
___
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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 12:29 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 location=middle (in setuplayout)

Is there a problem with having location=middle in setuplayout and
location=doublesided in setuppagenumbering?

--Joel
___
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] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Steffen Wolfrum
Hi,

see the following example, please:

\definepapersize[Small][width=15cm,height=7.5cm]
\setuppapersize[Small][A46,landscape]
\setuplayout
[width=15cm,height=7.5cm,backspace=-0cm,
location=middle,marking=on,grid=no]
\starttext\setupheadertexts[]
\centerline{TEXT}
\stoptext


How do I get rid of the four little 1 ???

Steffen
___
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] luatex not compiling

2007-12-21 Thread luigi scarso

 Should'nt this discssion go to the dev-luatex list? :-)


I think no, at least not now.
Luatex is actually very 'tangled' with context mkiv and context users .


-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
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] (mkii) language-specific options for \placeregister[index] ?

2007-12-21 Thread Hans Hagen
Wolfgang Schuster wrote:

 The problem is now, ConTeXt write information for the index sorting
 into the tui file and a few additional entries for every spcifiec file
 encoding, in this utf-8.

writing the sort vector is hooked into starttext

 This works quite well in the first example because \enableregime is
 writte before \starttext while in the second example the sorting
 information are written before ConTeXt knows the file encoding.
 
 A workaround for the moment is to write \enableregime before
 \startproduct in the main file but I hope this coule be fiyed in the
 next release.

i'll find another hook

 I still wonder why nobody noticed this untill now.

maybe because of \expanded names, \eacute still sorts somewhat right

-
   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] Keeping up-to-date under TeXLive

2007-12-21 Thread luigi scarso
On Dec 21, 2007 6:22 PM, Joel C. Salomon [EMAIL PROTECTED] wrote:
 My new Ubuntu installation includes TeXLive version 2007-10.  Is there
 a way for me to keep the ConTeXt part of this up-to-date with current
 (stable) versions?  Considering that I have XeTeX 0.996, do I want to,
 or should I stick with what currently works?



I don't have the answer, but I can tell you how I'm actually using
context and luatex.
First , i don't install anything fromt ubuntu about TeX:
I only use last TeXLive under /opt/texlive
I keep a mkii version of context here, and i have update with last
pdftex and metapost.

Second, for mkiv  I always use new context files from pragma; I
compile last metapost and luatex and put all stuff under
/opt/luatex

I feel good with this, because i can change/update distro without
pain, and manage stuffs under /opt is also easy.

I admit that this is not a 'debian' or ubunto way, but i use linux
from 0.99 kernel,
and the only things i have found stable is filesystem hierarchy


-- 
luigi
http://wiki.contextgarden.net/User:Luigi.scarso/Merry_Christmas_2007

it's new .
it's powerful .
it's luatex .
http://www.luatex.org
___
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] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 18:40:08 +0100
Steffen Wolfrum [EMAIL PROTECTED] wrote:

 Hi,
 
 see the following example, please:
 
 \definepapersize[Small][width=15cm,height=7.5cm]
 \setuppapersize[Small][A46,landscape]
 \setuplayout
   [width=15cm,height=7.5cm,backspace=-0cm,
   location=middle,marking=on,grid=no]
 \starttext\setupheadertexts[]
 \centerline{TEXT}
 \stoptext
 
 
 How do I get rid of the four little 1 ???

\let\pagecutmarksymbol\relax

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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 12:49 PM, Joel C. Salomon [EMAIL PROTECTED] wrote:
 Is there a problem with having location=middle in setuplayout and
 location=doublesided in setuppagenumbering?

Never mind; I had done something dumb with the margin widths.

Anyhow, I'm trying the environment shown below, but I'm evidently not
understanding what the various *space values are.  Only cutspace seems
to work as I expected it to; even the text area isn't the right size
(unless the rectangle isn't around the text area itself).

\definepapersize[sixbynine][width=6in,height=9in]
\setuppapersize[sixbynine][letter]
\setuplayout
[marking=on, location=middle,
textwidth=288pt, textheight=432pt,
header=12pt, headerdistance=12pt, topspace=72pt,
footer=12pt, footerdistance=12pt, bottomspace=144pt,
leftmargindistance=12pt, leftmargin=24pt, backspace=48pt,
rightmargindistance=12pt, rightmargin=24pt, cutspace=96pt]
\setuppagenumbering[location=doublesided]
\showframe

--Joel
___
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] (mkii) language-specific options for \placeregister[index] ?

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 18:34:32 +0100
Hans Hagen [EMAIL PROTECTED] wrote:

 Wolfgang Schuster wrote:
 
  The problem is now, ConTeXt write information for the index sorting
  into the tui file and a few additional entries for every spcifiec file
  encoding, in this utf-8.
 
 writing the sort vector is hooked into starttext

I realized this myself, because the only difference between both
version had been the file size of the tui files.

  This works quite well in the first example because \enableregime is
  writte before \starttext while in the second example the sorting
  information are written before ConTeXt knows the file encoding.
  
  A workaround for the moment is to write \enableregime before
  \startproduct in the main file but I hope this coule be fiyed in the
  next release.
 
 i'll find another hook
 
  I still wonder why nobody noticed this untill now.
 
 maybe because of \expanded names, \eacute still sorts somewhat right

I found this solution also but it is easier to write ä, ü ... instead
of \aumlaut, \uumlaut etc.

BTW, why could I use only \aumlaut in macros but not \adiaresis.

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] Setting up a project

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 12:49:04 -0500
Joel C. Salomon [EMAIL PROTECTED] wrote:

 On Dec 21, 2007 12:29 PM, Hans Hagen [EMAIL PROTECTED] wrote:
  location=middle (in setuplayout)
 
 Is there a problem with having location=middle in setuplayout and
 location=doublesided in setuppagenumbering?

No problem, the doublesided option for \setuppagenumbering take care of
left and right pages in your real document while the location key for
\setuplayout place the document only on the larger paper according to
the given position.

The command for doublesided documents should be \setuppagenumbering
[alternative=doublesided] and not [location=doublesided], sorry for the
wrong information.

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] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Steffen Wolfrum
Or even worse, how do I get rid of those fat white numbers in the  
nice color fields:

\setupcolors[state=start]
\definepapersize[Small][width=15cm,height=7.5cm]
\setuppapersize[Small][A46,landscape]
\setuplayout
[width=15cm,height=7.5cm,backspace=-0cm,
location=middle,marking=color,grid=no]
\starttext\setupheadertexts[]
\centerline{TEXT}
\stoptext


Steffen


Am 21.12.2007 um 18:40 schrieb Steffen Wolfrum:

 Hi,

 see the following example, please:

 \definepapersize[Small][width=15cm,height=7.5cm]
 \setuppapersize[Small][A46,landscape]
 \setuplayout
   [width=15cm,height=7.5cm,backspace=-0cm,
   location=middle,marking=on,grid=no]
 \starttext\setupheadertexts[]
 \centerline{TEXT}
 \stoptext


 How do I get rid of the four little 1 ???

 Steffen

___
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] (mkii) language-specific options for \placeregister[index] ?

2007-12-21 Thread Hans Hagen
Wolfgang Schuster wrote:

 BTW, why could I use only \aumlaut in macros but not \adiaresis.

diae

-
   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] \setuplayout with marking but WITHOUT number

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 19:05:04 +0100
Steffen Wolfrum [EMAIL PROTECTED] wrote:

 Or even worse, how do I get rid of those fat white numbers in the  
 nice color fields:
 
 \setupcolors[state=start]
 \definepapersize[Small][width=15cm,height=7.5cm]
 \setuppapersize[Small][A46,landscape]
 \setuplayout
   [width=15cm,height=7.5cm,backspace=-0cm,
   location=middle,marking=color,grid=no]
 \starttext\setupheadertexts[]
 \centerline{TEXT}
 \stoptext
 
 Steffen

This is not possible, the numbers are hard coded in the colorfield
macros, the only solution is to change the original macros, grep
for \colormarkbox in core-vis :-(

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] (mkii) language-specific options for \placeregister[index] ?

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 19:35:32 +0100
Hans Hagen [EMAIL PROTECTED] wrote:

 Wolfgang Schuster wrote:
 
  BTW, why could I use only \aumlaut in macros but not \adiaresis.
 
 diae

D’oh!

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] Setting up a project

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 13:15:22 -0500
Joel C. Salomon [EMAIL PROTECTED] wrote:

 On Dec 21, 2007 12:49 PM, Joel C. Salomon [EMAIL PROTECTED] wrote:
  Is there a problem with having location=middle in setuplayout and
  location=doublesided in setuppagenumbering?
 
 Never mind; I had done something dumb with the margin widths.
 
 Anyhow, I'm trying the environment shown below, but I'm evidently not
 understanding what the various *space values are.  Only cutspace seems
 to work as I expected it to; even the text area isn't the right size
 (unless the rectangle isn't around the text area itself).
 
 \definepapersize[sixbynine][width=6in,height=9in]
 \setuppapersize[sixbynine][letter]
 \setuplayout
   [marking=on, location=middle,
   textwidth=288pt, textheight=432pt,
   header=12pt, headerdistance=12pt, topspace=72pt,
   footer=12pt, footerdistance=12pt, bottomspace=144pt,
   leftmargindistance=12pt, leftmargin=24pt, backspace=48pt,
   rightmargindistance=12pt, rightmargin=24pt, cutspace=96pt]
 \setuppagenumbering[location=doublesided]
 \showframe

http://wiki.contextgarden.net/Layout

you should also set only backspace and textwidth ond no cutspace or
you set backspace and cutspace and let ConTeXt calculate the
textwidth.

What do you mean by the rectangle around the text area.

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] Setting up a project

2007-12-21 Thread Joel C. Salomon
On Dec 21, 2007 2:01 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 What do you mean by the rectangle around the text area.

Here's the project I'm compiling (as it currently stands), condensed
into a single file:

\definepapersize[sixbynine][width=6in,height=9in]
\setuppapersize[sixbynine][letter]
\setuplayout
[marking=on, location=middle,
textwidth=288pt, textheight=432pt,
header=12pt, headerdistance=12pt, topspace=72pt,
footer=12pt, footerdistance=12pt, bottomspace=144pt,
leftmargindistance=12pt, leftmargin=24pt, backspace=48pt,
rightmargindistance=12pt, rightmargin=24pt]
\setuppagenumbering[alternative=doublesided]
\showframe
\starttext
\title{Preface}
A few paragraphs of {\em Lorem ipsum} text.
\stoptext

The center rectangle, surrounding the text area, seems to have its
left  right margins some distance from the actual text.  How do I set
that distance, and why is it different from the leftmargindistance?

--Joel
___
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] Setting up a project

2007-12-21 Thread Wolfgang Schuster
On Fri, 21 Dec 2007 15:09:26 -0500
Joel C. Salomon [EMAIL PROTECTED] wrote:

 On Dec 21, 2007 2:01 PM, Wolfgang Schuster
 [EMAIL PROTECTED] wrote:
  What do you mean by the rectangle around the text area.
 
 Here's the project I'm compiling (as it currently stands), condensed
 into a single file:
 
 \definepapersize[sixbynine][width=6in,height=9in]
 \setuppapersize[sixbynine][letter]
 \setuplayout
   [marking=on, location=middle,
   textwidth=288pt, textheight=432pt,

replace these two lines with

width=288pt and height=432pt

don't use textwidth and textheight in \setuplayout.

   header=12pt, headerdistance=12pt, topspace=72pt,
   footer=12pt, footerdistance=12pt, bottomspace=144pt,
   leftmargindistance=12pt, leftmargin=24pt, backspace=48pt,
   rightmargindistance=12pt, rightmargin=24pt]
 \setuppagenumbering[alternative=doublesided]
 \showframe
 \starttext
 \title{Preface}
 A few paragraphs of {\em Lorem ipsum} text.
 \stoptext
 
 The center rectangle, surrounding the text area, seems to have its
 left  right margins some distance from the actual text.  How do I set
 that distance, and why is it different from the leftmargindistance?

leftmargindistance is only the distance between the textarea and the
left box for the left margin, the layout concept could be a little bit
confusing.

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] Keeping up-to-date under TeXLive

2007-12-21 Thread Mojca Miklavec
On Dec 21, 2007 6:22 PM, Joel C. Salomon wrote:
 My new Ubuntu installation includes TeXLive version 2007-10.  Is there
 a way for me to keep the ConTeXt part of this up-to-date with current
 (stable) versions?

ctxtools --updatecontext

One (unofficial) way to update (only ConTeXt) is also:
rsync -rvzctlp
rsync://contextgarden.net/minimals/current/context/current/
your-texmf-tree
and then remake the formats manually.

 Considering that I have XeTeX 0.996, do I want to,
 or should I stick with what currently works?

For XeTeX it's probably advisable to have a recent ConTeXt version,
but not neccessary the latest SVN binaries (it's nice to have them,
but not obligatory). 0.996 still works OK, only a bit slower (new
important fixes might also come out soon).

In the case of LuaTeX you really need the latest binary.

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] Keeping up-to-date under TeXLive

2007-12-21 Thread Aditya Mahajan
On Fri, 21 Dec 2007, Joel C. Salomon wrote:

 My new Ubuntu installation includes TeXLive version 2007-10.  Is there
 a way for me to keep the ConTeXt part of this up-to-date with current
 (stable) versions?

I am in the same situation. Ubuntu 7.10, but the context version of the 
latest texlive is too old for my needs.

 Considering that I have XeTeX 0.996, do I want to,
 or should I stick with what currently works?

In most cases (except if you want to test mkiv) the current binaries are 
ok. So, for pdftex (1.40.3-2.2), metapost (0.993) and xetex (0.996), I 
stick with the version provided by ubuntu. So far I have not run into a 
bug that was fixed in a higher version. If I do, I will download the 
latest binaries.

For me, the more important thing is to have an uptodate context files. 
After a bit of trial and error, this is what I settled on.

Create $HOME/texmf. Download justtex.zip, and cont-tmf.zip, cont-fnt.zip 
from pragma's website, and unzip them inside $HOME/texmf. Download the 
font files from TeX Gyre and unzip then in $HOME/texmf.

Remake the formats, move the stubs and few programs to the path, and you 
are done.

The only drawback of this is that you have to update manually. ctxtools 
--updatecontext unzip the file in TEXMFLOCAL, and not TEXMFHOME, so it 
does not work with this setup.

I used $HOME/texmf rather than TEXMFLOCAL because there are some other 
programs that install stuff at TEXMFLOCAL. With the current mechanism, I 
can just mv $HOME/texmf to another directory, and go back to the context 
that comes with unbuntu.

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
___