Re: [NTG-context] headers and footers

2008-09-01 Thread Alan Stone
I'm asking questions (1) and (3) since the main manual was written in 2001.

Best,
Alan

On Fri, Aug 29, 2008 at 5:06 PM, Alan Stone
[EMAIL PROTECTED]wrote:

 (1) The main manual mentions (bottom of pg 78) setting the state is done
 for the whole header and (bottom of page 79) the keys state, before and
 after work on all parts of the pagebody, main text, margins and edges.

 So there's no way to set the text/margin/edge states separately ?
 ( I need different visible/invisible settings for standard, frontapart and
 backpart )

 (2) pg 80 table 4.5: what's the difference between state=normal and
 state=start ?

 (3) in \setup*[margin/edge] ( * = top/header/footer/bottom ), how do you
 differentiate between
 the left and right margin/edge areas ?

 Thanks and have a great weekend,
 Alan

___
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] headers and footers

2008-08-29 Thread Alan Stone
Ok thanks.

Next, pg 80 table 4.5, result column

state   result
--
none   invisible, no whitespace
empty one page invisible, whitespace
highone page visible, no whitespace
stopinvisible, whitespace

What does this mean ?

Best,
Alan
___
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] headers and footers

2008-08-29 Thread Alan Stone
(1) The main manual mentions (bottom of pg 78) setting the state is done
for the whole header and (bottom of page 79) the keys state, before and
after work on all parts of the pagebody, main text, margins and edges.

So there's no way to set the text/margin/edge states separately ?
( I need different visible/invisible settings for standard, frontapart and
backpart )

(2) pg 80 table 4.5: what's the difference between state=normal and
state=start ?

(3) in \setup*[margin/edge] ( * = top/header/footer/bottom ), how do you
differentiate between
the left and right margin/edge areas ?

Thanks and have a great weekend,
Alan
___
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] Still confused about \setuplayout

2008-08-28 Thread Alan Stone
Hi Arthur,

I would sooner have you hate me for telling the truth than adore me for
telling lies.
- Pietro Aretino

As for the invitation to the reference project, thanks a lot. I have some
work to finish
first, then will have some free time to gladly contribute.

Wishing you a nice day  ( no irony ;O)

Best,
Alan


On Thu, Aug 28, 2008 at 11:54 AM, Arthur Reutenauer 
[EMAIL PROTECTED] wrote:

  There is a context reference project, you can help to document it~

  I concur.  This would be immensely more useful than contributing huge
 threads and smart-arse remarks to this mailing-list (I especially like
 the irony of your -- Alan's -- complaints about wasting [your] precious
 time).

Arthur
___
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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
 Where did you see topheight, headerheight, footerheight, and bottomheight?

1. http://archive.contextgarden.net/message/20080812.135630.04ad74e5.en.html

2. From observation: see \showsetups output (right column)

This part of ConTeXt and/or the instructional resources somehow got so
polluted with
incorrect parameters and/or information, a *serious* cleanup would be
most welcome so
people don't waste their time figuring out which of the basic stuff
really works.

Does somebody have a comprehensive overview of the active \setuplayout
parameters and
their meaning, i.e. where the incorrect parameters and information
have been filtered out ?
That would be most helpful.

Thanks on beforehand.

Best,
Alan


On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:
 On Tue, 26 Aug 2008, Alan Stone wrote:

 Hi,

 Taking S6 = 600pt wide x 450pt heigh for example...

 \setuppapersize[S6][S6]

 \showframe
 \showsetups

 \setuplayout[topheight=15pt,
  headerheight=15pt,
  footerheight=15pt,
  bottomheight=15pt,
  leftedgewidth=0pt,
  leftmarginwidth=0pt,
  rightmarginwidth=0pt,
  rightedgewidth=180pt]

 \starttext
 testing
 \stoptext

 How come the showframe and showsetups printouts
 don't correspond to the \setuplayout settings ?

 Where did you see topheight, headerheight, footerheight, and bottomheight?
 Perhaps you wanted

 \setuppapersize[S6][S6]

 \showframe
 \showsetups

 \setuplayout[topspace=15pt,
   header=15pt,
   height=middle,
   footer=15pt,
   bottomspace=15pt,
   backspace=0pt,
   width=middle,
   cutspace=180pt]

 \starttext
 testing
 \stoptext

 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
 ___

___
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] Reorganization of the main page

2008-08-27 Thread Alan Stone
It has a much better structure indeed.

Missing the wiki-only search feature though.

Placing the texshow-web and mail archive links in a more relevant
section, instead of hidden in the wiki's left column, would be welcome
- especially for newbies.

Also, when a newbie reads texshow-web (s)he doesn't have a clue what
that means. It's geek talk. Better say something like ConTeXt
commands directory or something else that's meaningful, relevant and
useful for them.

Samewise:

- live context
- download
- download area

All these don't mean a thing to somebody who sees this page for the first time.

Live ConTeXt ? What's that ? A live recording of a band named ConTeXt
? (joking ;O)

Download and download area? What's the difference ? As a newbie I
don't want to have waste my time and click on every link to find out
what's behind it. Tell me from the link itself what it means, what's
behind it so I can find what I'm looking for and get up to speed asap.

As for the logo...

Who cares ?

Logo's don't enable people to figure out how to use software and be
productive with it.

The proof is in the pudding, not in the logo.

Hope that helps.

Best,
Alan
___
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] Reorganization of the main page

2008-08-27 Thread Alan Stone
On Wed, Aug 27, 2008 at 11:14 AM, Patrick Gundlach [EMAIL PROTECTED]
wrote:
 Hi,

 Missing the wiki-only search feature though.

 OK, you're number two. I'll think about it.

Here's why Patrick: a wiki being a source of documentation, that's where I
look for next
when not finding something in the paper manuals and texshow. If I don't find
it there,
digging deeper through the mailing archive is useful. Having everything
mixed up through
one google search blurb is oftentimes confusing due to the lack of
structure.

 Also, when a newbie reads texshow-web (s)he doesn't have a clue what
 that means.

 Jano Kula suggested to rename it to reference or sth. like that.
 I'll do so.

Reference of what ?

 Could you suggest some other names? I always have a hard time thinking
 of some.

 - live context  - Try out ConTeXt online
 - download - Download the ConTeXt application
 - download area   -  Download examples, 3rd party modules, articles,
MyWay reports, ...

Some other ideas...

- A clearly visible (colored ?) banner or link on top of the main page
saying something like If you're new to ConTeXt, click here to get started
fast... which redirects to the main page Getting Started section might be
useful.

- http://wiki.contextgarden.net/ConTeXt_Minimals
The Minimals are an attempt to provide the same functionality as the current
Pragma's minimal ConTeXt distributions in the zip files. Etc...

This is quite confusing for a newbie: If I install the ConTeXt Minimals,
what will I be missing what's in the Pragma's minimal distribution ?

Better might be to say something like: In order to provide you the easiest
and most current ConTeXt installation and updates, the ConTeXt Minimals are
the recommended installation, or whatever else is currently most relevant.

Best,
Alan
___
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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED] wrote:

 Where did you see topheight, headerheight, footerheight, and bottomheight?
 Perhaps you wanted

 \setuppapersize[S6][S6]

 \showframe
 \showsetups

 \setuplayout[topspace=15pt,
   header=15pt,
   height=middle,
   footer=15pt,
   bottomspace=15pt,
   backspace=0pt,
   width=middle,
   cutspace=180pt]

 \starttext
 testing
 \stoptext

 Aditya


Although this isn't what I want, you'll notice none of the \showsetups
output values correspond to the \setuplayout settings.

What's missing to make this work ?

Best,
Alan
___
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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
Going back to my example (see below)...

Same observations, same questions.

Alan

\setuppapersize[S6][S6]

\setuplayout[topheight=15pt,
headerheight=15pt,
footerheight=15pt,
bottomheight=15pt,
leftedgewidth=0pt,
leftmarginwidth=0pt,
rightmarginwidth=0pt,
rightedgewidth=180pt]

\showframe
\showsetups

\starttext
testing
\stoptext


On Wed, Aug 27, 2008 at 1:27 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED]
 wrote:
 
  Where did you see topheight, headerheight, footerheight, and
 bottomheight?
  Perhaps you wanted
 
  \setuppapersize[S6][S6]
 
  \showframe
  \showsetups

 move the previous line

 
  \setuplayout[topspace=15pt,
header=15pt,
height=middle,
footer=15pt,
bottomspace=15pt,
backspace=0pt,
width=middle,
cutspace=180pt]
 
  \starttext

 to here

  testing
  \stoptext
 
  Aditya
 
 
  Although this isn't what I want, you'll notice none of the \showsetups
  output values correspond to the \setuplayout settings.
 
  What's missing to make this work ?
 
  Best,
  Alan

___
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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
That said, it is a little confusing that the table from
\showsetups doesn't match up ...

A little ???

Alan

On Wed, Aug 27, 2008 at 3:09 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Going back to my example (see below)...
 
  Same observations, same questions.

 The names and values reported by showsetups are not 1-to-1 to
 the arguments of \setuplayout. If you want to know what you
 can use in \setuplayout, use any of the manuals, or texshow:

   http://texshow.contextgarden.net/command/detail/221

 That said, it is a little confusing that the table from
 \showsetups doesn't match up ...

 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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
On Wed, Aug 27, 2008 at 2:41 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Going back to my example (see below)...
 
  Same observations, same questions.
 
  Alan
 
  \setuppapersize[S6][S6]
 
  \setuplayout[topheight=15pt,
  headerheight=15pt,
  footerheight=15pt,
  bottomheight=15pt,

 top,header,footer,bottom etc no height/width appended


Thanks Hans.

- \showsetups output contains a lot of junk, a thorough cleaning would be
utmost welcome

- \showframe doesn't draw topspace and bottomspace

- which \setuplayout parameters enable a space/blank area between
the left/right page border and the left/right of leftedge/rightedge ?

Alan


  leftedgewidth=0pt,
  leftmarginwidth=0pt,
  rightmarginwidth=0pt,
  rightedgewidth=180pt]
 
  \showframe
  \showsetups
 
  \starttext
  testing
  \stoptext
 
 
  On Wed, Aug 27, 2008 at 1:27 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 
  Alan Stone wrote:
  On Tue, Aug 26, 2008 at 11:17 AM, Aditya Mahajan [EMAIL PROTECTED]
  wrote:
  Where did you see topheight, headerheight, footerheight, and
  bottomheight?
  Perhaps you wanted
 
  \setuppapersize[S6][S6]
 
  \showframe
  \showsetups
  move the previous line
 
  \setuplayout[topspace=15pt,
header=15pt,
height=middle,
footer=15pt,
bottomspace=15pt,
backspace=0pt,
width=middle,
cutspace=180pt]
 
  \starttext
  to here
 
  testing
  \stoptext
 
  Aditya
 
  Although this isn't what I want, you'll notice none of the \showsetups
  output values correspond to the \setuplayout settings.
 
  What's missing to make this work ?
 
  Best,
  Alan

___
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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
On Wed, Aug 27, 2008 at 3:36 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  On Wed, Aug 27, 2008 at 2:41 PM, Hans Hagen [EMAIL PROTECTED] wrote:
 
  Alan Stone wrote:
  Going back to my example (see below)...
 
  Same observations, same questions.
 
  Alan
 
  \setuppapersize[S6][S6]
 
  \setuplayout[topheight=15pt,
  headerheight=15pt,
  footerheight=15pt,
  bottomheight=15pt,
  top,header,footer,bottom etc no height/width appended
 
 
  Thanks Hans.
 
  - \showsetups output contains a lot of junk, a thorough cleaning would be
  utmost welcome

 well, one can roll out his/her own -)


I guess as long as one knows to what each parameter corresponds.  ;O)

Nevertheless, please say more about that.


  - which \setuplayout parameters enable a space/blank area between
  the left/right page border and the left/right of leftedge/rightedge ?

  - \showframe doesn't draw topspace and bottomspace

 leftedgedistance (which defaults to edgedistance)


left/rightedgedistance is documented elsewhere as being between
left/rightedge and left/rightmargin.

CanItBeAnyMoreConfusingText ?

Alan
___
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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
Thanks Taco.

I am somewhat confused myself as to why this is generally considered to  be
so confusing.

What's most confusing are the:

- wiki layout explanation at http://wiki.contextgarden.net/Layout
- \showsetups output
- excursion manual, table 33.2 page 74
- main manual page 24
- \setuplayout texshow page

each one listing the same thing similarly or differently using either
arguments, parameters
and/or variables, the latter of which for the most have nothing to do with
the \setuplayout
arguments ( or are these parameters, or variables ? )

Best,
Alan

On Wed, Aug 27, 2008 at 5:07 PM, Taco Hoekwater [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
 
  CanItBeAnyMoreConfusingText ?

  From left to right, you have:

   (left)edge
   (left)edgedistance
   (left)margin
   (left)margindistance
   width
   (right)margindistance
   (right)margin
   (right)edgedistance
   (right)edge

 The location of all this on the paper is defined by backspace, which
 gives the distance between the appropriate (left or right) edge of the
 text width and the physical paper edge.

 Similar logic applies in the vertical direction. \showlayout will
 give the current values and keys (put it after \starttext, it generates
 four pages of typeset information).  I am somewhat confused myself as to
 why this is generally considered to  be so confusing.

 In vertical mode, it goes like this

top
topdistance
header
headerdistance
textheight
footerdistance
footer
bottomdistance
bottom

 height sets up the dimension that controls the inner five areas
 (header ... footer). topspace is the distance between the vertical
 top edge of the paper and the top of header.

 You can put \showlayout after \starttext. It will generate four pages
 of settings (because of double-sided ness).

 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] Still confused about \setuplayout

2008-08-27 Thread Alan Stone
On Wed, Aug 27, 2008 at 4:47 PM, Hans Hagen [EMAIL PROTECTED] wrote:


 indeed, you have to see these dimensions outwards (so, margindistance,
 margin, edgedistance, edge ... these extend into the backspace or
 cutspace depending on left/right)


