[NTG-context] Keyword order problem

2014-06-03 Thread Rik Kabel
Keyword order appears to matter for the \blank command. The following 
example shows all orderings for the set  {dimension, nowhite, samepage}, 
some of which work and some of which do not. It also shows two orderings 
of {dimension, nowhite, samepage, disable}; one works and the other does 
not. This happens with TL13 as well as the 2014-06-01 beta.


I can find no discussion of keyword ordering in the wiki, on the mailing 
list, or in the manuals.


Is this intentional, and if so, with what other commands are keywords 
similarly constrained? Whether or not this is intentional, can a 
developer please provide a suggested ordering to use until this is 
better documented or corrected? The order that keywords are presented in 
the wiki and in the reference manual are among those that fail.


   \starttext
   \subject{Without disable}

   12pt,samepage,nowhite\blank[12pt,samepage,nowhite]
   works

   12pt,nowhite,samepage\blank[12pt,nowhite,samepage]
   fails

   samepage,12pt,nowhite\blank[samepage,12pt,nowhite]
   fails

   samepage,nowhite,12pt\blank[samepage,nowhite,12pt]
   works

   nowhite,12pt,samepage\blank[nowhite,12pt,samepage]
   works

   nowhite,samepage,12pt\blank[nowhite,samepage,12pt]
   works

   \subject{With disable}

   12pt,samepage,nowhite,disable\blank[12pt,samepage,nowhite,disable]
   works

   samepage,12pt,nowhite,disable\blank[samepage,12pt,nowhite,disable]
   fails

   \stoptext

--
Rik Kabel
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] blank overlay

2014-06-03 Thread john Culleton
On Tue, 03 Jun 2014 19:47:14 +0200
Peter Rolf  wrote:

> Am 03.06.2014 16:27, schrieb john Culleton:
> > 
> > I need a graphic (a thumbnail) on the right
> > hand pages but not on the left hand pages.
> > Following the instructions in the Metafun
> > Manual page 168 I have assigned different
> > pairs to the two overlays: 
> > \startuseMPgraphic{right page}
> > ...
> > \stopuseMPgraphic
> > 
> > and 
> > \startuseMPgraphic{left page}
> > \stopuseMPgraphic
> > 
> > In the left hand area I want to just create a
> > minimal structure that replaces the right hand
> > graphic overlay.
> > 
> > What is the minimal code I can use between the
> > start and stop statements?
> > 
> 
> Not sure if I understand you right, but let's
> give it a try :-)
> 
> You can use 'Start|Stoppage' in combination
> with your icon, but you end up with a graphic
> as big as the page (not visible and a small
> data footprint, but still some kind of 'layer
> mess'). Probably not the best way to do this in
> ConTeXt. Anyway...
> 
> StartPage;
> draw  xyshifted(x,y); % shift to the
> desired position StopPage;
> 
> 
> Better alternative:
> 
> http://wiki.contextgarden.net/Layers
> 
> Example: placing a logo to the top right corner
> of the page
> 
> And for the different setup on left|right pages
> see
> 
> http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers
> 
> The latter link is also at the bottom of the
> layer related page.
> 
> 
> HTH,  Peter
> ___
> If your question is of interest to others as
> well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl /
> http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl /
> http://tex.aanhet.net archive  :
> http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> ___
> 
> 
> ___
> Unlimited Disk, Data Transfer, PHP/MySQL Domain
> Hosting http://www.doteasy.com 

One of your examples, the watermark one,
reminded me of what I had left off. It was the
lines:

\setuppagenumbering
 [alternative=doublesided]

Dum de dum dum!

Now I have the thumbnail mark on odd but not on
even pages.

I still have a few more bits to fiddle but that
got me around my problem.

I took Hans' MKIV thumb index example and hacked
away from that point onward.

Thanks so much for your multiple examples! I was
about to retreat to Scribus. The problem with
that program is that the pdf files are about five
times bigger than a corresponding pdf from
Context.
 

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] blank overlay

2014-06-03 Thread Peter Rolf
Am 03.06.2014 16:27, schrieb john Culleton:
> 
> I need a graphic (a thumbnail) on the right hand
> pages but not on the left hand pages. Following
> the instructions in the Metafun Manual page 168 I
> have assigned different pairs to the two
> overlays: 
> \startuseMPgraphic{right page}
> ...
> \stopuseMPgraphic
> 
> and 
> \startuseMPgraphic{left page}
> \stopuseMPgraphic
> 
> In the left hand area I want to just create a
> minimal structure that replaces the right hand
> graphic overlay.
> 
> What is the minimal code I can use between the
> start and stop statements?
> 

Not sure if I understand you right, but let's give it a try :-)

