ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ctxtools
@ 2010-09-07 14:17 Jörg Hagmann
  2010-09-07 14:54 ` ctxtools Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Jörg Hagmann @ 2010-09-07 14:17 UTC (permalink / raw)
  To: ntg-context

  I did use ctxtools for purging files. But now the command is not found 
any longer. I installed new minimals, but that didn't help.

context version:
MTXrun | current version: 2010.09.05 13:23
platform: Mac OS X 10.6.4

Thanks, Jörg
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ctxtools
  2010-09-07 14:17 ctxtools Jörg Hagmann
@ 2010-09-07 14:54 ` Wolfgang Schuster
  2010-09-08  8:48   ` ctxtools Jörg Hagmann
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2010-09-07 14:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 07.09.2010 um 16:17 schrieb Jörg Hagmann:

> I did use ctxtools for purging files. But now the command is not found any longer. I installed new minimals, but that didn't help.


context --purge(all)

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ctxtools
  2010-09-07 14:54 ` ctxtools Wolfgang Schuster
@ 2010-09-08  8:48   ` Jörg Hagmann
  2010-09-08  8:51     ` ctxtools luigi scarso
  0 siblings, 1 reply; 10+ messages in thread
From: Jörg Hagmann @ 2010-09-08  8:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  Thanks, Wolfgang.
But "context --purge(all)" gives me:
-bash: syntax error near unexpected token `('
Did I misunderstand something?

Jörg

On 9/7/10 4:54 PM, Wolfgang Schuster wrote:
> Am 07.09.2010 um 16:17 schrieb Jörg Hagmann:
>
>> I did use ctxtools for purging files. But now the command is not found any longer. I installed new minimals, but that didn't help.
>
> context --purge(all)
>
> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: ctxtools
  2010-09-08  8:48   ` ctxtools Jörg Hagmann
@ 2010-09-08  8:51     ` luigi scarso
  2010-09-10  7:28       ` background, mkii vs. mkiv Jörg Hagmann
  0 siblings, 1 reply; 10+ messages in thread
From: luigi scarso @ 2010-09-08  8:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, Sep 8, 2010 at 10:48 AM, Jörg Hagmann <joerg.hagmann@unibas.ch> wrote:
>  Thanks, Wolfgang.
> But "context --purge(all)" gives me:
> -bash: syntax error near unexpected token `('
> Did I misunderstand something?
$> context --purge
or
$>context --purgeall

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* background, mkii vs. mkiv
  2010-09-08  8:51     ` ctxtools luigi scarso
@ 2010-09-10  7:28       ` Jörg Hagmann
  2010-09-10 14:01         ` Jörg Hagmann
  0 siblings, 1 reply; 10+ messages in thread
From: Jörg Hagmann @ 2010-09-10  7:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  Could somebody please tell me why this minimal example works in mk II 
but not in mk IV -- and what I have to change?
Thanks very much, Jörg

---------minimal example--------------------------------
\definestartstop[Questions][before={\setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]\startbackground},after=\stopbackground]

\starttext

\startQuestions
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopQuestions


\stoptext
------------end minimal example----------------------

PS: On 9/8/10 10:51 AM, luigi scarso wrote:
> Did I misunderstand something?
> $>  context --purge
> or
> $>context --purgeal
I'm embarrassed ...
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: background, mkii vs. mkiv
  2010-09-10  7:28       ` background, mkii vs. mkiv Jörg Hagmann
@ 2010-09-10 14:01         ` Jörg Hagmann
  2010-09-10 14:06           ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Jörg Hagmann @ 2010-09-10 14:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  Ok, I narrowed it down:

-------First minimal example-----------
\setupcolors[state=start]

\starttext

\setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
\startbackground

\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize

\stopbackground

\stoptext
---------end of first minimal example

This works in mk II, but not in mk IV.  It seems that 
start/stopbackground has been deprecated (?). And replaced with 
\definetextbackground ?

-------Second minimal example---------------------
\setupcolors[state=start]
\starttext

\setuptextbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]

\starttextbackground


\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize

\stoptextbackground

\stoptext
---------end of second minimal example-----------------------

This "works" in both mk II and mk IV, but compare the background with 
the one in the first example.

Help appreciated, thanks
Jörg


