Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Wolfgang Schuster

Mike Cooper schrieb am 01.07.2020 um 22:30:

-Original Message-
From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning
Hraban Ramm
Sent: Wednesday, July 01, 2020 1:30 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] something between packed and "small"??



Am 01.07.2020 um 21:04 schrieb Mike Cooper

:

Me again…

I’ve got an itemize that needs to fit on one page.  I’ve been using

inbetween={\blank[small]} for all the other analogous lists but this one is 
longer and
with that spacing, it goes about one inch onto the next page.  But if I use 
packed,
the list is way too crammed together and there’s about 2.5 inches of extra 
space on
the page!

How do I go smaller than small?  Is there a “lightly packed”?  Or other degrees?

I’ve tried \blank[1mm] and other dimensions but nothing will go smaller than

small…  :-(

\blank understands an arbitrary measure, e.g. \blank[3pt] or \blank[0.25em]

Probably also \blank[0.5*small] works (didn’t check, but \blank[3*big] works).

Otherwise see https://wiki.contextgarden.net/Command/blank

Hraban


Thanks Hraban,

These don't work though...  It appears that a decimal will work with a dimension (like 
em) but not with small.  \blank[0.5*small] causes this "fatal error":

  ["lasttexerror"]="! Illegal unit of measure (pt inserted)",

The number before the asterisk is a multiplier to repeat the value n times.

I had tried em then pt, then mm.  But it won't get any smaller than small = 3mm 
= 10pt = 0.9em = small.  Except packed, that is...

Surely there is something in between small and packed??
The value for small is font dependent which results with the default 
font and size. When you check the value you can see it is slightly 
smaller than 1mm which means when you use \blank[1mm] your manual 
setting is too large.


\starttext

\the\smallskipamount

\PtToCm{\the\dimexpr\smallskipamount\relax}

\the\dimexpr0.5ex\relax

\stoptext