You can use 'Start|Stoppage' in combination with your icon, but you end
up with a graphic as big as the page (not visible and a small data
footprint, but still some kind of 'layer mess'). Probably not the best
way to do this in ConTeXt. Anyway...

StartPage;
draw  xyshifted(x,y); % shift to the desired position
StopPage;


Better alternative:

http://wiki.contextgarden.net/Layers

Example: placing a logo to the top right corner of the page

And for the different setup on left|right pages see

http://wiki.contextgarden.net/Alternating_backgrounds_and_repeating_layers

The latter link is also at the bottom of the layer related page.


HTH,  Peter
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Unable To Render Table With Over 3000 Rows

2014-06-03 Thread Neal Lester
Somehow I ended up with a file called cont-tmf.zip thinking it was the
beta.  I can't even find the (apparently obsolete) page I downloaded that
from again. Anyway, installing the beta (per the context garden
instructions) worked with the new default. It did pick-up changes to
luatex.savesize.
 Thanks for the help.

Neal


On Mon, Jun 2, 2014 at 4:06 PM, Hans Hagen  wrote:

> On 6/2/2014 8:32 PM, Neal Lester wrote:
>
>> Are there instructions for installing the beta?  I can't find them.
>>
>
> Did you look at contextgarden.net? At the top of the page there is a link.
>
> Hans
>
>
> -
>   Hans Hagen | PRAGMA ADE
>   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>  | www.pragma-pod.nl
> -
> 
> ___
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/
> listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki : http://contextgarden.net
> 
> ___
>
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] Broken floats when using postponing.

2014-06-03 Thread Alan BRASLAU
Hello,

The following minimal example yields an error using the latest version
from the garden:

\starttext
This is before \in{Figure}[fig:cow]
\startpostponing [+0] 
\startplacefigure [reference=fig:cow]
\externalfigure [cow]
\stopplacefigure
\stoppostponing
and this is after.
\stoptext


tex error   > error on line 3 in file virtual://page.nopage.1: ! Extra }, 
or forgotten \endgroup

\strc_floats_stop_place ...unwantedspaces \egroup 
  
l.3 \stopplacefigure
  




The problem appears with the use of \startpostponing\stoppostponing
(used to prevent a paragraph break in the middle of the sentence).

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


[NTG-context] blank overlay

2014-06-03 Thread john Culleton

I need a graphic (a thumbnail) on the right hand
pages but not on the left hand pages. Following
the instructions in the Metafun Manual page 168 I
have assigned different pairs to the two
overlays: 
\startuseMPgraphic{right page}
...
\stopuseMPgraphic

and 
\startuseMPgraphic{left page}
\stopuseMPgraphic

In the left hand area I want to just create a
minimal structure that replaces the right hand
graphic overlay.

What is the minimal code I can use between the
start and stop statements?

-- 
John Culleton
Wexford Press
Free list of books for self-publishers:
http://wexfordpress.net/shortlist.html
PDF e-book: "Create Book Covers with Scribus"
available at
http://www.booklocker.com/books/4055.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SyncTeX

2014-06-03 Thread Trond Thorbjørnsen
Hei Mojca,

Mojca Miklavec skrev 03.06.2014:
> On Tue, Jun 3, 2014 at 11:44 AM, Trond Thorbjørnsen wrote: 
> > Is MKIV still not working with SyncTeX? 
> > 
> > http://wiki.contextgarden.net/SyncTeX 
> 
> Using: 
> context --synctex filename.tex 
> works for me. 

Thank you for the reply, that was what I thought. Then it is probably
only my view settings in emacs that is wrong.

(And the sentence "SyncTeX currently does not work with MKIV." should
probably be removed from wiki.contextgarden :) )

-Trond

> 
> Mojca 
> ___
>  
> If your question is of interest to others as well, please add an entry to the 
> Wiki! 
> 
> maillist : ntg-context@ntg.nl / 
> https://heim.ifi.uio.no/trondth/.t/pm06Gceaq3.php (..)ntg.nl(..) 
> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net 
> archive : https://heim.ifi.uio.no/trondth/.t/Xo1s69g0pG.php 
> (..)foundry.supelec.fr(..) 
> 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] SyncTeX

2014-06-03 Thread Mojca Miklavec
On Tue, Jun 3, 2014 at 11:44 AM, Trond Thorbjørnsen wrote:
> Is MKIV still not working with SyncTeX?
>
> http://wiki.contextgarden.net/SyncTeX

Using:
context --synctex filename.tex
works for me.

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

[NTG-context] SyncTeX

2014-06-03 Thread Trond Thorbjørnsen
Is MKIV still not working with SyncTeX?

http://wiki.contextgarden.net/SyncTeX

--
Trond Thorbjørnsen
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___