On 9/10/10 9:28 AM, Jörg Hagmann wrote:
>  Could somebody please tell me why this minimal example works in mk II 
> but not in mk IV -- and what I have to change?
> Thanks very much, Jörg
>
> ---------minimal example--------------------------------
> \definestartstop[Questions][before={\setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]\startbackground},after=\stopbackground] 
>
>
> \starttext
>
> \startQuestions
> \startitemize[packed]
> \item First question
> \item Second question
> \item Third question
> \stopitemize
> \stopQuestions
>
>
> \stoptext
> ------------end minimal example----------------------
>
> PS: On 9/8/10 10:51 AM, luigi scarso wrote:
>> Did I misunderstand something?
>> $>  context --purge
>> or
>> $>context --purgeal
> I'm embarrassed ...
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: background, mkii vs. mkiv
  2010-09-10 14:01         ` Jörg Hagmann
@ 2010-09-10 14:06           ` Wolfgang Schuster
  2010-09-10 14:52             ` Jörg Hagmann
  2010-09-10 14:52             ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2010-09-10 14:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 10.09.2010 um 16:01 schrieb Jörg Hagmann:

> Ok, I narrowed it down:
> 
> -------First minimal example-----------
> \setupcolors[state=start]
> 
> \starttext
> 
> \setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
> \startbackground
> 
> \startitemize[packed]
> \item First question
> \item Second question
> \item Third question
> \stopitemize
> 
> \stopbackground
> 
> \stoptext
> ---------end of first minimal example
> 
> This works in mk II, but not in mk IV.  It seems that start/stopbackground has been deprecated (?). And replaced with \definetextbackground ?

The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef
definitions with real counters and forgot for the background macros to add

\setnewconstant\backgroundsplit\zerocount

to pack-rul.mkiv.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: background, mkii vs. mkiv
  2010-09-10 14:06           ` Wolfgang Schuster
@ 2010-09-10 14:52             ` Jörg Hagmann
  2010-09-10 15:09               ` Wolfgang Schuster
  2010-09-10 14:52             ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Jörg Hagmann @ 2010-09-10 14:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

  Thank you, Wolfgang. I added the line 
"\setnewconstant\backgroundsplit\zerocount" to pack-rul.mkiv, AND IT WORKED!
This leaves the (not vital for me) question why minimal example 2 (using 
"setuptextbackground") produces that funny background with the same 
commands as in "setupbackground".

Thanks again, Jörg
On 9/10/10 4:06 PM, Wolfgang Schuster wrote:
> Am 10.09.2010 um 16:01 schrieb Jörg Hagmann:
>
>> Ok, I narrowed it down:
>>
>> -------First minimal example-----------
>> \setupcolors[state=start]
>>
>> \starttext
>>
>> \setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
>> \startbackground
>>
>> \startitemize[packed]
>> \item First question
>> \item Second question
>> \item Third question
>> \stopitemize
>>
>> \stopbackground
>>
>> \stoptext
>> ---------end of first minimal example
>>
>> This works in mk II, but not in mk IV.  It seems that start/stopbackground has been deprecated (?). And replaced with \definetextbackground ?
> The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef
> definitions with real counters and forgot for the background macros to add
>
> \setnewconstant\backgroundsplit\zerocount
>
> to pack-rul.mkiv.
>
> 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
> ___________________________________________________________________________________
>

-- 
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: background, mkii vs. mkiv
  2010-09-10 14:06           ` Wolfgang Schuster
  2010-09-10 14:52             ` Jörg Hagmann
@ 2010-09-10 14:52             ` Hans Hagen
  1 sibling, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2010-09-10 14:52 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On 10-9-2010 4:06, Wolfgang Schuster wrote:

> The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef
> definitions with real counters and forgot for the background macros to add
>
> \setnewconstant\backgroundsplit\zerocount

actually i forgot to change a couple of them into \backgroundsplitmode

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: background, mkii vs. mkiv
  2010-09-10 14:52             ` Jörg Hagmann
@ 2010-09-10 15:09               ` Wolfgang Schuster
  0 siblings, 0 replies; 10+ messages in thread
From: Wolfgang Schuster @ 2010-09-10 15:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 10.09.2010 um 16:52 schrieb Jörg Hagmann:

> Thank you, Wolfgang. I added the line "\setnewconstant\backgroundsplit\zerocount" to pack-rul.mkiv, AND IT WORKED!
> This leaves the (not vital for me) question why minimal example 2 (using "setuptextbackground") produces that funny background with the same commands as in "setupbackground".

Add “location=paragraph” to \setuptextbackground, to remove the empty line
after the itemize environment add “nowhite” to \startitemize.

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-09-10 15:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-07 14:17 ctxtools Jörg Hagmann
2010-09-07 14:54 ` ctxtools Wolfgang Schuster
2010-09-08  8:48   ` ctxtools Jörg Hagmann
2010-09-08  8:51     ` ctxtools luigi scarso
2010-09-10  7:28       ` background, mkii vs. mkiv Jörg Hagmann
2010-09-10 14:01         ` Jörg Hagmann
2010-09-10 14:06           ` Wolfgang Schuster
2010-09-10 14:52             ` Jörg Hagmann
2010-09-10 15:09               ` Wolfgang Schuster
2010-09-10 14:52             ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).