Re: [NTG-context] Text in a box now broken

2011-11-24 Thread Hans Hagen

On 24-11-2011 02:37, Kip Warner wrote:

On Wed, 2011-11-23 at 20:08 +0100, Hans Hagen wrote:

google: context wiki textbackground


Thanks, but I still don't know what was wrong with the old method. In
any case, I am experimenting now with textbackground. Thanks again for
your help.


the old one is fixed anyway


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


Re: [NTG-context] Text in a box now broken

2011-11-24 Thread Kip Warner
On Thu, 2011-11-24 at 09:44 +0100, Hans Hagen wrote:
 the old one is fixed anyway

Thanks anyways.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-23 Thread Hans Hagen

On 23-11-2011 02:41, Kip Warner wrote:


Hey Wolfgang. I just retested your minimal and realized that while it
does work, only for the first box. Try this and you'll see what I mean:


fixed in next beta


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


Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Kip Warner
On Wed, 2011-11-23 at 09:57 +0100, Hans Hagen wrote:
 fixed in next beta

Thanks Hans. I thought something was amiss and figured it was a bug,
since it was working fine until a recent new version of ConTeXt.
Hopefully the PPA I am drawing ConTeXt from pulls the fixed version some
time soon. Was the fix committed to mainline?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-23 Thread Hans Hagen

On 23-11-2011 10:01, Kip Warner wrote:

On Wed, 2011-11-23 at 09:57 +0100, Hans Hagen wrote:

fixed in next beta


Thanks Hans. I thought something was amiss and figured it was a bug,
since it was working fine until a recent new version of ConTeXt.
Hopefully the PPA I am drawing ConTeXt from pulls the fixed version some
time soon. Was the fix committed to mainline?


if you consider beta to be mainline, yes (but not yet uploaded)

(it was a side effect of mkiv-ing the code .. keep in mind that these 
backgrounds are somewhat old .. textbackgrounds are an alternative)


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


Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Kip Warner
On Wed, 2011-11-23 at 10:16 +0100, Hans Hagen wrote:
 if you consider beta to be mainline, yes (but not yet uploaded)
 
 (it was a side effect of mkiv-ing the code .. keep in mind that these 
 backgrounds are somewhat old .. textbackgrounds are an alternative)

Understood. Do you have a more appropriate version of what I was trying
to do using textbackgounds instead?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-23 Thread Hans Hagen

On 23-11-2011 10:25, Kip Warner wrote:

On Wed, 2011-11-23 at 10:16 +0100, Hans Hagen wrote:

if you consider beta to be mainline, yes (but not yet uploaded)

(it was a side effect of mkiv-ing the code .. keep in mind that these
backgrounds are somewhat old .. textbackgrounds are an alternative)


Understood. Do you have a more appropriate version of what I was trying
to do using textbackgounds instead?


it depends .. if you have small boxes, you as well use a regular 
framedtext (with background) or when you span pages you can use 
textbackgrounds ... the backgrounds you use is some compromise


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
___


Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Kip Warner
On Wed, 2011-11-23 at 11:03 +0100, Hans Hagen wrote:
 it depends .. if you have small boxes, you as well use a regular 
 framedtext (with background) or when you span pages you can use 
 textbackgrounds ... the backgrounds you use is some compromise 

Hmm, I am using boxes that sometimes span multiple pages. This is what I
was using originally. How would it look if it used textbackgrounds?

\definestartstop
[TimelineDocument]
[before={
\crlf
\setupbackground[frame=on,
 before=\blank,
 after=\blank,
 corner=round,
 topoffset=0.5cm,
 leftoffset=0.5cm,
 rightoffset=0.5cm,
 bottomoffset=0.5cm]
\startbackground
},
 after={
\stopbackground
\crlf
   },
 commands={\setupalign[yes]},
 style=italic]

\starttext
\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument
\stoptext

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-23 Thread Hans Hagen

On 23-11-2011 20:02, Kip Warner wrote:

On Wed, 2011-11-23 at 11:03 +0100, Hans Hagen wrote:

it depends .. if you have small boxes, you as well use a regular
framedtext (with background) or when you span pages you can use
textbackgrounds ... the backgrounds you use is some compromise


Hmm, I am using boxes that sometimes span multiple pages. This is what I
was using originally. How would it look if it used textbackgrounds?

\definestartstop
 [TimelineDocument]
 [before={
 \crlf
 \setupbackground[frame=on,
  before=\blank,
  after=\blank,
  corner=round,
  topoffset=0.5cm,
  leftoffset=0.5cm,
  rightoffset=0.5cm,
  bottomoffset=0.5cm]
 \startbackground
 },
  after={
 \stopbackground
 \crlf
},
  commands={\setupalign[yes]},
  style=italic]