Ahaa. I'm beginning to understand.

Meanwhile found the underneath document, which seems to be the most
corresponding
( though incomplete compared to pg 24 of the main manual )

Shows a page layout in half size
http://levana.de/context/layout/testlay.pdf

Thanks all,
Alan
___
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] Reorganization of the main page

2008-08-27 Thread Alan Stone
On Wed, Aug 27, 2008 at 6:25 PM, Patrick Gundlach [EMAIL PROTECTED] wrote:


  Reference of what ?

 of all commands. It is better then texshow(-web). Other suggestions?


Then commands reference, instead of reference.

 - live context  - Try out ConTeXt online
  - download - Download the ConTeXt application
  - download area   -  Download examples, 3rd party modules, articles,
  MyWay reports, ...

 Way too long to fit into the left box!


Make the box wider and/or spread the text over more than one line.

If impossible, wiki also sucks regarding this feature.  ;O)

  Some other ideas...
 
  - A clearly visible (colored ?) banner or link on top of the main page
  saying something like If you're new to ConTeXt, click here to get
 started
  fast... which redirects to the main page Getting Started section might
 be
  useful.

 See Aditya's suggestion. Would this be OK?


The only way to know is to test it and observe whether newbies ask questions
or complain,
then adapt if required.

Best,
Alan
___
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] \reference, \goto(box)

2008-08-26 Thread Alan Stone
Hi,

Win XP - ConTeXt minimal: ConTeXt  ver: 2008.08.18 14:00 MKIV  fmt:
2008.8.22  int: english/english

What has changed with the \reference and/or \goto(box) commands ? I'm
getting fatal compile errors
related to these while there weren't none previously ( that was under
Linux, but shouldn't make any
difference ).

Thanks,
Alan
___
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] \reference, \goto(box)

2008-08-26 Thread Alan Stone
When replacing \goto with \gotobox, everything works fine again.

Is \goto depreciated ?

Best,
Alan

On Tue, Aug 26, 2008 at 10:44 AM, Alan Stone
[EMAIL PROTECTED] wrote:
 Hi,

 Win XP - ConTeXt minimal: ConTeXt  ver: 2008.08.18 14:00 MKIV  fmt:
 2008.8.22  int: english/english

 What has changed with the \reference and/or \goto(box) commands ? I'm
 getting fatal compile errors
 related to these while there weren't none previously ( that was under
 Linux, but shouldn't make any
 difference ).

 Thanks,
 Alan

___
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] \reference, \goto(box)

2008-08-26 Thread Alan Stone
 Give us a example!

Sorry Wolfgang, for the moment no time to make a minimal example.

Best,
Alan

On Tue, Aug 26, 2008 at 12:56 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 On Tue, Aug 26, 2008 at 10:44 AM, Alan Stone
 [EMAIL PROTECTED] wrote:
 Hi,

 Win XP - ConTeXt minimal: ConTeXt  ver: 2008.08.18 14:00 MKIV  fmt:
 2008.8.22  int: english/english

 What has changed with the \reference and/or \goto(box) commands ? I'm
 getting fatal compile errors
 related to these while there weren't none previously ( that was under
 Linux, but shouldn't make any
 difference ).

 Give us a example!

 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
 ___

___
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] Still confused about \setuplayout

2008-08-26 Thread Alan Stone
Hi,

Taking S6 = 600pt wide x 450pt heigh for example...

\setuppapersize[S6][S6]

\showframe
\showsetups

\setuplayout[topheight=15pt,
  headerheight=15pt,
  footerheight=15pt,
  bottomheight=15pt,
  leftedgewidth=0pt,
  leftmarginwidth=0pt,
  rightmarginwidth=0pt,
  rightedgewidth=180pt]

\starttext
testing
\stoptext

How come the showframe and showsetups printouts
don't correspond to the \setuplayout settings ?

Thanks,
Alan
___
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] Still confused about \setuplayout

2008-08-26 Thread Alan Stone
Hi Peter,

I meant the showframe and showsetups displays on the pdf document itself,
not the document paper printout.

Best,
Alan
___
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 Package for Notepad++ v. 5.0.3

2008-08-24 Thread Alan Stone
 Are you using TeX or ConTeXt from the language menu?

Didn't have ConTeXt in the language menu. I installed the ConTeXt package
again and now it works ok.

In order to enable people to verify whether their package installation is
correct, it might be useful to add a screenshot of Npp with its dropped down
modified Language menu.

Best,
Alan

On Sat, Aug 23, 2008 at 11:47 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 On Sat, 23 Aug 2008 14:13:09 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
  Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired
  degree.
 
  These work ok indeed. Nevertheless, the folding marks and foldings
  themselves
  run awkwardly in some tex files.

 Are you using TeX or ConTeXt from the language menu?

 
  Back to readme.txt :
 
  ---
  2) Folding
 
  a) ... All \start-stops are foldable, and you can easily
  add your own in the User-Defined-Language dialog; just select ConTeXt
  and you can edit all entries.
  ---
 
  Strange... the User Define Dialog User Language drop down box
  has only one entry: User Define Language. There is nothing else, no
  ConTeXt entry.

 I suspect that your userDefineLang.xml is not being recognized and that
 you are using the default TeX setup. Don't know why... Are you sure the
 package is installed correctly? Lookk for where Npp installs the original
 userDefineLang.xml, then overide it with mine.

 One thing I have noticed is that the default TeX language support in Npp
 is much better than in past versions. Folding is not so good, though.

 Note that Hans wrote the original TeX lexer for scite that Npp uses by
 default (with some modifications). So probably there has been some
 development of this lexer on the scite side of things.

 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

 ___
 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] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-24 Thread Alan Stone
Hi Idris,

In the readme.txt you wrote...

13. A note: In Preferences, always leave the option Remember the last
operation directory unchecked.

What's the reason for this recommendation ?

Thanks,
Alan
___
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 Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
Hi Idris,

(1) FYI, Application Data.zip also contains a 'Program Files' folder which
has the same contents as 'Program Files.zip'

From readme.txt :

(2) 9. Copy the directory Program Files\Notepad++ to Program Files

Shouldn't it be copy the *contents* of these (sub)directories to their
corresponding
C:\Program Files\Notepad++ (sub)directories ?

(3) 10. Copy the directory Application Data\Notepad++ to Application Data.

To Windows XP's C:\Documents and Settings\(username)\Application Data or
C:\Documents and Settings\All Users\Application Data ?

Best,
Alan
On Fri, Aug 22, 2008 at 6:04 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 On Fri, 22 Aug 2008 09:00:00 -0600, [EMAIL PROTECTED] wrote:

  Seems like Idris forgot to include the readme

 thnx, i uploaded a new version with the updated readme. I'll polish it
 later.

 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

___
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] SciTE in ConTeXt setup

2008-08-23 Thread Alan Stone
Hi Idris,

I open a terminal window and type

scite

as follows (incl. terminal window output messages):

Setting /opt/context/tex as TEXROOT.
[EMAIL PROTECTED]:/opt/context/tex$ scite

then SciTE launches but not in the way I expected.

did you use the cscite script to launch scite or the setuptex script?

Uh ? What are these scripts ?

Best,
Alan

On Sat, Aug 23, 2008 at 3:53 AM, Idris Samawi Hamid
[EMAIL PROTECTED]wrote:

 Hi Alan,

 On Fri, 22 Aug 2008 14:16:26 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  Launching
 
  texexec --check
 
  from the SciTE output window gives
 
  sh: texexec: not found
  Exit code: 127
 
  ruby, tidy, xsltproc, gv and rxvt are installed
 
  texexec.rb is in /opt/context/tex/texmf-context/scripts/context/ruby
 
  What's missing ?

 Not presently on linux etc. but did you use the cscite script to launch
 scite or the setuptex script?

 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

___
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] SciTE in ConTeXt setup

2008-08-23 Thread Alan Stone
Found it.

TeX was not selected in the language menu.
( SciTE doesn't check mark the selected language so I didn't spot it at
first )

However now, when compiling I get ...   :O)

texmfstart texexec --lua mini01.tex
TeXExec | processing document 'mini01.tex'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file mini01.top
TeXExec | using randomseed 1346
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en.fmt
LuaTools | no luc/lua with name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en
LuaTools |
LuaTools | runtime: 0.014 seconds

TeXUtil | unable to locate mini01.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | TeX run 2
TeXExec | writing option file mini01.top
TeXExec | using randomseed 1346
TeXExec | tex engine: luatex
TeXExec | tex format: cont-en
LuaTools | using format name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en.fmt
LuaTools | no luc/lua with name:
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/formats/cont-en
LuaTools |
LuaTools | runtime: 0.014 seconds

TeXUtil | unable to locate mini01.tui
TeXUtil | shortcuts : 0
TeXUtil | expansions: 0
TeXUtil | reductions: 0
TeXUtil | divisions : 0
TeXUtil | loaded files: 0
TeXUtil | temporary files: 0
TeXUtil | commands: 0
TeXUtil | programs: 0
TeXUtil | tuo file saved
TeXExec | runtime: 0.141179
Exit code: 0

SciTE doesn't locate its own generated files.

Fascinating !

Alan
___
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 Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
Correction...

* Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

What must be selected for ConTeXt-MK IV ?

Alan
___
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 Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
On Sat, Aug 23, 2008 at 5:23 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 Hi,

 On Sat, 23 Aug 2008 03:29:56 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  (1) FYI, Application Data.zip also contains a 'Program Files' folder
  which has the same contents as 'Program Files.zip'

 Strange; I'll correct it.

  From readme.txt :
  (2) 9. Copy the directory Program Files\Notepad++ to Program Files
  Shouldn't it be copy the *contents* of these (sub)directories to their
  corresponding
  C:\Program Files\Notepad++ (sub)directories ?

 Put another way: Drop Program Files\Notepad++ onto C:\Program Files


I somehow thought this operation would replace C:\Program\Notepad++ ...
which isn't.
Hey, I learned something new about how Windows works.  :O)


  (3) 10. Copy the directory Application Data\Notepad++ to Application
  Data.
  To Windows XP's C:\Documents and Settings\(username)\Application Data or
  C:\Documents and Settings\All Users\Application Data ?

 See earlier in the readme: in what follows I assume that all
 configuration files are saved
 in \username\Application Data\Notepad++


Missed that one. Must have been speeding (reading).


 Thanks for the comments and


You're welcome.

Two other questions, if I may...

(1) The folding feature behaves strangely.

- Instead of folding it collapses everything what's underneath.

- Once a folding section gets initiated from within the ConTeXt setup area (
at a \startsomething command ), it runs straight down to \stoptext instead
of from every \startsomething to \stopsomething

(2) Preferences - New Document tab

* Format: Windows - Unix - Mac - are (*.tex) files between these OSs
incompatible ?

* Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

Looks like great editor nevertheless, much better than SciTE. Thanks again
for the ConTeXt package.

Best,
Alan
___
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 Package for Notepad++ v. 5.0.3

2008-08-23 Thread Alan Stone
Thanks all.

There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired degree.

These work ok indeed. Nevertheless, the folding marks and foldings
themselves
run awkwardly in some tex files.

Back to readme.txt :

---
2) Folding

a) ... All \start-stops are foldable, and you can easily
add your own in the User-Defined-Language dialog; just select ConTeXt
and you can edit all entries.
---

Strange... the User Define Dialog User Language drop down box
has only one entry: User Define Language. There is nothing else, no
ConTeXt entry.

Has this feature changed since Npp 4.2 ?

Alan

On Sat, Aug 23, 2008 at 9:03 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 On Sat, 23 Aug 2008 10:56:03 -0600, Alan Stone
 [EMAIL PROTECTED] wrote:

  Two other questions, if I may...
 
  (1) The folding feature behaves strangely.
 
  - Instead of folding it collapses everything what's underneath.
 
  - Once a folding section gets initiated from within the ConTeXt setup
  area (
  at a \startsomething command ), it runs straight down to \stoptext
  instead
  of from every \startsomething to \stopsomething

 There are different levels of folding, 0--8: Alt-0, Alt-1,  Alt-8.
 Alt-0 collapses all, use Alt-Shift-n to uncollapse to the desired degree.

  (2) Preferences - New Document tab
 
  * Format: Windows - Unix - Mac - are (*.tex) files between these OSs
  incompatible ?

 Should make absolutely no difference, since TeX looks for a blank line to
 mark paragraph breaks -- or a '\par' -- and does not care about linebreak
 conventions

 OTOH: Maybe support will be added for unicode parsep at some point...

  * Encoding: UTF 8, UTF 8 with BOM - what must be selected for ConTeXt ?

 Either will work for mkiv. If you enable the utf-8 regime in mkii that
 should also work.

  Looks like great editor nevertheless, much better than SciTE.Thanks again
  for the ConTeXt package.

 You are welcome :-)

 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

___
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 Package for Notepad++ v. 5.0.3

2008-08-22 Thread Alan Stone
Hi Idris,

Thanks a lot.

One question though...

I installed Npp, downloaded the context support package for Npp and
extracted the zip file.

What/where are the setup instructions please ?

Best,
Alan