I looked at the Command/blank page multiple times and searched the wiki and the 
web in every way I could think of.  I only ask the list when I absolutely can't 
find anything.  (Of course, at least once, it was there where I had already 
looked but I didn't understand enough to realize it!)  I even gave searching 
the mailing list archives a shot.


\starttext

\startitemize
\startitem First item \stopitem
\startitem Second item \stopitem
\startitem Third item \stopitem
\stopitemize

\startitemize[inbetween={\blank[small]}]
\startitem First item \stopitem
\startitem Second item \stopitem
\startitem Third item \stopitem
\stopitemize

\startitemize[inbetween={\blank[1.5pt]}]
\startitem First item \stopitem
\startitem Second item \stopitem
\startitem Third item \stopitem
\stopitemize

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Mike Cooper


> -Original Message-
> From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning
> Hraban Ramm
> Sent: Wednesday, July 01, 2020 1:30 PM
> To: mailing list for ConTeXt users
> Subject: Re: [NTG-context] something between packed and "small"??
> 
> 
> > Am 01.07.2020 um 21:04 schrieb Mike Cooper
> :
> >
> > Me again…
> >
> > I’ve got an itemize that needs to fit on one page.  I’ve been using
> inbetween={\blank[small]} for all the other analogous lists but this one is 
> longer and
> with that spacing, it goes about one inch onto the next page.  But if I use 
> packed,
> the list is way too crammed together and there’s about 2.5 inches of extra 
> space on
> the page!
> >
> > How do I go smaller than small?  Is there a “lightly packed”?  Or other 
> > degrees?
> >
> > I’ve tried \blank[1mm] and other dimensions but nothing will go smaller than
> small…  :-(
> 
> \blank understands an arbitrary measure, e.g. \blank[3pt] or \blank[0.25em]
> 
> Probably also \blank[0.5*small] works (didn’t check, but \blank[3*big] works).
> 
> Otherwise see https://wiki.contextgarden.net/Command/blank
> 
> Hraban


Thanks Hraban,

These don't work though...  It appears that a decimal will work with a 
dimension (like em) but not with small.  \blank[0.5*small] causes this "fatal 
error":

 ["lasttexerror"]="! Illegal unit of measure (pt inserted)",

I had tried em then pt, then mm.  But it won't get any smaller than small = 3mm 
= 10pt = 0.9em = small.  Except packed, that is...

Surely there is something in between small and packed??

I looked at the Command/blank page multiple times and searched the wiki and the 
web in every way I could think of.  I only ask the list when I absolutely can't 
find anything.  (Of course, at least once, it was there where I had already 
looked but I didn't understand enough to realize it!)  I even gave searching 
the mailing list archives a shot.

Thanks again!



___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Wiki ConText Installation updated

2020-07-01 Thread Garulfo

Great ! Many thanks.

Le 01/07/2020 à 17:57, Taco Hoekwater a écrit :

Hi all,

Today I updated the ConText behind wiki.contextgarden.net, 
live.contextgarden.net and source.contextgarden.net to the current latest: 
2020.06.30 17:30.

* The wiki’s  tag now defaults to “lmtx” mode, and you can switch back 
to “mkiv“ using the  “mode” attribute. The “mkii” mode is no longer working.
* The wiki’s  now supports the latest ConText as well, and I added 
support for all the “system-level” commands. Also the colors have changed a little 
and generated commands now have a link back to generating command.

* the live website always run lmtx.

* the source website’s software has been improved a little as well; I have 
updated the documentation page accordingly.

Happy TeXing,
Taco


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] something between packed and "small"??

2020-07-01 Thread Henning Hraban Ramm


> Am 01.07.2020 um 21:04 schrieb Mike Cooper 
> :
> 
> Me again…
>  
> I’ve got an itemize that needs to fit on one page.  I’ve been using 
> inbetween={\blank[small]} for all the other analogous lists but this one is 
> longer and with that spacing, it goes about one inch onto the next page.  But 
> if I use packed, the list is way too crammed together and there’s about 2.5 
> inches of extra space on the page!
>  
> How do I go smaller than small?  Is there a “lightly packed”?  Or other 
> degrees?
>  
> I’ve tried \blank[1mm] and other dimensions but nothing will go smaller than 
> small…  :-(

\blank understands an arbitrary measure, e.g. \blank[3pt] or \blank[0.25em]

Probably also \blank[0.5*small] works (didn’t check, but \blank[3*big] works).

Otherwise see https://wiki.contextgarden.net/Command/blank

Hraban

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] something between packed and "small"??

2020-07-01 Thread Mike Cooper
Me again...

I've got an itemize that needs to fit on one page.  I've been using 
inbetween={\blank[small]} for all the other analogous lists but this one is 
longer and with that spacing, it goes about one inch onto the next page.  But 
if I use packed, the list is way too crammed together and there's about 2.5 
inches of extra space on the page!

How do I go smaller than small?  Is there a "lightly packed"?  Or other degrees?

I've tried \blank[1mm] and other dimensions but nothing will go smaller than 
small...  :-(

THANKS FOR YOUR HELP!!


Mike Cooper
Technical Trainer
Murchison Drilling Schools, Inc.
2501 Juan Tabo NE
Albuquerque, NM 87112
Tel: (505) 293-6271
Fax: (505) 298-5294
Email: 
m...@murchisondrillingschools.com
Website: 
www.murchisondrillingschools.com
[cid:image007.jpg@01D03ADC.BD6E6850]
  [cid:image008.jpg@01D03ADC.BD6E6850] 
   
[cid:image009.jpg@01D03ADC.BD6E6850] 
Murchison Drilling Schools is now part of
[cid:image001.png@01D63515.857FD120]

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] Wiki ConText Installation updated

2020-07-01 Thread Taco Hoekwater
Hi all,

Today I updated the ConText behind wiki.contextgarden.net, 
live.contextgarden.net and source.contextgarden.net to the current latest: 
2020.06.30 17:30.

* The wiki’s  tag now defaults to “lmtx” mode, and you can switch back 
to “mkiv“ using the  “mode” attribute. The “mkii” mode is no longer working.
* The wiki’s  now supports the latest ConText as well, and I added 
support for all the “system-level” commands. Also the colors have changed a 
little and generated commands now have a link back to generating command.

* the live website always run lmtx.

* the source website’s software has been improved a little as well; I have 
updated the documentation page accordingly.

Happy TeXing,
Taco


___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Avoid indentation after \typebuffer

2020-07-01 Thread Hans Hagen

On 7/1/2020 12:25 PM, Mikael Sundqvist wrote:


Does the indentnext do something else for this setup?

I'll look at it

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Avoid indentation after \typebuffer

2020-07-01 Thread Mikael Sundqvist
On Wed, Jul 1, 2020 at 8:53 AM Hans Hagen  wrote:

> On 6/30/2020 9:50 PM, Mikael Sundqvist wrote:
> > Hi,
> >
> > I want to avoid indentation after \typebuffer (or set indentnext to auto
> > perhaps). I am probably missing something simple, but I thought that the
> > example file below should have worked:
> >
> > \setupindenting[yes,medium]
> >
> > \setuptyping[buffer][
> > indentnext=no,
> > ]
> >
> > \starttext
> >
> > \startbuffer
> > \startformula
> > \int_a^b f'(x)\,dx
> > \stopformula
> > \stopbuffer
> >
> > \typebuffer
> > I do not want this line to be indented.
> >
> > \stoptext
> >
> > Compiled with an updated lmxt, and resulting pdf file is attached.
> \setuptyping
>[buffer]
>[before=\blank,
> after={\blank\noindentation}]% indentnext=no]
>
>
OK, that is a way around. I thought the indentnext existed for this, since
it was present in http://www.pragma-ade.com/general/qrcs/setup-en.pdf

Does the indentnext do something else for this setup?

/Mikael
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] Avoid indentation after \typebuffer

2020-07-01 Thread Hans Hagen

On 6/30/2020 9:50 PM, Mikael Sundqvist wrote:

Hi,

I want to avoid indentation after \typebuffer (or set indentnext to auto 
perhaps). I am probably missing something simple, but I thought that the 
example file below should have worked:


\setupindenting[yes,medium]

\setuptyping[buffer][
indentnext=no,
]

\starttext

\startbuffer
\startformula
\int_a^b f'(x)\,dx
\stopformula
\stopbuffer

\typebuffer
I do not want this line to be indented.

\stoptext

Compiled with an updated lmxt, and resulting pdf file is attached.

\setuptyping
  [buffer]
  [before=\blank,
   after={\blank\noindentation}]% indentnext=no]

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___