\starttext
\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument
\stoptext



google: context wiki textbackground

--

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


Re: [NTG-context] Text in a box now broken

2011-11-23 Thread Kip Warner
On Wed, 2011-11-23 at 20:08 +0100, Hans Hagen wrote:
 google: context wiki textbackground

Thanks, but I still don't know what was wrong with the old method. In
any case, I am experimenting now with textbackground. Thanks again for
your help.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-22 Thread Kip Warner
On Tue, 2011-11-22 at 06:49 +0100, Wolfgang Schuster wrote:
 This is tested and works on my machine:
 
 \definebackground
   [TimelineDocumentFrame]
   [frame=on,
before=\blank,
after=\blank,
corner=round,
topoffset=0.5cm,
rightoffset=0.5cm]
 
 \definestartstop
   [TimelineDocument]
   [before=\startTimelineDocumentFrame,
after=\stopTimelineDocumentFrame,
style=italic]
 
 \starttext
 
 \startTimelineDocument
 Some stuff in a box.
 \stopTimelineDocument
 
 \stoptext
 
 Wolfgang

Thanks Wolfgang. You're always very helpful. Any idea why my version
stopped working or why it is not a good approach?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-22 Thread Kip Warner
On Tue, 2011-11-22 at 06:49 +0100, Wolfgang Schuster wrote:
 This is tested and works on my machine:
 
 \definebackground
   [TimelineDocumentFrame]
   [frame=on,
before=\blank,
after=\blank,
corner=round,
topoffset=0.5cm,
rightoffset=0.5cm]
 
 \definestartstop
   [TimelineDocument]
   [before=\startTimelineDocumentFrame,
after=\stopTimelineDocumentFrame,
style=italic]
 
 \starttext
 
 \startTimelineDocument
 Some stuff in a box.
 \stopTimelineDocument
 
 \stoptext
 
 Wolfgang

Hey Wolfgang. One other thing. Your \definebackground and
\defomestartstop works fine in the minimal example you gave, but if I
take it into my environment of my existing project and replace my old
\definestartstop with that, I still have the same problem of the mangled
box with no visible text in it.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com



signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-22 Thread Kip Warner
On Tue, 2011-11-22 at 06:49 +0100, Wolfgang Schuster wrote:
 This is tested and works on my machine:
 
 \definebackground
   [TimelineDocumentFrame]
   [frame=on,
before=\blank,
after=\blank,
corner=round,
topoffset=0.5cm,
rightoffset=0.5cm]
 
 \definestartstop
   [TimelineDocument]
   [before=\startTimelineDocumentFrame,
after=\stopTimelineDocumentFrame,
style=italic]
 
 \starttext
 
 \startTimelineDocument
 Some stuff in a box.
 \stopTimelineDocument
 
 \stoptext
 
 Wolfgang

Hey Wolfgang. I just retested your minimal and realized that while it
does work, only for the first box. Try this and you'll see what I mean:

\definebackground
[TimelineDocumentFrame]
[frame=on,
before=\blank,
after=\blank,
corner=round,
topoffset=0.5cm,
rightoffset=0.5cm]

\definestartstop
[TimelineDocument]
[before=\startTimelineDocumentFrame,
after=\stopTimelineDocumentFrame,
style=italic]

\starttext

\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument

\startTimelineDocument
Some more stuff in a box.
\stopTimelineDocument

\stoptext

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] Text in a box now broken

2011-11-21 Thread Wolfgang Schuster

Am 22.11.2011 um 06:23 schrieb Kip Warner:

 Hey folks,
 
 I noticed as of maybe a week ago, that all of the text I have positioned
 inside of a box has disappeared. I can see everything else, as before,
 but not the stuff in the box. The box just shows up as a mangled line.
 
 The following is a minimal example from ConTeXt version 2011.11.17
 09:18. This code was working just fine a few days ago.


This is tested and works on my machine:

\definebackground
  [TimelineDocumentFrame]
  [frame=on,
   before=\blank,
   after=\blank,
   corner=round,
   topoffset=0.5cm,
   rightoffset=0.5cm]

\definestartstop
  [TimelineDocument]
  [before=\startTimelineDocumentFrame,
   after=\stopTimelineDocumentFrame,
   style=italic]

\starttext

\startTimelineDocument
Some stuff in a box.
\stopTimelineDocument

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