On Thu, Aug 21, 2008 at 11:33 PM, Idris Samawi Hamid ادريس سماوي حامد 
[EMAIL PROTECTED] wrote:

 Dear gang,

 I have uploaded the latest version of the ConTeXt support package for
 Notepad++.

 http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip

 It has been updated to 5.0.3, the latest stable version. The main
 difference in the package is the new autocompletion file format. See
 context.xml. I have also included the Explorer plugin and the latest
 NppExec plugin (2.4) -- the NppExec that comes with 5.0.3 is just slightly
 out of date (2.4 RC1).

 Npp now supports calltips. I was thinking of adding them to context.xml
 but it would be very time-consuming. Basically, when typing a context
 command you would get a little window giving you some info about that
 command if you want it. I may make some suggestions to the Npp team to
 make this feature more useful.

 Anyway, Npp keeps getting better and better. It recently won the
 SourceForge's Community Choice Awards for Best Tool or Utility for
 Developers:


 http://ostatic.com/169634-blog/sourceforges-community-choice-awards-winners-named

 There are just a few more things Npp could use to make this a near-perfect
 ConTeXt editor, I'll bug the developers soon...

 Npp can now use external lexers. Eventually I would like to translate the
 ConTeXt syntax setup to a lexer so we can add a bit more flexibility.
 Lexer development is way beyond my skills at the moment but if anyone is
 interested in contributing to this I'd be happy for the help.

 F7 will repeat the last script executed by F6. So it behaves differently
 than F7 in Hans' Scite setup (Build). I use NppExec instead of Run anyway.
 In the next version, I may deprecate the Run menu commands and attach the
 shortcuts to the NppExec scripts; I think there is even a way to then may
 a menu of these NppExec shortcuts. This will allow for easier tweaking and
 experimenting by users, and also updating when Hans changes things ;-)

 The startstop module is still included, though Hans has just added support
 for footnote etc environments so that part of the module can be commented
 out. For mkiv a new sectioning mechanism is on the way, and mkii users can
 still use Wolfgang's module. See startstop.tex.

 The original instructions are here:

 http://archive.contextgarden.net/message/20070813.050137.7a5796f0.en.html

 Enjoy!

 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

 ___
 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] ConTeXt Package for Notepad++ v. 5.0.3

2008-08-22 Thread Alan Stone
Thanks Mohamed.

From the attached readme.txt :

---
1. From the installer, you MAY not want to use the default destination
folder, 'Notepad++'.
texexec and company choke on directory names with characters like '+' in
them. So you could
change it to, eg, 'Notepadpp'. So if you plan on linking the ConTeXt
utilities with the notepad
installation directory somehow then you may want to change its name.
However, in the following I assume that the directory name remains
'Notepad++'
2. You may also want to check the installation option, Don't use
%APPDATA%.
Then all your configuration settings will be save in the installation
directory. This is because, even
if you rename the installation directory, the name of the local user
application directory will still
be 'Notepad++'.
However, in what follows I assume that all configuration files
are saved in \username\Application Data\Notepad++.
---

Holy bananas, that's confusing...

If texexec and company choke on directory names with characters like '+' in
them why would one nevertheless assume that the directory name remains
'Notepad++'  ?

And, even if you rename the installation directory, the name of the local
user application directory will still be 'Notepad++ why would one choose to
not to use the default destination folder, 'Notepad++'. .. and change it
to, eg, 'Notepadpp'  ?
what OS are you using?

XP SP3 Home, Ubuntu 8.04

Best,
Alan


On Fri, Aug 22, 2008 at 5:00 PM, [EMAIL PROTECTED] wrote:

 Alan Stone software.list.1es9s at gmail.com writes:



 Hi Idris,
  Thanks a lot.
  One question though...
  I installed Npp, downloaded the context support package for Npp and
 extracted the zip file.
  What/where are the setup instructions please ?
  Best,
 Alan



 Seems like Idris forgot to include the readme, incase it hasn't been
 attached check out the 1 November 2007 rev from
 http://wiki.contextgarden.net/Image:Npp_ConTeXt.zip your sure to find it
 there.

 Put everything in ConTeXt.zip in the same folder you extracted
 mswincontext.zip (182 mb) then run NPP.bat. Make sure you adjust acrobat.lnk
 appriopriately as the path is hard-coded.

 And what OS are you using?

 Mohamed


___
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] SciTE in ConTeXt setup

2008-08-22 Thread Alan Stone
Hi,

I've switched from Linux (Ubuntu 8.04 LTS Desktop Edition) running from
within Windows XP + VirtualBox to a stand-alone Ubuntu installation.

Installed

- ConTeXt minimals in /opt/context

- SciTE through the Synaptic Package Manager, and followed the SciTE in
ConTeXt manual instructions :

* Re. §2: Installing SciTE

Copied

