Re: [NTG-context] Bug/change in fillinrules

2016-03-31 Thread Hans Hagen

On 3/31/2016 8:19 AM, Mari Voipio wrote:

Darn, a bug. Thank you, Wolfgang. I figured out a workaround that's ok
for now, but of course I hope that in the long run this gets fixed.


Mari

On Tue, Mar 29, 2016 at 7:09 PM, Wolfgang Schuster
<schuster.wolfg...@gmail.com> wrote:

Mari Voipio
29. März 2016 um 14:13
Hello,

after I updated to about newest ConTeXt, I found out that \fillinrules
doesn't work any more as expected, i.e. instead of filling the rest of
the first line, the rule now starts on the second line, below the text
that precedes \fillinrules. This doesn't match the behaviour indicated
in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug
or should I change something in my code? Now I have


\setupfillinrules
[n=1, %one rule per command \fillinrules
width=broad] %leaves some space between the text and the line

\starttext

\fillinrules{Refractometer serial no:}
\fillinrules{Customer:}
\fillinrules{Address:}
\fillinrules{Fax:}
\fillinrules{Email:}
\fillinrules{Sample description:}
\fillinrules{Solvent (water/other):}
\fillinrules{Laboratory method:}
\fillinrules{Date:}
\fillinrules{Data collected by:}

\stoptext

It’s a \thinrules bug which inserts a line break when you have only a single
line.

\starttext

Left \thinrules[n=1] Right

\blank

Left \thinrules[n=2] Right

\blank

Left \thinrules[n=3] Right

\stoptext


fixed in next beta



--

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | 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] Bug/change in fillinrules

2016-03-31 Thread Mari Voipio
Darn, a bug. Thank you, Wolfgang. I figured out a workaround that's ok
for now, but of course I hope that in the long run this gets fixed.


Mari

On Tue, Mar 29, 2016 at 7:09 PM, Wolfgang Schuster
<schuster.wolfg...@gmail.com> wrote:
> Mari Voipio
> 29. März 2016 um 14:13
> Hello,
>
> after I updated to about newest ConTeXt, I found out that \fillinrules
> doesn't work any more as expected, i.e. instead of filling the rest of
> the first line, the rule now starts on the second line, below the text
> that precedes \fillinrules. This doesn't match the behaviour indicated
> in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug
> or should I change something in my code? Now I have
>
>
> \setupfillinrules
> [n=1, %one rule per command \fillinrules
> width=broad] %leaves some space between the text and the line
>
> \starttext
>
> \fillinrules{Refractometer serial no:}
> \fillinrules{Customer:}
> \fillinrules{Address:}
> \fillinrules{Fax:}
> \fillinrules{Email:}
> \fillinrules{Sample description:}
> \fillinrules{Solvent (water/other):}
> \fillinrules{Laboratory method:}
> \fillinrules{Date:}
> \fillinrules{Data collected by:}
>
> \stoptext
>
> It’s a \thinrules bug which inserts a line break when you have only a single
> line.
>
> \starttext
>
> Left \thinrules[n=1] Right
>
> \blank
>
> Left \thinrules[n=2] Right
>
> \blank
>
> Left \thinrules[n=3] Right
>
> \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
> ___
___
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] Bug/change in fillinrules

2016-03-29 Thread Wolfgang Schuster

Mari Voipio <mailto:mari.voi...@iki.fi>
29. März 2016 um 14:13
Hello,

after I updated to about newest ConTeXt, I found out that \fillinrules
doesn't work any more as expected, i.e. instead of filling the rest of
the first line, the rule now starts on the second line, below the text
that precedes \fillinrules. This doesn't match the behaviour indicated
in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug
or should I change something in my code? Now I have


\setupfillinrules
[n=1, %one rule per command \fillinrules
width=broad] %leaves some space between the text and the line

\starttext

\fillinrules{Refractometer serial no:}
\fillinrules{Customer:}
\fillinrules{Address:}
\fillinrules{Fax:}
\fillinrules{Email:}
\fillinrules{Sample description:}
\fillinrules{Solvent (water/other):}
\fillinrules{Laboratory method:}
\fillinrules{Date:}
\fillinrules{Data collected by:}

\stoptext
It’s a \thinrules bug which inserts a line break when you have only a 
single line.


\starttext

Left \thinrules[n=1] Right

\blank

Left \thinrules[n=2] Right

\blank

Left \thinrules[n=3] Right

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

[NTG-context] Bug/change in fillinrules

2016-03-29 Thread Mari Voipio
Hello,

after I updated to about newest ConTeXt, I found out that \fillinrules
doesn't work any more as expected, i.e. instead of filling the rest of
the first line, the rule now starts on the second line, below the text
that precedes \fillinrules. This doesn't match the behaviour indicated
in http://wiki.contextgarden.net/Command/fillinrules . Is this a bug
or should I change something in my code? Now I have


\setupfillinrules
[n=1, %one rule per command \fillinrules
width=broad] %leaves some space between the text and the line

\starttext

\fillinrules{Refractometer serial no:}
\fillinrules{Customer:}
\fillinrules{Address:}
\fillinrules{Fax:}
\fillinrules{Email:}
\fillinrules{Sample description:}
\fillinrules{Solvent (water/other):}
\fillinrules{Laboratory method:}
\fillinrules{Date:}
\fillinrules{Data collected by:}

\stoptext


The resulting pdf is attached.


Thank you for your help,

Mari


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

Re: [NTG-context] \fillinrules with backgroundcolor

2004-01-29 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hans Hagen [EMAIL PROTECTED] writes:

This is the effect I like to see:

   Name: [   ]
   Address: []
   [ ]

Where [...] is a colored back ground.

 \definetextbackground[berend][state=start,location=text]

OK, just use tabulate instead of fillinrules. Thanks Hans!

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFAGNIvIyuuaiRyjTYRAk5LAJsHA8BAjyribtcAK6FVJeFiPXY14QCfU6o8
8DKXLB3N2LRIHde3juJDGbk=
=tH1C
-END PGP SIGNATURE-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \fillinrules with backgroundcolor

2004-01-26 Thread Berend de Boer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello All,

Does anyone know if it is possible to have fillinrules with a
background color? It would be even better if I didn't have the rule,
just a gray background for example.

This is the effect I like to see:

  Name: [   ]
  Address: []
  [ ]

Where [...] is a colored back ground.

Example:

\starttext
\fillinrules[n=1,width=broad]{Name}
\fillinrules[n=2,width=broad]{Address}
\stoptext

- -- 
Live long and prosper,

Berend de Boer
(PGP public key: http://www.pobox.com/~berend/berend-public-key.txt)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 http://mailcrypt.sourceforge.net/

iD8DBQFAFMwlIyuuaiRyjTYRAnH0AJ4uBjSCK9V49sTzleVICgfKsvhqzACfQBj4
WDqfzuSOEpgi7R9f8wS2bJI=
=NMfg
-END PGP SIGNATURE-

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context