[NTG-context] Line numbering in columns broken

2014-04-04 Thread Jeremy Engel
In the latest beta (2014.04.03 16:20) there are updates to the line
numbering system that break its function in columns. (In the past it didn't
work at all in many situations, not it works but in a buggy way).

In the example below, the line numbering passes over everything twice
resulting in two overlapping numbers for each line.

\starttext

\startlinenumbering
  \startcolumns
  \input{knuth}
  \stopcolumns
\stoplinenumbering

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

Re: [NTG-context] Possible bug: definetextbackground and grid layout

2014-04-04 Thread Rik Kabel

On 2014-04-04 17:22, Rik Kabel wrote:

On 2014-04-04 17:17, Rik Kabel wrote:

The following example fails to compile, complaining "Missing { inserted."

It compiles cleanly  if one or more of the three marked lines are 
removed.


This is the case with TL2013 and with recent standalone beta 
versions. I do not know if it ever worked.


\setuplayout [grid=yes]%line one
\definetextbackground[TB][
 topoffset=.25em,bottomoffset=.25em,% line two
 location=paragraph,% line three
]
\starttext
\startTB
  prisca iuvent alios ego me nunc denique natum gratulor: haec
  aetas moribus apta meis.
\stopTB
\stoptext

--
Rik



Sorry for the noise. It needs alternative= instead of location= in the 
textbackground definition.


Where can we find the command description?

Perhaps I retracted too quickly. The background is not placed with 
alternative=paragraph. It looks like all I did using that was to remove 
one of the three problem lines.


To be clear, this is an issue with MKIV.
___
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] Possible bug: definetextbackground and grid layout

2014-04-04 Thread Rik

On 2014-04-04 17:22, Rik Kabel wrote:

On 2014-04-04 17:17, Rik Kabel wrote:

The following example fails to compile, complaining "Missing { inserted."

It compiles cleanly  if one or more of the three marked lines are 
removed.


This is the case with TL2013 and with recent standalone beta 
versions. I do not know if it ever worked.


\setuplayout [grid=yes]%line one
\definetextbackground[TB][
 topoffset=.25em,bottomoffset=.25em,% line two
 location=paragraph,% line three
]
\starttext
\startTB
  prisca iuvent alios ego me nunc denique natum gratulor: haec
  aetas moribus apta meis.
\stopTB
\stoptext

--
Rik



Sorry for the noise. It needs alternative= instead of location= in the 
textbackground definition.


Where can we find the command description?
Perhaps I retracted too quickly. The background is not placed with 
alternative=paragraph. It looks like all I did using that was to remove 
one of the three problem lines.


To be clear, this is an issue with MKIV.

--
Rik
___
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] Possible bug: definetextbackground and grid layout

2014-04-04 Thread Rik Kabel

On 2014-04-04 17:17, Rik Kabel wrote:

The following example fails to compile, complaining "Missing { inserted."

It compiles cleanly  if one or more of the three marked lines are removed.

This is the case with TL2013 and with recent standalone beta versions. 
I do not know if it ever worked.


\setuplayout [grid=yes]%line one
\definetextbackground[TB][
 topoffset=.25em,bottomoffset=.25em,% line two
 location=paragraph,% line three
]
\starttext
\startTB
  prisca iuvent alios ego me nunc denique natum gratulor: haec
  aetas moribus apta meis.
\stopTB
\stoptext

--
Rik



Sorry for the noise. It needs alternative= instead of location= in the 
textbackground definition.


Where can we find the command description?

--
Rik
___
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] Possible bug: definetextbackground and grid layout

2014-04-04 Thread Rik Kabel

The following example fails to compile, complaining "Missing { inserted."

It compiles cleanly  if one or more of the three marked lines are removed.

This is the case with TL2013 and with recent standalone beta versions. I 
do not know if it ever worked.


   \setuplayout [grid=yes]%line one
   \definetextbackground[TB][
 topoffset=.25em,bottomoffset=.25em,% line two
 location=paragraph,% line three
]
   \starttext
   \startTB
  prisca iuvent alios ego me nunc denique natum gratulor: haec
  aetas moribus apta meis.
   \stopTB
   \stoptext

--
Rik
___
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] PSTricks with ConTeXT

2014-04-04 Thread Fabrice

Hi,
Sorry to insist, but does this code compile?

\starttyping
\usemodule[pstricks]
\usePSTRICKSmodule[pst-barcode]
\startPSTRICKS
\pspicture(-4mm,-1mm)(38mm,26mm)
\psbarcode{9781860742712}{includetext guardwhitespace}{ean13}%
\endpspicture
\stopPSTRICKS
\stoptyping


In fact, I get a white page, is this normal ?
I tried to put myself in TikZ which is well supported by ConTeXt, but I 
much prefer PSTricks.

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


Re: [NTG-context] \setbreakpoints[compound] in tables

2014-04-04 Thread Hans Hagen

On 4/4/2014 2:55 PM, Philipp A. wrote:

hi, when inputting table data using \processdatabasefile, my initial
\setbreakpoints[compound] seems to have no effect.

is there a way to make it work?


no example .. no answer

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
___


[NTG-context] \setbreakpoints[compound] in tables

2014-04-04 Thread Philipp A.
hi, when inputting table data using \processdatabasefile, my initial
\setbreakpoints[compound] seems to have no effect.

is there a way to make it work?
___
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
___