- /opt/context/tex/texmf-context/context/data/*.properties files

and

- /opt/context/tex/texmf-context/scripts/context/lua/scite-ctx.lua

to /usr/share/scite

Then

- included the line 'import context.properties' at the end of
/home/(username)/.SciTEUser.properties

* Re: §3: The TeX lexer

Put context.properties in the same path as SciTEUser.properties
- and to add import context.properties ( instead of  import context - see pg
4 ): done already in the previous step

FYI, doing so, context.properties is then in /usr/share/scite *and*
/home/(username) !?

Launching SciTE from a terminal window...

Setting /opt/context/tex as TEXROOT.
(username)@home:/opt/context/tex$ scite

launches SciTE however syntax highlighting doesn't work

Setting /opt/context/tex as TEXROOT.
[EMAIL PROTECTED]:/opt/context/tex$ export
declare -x COLORTERM=gnome-terminal
declare -x CTXMINIMAL=yes
declare -x
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-GagB6b6HXV,guid=66e95a0ba305ba645af20dad48aeff98
declare -x DESKTOP_SESSION=default
declare -x DESKTOP_STARTUP_ID=
declare -x DISPLAY=:0.0
declare -x GDMSESSION=default
declare -x GDM_LANG=en_US.UTF-8
declare -x GDM_XSERVER_LOCATION=local
declare -x GNOME_DESKTOP_SESSION_ID=Default
declare -x GNOME_KEYRING_PID=6056
declare -x GNOME_KEYRING_SOCKET=/tmp/keyring-uBnsHP/socket
declare -x GPG_AGENT_INFO=/tmp/seahorse-OHgHbT/S.gpg-agent:6110:1
declare -x GTK_RC_FILES=/etc/gtk/gtkrc:/home/alan/.gtkrc-1.2-gnome2
declare -x HISTCONTROL=ignoreboth
declare -x HOME=/home/alan
declare -x HOMETEXMF=/nonexist
declare -x LANG=en_US.UTF-8
declare -x LESSCLOSE=/usr/bin/lesspipe %s %s
declare -x LESSOPEN=| /usr/bin/lesspipe %s
declare -x LOGNAME=alan
declare -x
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.svgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:
declare -x MPMEMS=\$TEXMFOS/web2c{/\$engine,}
declare -x OLDPWD=/opt/context/tex
declare -x
PATH=/opt/context/tex/texmf-linux/bin:/opt/context/tex/texmf-linux/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
declare -x PWD=/opt/context/tex
declare -x
RUBYLIB=/opt/context/tex/texmf-context/scripts/context/ruby:/opt/context/tex/texmf-context/scripts/context/ruby:
declare -x SESSION_MANAGER=local/home:/tmp/.ICE-unix/6057
declare -x SHELL=/bin/bash
declare -x SHLVL=2
declare -x SSH_AUTH_SOCK=/tmp/keyring-uBnsHP/ssh
declare -x TERM=xterm
declare -x TEXFORMATS=\$TEXMFOS/web2c{/\$engine,}
declare -x
TEXMF={\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}
declare -x TEXMFCACHE=/opt/context/tex/texmf-cache
declare -x TEXMFCNF=\$TEXROOT/texmf{-local,-context,}/web2c
declare -x TEXMFCONTEXT=/opt/context/tex/texmf-context
declare -x
TEXMFDBS={\$TEXMFPROJECT,\$TEXMFFONTS,\$TEXMFLOCAL,\$TEXMFOS,\$TEXMFCONTEXT,\$TEXMFEXTRA,!!\$TEXMFMAIN}
declare -x TEXMFEXTRA=/opt/context/tex/texmf-extra
declare -x TEXMFFONTS=/opt/context/tex/texmf-fonts
declare -x TEXMFLOCAL=/opt/context/tex/texmf-local
declare -x TEXMFMAIN=/opt/context/tex/texmf
declare -x TEXMFOS=/opt/context/tex/texmf-linux
declare -x TEXMFPROJECT=/opt/context/tex/texmf-project
declare -x TEXMFVAR=/texmf-var
declare -x TEXROOT=/opt/context/tex
declare -x USER=alan
declare -x USERNAME=alan
declare -x VARTEXMF=/texmf-var
declare -x WINDOWID=52437808
declare -x WINDOWPATH=7
declare -x XAUTHORITY=/home/alan/.Xauthority
declare -x XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
declare -x
XDG_SESSION_COOKIE=9ecb3383cfbad7bac2c96be048adcf2a-1219428246.634999-1846302211

[EMAIL PROTECTED]:/opt/context/tex$ texexec --check
TeXExec | current distribution: web2c
TeXExec | context source date: unknown
TeXExec | format path: /opt/context/tex/texmf-linux/web2c

Re: [NTG-context] \setuplayout question

2008-08-13 Thread Alan Stone
Pages and pages and pages skillfully resumed in a few, targeted and simple
lines.

Keyword: the system is set up in such a way that...

Something to consider for the manual updates ?

Thanks a lot Hans,
Alan


On Tue, Aug 12, 2008 at 6:05 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Hi,
 
  Some/oftentimes, the more I read the scattered
  documentation, the more I'm confused... and
  wasting my valuable time testing and trying to
  figure out how things work.

 (1) main layout areas:

 keywords to \setuplayout: header text footer

 dimension variables: \headerheight etc

 (2) space above and below main layout area:

 keywords to \setuplayout: topspace bottomspace

 dimension variables: \topspace, \bottomspace

 (3) virtual layout areas: (used for interactive documents where
 one wants to keep the main text area unchanged by setting these;
 the virtual areas extend into the topspace and bottomspace)

 keywords to \setuplayout: top header text footer bottom

 dimension variables: \topheight, \headerheight etc

 the system is set up in such a way that one can easily shift the text
 area as well as disable header and footer

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

2008-08-12 Thread Alan Stone
Hi,

Some/oftentimes, the more I read the scattered
documentation, the more I'm confused... and
wasting my valuable time testing and trying to
figure out how things work.

Here is, for example, why...

(1) From  \showlayout

topspace   \topspace
top\topheight

(2) From ConTeXt An Excursion, page 74

page 71, \setuplayout command parameters

topspace   dimension
top(not referenced)
topheight   (not referenced)

page 74, table 33.2 parameters for page design.

topspace   \topspace
top(not referenced)
topheight   \topheight

(3) From ConTeXt main manual

page 24, \setuplayout command parameters

topspace   dimension
topdimension
topheight   (not referenced)

(4) From http://wiki.contextgarden.net/Layout

topspace  \topspace
top   \topheight
topheight   (not referenced)

(5) From http://texshow.contextgarden.net/command/detail/221

topspace   dimension
topdimension
topheight   (not referenced)

What is

- topspace ?
- top ?
- topheight ?

Please and thank you,
Alan
___
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] \setuplist coupling parameter

2008-08-11 Thread Alan Stone
Hi,

I screened the available resources (manuals, wiki, texshow) for the purpose
and use of the \setuplist command coupling=on/off option without finding an
answer.

What is it for ?

Thanks,
Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Tue, Aug 5, 2008 at 1:16 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

  - whatever the dimension (number and/or unit) I set for
  \setupnarrower[left=1pt,right=1pt]
  the left and right margin remain the same

 Use \startnarrower[left,right].


Used it, still doesn't work.

 - when setting for example
  \setuplist[chapter][align=middle,distance=1em]
  ( or whatever else for distance ) it has no effect
  upon the distance between the chapter number
  and the chapter title

 \setuplist[chapter][align=middle,distance=0pt,width=1em]


This works.

What's the reason for this Wolfgang ? From what I understood
from the main manual, it logically should be distance=(x0)pt.

Best,
Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
correction...

Using the brute force tactic I tried setting textwidth which didn't work.
It could be textcommand. If so what does \command#1 mean ( see main
manual pg 150 ) ?

Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 1:03 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:


 textwidth for what and why, you're in the right edge


Something undocumented.  ;O)


  It could be textcommand. If so what does \command#1 mean ( see main
  manual pg 150 ) ?

 \define[1]\SectionList
  {\framed{#1}}

 \setuplist[section][textcommand=\SectionList]

 \starttext
 \placelist[section]
 \section{Section}
 \stoptext


Vielen dank.

Best,
Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 10:45 AM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 It works.


Ahaa! Now it does. I misunderstood. Thanks.

 What's the reason for this Wolfgang ? From what I understood
  from the main manual, it logically should be distance=(x0)pt.

 'width' is the width of the box for the number and 'distance' is the
 distance between the numberbox and the text.


Indeed, so normally you should be setting distance=(x0)pt instead of
the width trickery. Hence my question.


 The result is something like:

 \hbox to 1em{1\hfil}\hskip 0pt{chapter title ...}
 ^^  ^^
 width   distance


Sorry, TeX is currently still like Klingon to me. Thanks anyway.

Hans wrote:
 - maxwidth ?

just try it on long entries .. it prevents too long lines

this is a very long entry
this is a very ...

Ok I see. Now, in \placecontent or \setuplist, which parameter
allows to influence where long lines are cut off in two (or more) ?

Like...

(number) This long long
chapter title   (pagenumber)

vs.

(number) This long
long chapter title(pagenumber)

Using the brute force tactic I tried setting width and textwith which didn't
work.
It could be textcommand. If so what does \command#1 mean ( see main
manual pg 150 ) ?

Best,
Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 3:26 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 Depends on the situation, for left aligned numbers it didn't matter because
 you can't see where the space comes from (1) but for right aligned numbers
 you need a postive value for distance (2).

 (1) Left aligned number:

 \starttext
 \bTABLE[frame=off]
 \bTR\bTD[width=1cm] 1 \eTD\bTD header \eTD\eTR
 \eTABLE
 \bTABLE[frame=off,distance=5mm]
 \bTR\bTD[width=5mm] 1 \eTD\bTD header \eTD\eTR
 \eTABLE
 \stoptext

 (2) Right aligned number:

 \starttext
 \bTABLE[frame=off]
 \bTR\bTD[width=1cm,align=flushright] 1 \eTD\bTD header \eTD\eTR
 \eTABLE
 \bTABLE[frame=off,distance=5mm]
 \bTR\bTD[width=5mm,align=flushright] 1 \eTD\bTD header \eTD\eTR
 \eTABLE
 \stoptext


I'm impressed...

So you really have an MBA in Klingon!  :O)

 Hans wrote:
  - maxwidth ?
 
 just try it on long entries .. it prevents too long lines
 
 this is a very long entry
 this is a very ...
 
  Ok I see. Now, in \placecontent or \setuplist, which parameter
  allows to influence where long lines are cut off in two (or more) ?
 
  Like...
 
  (number) This long long
  chapter title   (pagenumber)
 
  vs.
 
  (number) This long
  long chapter title(pagenumber)
 
  Using the brute force tactic I tried setting width and textwith which
 didn't
  work.
  It could be textcommand. If so what does \command#1 mean ( see main
  manual pg 150 ) ?

 The effect for maxwidth (3cm in my example) is this:

 \starttext
 \limitatetext {This long long chapter title} {3cm} {\unknown}
 \stoptext

 Wolfgang


I just tried with

style={\switchtobodyfont[small]\setuplinewidth[(x)pt]\setupinterlinespace[line=2.4ex]}

and several values for (x) in

\startinteractionmenu[myMenu]
 \placecontent[
criterium=all,
alternative=b,
%style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},

style={\switchtobodyfont[small]\setuplinewidth[150pt]\setupinterlinespace[line=2.4ex]},
interaction=all,
before={\blank[small]\startnarrower[left,right]},
after={\stopnarrower\blank[medium]}]
\stopinteractionmenu

but that generates a compile error. Grrr...

Best,
Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 5:03 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 Was the empty line also in your source, if your answer is yes remove it.


No, it wasn't in my sauce, correction: source.

Although...

My source sometimes looks like a messed up sauce.  :O)

Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone
On Wed, Aug 6, 2008 at 4:59 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 \starttext

 \framed{text}

 \thinrule

 \setuplinewidth[small]

 \framed{text}

 \thinrule

 \setuplinewidth[1cm]

 \framed{text}

 \thinrule

 \stoptext


I don't see the output difference between

\framed{text}

\thinrule

\setuplinewidth[small]
\framed{text}

\thinrule

\setuplinewidth[big]
\framed{text}

while

\setuplinewidth[1cm]
\framed{text}

is fascinating.

You could try


 style={\switchtobodyfont[small]\hsize.8\hsize\relax\setupinterlinespace[line=2.4ex]},

 or


 style={\switchtobodyfont[small]\hsize150pt\relax\setupinterlinespace[line=2.4ex]},


These work, however not entirely to my satisfaction because then the right
margin setting is modified due to text/head and pagenumber being grouped (
re: drawing, manual pg 150 ).


 The better way is to define you own list alternative.

 \define[3]\ChapterList
  {\hbox
 {\hbox to .5em{#1}\hskip.5em
  \vtop{\hsize150pt\relax#2}%
  \hfil#3}}

 \setuplist[chapter][alternative=command,command=\ChapterList]


I'll try that...

Alan
___
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] goto(box) and setuplist questions

2008-08-06 Thread Alan Stone

 The better way is to define you own list alternative.

 \define[3]\ChapterList
  {\hbox
 {\hbox to .5em{#1}\hskip.5em
  \vtop{\hsize150pt\relax#2}%
  \hfil#3}}

 \setuplist[chapter][alternative=command,command=\ChapterList]


 I'll try that...


#1, #2, #3 being parameters which can be passed to \ChapterList, aka
\ChapterList[#1,#2,#3]. Is that correct ?

Best,
Alan
___
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] goto(box) and setuplist questions

2008-08-05 Thread Alan Stone
Thanks for these finishing touches Wolfgang.

I'm troubled by the following though...

- whatever the dimension (number and/or unit) I set for
\setupnarrower[left=1pt,right=1pt]
the left and right margin remain the same

- when setting for example
\setuplist[chapter][align=middle,distance=1em]
( or whatever else for distance ) it has no effect
upon the distance between the chapter number
and the chapter title

ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

Alan

On Tue, Aug 5, 2008 at 10:29 AM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:


 Slightly modfied:

 \setuppapersize[S6][S6]

 \setupbodyfont[14.4pt]

 \setuplayout
  [width=360pt,
   headerheight=7pt,
   footerheight=7pt,
   margin=0pt,
   backspace=25pt,
   topheight=7pt,
   bottomheight=7pt,
   rightedgedistance=20pt,
   rightedge=180pt]

 \setuplist[chapter,section][aligntitle=yes,criterium=all]
 \setuplist[chapter][align=middle]

 \setuphead[chapter][number=yes]
 \setuphead[section][number=no]

 \setupbackgrounds[text][rightedge][frame=on]

 \setupinteraction[
state=start,
menu=on,
page=yes]

 \setupnarrower[left=1pt,right=1pt]

 \defineinteractionmenu[myMenu][right]

 \startinteractionmenu[myMenu]
  \placecontent[
 criterium=all,
 alternative=b,
  style={\switchtobodyfont[small]\setupinterlinespace[line=2.4ex]},
 interaction=all,
 before={\blank[small]\startnarrower},
 after={\stopnarrower\blank[medium]},
 ]
 \stopinteractionmenu

 \setupinteractionmenu[myMenu][state=start]

 \setupinteractionmenu[right][distance=overlay]

 \starttext
\chapter{This Long Chapter Title}
\section{This Long Section Title A}
\input knuth
\section{This Long Section Title B}
\input zapf
 \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
___


[NTG-context] goto(box) and setuplist questions

2008-08-04 Thread Alan Stone
Hi,

(1) \goto(box)

(1a) What's the difference between

- goto and gotobox ?

(1b) With \goto{Table of Contents}[contents]
each word separately is interactive, not the whole word.
How do you make so ?

(3) \setuplist

(3a) what is

- depth ?

- maxwidth ?

(3b) margin=xpt sets the left margin to xpt

How to set the right margin to xpt ?

Thanks,
Alan
___
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] goto(box) and setuplist questions

2008-08-04 Thread Alan Stone

  (3b) margin=xpt sets the left margin to xpt
 
  How to set the right margin to xpt ?

 depends, sometimes setting the width works ok, otherwise wrap the whole
 in narrower


I'm out of inspiration...

\setupnarrower[left=.6pt,right=.6pt]

\startinteractionmenu[right]
% \startnarrower   % sets a wide right margin, whatever \setnarrower
left/right settings
\placecontent[
%criterium=all,
criterium=chapter,
alternative=b,
style=\tfx,
%offset=5pt,  % no effect at all
%margin=5pt,% only sets left margin
%width=.90\rightedge,% no effect at all
%before=\startnarrower, % no effect at all
%after=\stopnarrower,% no effect at all
interaction=all]
% \stopnarrower
\stopinteractionmenu

% \startnarrower   % blank menu
\setupinteractionmenu[right][
%offset=5pt,  % no effect at all
%   width=.95\rightedge, % no effect at all
%before=\startnarrower,  % sets a wide right margin,
%after=\stopnarrower, % whatever \setnarrower left/right
settings
distance=overlay]
% \stopnarrower

Alan
___
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] goto(box) and setuplist questions

2008-08-04 Thread Alan Stone
I'm looking to have in the menu...

- chapter title centered
- section title left aligned
- for long chapter/section titles split over more than 1line,
vertical space between these chapter/section lines to be
smaller
- left and right margin of (x)pt

\setuppapersize[S6][S6]

\setupbodyfont[14.4pt]

%\showframe

\setuppagenumbering[alternative=singlesided]

\setuplayout
  [width=360pt,
   headerheight=7pt,
   footerheight=7pt,
   margin=0pt,
   backspace=25pt,
   topheight=7pt,
   bottomheight=7pt,
   rightedgedistance=20pt,
   rightedge=180pt]

\setuplist[chapter,section][
criterium=all,
aligntitle=yes,
interaction=all]

\setuphead[chapter][number=yes]
\setuphead[section][number=no]

\setupbackgrounds[text][rightedge][frame=on]

\setupinteraction[
state=start,
menu=on,
page=yes]

\setupnarrower[left=1pt,right=1pt]
%\setupnarrower[left=5pt,right=5pt]

\defineinteractionmenu[myMenu][right]

\startinteractionmenu[myMenu]
\placecontent[
criterium=all,
alternative=b,
%distance=2pt,% no effect
   style=\tfx,  % \tfxx is too
small to read
%offset=5pt,% no effect
%margin=5pt,  % only sets left
margin
%width=.9\rightedgewidth,  % chapter title gets whacked
out of rightedge
%maxwidth=.9\rightedgewidth,   % no effect
interaction=all,
before=\startnarrower, % sets a default left and
right margin, i.e. independent
after=\stopnarrower]% of left/right setting
%before=,
%after=]
\stopinteractionmenu

\setupinteractionmenu[myMenu][state=start]

\setupinteractionmenu[right][
%offset=5pt,% no effect
%width=.9\rightedgewidth,   % no effect
%maxwidth=.9\rightedgewidth,   % no effect
%before=\startnarrower,  % no effect
%after=\stopnarrower,% no effect
distance=overlay]

\starttext
\chapter{This Long Chapter Title}
\section{This Long Section Title A}
\input knuth
\section{This Long Section Title B}
\input zapf
\stoptext
___
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] menu question

2008-08-03 Thread Alan Stone
the best you can do is to either make the fontsize smaller

It would decrease the menu readability too much.

the area wider (less linebreaks)

It would decrease the text area width too much.

or see of \startsimplecolumns ... \stopsimplecolumns

Although I don't see how adding columns would provide
a solution - the chapter/section titles are in french, i.e.
usually longer than for ex. in english ( they could be
shortened and then most would become meaningless)
- where is that command documented ? I didn't find it in
the main manual, excursion, wiki, texshow.

helps

Not really I'm afraid.  :O(

Thanks anyway.

Best,
Alan

On Sun, Aug 3, 2008 at 10:25 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Hi,
 
  With...
 
  \startinteractionmenu[right]
  \placecontent[..., criterium=chapter (or section), ...]
  \stopinteractionmenu
 
  and chapter/section lists longer than the text area height,
  how do you prevent the menu items from extending beyond
  the bottom of the text area (and page) and have the menu
  scroll down after the menu's bottom chapter/section item ?
 
  I tried my luck with distance=\textheight but no luck and don't
  see any other option which could provide this feature.

 it's a fixed size area so the best you can do is to either make the
 fontsize smaller, the area wider (less linebreaks) or see of
 \startsimplecolumns ... \stopsimplecolumns helps

 Hans

___
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] menu question

2008-08-03 Thread Alan Stone
That will do it!

Thanks for the tip.

Best,
Alan

On Sun, Aug 3, 2008 at 1:34 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  the best you can do is to either make the fontsize smaller
 
  It would decrease the menu readability too much.
 
  the area wider (less linebreaks)
 
  It would decrease the text area width too much.
 
  or see of \startsimplecolumns ... \stopsimplecolumns
 
  Although I don't see how adding columns would provide
  a solution - the chapter/section titles are in french, i.e.
  usually longer than for ex. in english ( they could be
  shortened and then most would become meaningless)

 in that case don't menu's just use local tocs in the text area and use
 the menu to refer to them

___
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] menu question

2008-08-02 Thread Alan Stone
Hi,

With...

\startinteractionmenu[right]
\placecontent[..., criterium=chapter (or section), ...]
\stopinteractionmenu

and chapter/section lists longer than the text area height,
how do you prevent the menu items from extending beyond
the bottom of the text area (and page) and have the menu
scroll down after the menu's bottom chapter/section item ?

I tried my luck with distance=\textheight but no luck and don't
see any other option which could provide this feature.

Thanks,
Alan
___
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] system modes

2008-08-01 Thread Alan Stone
Unless I'm mistaken, the non-documented *headertext isn't operational any
more.
Has it been replaced with something else ? If not, I'm misunderstanding its
meaning.

Alan

On Fri, Aug 1, 2008 at 10:20 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Hi,
 
  There are *some* system modes listed in the modes manual and main manual.
  Are *all* system modes listed somewhere ?

 only the official ones -)

 when you uncover features in the manual that is not documented it can be

 - something new, official, that should be documented

 - something secret (maybe experimental) but visible since everything is
 visible

 - something just for me (can be something obscure)

 Hans

___
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] system modes

2008-08-01 Thread Alan Stone
Never mind, the main sections system modes do the trick.

Best,
Alan

On Fri, Aug 1, 2008 at 11:42 AM, Alan Stone
[EMAIL PROTECTED]wrote:

 Unless I'm mistaken, the non-documented *headertext isn't operational any
 more.
 Has it been replaced with something else ? If not, I'm misunderstanding its
 meaning.

 Alan

 On Fri, Aug 1, 2008 at 10:20 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  Hi,
 
  There are *some* system modes listed in the modes manual and main
 manual.
  Are *all* system modes listed somewhere ?

 only the official ones -)

 when you uncover features in the manual that is not documented it can be

 - something new, official, that should be documented

 - something secret (maybe experimental) but visible since everything is
 visible

 - something just for me (can be something obscure)

 Hans



___
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] system modes

2008-07-31 Thread Alan Stone
Hi,

There are *some* system modes listed in the modes manual and main manual.
Are *all* system modes listed somewhere ?

Alan
___
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] \*interaction* commands

2008-07-30 Thread Alan Stone
you can run layo-05.tex with --mode=demo to get a simple example, given
at the bottom of that file

I guess you mean s-pre-05.tex Hans.

Best,
Alan

On Tue, Jul 29, 2008 at 10:15 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:
  I'm still trying to reproduce the layo-05.tex example Hans. As its code
  is rather tortuous I studied other examples. Up till now this has been
  quite a time investment without noticeable return, partly due to not
  finding a comprehensive \*interaction* commands documentation to
  guide me all along.

 the problem with interaction is that there is not one route ... the
 simplest way is to just turn it on (\setupinteraction[state=start])

 next there are only a few special interaction things: goto, buttons and
 menus and it really depends on your design then what you use

 the other thingies (graphics and such) ar enot special to interaction

 you can run layo-05.tex with --mode=demo to get a simple example, given
 at the bottom of that file

 an option is to copy that file into a temp one and start commenting ...
 that way you see what happens; normally a style is built the other way
 around,

 - set up a papersize
 - adapt the layout
 - start keying some text
 - then see what kind of text you have
 - adapt your design to the content

 now, esp with things like menus, finetuning really depends on the kind
 of content; the best way to get a feeling for that is just try things
 (at least that's how i do it ... just try what looks best as there is no
 recipy for a design)

 Hans

___
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] \*interaction* commands

2008-07-30 Thread Alan Stone
After modifying the s-pre-05.tex example and replacing
\setupinteractionmenu[right] with \defineinteractionmenu[myMenu][right]
the menu doesn't show up anymmore in the pdf.

What's missing ?

Thanks,
Alan

%\usemodule[pre-general]

\setuppapersize[S6][S6]

\setupbodyfont[14.4pt]

\setuplayout
  [width=430pt,
   height=400pt,
   header=0pt,
   footer=0pt,
   margin=0pt,
   backspace=25pt,
   topspace=25pt,
   rightedgedistance=20pt,
   rightedge=110pt]

\setupcolors[state=start]

%\setupinteractionscreen[option=max]

%\setupbackgrounds[state=repeat]

%\setupbackgrounds[page]
%  [backgroundcolor=white]

\setupinteraction[
  state=start,
   menu=on]
%   page=yes/no % what is that ?

\defineinteractionmenu[myMenu][right][
before=,
after=,
style=smallbold,
height=35pt,
   offset=10pt,
frame=on]

%\startinteractionmenu[right]
\startinteractionmenu[myMenu]
\placelist[chapter][
 criterium=all,
 alternative=right,% what is right ?
 maxwidth=.8\rightedgewidth,
% interaction=all,% what is this supposed to be for ?
 before=,
 after=]
  \vfill
%  \setupinteractionmenu[right]
  \setupinteractionmenu[myMenu]
[height=30pt]
  \but [CloseDocument] Close \\
\stopinteractionmenu

\setupwhitespace[big]

\setupblank[big]

%\defineoverlay[NextPage][\overlaybutton{forward}]

\def\StartTitlePage%
  {
   \setupbackgrounds[text][text][background=]
%   \setupinteraction[menu=off]
   \setupinteraction[menu=on]
%\setupinteractionbar[state=stop]
\setupinteractionbar[state=start]
   \setuplayout[width=550pt,rightedge=0pt]
   \startstandardmakeup
   \switchtobodyfont[24pt]
   \bfd\setupinterlinespace
   \setupalign[middle]
   \vfil
   \let\\=\vfil}

\def\StopTitlePage%
  {\vfil\vfil\vfil
   \stopstandardmakeup
   \setuplayout[width=430pt,rightedge=110pt]
   \setupinteraction[menu=on]
   \setupinteractionbar[state=start]
   }

\def\TitlePage#1%
  {\StartTitlePage#1\StopTitlePage}

\setuphead
[chapter, title]
[after={\blank[3*medium]},
number=no,
style=\tfb,
page=yes,
alternative=middle]

\setuphead
[section]
[after=\blank,
number=no,
page=yes,
continue=no,
style=\tfa]

\starttext

\TitlePage{Title Page}

Some Nice Quotes

\chapter{A Few}

\section{Knuth} \input knuth
\section{Tufte} \input tufte

\chapter{Some More}

\section{Zapf}   \input zapf
\section{Bryson} \input bryson

\stoptext
___
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] \*interaction* commands

2008-07-29 Thread Alan Stone
HI,

Where can I find a *comprehensive* explanation of all
\*interaction* commands and their options ?

Thanks,
Alan
___
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] \*interaction* commands

2008-07-29 Thread Alan Stone
I'm still trying to reproduce the layo-05.tex example Hans. As its code
is rather tortuous I studied other examples. Up till now this has been
quite a time investment without noticeable return, partly due to not
finding a comprehensive \*interaction* commands documentation to
guide me all along.

Therefore, I wanted to give it (and ConTeXt) one last chance by starting
from scratch and progress by trial and error.

Hence my previous question.

Alan

P.S. What I meant by texshow being a black hole is: there's a lot of stuff
in there, but for the most part (as a user) I don't have a clue what it is
and
what it means.


On Tue, Jul 29, 2008 at 7:52 PM, Hans Hagen [EMAIL PROTECTED] wrote:

 Taco Hoekwater wrote:
 
  Alan Stone wrote:
  HI,
 
  Where can I find a *comprehensive* explanation of all
  \*interaction* commands and their options ?
 
  AFAIK, the best bet at the moment is texshow:
 
 http://texshow.contextgarden.net/
 
  and put interaction in the search field.

 depends a bit on what you want to do ...

 mwidgets.pdf is ok, and also the s-pre-* files have lots of examples

 Hans

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

2008-07-28 Thread Alan Stone

Date: Tue, 01 Jul 2008 10:56:53 +0200
From: Hans Hagen [EMAIL PROTECTED]
To: mailing list for ConTeXt users ntg-context@ntg.nl
  re: http://context.aanhet.net/svn/manuals/context/
 
  I've downloaded all files from the above directory to a
  separate folder on my PC and am trying to compile the
  screen version of the english context manual with
 
  texmfstart texexec --pdf --mode=screen cont-en.tex
 
  Is that the correct command ? I'm receiving compile
  errors (log file in attachement).
 
  Comment the fourth line in layo-02.tex, as the error message
  says the command \interfacetranslationtrue is not defined.

that part of the style is kind of low level; the interfase stuff is now
xml bases so there is no need for dirtuy hacks any more (overloads and
such); i have a better version here (will upload it at some point);

Where can the updated version be downloaded please ?

Thanks,
Alan

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

___
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] hiding content

2008-07-25 Thread Alan Stone
Instead of looking to insert exactly the same amount of blank space as if
the content would be typeset, is it possible to generate, in one compile
job, the document's preview version (*) with its full version
(non-interactive) table of contents (TOC), index, list of figures, ...
instead ?

(*) using hidden texblocks, or \new\ifhidden ... \ifhidden ... \else ... \fi
( without the spooky phantom thingies ), showing a text block indicating
this part is hidden, to hide whatever is required ( headers, linebreaks,
tables, figures etc. )

Or...

Create a batch file to
- first generate the full version, then
- generate the preview version, then
- replace the preview version's TOC, index, list of figures, ... with the
full version's (non-interactive one) ?

Alan
___
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] hiding content

2008-07-25 Thread Alan Stone
How come this doesn't work ?

\defineblock[prev]
\defineblock[full]

\hideblocks[full]
%\hideblocks[prev]

\def\previewMsg{This part is hidden}
\def\showPreviewMsg{\beginprev \hairline \previewMsg \hairline \endprev}

\starttext

\input tufte

\showPreviewMsg  % it doesn't show
%\beginprev
%\hairline
%\previewMsg
%\hairline
%\endprev
\beginfull
\input knuth
\endfull

\input tufte

\stoptext

Alan

P.S. What is the \processblocks command for ?
___
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] startbodymatter question

2008-07-24 Thread Alan Stone
Simple and effective.

Thanks.
Alan

P.S. It's (again) in the manual. o: grin :o
___
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] hiding content

2008-07-24 Thread Alan Stone
Re:
http://archive.contextgarden.net/message/20050707.214524.2b87e5f1.en.html

Mojca asked...

Is there a way to somehow

\starthidden
...
\stophidden,

which would leave exactly the same amount of blank space as if the
content would be typeset?

What's the current status on this issue ?

Alan
___
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] hiding content

2008-07-24 Thread Alan Stone
I understood from this post
http://archive.contextgarden.net/message/20050708.105010.33153980.en.html
there were issues with the different solutions offered.

Do you want to hide only text or also figures, tables, formulae etc.

For the time being there's only text, however in a later stage there will be
figures/pics too.

do you need a solution that
will work also over page breaks.

Yes, to make a preview version of a book.

Alan


On Thu, Jul 24, 2008 at 12:51 PM, Alan Stone [EMAIL PROTECTED]
wrote:

 Re:
 http://archive.contextgarden.net/message/20050707.214524.2b87e5f1.en.html

 Mojca asked...

 Is there a way to somehow
 
 \starthidden
 ...
 \stophidden,
 
 which would leave exactly the same amount of blank space as if the
 content would be typeset?

 What's the current status on this issue ?

 Alan

___
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] hiding content

2008-07-24 Thread Alan Stone
And you want to hide part of the content for ...

Enabling people to view the pdf preview version (limited, containing
excerpts) before acquiring the full version.

Alan

On Thu, Jul 24, 2008 at 3:03 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 On Thu, Jul 24, 2008 at 2:34 PM, Alan Stone
 [EMAIL PROTECTED] wrote:
  I understood from this post
 
 http://archive.contextgarden.net/message/20050708.105010.33153980.en.html
  there were issues with the different solutions offered.

 You should give it a try, a few of the points concerned security reasons
 and
 old version of Acrobat Reader, there is also a wiki page about this topic.

 http://wiki.contextgarden.net/Hiding_Content

 Do you want to hide only text or also figures, tables, formulae etc.
 
  For the time being there's only text, however in a later stage there will
 be
  figures/pics too.
 
 do you need a solution that
 will work also over page breaks.
 
  Yes, to make a preview version of a book.

 And you want to hide part of the content for ...


 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

 ___

___
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] hiding content

2008-07-24 Thread Alan Stone
What do you mean by do a run of the completed matter to see what
the pagination would be ?

Alan

On Thu, Jul 24, 2008 at 5:26 PM, Charles P. Schaum [EMAIL PROTECTED]
wrote:

 Why not, if all else fails, do a run of the completed matter to see what
 the pagination would be, then do something like:

 \newif\ifhidden

 % Uncomment this if you want to hide content.
 % \hiddentrue

 \ifhidden
  % . . . preferrably use ConTeXt-friendly pagination
  % commands; this was taken from a plain old TeX file.
  % Shove in white space or \phantom{} boxes with dummy text of
  % equivalent length; ConTeXt likes its own \blank{} macro.
  % Raw TeX stuff can mess up pagination and spacing.
  %
  % I'm not sure if a \vbox to dimen {} works well or not here.
  % Just try a few ways to see.
 \else
  % Put all your usual content here.
 \fi

 It's a kludge, but it should work in a pinch.

 Charles

 On Thu, 2008-07-24 at 15:21 +0200, Alan Stone wrote:
  And you want to hide part of the content for ...
 
  Enabling people to view the pdf preview version (limited, containing
  excerpts) before acquiring the full version.
 
  Alan
 
  On Thu, Jul 24, 2008 at 3:03 PM, Wolfgang Schuster
  [EMAIL PROTECTED] wrote:
  On Thu, Jul 24, 2008 at 2:34 PM, Alan Stone
  [EMAIL PROTECTED] wrote:
 
   I understood from this post
  
 
 http://archive.contextgarden.net/message/20050708.105010.33153980.en.html
   there were issues with the different solutions offered.
 
 
  You should give it a try, a few of the points concerned
  security reasons and
  old version of Acrobat Reader, there is also a wiki page about
  this topic.
 
  http://wiki.contextgarden.net/Hiding_Content
 
  Do you want to hide only text or also figures, tables,
  formulae etc.
  
   For the time being there's only text, however in a later
  stage there will be
   figures/pics too.
  
  do you need a solution that
  will work also over page breaks.
  
   Yes, to make a preview version of a book.
 
 
  And you want to hide part of the content for ...
 
 
 
  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
 
 ___
 
 
 
 
 ___
  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

 ___

___
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] hiding content

2008-07-24 Thread Alan Stone
Eureka!

I understand what you mean.  :O)

Alan

On Thu, Jul 24, 2008 at 7:47 PM, Alan Stone [EMAIL PROTECTED]
wrote:

 What do you mean by do a run of the completed matter to see what
 the pagination would be ?

 Alan

___
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] startbodymatter question

2008-07-23 Thread Alan Stone

 \setupsectionblock[bodypart][page=yes]
 \setupsectionblock[backpart][page=yes]

 or for the backpart

 \setupsectionblock[backpart][page=yes,before={\page[left]}]


Thanks Wolfgang.

I've been playing with different bodypart and backpart setupsectionblock
settings: number=yes/no, page=yes/no/right,
before/after={\page[left/right]}]

From what I observed and understand (from the manual and
http://texshow.contextgarden.net/command/detail/296 )...

number=yes/no : doesn't have any effect at all

page=yes : starts (a section block on) a new (left or right) page
page=no : doesn't have any effect at all
page=right: starts (a section block on) a (new) right page

before/after : before/after starting the new page

\page[left/right] : forces a left/right page

The following

\setupsectionblock[backpart][before={\page[left]}]

gives more what I was looking after, however there's still
a blank numbered page as the last chapter's last page
which I've unsuccessfully been trying to get without page
number.

Alan
___
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] startbodymatter question

2008-07-23 Thread Alan Stone

 But only in MkII, if you have a problem with this in MkIV make a example.


\setuppapersize [A4][A4]

%\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]

\definepagebreak[myChapterPageBreak][yes,header,footer,right]
\setuphead[chapter][page=myChapterPageBreak]

\startsectionblockenvironment[frontpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
\setupheader[state=start]
\setupfooter[state=start]
\stopsectionblockenvironment

\startsectionblockenvironment[backpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment

\setupsectionblock[backpart][before={\page[left]}]

\starttext

\startstandardmakeup
Title
\blank[3*big]
Author
\stopstandardmakeup

\startfrontmatter
Table of Contents
\blank[3*big]
\placecontent
\stopfrontmatter

\startbodymatter
\chapter{Chapter 1}
\section{Section 1.1}
\input knuth
\blank
\input knuth
\blank
\input knuth

\section{Section 1.2}
\input tufte
\blank
\input tufte
\blank
\input tufte

\section{Section 1.3}
\input zapf
\blank
\input zapf
\blank
\input zapf

\chapter{Chapter 2}
\section{Section 2.1}
\input knuth
\blank
\input knuth
\blank
\input knuth

\section{Section 2.2}
\input tufte
\blank
\input tufte
\blank
\input tufte

\section{Section 2.3}
\input zapf
\blank
\input zapf
\blank
\input zapf

\starthiding
\chapter{Chapter 3}
\section{Section 3.1}
\input knuth
\blank
\input knuth
\blank
\input knuth

\section{Section 3.2}
\input tufte
\blank
\input tufte
\blank
\input tufte

\section{Section 3.3}
\input zapf
\blank
\input zapf
\blank
\input zapf
\stopbodymatter
\stophiding

\startbackmatter
back page
\stopbackmatter

\stoptext
___
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] startbodymatter question

2008-07-23 Thread Alan Stone
Correction ( disregard the previous example)...

\setuppapersize [A4][A4]

%\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]

\definepagebreak[myChapterPageBreak][yes,header,footer,right]
\setuphead[chapter][page=myChapterPageBreak]

\startsectionblockenvironment[frontpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
\setupheader[state=start]
\setupfooter[state=start]
\stopsectionblockenvironment

\startsectionblockenvironment[backpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment

\setupsectionblock[backpart][before={\page[left]}]

\starttext

\startstandardmakeup
Title
\blank[3*big]
Author
\stopstandardmakeup

\startfrontmatter
Table of Contents
\blank[3*big]
\placecontent
\stopfrontmatter

\startbodymatter
\chapter{Chapter 1}
\section{Section 1.1}
\input knuth
\blank
\input knuth
\blank
\input knuth

\section{Section 1.2}
\input tufte
\blank
\input tufte
\blank
\input tufte

\section{Section 1.3}
\input zapf
\blank
\input zapf
\blank
\input zapf

\chapter{Chapter 2}
\section{Section 2.1}
\input knuth
\blank
\input knuth
\blank
\input knuth

\section{Section 2.2}
\input tufte
\blank
\input tufte
\blank
\input tufte

\section{Section 2.3}
\input zapf
\blank
\input zapf
\blank
\input zapf
\stopbodymatter

\startbackmatter
back page
\stopbackmatter

\stoptext
___
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] startbodymatter question

2008-07-23 Thread Alan Stone

 You need

 \setupsectionblock[bodypart][page=yes]
 \setupsectionblock[backpart][page=yes,before={\page[left]}]


I tried that Wolfgang.

However I'd like the pages setup like in my last example with, in a double
sided document, the back page on the [(next even page) + 2]. So, refering to
the output of the last example: page 10 being a blank page without page
number and, as is, the back page on page 10 + 2 = page 12.

Alan
___
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] startbodymatter question

2008-07-23 Thread Alan Stone
Stated otherwise...

If, in a double sided document, the last chapter/appendix/whatever's last
page

= an even page (p) - back page = on page (p) + 2

= an odd page (p)  - back page =  on page (p) + 3

with

whatever pages = non to the main part of the document related pages - makup
pages ?

Alan


On Wed, Jul 23, 2008 at 5:37 PM, Alan Stone [EMAIL PROTECTED]
wrote:

 You need

 \setupsectionblock[bodypart][page=yes]
 \setupsectionblock[backpart][page=yes,before={\page[left]}]


 I tried that Wolfgang.

 However I'd like the pages setup like in my last example with, in a double
 sided document, the back page on the [(next even page) + 2]. So, refering to
 the output of the last example: page 10 being a blank page without page
 number and, as is, the back page on page 10 + 2 = page 12.

 Alan

___
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] startbodymatter question

2008-07-22 Thread Alan Stone
Hi,
How do you get rid of the doublesided document's page number on the blank
page
inserted after the last chapter  ?

Alan

 ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

texmfstart texexec --lua test.tex

--- start of code ---

\setuppapersize [A4][A4]

%\setuppagenumbering[alternative=singlesided]
\setuppagenumbering[alternative=doublesided]

\definepagebreak[myChapterPageBreak][yes,header,footer,right]
\setuphead[chapter][page=myChapterPageBreak]

\startsectionblockenvironment[frontpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment

\startsectionblockenvironment[bodypart]
\setupheader[state=start]
\setupfooter[state=start]
\stopsectionblockenvironment
\setupsectionblock[bodypart][page=no] % doesn't make a difference

\startsectionblockenvironment[backpart]
\setupheader[state=stop]
\setupfooter[state=stop]
\stopsectionblockenvironment

\starttext

\startstandardmakeup
Title
\blank[3*big]
Author
\stopstandardmakeup

\startfrontmatter
Table of Contents
\blank[3*big]
\placecontent
\stopfrontmatter

\startbodymatter
\chapter{Chapter 1}
\section{Section 1.1}
\input knuth
\blank
\input knuth
\blank
\input knuth
\section{Section 1.2}
\input tufte
\blank
\input tufte
\blank
\input tufte
\section{Section 1.3}
\input zapf
\blank
\input zapf
\blank
\input zapf
\chapter{Chapter 2}
\section{Section 2.1}
\input knuth
\blank
\input knuth
\blank
\input knuth
\section{Section 2.2}
\input tufte
\blank
\input tufte
\blank
\input tufte
\section{Section 2.3}
\input zapf
\blank
\input zapf
\blank
\input zapf
\stopbodymatter

\startbackmatter
back cover
\stopbackmatter

\stoptext

--- end of code ---
___
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-21 Thread Alan Stone

 You're playing games with me, do you?


Nope. I'm playing with ctx/ltx, testing by trial and error what's possible.


   You need the same name for both typefaces.


Hmmm... I was definitely interpreting this too literally then.

Thanks for your support enabling me to better understand ctx/ltx font
handling and typescripts.

Best,
Alan
___
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-20 Thread Alan Stone
 \starttypescript[myFonts]
 \definetypeface [mySerifFont] [rm] [serif] [mySerifFont] [default]
 \definetypeface [mySansFont] [ss] [sans] [mySansFont] [default]
 \stoptypescript

\starttypescript[myFonts]
\definetypeface [myFonts] [rm] [serif] [mySerifFont] [default]
\definetypeface [myFonts] [ss] [sans] [mySansFont] [default]
\stoptypescript

You need the same name for both typefaces.


Are you sure ?

This works though...

\setuppapersize [A4][A4]

\starttypescript [serif] [mySerifFont]
\definefontsynonym [mySerifFontRegular] [name:Times New Roman]
[features=default]
\definefontsynonym [mySerifFontItalic] [name:Times New Roman Italic]
[features=default]
\definefontsynonym [mySerifFontBold] [name:Times New Roman Bold]
[features=default]
\definefontsynonym [mySerifFontBoldItalic] [name:Times New Roman Bold
Italic] [features=default]
\stoptypescript
\starttypescript [serif] [mySerifFont]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [mySerifFontRegular]
\definefontsynonym [SerifItalic] [mySerifFontItalic]
\definefontsynonym [SerifBold] [mySerifFontBold]
\definefontsynonym [SerifBoldItalic] [mySerifFontBoldItalic]
\stoptypescript

\starttypescript [sans] [mySansFont]
\definefontsynonym [mySansFontRegular] [name:Arial] [features=default]
\definefontsynonym [mySansFontItalic] [name:Arial Italic]
[features=default]
\definefontsynonym [mySansFontBold] [name:Arial Bold] [features=default]
\definefontsynonym [mySansFontBoldItalic] [name:Arial Bold Italic]
[features=default]
\stoptypescript
\starttypescript [sans] [mySansFont]
\setups[font:fallback:sans]
\definefontsynonym [Sans] [mySansFontRegular]
\definefontsynonym [SansItalic] [mySansFontItalic]
\definefontsynonym [SansBold] [mySansFontBold]
\definefontsynonym [SansBoldItalic] [mySansFontBoldItalic]
\stoptypescript

\starttypescript[myFonts]
\definetypeface [mySerifFont] [rm] [serif] [mySerifFont] [default]
\definetypeface [mySansFont] [ss] [sans] [mySansFont] [default]
\stoptypescript

\usetypescript[myFonts]

\setupbodyfont[mySerifFont,12pt]

\definefont[myChapterFont][mySansFontRegular sa 1.728]

\setuphead[chapter][style=\mySansFont\myChapterFont]

\starttext

\chapter{chapter test}

\section{section test}

text test

\stoptext


Alan
___
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-19 Thread Alan Stone
On Sat, Jul 19, 2008 at 6:49 AM, Charles P. Schaum [EMAIL PROTECTED]
wrote:

 With Ubuntu and fonts there are several things going on.


Which begets the question...

Regarding font installation, detection and other (non font related) issues
which occur recurrently when working with (Con)TeX(t), which GNU/Linux
distribution(s) is(/are) most user-friendly ?

Alan
___
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] \startfrontmatter Co.

2008-07-19 Thread Alan Stone

 itself (search for bodyfontenvironment in the mail archive).


The most, though still scarce information is available at
http://texshow.contextgarden.net

-- 
Alan
~
If you're tired of the crap and nonsense served
daily on TV (some call it the idiot box), in the
media and elsewhere, here's a wonderful
alternative. Probably the most useful,
enriching and inspiring website on the planet...
http://www.ted.com
~
___
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] \startfrontmatter Co.

2008-07-18 Thread Alan Stone
On page 17, the ConTeXt manual mentions the commands

\startfrontmatter - \stopfrontmatter
\startbodymatter - \stopbodymatter
\startbackmatter - \stopbackmatter

What's the precise use and benefit of these commands, other
a cleaner project structure ?

Alan
___
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-18 Thread Alan Stone
Thanks a lot for your helpful comments Wolfgang.

I will add to my todo list Write a few lines about font installation
 for XeTeX and LuaTeX and how to use them in style keys.


With the bits and pieces of information ( current and outdated ) about these
matters presently being scattered all over the place, an updated guide will
definitely be very useful for newbies ( and oldies ? ), speeding up their
comprehension and enabling them to focus on what's important, i.e.
productive issues, using ConText with LuaTeX/XeTeX.

Have a great weekend,
Alan
___
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] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-17 Thread Alan Stone
Thanks Wolfgang.

 calm down.

Done.

I've let some steam off earlier on.OoOo:O)

\setuphead[chapter][style=\

 myHeadingsFont\myChapterFont]
 
 You have to load 'myHeadingsfont' typescript before you can use
 them because they are not available on outer level, only fonts used
 as bodyfont can be accesed without this selection.


That works indeed.

I found the information to solve your problem in the fonts manual and
you should read it if you need more information.

Oh, the number of times I read it. One more time a moment ago.

Sooo... the Da Fonti Code is hidden in there. In which section of the manual
did you find the clue ?


In my quest to further understand how this stuff works, I've been testing
the following...

\setuppapersize [A4][A4]

\starttypescript [serif] [mySerifFont]
\definefontsynonym [mySerifFontRegular] [name:Times New Roman]
[features=default]
\definefontsynonym [mySerifFontItalic] [name:Times New Roman Italic]
[features=default]
\definefontsynonym [mySerifFontBold] [name:Times New Roman Bold]
[features=default]
\definefontsynonym [mySerifFontBoldItalic] [name:Times New Roman Bold
Italic] [features=default]
\stoptypescript
\starttypescript [serif] [mySerifFont]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [mySerifFontRegular]
\definefontsynonym [SerifItalic] [mySerifFontItalic]
\definefontsynonym [SerifBold] [mySerifFontBold]
\definefontsynonym [SerifBoldItalic] [mySerifFontBoldItalic]
\stoptypescript
%\starttypescript [mySerifFont]
%\definetypeface [mySerifFont] [rm] [serif] [mySerifFont] [default]
%\stoptypescript

\starttypescript [sans] [mySansFont]
\definefontsynonym [mySansFontRegular] [name:Arial] [features=default]
\definefontsynonym [mySansFontItalic] [name:Arial Italic]
[features=default]
\definefontsynonym [mySansFontBold] [name:Arial Bold] [features=default]
\definefontsynonym [mySansFontBoldItalic] [name:Arial Bold Italic]
[features=default]
\stoptypescript
\starttypescript [sans] [mySansFont]
\setups[font:fallback:sans]
\definefontsynonym [Sans] [mySansFontRegular]
\definefontsynonym [SansItalic] [mySansFontItalic]
\definefontsynonym [SansBold] [mySansFontBold]
\definefontsynonym [SansBoldItalic] [mySansFontBoldItalic]
\stoptypescript
%\starttypescript [mySansFont]
%\definetypeface [mySansFont] [ss] [sans] [mySansFont] [default]
%\stoptypescript

\starttypescript[myFonts]
\definetypeface [mySerifFont] [rm] [serif] [mySerifFont] [default]
\definetypeface [mySansFont] [ss] [sans] [mySansFont] [default]
\stoptypescript

\usetypescript[myFonts]

\setupbodyfont[mySerifFont,12pt]% this displays the correct font
%\setupbodyfont[mySansFont,12pt]% this displays the correct font

\definefont[myChapterFont][mySansFont sa 1.728] % compile error at line
57 with (2) [and (1)]
%\definefont[myChapterFont][Arial sa 1.728]   % this works with
(1), compile error at line 57 with (2)
%\definefont[myChapterFont][Sans sa 1.728]   % defaults to LM
font with (1), compile error at line 57 with (2)

%\setuphead[chapter][style=\myChapterFont]  % (1)
%\setuphead[chapter][style=\myFonts\myChapterFont]  % (2)
%\setuphead[chapter][style=\tfc\mySansFont] % (3) this
works

\starttext

\chapter{chapter test}  % line 57

\section{section test}

text test

\stoptext


Looking for further clues.

Alan

P.S. Resistance is futile Fontzi...I will assimilate you!
___
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] Whacko font behaviour ? ( Or Am I ? :O)

2008-07-16 Thread Alan Stone

(resend: didn't get through yesterday)

Thanks a lot Wolfgang.

There's still something I don't understand...

Why does this not compile then: see the (new) attachements ?

Alan

test.tex
Description: Binary data


test.log
Description: Binary data
___
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] Whacko font behaviour ? ( Or Am I ? :O)

2008-07-16 Thread Alan Stone
( 2nd and last attempt: message didn't get through )

Thanks a lot Wolfgang. There's still something I don't understand though...

Why does this not compile then ?



\setuppapersize [A4][A4]

\starttypescript [serif] [myBodyFont]
\definefontsynonym [myBodyFontRegular] [name:Times New Roman]
[features=default]
\definefontsynonym [myBodyFontItalic] [name:Times New Roman Italic]
[features=default]
\definefontsynonym [myBodyFontBold] [name:Times New Roman Bold]
[features=default]
\definefontsynonym [myBodyFontBoldItalic] [name:Times New Roman Bold
Italic] [features=default]
\stoptypescript
\starttypescript [serif] [myBodyFont]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [myBodyFontRegular]
\definefontsynonym [SerifItalic] [myBodyFontItalic]
\definefontsynonym [SerifBold] [myBodyFontBold]
\definefontsynonym [SerifBoldItalic] [myBodyFontBoldItalic]
\stoptypescript
\starttypescript [myBodyFont]
\definetypeface [myBodyFont] [rm] [serif] [myBodyFont] [default]
\stoptypescript

\starttypescript [sans] [myHeadingsFont]
\definefontsynonym [myHeadingsFontRegular] [name:Arial]
[features=default]
\definefontsynonym [myHeadingsFontItalic] [name:Arial Italic]
[features=default]
\definefontsynonym [myHeadingsFontBold] [name:Arial Bold]
[features=default]
\definefontsynonym [myHeadingsFontBoldItalic] [name:Arial Bold Italic]
[features=default]
\stoptypescript
\starttypescript [sans] [myHeadingsFont]
\setups[font:fallback:sans]
\definefontsynonym [Sans] [myHeadingsFontRegular]
\definefontsynonym [SansItalic] [myHeadingsFontItalic]
\definefontsynonym [SansBold] [myHeadingsFontBold]
\definefontsynonym [SansBoldItalic] [myHeadingsFontBoldItalic]
\stoptypescript
\starttypescript [myHeadingsFont]
\definetypeface [myHeadingsFont] [ss] [sans] [myHeadingsFont] [default]
\stoptypescript

\usetypescript[myBodyFont]
\usetypescript[myHeadingsFont]

\setupbodyfont[myBodyFont,12pt]

\definefont[myChapterFont][myHeadingsFontRegular sa 1.728]

%\setuphead[chapter][style=myChapterFont]  % compile error at line 49
\setuphead[chapter][style=\myChapterFont]  % compile error at line 49

\starttext

\chapter{chapter test}% line 49

\section{section test}

text test

\stoptext

---

ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

language   : language en is active
system : cont-new loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/opt/context/tex/texmf-context/tex/context/base/cont-new.mkiv
lua: used config path - /opt/context/tex/texmf/web2c/texmf.cnf
lua: used cache path -
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7
) (/opt/context/tex/texmf-context/tex/context/base/cont-mtx.tex))
system : cont-old loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/opt/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/opt/context/tex/texmf-context/tex/context/user/cont-sys.tex
(/opt/context/tex/texmf-context/tex/context/base/type-tmf.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-siz.tex)
(/opt/context/tex/texmf-context/tex/context/base/type-otf.tex))
bodyfont   : 12pt rm is loaded
load otf | loading:
/opt/context/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | enhance: patch
load otf | enhance: strip
load otf | enhance: pack
load otf | file size: 107060
load otf | saving: in cache(test.tex

( snip: file too big )

load otf | loading:
/opt/context/tex/texmf/fonts/truetype/msttcorefonts/timesbi.ttf
load otf | warning: Warning: Glyph 257 is named middot which should mean it
is mapped to
 Unicode U+00B7, but Glyph 194 already has that encoding.
load otf | warning: Glyph 915 is called .notdef, a singularly inept choice
of name (only glyph 0
 may be called .notdef)
FontForge will rename it.
load otf | enhance: before
load otf | enhance: enrich
load otf | enhance: registering tlig feature
load otf | enhance: registering trep feature
load otf | enhance: flatten
load otf | flattening 'specifications' tables
load otf | flattening 'anchor' tables
load otf | flattening 'gpos' tables
load otf | flattening 'gsub' tables
load otf | enhance: analyze
load otf | enhance: after
load otf | replacing 'kerns' tables by 'mykerns' tables
load otf | 

[NTG-context] Losing my patience with (understanding) ConTeXt/LuaTeX's font handling... [ re: Whacko font behaviour ? ( Or Am I ? :O) ]

2008-07-16 Thread Alan Stone
 (1) \definefont[myChapterFont][myHeadingsFont sa 1.728]
You could either use a real font name like 'Arial' or a symbolic name
defined with \definefontsynonym like 'Serif', 'SerifBold', 'Sans',
'Dummy-Regular' etc. in the second argument of \definefont but not
the name for a font collection defined with \definetype, in your case
\definefont[myChapterFont][Sans sa 1.728]
or
\definefont[myChapterFont][DummyRegular sa 1.728]

So ( and considering the example at
http://wiki.contextgarden.net/Chapters_headers )
I tried...

\setuppapersize [A4][A4]

\starttypescript [serif] [myBodyFont]
\definefontsynonym [myBodyFontRegular] [name:Times New Roman]
[features=default]
\definefontsynonym [myBodyFontItalic] [name:Times New Roman Italic]
[features=default]
\definefontsynonym [myBodyFontBold] [name:Times New Roman Bold]
[features=default]
\definefontsynonym [myBodyFontBoldItalic] [name:Times New Roman Bold
Italic] [features=default]
\stoptypescript
\starttypescript [serif] [myBodyFont]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [myBodyFontRegular]
\definefontsynonym [SerifItalic] [myBodyFontItalic]
\definefontsynonym [SerifBold] [myBodyFontBold]
\definefontsynonym [SerifBoldItalic] [myBodyFontBoldItalic]
\stoptypescript
\starttypescript [myBodyFont]
\definetypeface [myBodyFont] [rm] [serif] [myBodyFont] [default]
\stoptypescript

\starttypescript [sans] [myHeadingsFont]
\definefontsynonym [myHeadingsFontRegular] [name:Arial]
[features=default]
\definefontsynonym [myHeadingsFontItalic] [name:Arial Italic]
[features=default]
\definefontsynonym [myHeadingsFontBold] [name:Arial Bold]
[features=default]
\definefontsynonym [myHeadingsFontBoldItalic] [name:Arial Bold Italic]
[features=default]
\stoptypescript
\starttypescript [sans] [myHeadingsFont]
\setups[font:fallback:sans]
\definefontsynonym [Sans] [myHeadingsFontRegular]
\definefontsynonym [SansItalic] [myHeadingsFontItalic]
\definefontsynonym [SansBold] [myHeadingsFontBold]
\definefontsynonym [SansBoldItalic] [myHeadingsFontBoldItalic]
\stoptypescript
\starttypescript [myHeadingsFont]
\definetypeface [myHeadingsFont] [ss] [sans] [myHeadingsFont] [default]
\stoptypescript

\usetypescript[myBodyFont]
\usetypescript[myHeadingsFont]

\setupbodyfont[myBodyFont,12pt]% this works: body font displays in the
correct font

%\definefont[myChapterFont][myHeadingsFontRegular sa 1.728] % compile
error at line 51: WHY ?
\definefont[myChapterFont][Arial sa
1.728]  % only this works: WHY ?
%\definefont[myChapterFont][Sans sa 1.728]
% defaults to default LM font for line 51: WHY ?

%\setuphead[chapter][style=myChapterFont]
\setuphead[chapter][style=\myChapterFont]

\starttext

\chapter{chapter test}  % line 51

\section{section test}

text test

\stoptext


Many thanks in advance for your enlightening help.

Alan
___
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] showbody* commands for non-bodyfonts ?

2008-07-14 Thread Alan Stone
Hi,

When using more than one font in a document, what is the corresponding

\showbodyfont

command for the non-bodyfont(s) ?

I tried

\showbodyfont[bodyfont](1)
\showbodyfont[non-bodyfont]  (2)

and only (1) gets processed and displayed.

Same question for \showbodyfontenvironment.

Alan
___
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] Whacko font behaviour ? ( Or Am I ? :O)

2008-07-14 Thread Alan Stone
ConTeXt  ver: 2008.07.10 08:40 MKIV  fmt: 2008.7.10  int: english/english

See test.tex in attachement.

The following combinations give the following results after compiling with

   texmfstart texexec --lua test.tex

---

(1) \definefont[myChapterFont][myHeadingsFont sa 1.728]  % with

\setuphead[chapter][style=myChapterFont] % or
\setuphead[chapter][style=\myChapterFont] % or
\setuphead[chapter][style={\myChapterFont}]

generates the following compile error...

! Font \**myChapterFont**:=myHeadingsFont at 20.736pt not loadable: metric
data not found or bad.
to be read again
   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
  \let
\localrelativefontsiz...
\dosetfontattribute ...me [EMAIL PROTECTED] \endcsname \fi
  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

?
! Emergency stop.
to be read again
   \relax
\dododefinefont ...ontspec {#2}\rawfontidentifier
  \let
\localrelativefontsiz...
\dosetfontattribute ...me [EMAIL PROTECTED] \endcsname \fi
  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

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

---

(2) \definefont[myChapterFont][Sans sa 1.728]  % with

\setuphead[chapter][style=myChapterFont] % or
\setuphead[chapter][style=\myChapterFont] % or
\setuphead[chapter][style={\myChapterFont}]

displays the chapter heading with a scaled LMSans10-Regular font

---

(3) this displays the chapter heading font correctly

\setuphead[chapter][style={\tfc\myHeadingsFont}]

---

(4) \setuphead[chapter][style={\tfc\Sans}]

generates the following compile error...

! Undefined control sequence.
\@@kochapterstyle -\tfc \Sans

\doifdefinedelse #1-\edef \p!defined {#1
 }\ifcsname \detokenize [EMAIL 
PROTECTED]
{\p!def...
\doconvertfont #1-\doifdefinedelse [EMAIL PROTECTED]@ #1}
   {\doifelsenothing
{#1}\go...
\dosetfontattribute ...me [EMAIL PROTECTED] \endcsname \fi
  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

?
! Emergency stop.
\@@kochapterstyle -\tfc \Sans

\doifdefinedelse #1-\edef \p!defined {#1
 }\ifcsname \detokenize [EMAIL 
PROTECTED]
{\p!def...
\doconvertfont #1-\doifdefinedelse [EMAIL PROTECTED]@ #1}
   {\doifelsenothing
{#1}\go...
\dosetfontattribute ...me [EMAIL PROTECTED] \endcsname \fi
  \empty
\doplaceheadnumbertext ...bute {\??ko #1}\c!style
  \getvalue {\??ko
#1\c!comm...
\dodododoconstructhead ...{\finalsectionnumber }}}
  \writesection
{#1}{#3}{#4}...
l.54 \chapter{chapter test}

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

---


How come ?

Alan


test.tex
Description: TeX 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] how to convert font size to pt number ?

2008-07-13 Thread Alan Stone
Simple solutions from generous posters. Thanks all. I was too focussed on
the switchtobodyfont command.

Have a great weekend,
Alan
___
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] how to convert font size to pt number ?

2008-07-13 Thread Alan Stone
(1) \setupbodyfont[somebodyfont,12pt]
\definefont[chapterfont][somefont sa 1.728]
\setuphead[chapter][style=chapterfont]

gives a compile error at \chapter{chapter title} :

! Font \**chapterfont**:=somefont at 20.736pt not loadable: metric data not
found or bad

However

\setuphead[chapter][style=\tfc\somefont] works OK.

\setupbodyfont[somefont,12pt] also work OK, while

\setupbodyfont[chapterfont,12pt] defaults to LM font

Uh ?


(2) fc-list output extract

Times New
Roman:style=Regular,Normal,obyčejné,Standard,Κανονικά,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,Navadno,thường,Arrunta
Times New
Roman:style=Italic,cursiva,kurzíva,kursiv,Πλάγια,Kursivoitu,Italique,Dőlt,Corsivo,Cursief,kursywa,Itálico,Курсив,İtalik,Poševno,nghiêng,Etzana
Times New
Roman:style=Bold,Negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiona,Negrito,Полужирный,Fet,Kalın,Krepko,đậm,Lodia
Times New Roman:style=Bold Italic,Negreta cursiva,tučné kurzíva,fed
kursiv,Fett Kursiv,Έντονα Πλάγια,Negrita Cursiva,Lihavoitu Kursivoi,Gras
Italique,Félkövér dőlt,Grassetto Corsivo,Vet Cursief,Halvfet
Kursiv,Pogrubiona kursywa,Negrito Itálico,Полужирный Курсив,Tučná
kurzíva,Fet Kursiv,Kalın İtalik,Krepko poševno,nghiêng đậm,Lodi etzana

With the following typescript

\starttypescript[serif][timesnewroman]
% --- MS TrueType Core Font ---
\definefontsynonym[Dummy][name:Times New Roman][features=default]
\definefontsynonym[DummyBold][name:Times New Roman
Bold][features=default]
\definefontsynonym[DummyItalic][name:Times New Roman
Italic][features=default]
\definefontsynonym[DummyBoldItalic][name:Times New Roman Bold
Italic][features=default]
\stoptypescript
\starttypescript[serif][timesnewroman][name]
\definefontsynonym[Serif][Dummy][features=default]
\definefontsynonym[SerifBold][DummyBold][features=default]
\definefontsynonym[SerifItalic][DummyItalic][features=default]

\definefontsynonym[SerifBoldItalic][DummyBoldItalic][features=default]
\definefontsynonym[SerifSlanted][DummyItalic][features=default]

\definefontsynonym[SerifIBoldSlanted][DummyBoldItalic][features=default]
\definefontsynonym[SerifCaps][Dummy][features=default]
\stoptypescript
\definetypeface[myBodyFont][rm][serif][timesnewroman][default]

\bf displays in bold italic (??) so something is wrong/missing. Seems to be
something with the style=... stuff. Fruitlessly searched the wiki and
mailing list archive.


Alan
___
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] how to convert font size to pt number ?

2008-07-12 Thread Alan Stone
style={\switchtobodyfont[somefont,somefontsize]} digests font sizes
expressed in pt.

What's the command to convert font sizes ( for example \tfc ) to their
corresponding pt number ?

Alan
___
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] how to convert font size to pt number ?

2008-07-12 Thread Alan Stone
Thanks for your quick response Aditya.

I've read that too and unfortunately don't find anything on that page that
answers my question.

Hmmm...

Either the question was not clear enough or I've been smoking the carpet...
:O)

Let's try to formulate it otherwise...

With somefont defined through \definetypeface[somefont][...]

style={\switchtobodyfont[somefont,huge]} gives a compile error,
only, for example, style={\switchtobodyfont[somefont,14pt]} works

like in \setuphead[chapter][style={\switchtobodyfont[somefont,14pt]}]

I don't want to manually input some pt size but, for example, the \tfc or
huge corresponding pt size.

Therefore I'm looking for

- the ConTeXtMagicCommand to convert
\ConTexTMagicCommand[\tfc or huge] to \tfc or huge size expressed in pt

or

- some other ConTeXtSuperMagic trick to display the chapter heading in
somefont and \tfc or huge size

I guess I could \chapter{\tfc chaptertitle}, however I'm looking for
something more generic so I only have to input chapter{chaptertitle}.

Cheers,
Alan
___
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] fonts with luatex

2008-07-10 Thread Alan Stone
saw that too... don't understand how that's possible because there are
already files in that folder.

Alan

On Thu, Jul 10, 2008 at 8:21 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Alan Stone wrote:

  LuaTools | unable to save files in
 
 /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81..tma

 a write access problem?

___
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] fonts with luatex

2008-07-10 Thread Alan Stone
cleaned up ... i'll upload a beta

Thanks a lot Hans.

Where from will the beta be uploadable ?

Alan

On Thu, Jul 10, 2008 at 8:47 AM, Hans Hagen [EMAIL PROTECTED] wrote:

 Taco Hoekwater wrote:
 
  Hans Hagen wrote:
  Alan Stone wrote:
  are there really two dots there? ..tma
  Yes indeed Hans.
  that's weird, i'm stymied
 
  I'm not :) You got that from a bug in the warning message, not
  the actual file name.
 
  input.luasuffix= '.tma'
  input.report(unable to save %s in %s.%s,dataname,name,input.luasuffix)
 
  So that the string format reduces to
 
 (unable to save %s in %s..tma,dataname,name)

 ah, ok, cleaned up ... i'll upload a beta

 i now save as binary .. maybe it helps otherwise there's realy a write /
 permission problem in Alan's machine

 Hans

___
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] fonts with luatex

2008-07-10 Thread Alan Stone

 Isn't downloading enough for you ;-)


Apparently not. Guess I have a preference for up.


 ctxtools --updatecontext


Passing on that one.

Thanks anyway.

Alan
___
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] fonts with luatex

2008-07-10 Thread Alan Stone
Thanks Mojca. Updated.

Or is it downdated?

context --generate
LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin
LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux
LuaTools | variable SELFAUTOPARENT set to /opt/context/tex
LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c
LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf
LuaTools | preparing configuration for /opt/context/tex/texmf/web2c
LuaTools | unable to save configuration in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua
(access error)
LuaTools | locating list of /opt/context/tex/texmf-project
LuaTools | locating list of /opt/context/tex/texmf-fonts
LuaTools | locating list of /opt/context/tex/texmf-local
LuaTools | locating list of /opt/context/tex/texmf-linux
LuaTools | locating list of /opt/context/tex/texmf-context
LuaTools | locating list of /opt/context/tex/texmf-extra
LuaTools | locating list of /opt/context/tex/texmf
LuaTools | scanning path /opt/context/tex/texmf-linux
LuaTools | 88 files found on 9 directories with 0 uppercase remappings
LuaTools | scanning path /opt/context/tex/texmf-context
LuaTools | 1422 files found on 125 directories with 0 uppercase remappings
LuaTools | scanning path /opt/context/tex/texmf
LuaTools | 3411 files found on 112 directories with 207 uppercase remappings
LuaTools | preparing files for /opt/context/tex/texmf-context
LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua
(access error)
LuaTools | preparing files for /opt/context/tex/texmf
LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua
(access error)
LuaTools | preparing files for /opt/context/tex/texmf-linux
LuaTools | unable to save files in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua
(access error)
LuaTools |
LuaTools | runtime: 0.110 seconds

MtxRun | running command: luatools --generate
MtxRun | total runtime: 0.178


Alan

On Thu, Jul 10, 2008 at 9:25 AM, Mojca Miklavec 
[EMAIL PROTECTED] wrote:

 On Thu, Jul 10, 2008 at 9:15 AM, Alan Stone wrote:
 cleaned up ... i'll upload a beta
 
  Thanks a lot Hans.
 
  Where from will the beta be uploadable ?

 You said that you have minimals installed. Just run
  ./first-setup.sh --context=beta

 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] fonts with luatex

2008-07-10 Thread Alan Stone
In a flash of extraordinary inspiration, ran the command in a terminal
window from root - instead of from scite and now it seems to have worked...

[EMAIL PROTECTED]:/opt/context# context --generate
MtxRun | running command: luatools --generate
LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin
LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux
LuaTools | variable SELFAUTOPARENT set to /opt/context/tex
LuaTools | variable TEXMFCNF set to $TEXROOT/texmf{-local,-context,}/web2c
LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf
LuaTools | preparing configuration for /opt/context/tex/texmf/web2c
LuaTools | configuration saved in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua
LuaTools | configuration compiled to
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.luc
LuaTools | locating list of /opt/context/tex/texmf-project
LuaTools | locating list of /opt/context/tex/texmf-fonts
LuaTools | locating list of /opt/context/tex/texmf-local
LuaTools | locating list of /opt/context/tex/texmf-linux
LuaTools | locating list of /opt/context/tex/texmf-context
LuaTools | locating list of /opt/context/tex/texmf-extra
LuaTools | locating list of /opt/context/tex/texmf
LuaTools | scanning path /opt/context/tex/texmf-linux
LuaTools | 88 files found on 9 directories with 0 uppercase remappings
LuaTools | scanning path /opt/context/tex/texmf-context
LuaTools | 1422 files found on 125 directories with 0 uppercase remappings
LuaTools | scanning path /opt/context/tex/texmf
LuaTools | 3411 files found on 112 directories with 207 uppercase remappings
LuaTools | preparing files for /opt/context/tex/texmf-context
LuaTools | files saved in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua
LuaTools | files compiled to
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.luc
LuaTools | preparing files for /opt/context/tex/texmf
LuaTools | files saved in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua
LuaTools | files compiled to
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.luc
LuaTools | preparing files for /opt/context/tex/texmf-linux
LuaTools | files saved in
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua
LuaTools | files compiled to
/opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.luc
LuaTools |
LuaTools | runtime: 0.358 seconds

MtxRun | total runtime: 0.461

[EMAIL PROTECTED]:/opt/context# mtxrun --script font --reload
fontnames | identifying tree font files with suffix otf
fontnames | 161 tree files identified, 482 hash entries added, runtime 1.159
seconds
fontnames | identifying tree font files with suffix ttf
fontnames | 192 tree files identified, 559 hash entries added, runtime 2.173
seconds
fontnames | identifying tree font files with suffix ttc
fontnames | 0 tree files identified, 0 hash entries added, runtime 0.066
seconds
fontnames | identifying tree font files with suffix afm
fontnames | 69 tree files identified, 148 hash entries added, runtime 0.337
seconds
fontnames | identifying system font files with suffix otf
fontnames | 0 system files identified, 0 hash entries added, runtime 0.001
seconds
fontnames | identifying system font files with suffix ttf
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix ttc
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix afm
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds

Alan
___
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] fonts with luatex

2008-07-10 Thread Alan Stone
Wow, now I can mindread too...

What's with sudo ...

Received your message just after doing that. Thanks.

SpookyTeX!

Alan


On Thu, Jul 10, 2008 at 10:52 AM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

 On Thu, Jul 10, 2008 at 10:12 AM, Alan Stone
 [EMAIL PROTECTED] wrote:
  Thanks Mojca. Updated.
 
  Or is it downdated?

 archive: https://foundry.supelec.fr/projects/contextrev/ ;-)

 context --generate
  LuaTools | variable SELFAUTOLOC set to /opt/context/tex/texmf-linux/bin
  LuaTools | variable SELFAUTODIR set to /opt/context/tex/texmf-linux
  LuaTools | variable SELFAUTOPARENT set to /opt/context/tex
  LuaTools | variable TEXMFCNF set to
 $TEXROOT/texmf{-local,-context,}/web2c
  LuaTools | loading /opt/context/tex/texmf/web2c/texmf.cnf
  LuaTools | preparing configuration for /opt/context/tex/texmf/web2c
  LuaTools | unable to save configuration in
 
 /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/eafbbdaaf07ecf8142ecf5e1c693b318.lua
  (access error)
  LuaTools | locating list of /opt/context/tex/texmf-project
  LuaTools | locating list of /opt/context/tex/texmf-fonts
  LuaTools | locating list of /opt/context/tex/texmf-local
  LuaTools | locating list of /opt/context/tex/texmf-linux
  LuaTools | locating list of /opt/context/tex/texmf-context
  LuaTools | locating list of /opt/context/tex/texmf-extra
  LuaTools | locating list of /opt/context/tex/texmf
  LuaTools | scanning path /opt/context/tex/texmf-linux
  LuaTools | 88 files found on 9 directories with 0 uppercase remappings
  LuaTools | scanning path /opt/context/tex/texmf-context
  LuaTools | 1422 files found on 125 directories with 0 uppercase
 remappings
  LuaTools | scanning path /opt/context/tex/texmf
  LuaTools | 3411 files found on 112 directories with 207 uppercase
 remappings
  LuaTools | preparing files for /opt/context/tex/texmf-context
  LuaTools | unable to save files in
 
 /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/5f7b9306dcbd6a966450acbb82901a81.lua
  (access error)
  LuaTools | preparing files for /opt/context/tex/texmf
  LuaTools | unable to save files in
 
 /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/3b345784234bafc7148851149a3f5528.lua
  (access error)
  LuaTools | preparing files for /opt/context/tex/texmf-linux
  LuaTools | unable to save files in
 
 /opt/context/tex/texmf-cache/luatex-cache/context/9d2177de8a31df158f21be632b7742b7/trees/64fe47ca42a06b0d6010805018b4cbbc.lua
  (access error)
  LuaTools |
  LuaTools | runtime: 0.110 seconds
 
  MtxRun | running command: luatools --generate
  MtxRun | total runtime: 0.178

 No rights to write to /opt/... with your current user. What's with sudo ...

 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] fonts with luatex

2008-07-10 Thread Alan Stone
Though that's strange...

fontnames | identifying system font files with suffix otf
fontnames | 0 system files identified, 0 hash entries added, runtime 0.001
seconds
fontnames | identifying system font files with suffix ttf
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix ttc
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds
fontnames | identifying system font files with suffix afm
fontnames | 0 system files identified, 0 hash entries added, runtime 0.000
seconds


Alan
___
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] fonts with luatex

2008-07-10 Thread Alan Stone
Despite all the above, when compiling with

texmfstart texexec --lua test.tex

with test.tex containing

\usetypescript[verdana]
\setupbodyfont[verdana,12pt]

or

\definetypeface[Times][rm][Xserif][Times New Roman]
\setupbodyfont[Times,12pt]

the generated pdfs embed LMRoman font instead, while both fonts are present
in

/opt/context/tex/texmf/fonts/truetype/msttcorefonts

What's missing ?

Alan
___
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] fonts with luatex

2008-07-10 Thread Alan Stone
Thanks Mojca.

you need
 to define all the fonts manually in LuaTeX (dummy job; should be
 simplified one day).


Would be most welcome indeed.

Alan
___
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] fonts with luatex

2008-07-09 Thread Alan Stone
are there really two dots there? ..tma

Yes indeed Hans.
___
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] fonts with luatex

2008-07-09 Thread Alan Stone
that's weird, i'm stymied

How about a name change...

WeirdoTeX seems rather appropriate?  ;O)

All jokes aside...

What's the solution ?

Alan
___
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] fonts with luatex

2008-07-09 Thread Alan Stone
Had a look at the former context windows installation. When firing up scite
the output window
mentions loading scite-ctx.lua definition file.

In ubuntu the scite output window informs

attempt to call a string value
Lua: error occurred while loading startup script

Didn't give much attention to that one previously.

Don't know whether that's the cause of the problem. Nevertheless, any idea
how to set this straight ?

Alan


On Wed, Jul 9, 2008 at 12:03 PM, Alan Stone [EMAIL PROTECTED]
wrote:

 that's weird, i'm stymied

 How about a name change...

 WeirdoTeX seems rather appropriate?  ;O)

 All jokes aside...

 What's the solution ?

 Alan

___
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] fonts with luatex

2008-07-09 Thread Alan Stone
 regenerated the cache

Excuse me my ignorance... what do you mean by that Arthur ?

Alan

On Wed, Jul 9, 2008 at 4:15 PM, Arthur Reutenauer 
[EMAIL PROTECTED] wrote:

  are there really two dots there? ..tma
 
  Yes indeed Hans.
 
  that's weird, i'm stymied

   I saw that once, too, but regenerated the cache and didn't bother too
 much.

Arthur

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


<    1   2   3   4   >