[NTG-context] Re: Hbox error with itemized list on second page

2024-05-06 Thread Ross Schulman
So, unfortunately while using `\testpage` helped in the version of the resume I 
was working on at the time, I've encountered the error again now that some 
different content is making the page break at a different point, and setting 
`\testpage` as high as 6 is not fixing the problem. Is there something else I 
can/should try?

Thanks very much,
Ross

On Tue, Apr 30, 2024, at 12:20 PM, Ross Schulman wrote:
> Thank you. Adding that did the trick!
> 
> Best,
> Ross Schulman
> 
> On Tue, Apr 30, 2024, at 11:47 AM, Wolfgang Schuster wrote:
>> Ross Schulman schrieb am 30.04.2024 um 15:01:
>> > Hello,
>> > I'm attempting to format a resume in Context building off of a template 
>> > I found online. I'm having an odd error with some bullets on the second 
>> > page, however. I'm guessing it has something to do with my \definelayout 
>> > for the second (and subsequent) pages, but I can't figure it out for 
>> > sure. What is happening is that whichever bullets are at the top of the 
>> > second page are being wrapped as if they were appearing on the first 
>> > page, which has a different layout structure.
>> > 
>> > I've pasted a sanitized version of the tex file below. Any assistance 
>> > would be greatly appreciated!
>> > 
>> > Thanks,
>> > Ross Schulman
>> > 
>> > 
>> > [...]
>> > 
>> > Lorem Manager
>> > \startitemize[packed]
>> >\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>> >\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>> >\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>> >\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>> > \stopitemize
>> 
>> You can use the \testpage command to force a page break before the TeX 
>> mechanism to start a new page kicks in.
>> 
>> \startitemize[inbetween={\testpage[2]\blank}]
>>\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>>\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>>\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>>\item \ipsum[alternative=words, n=10, inbetween=\space] \par
>> \stopitemize
>> 
>> Wolfgang
>> ___
>> If your question is of interest to others as well, please add an entry to 
>> the Wiki!
>> 
>> maillist : ntg-context@ntg.nl / 
>> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
>> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
>> archive  : https://github.com/contextgarden/context
>> wiki : https://wiki.contextgarden.net
>> ___
>> 
> 
> ___
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / 
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive  : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
> ___
> 
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: weird \inlinetypebuffer interaction

2024-05-06 Thread Wolfgang Schuster

Pablo Rodriguez via ntg-context schrieb am 06.05.2024 um 20:06:

Dear list,

I have the following sample:

   \definefontfamily[mainface][tt][TeX Gyre Termes]


Apply the none feature when you set the monospace font, i.e.

\definefontfamily[...][tt][...][features=none]

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] weird \inlinetypebuffer interaction

2024-05-06 Thread Pablo Rodriguez via ntg-context
Dear list,

I have the following sample:

  \definefontfamily[mainface][tt][TeX Gyre Termes]
  \setupbodyfont[mainface]
  \starttext
  \startbuffer
  context --purgeall
  \stopbuffer
  inline \typeinlinebuffer

  block:
  \typebuffer
  \stoptext

As long as there is no defined font family for mono, \typeinlinebuffer
doesn’t convert -- into an en-dash (the same way as \typebuffer behaves).

But as in the sample above, when a font is defined for mono (at least
with \definefontfamily), \typeinlinebuffer converts -- into en-dashes
(different from \typebuffer).

Sorry, but how could I fix this \typeinlinebuffer?

This is important for me, since two hyphens is one of the most common
ways to marks options when invoking programs (which I try to explain to
others).

BTW, \sciteinlinebuffer seems have the same problem (in the scite module).

Many thanks for your help,

Pablo
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: transparent color

2024-05-06 Thread Wolfgang Schuster

Bruce Horrocks schrieb am 06.05.2024 um 15:30:

On 6 May 2024, at 09:41, Hans van der Meer via ntg-context  
wrote:

I would like to use a transparent version of an existing color. Thus
\definecolor[transparentcolor][color,t=0.2,a=1]
instead of
\definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1]
because I do not know the rgb values of the color that must be made 
transparent, only its name.

How to accomplish?

The Wiki page  gives the source files for 
various sets of colours (built in, crayola etc) and the source has the RGB values in 
a fairly obvious format.


\definecolor [wolley] [\colorcomponents{yellow},t=0.5,a=1]

\starttext

%\showcolorcomponents [yellow]

\framed[background=color,backgroundcolor=darkblue,foregroundcolor=yellow]{yellow}

\framed[background=color,backgroundcolor=darkblue,foregroundcolor=wolley]{wolley}

\stoptext

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: transparent color

2024-05-06 Thread Henning Hraban Ramm

Am 06.05.24 um 16:01 schrieb Jacob Kauffmann via ntg-context:



Am 06.05.2024 um 10:41 schrieb Hans van der Meer via ntg-context 
:

I would like to use a transparent version of an existing color. Thus
\definecolor[transparentcolor][color,t=0.2,a=1]
instead of
\definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1]
because I do not know the rgb values of the color that must be made 
transparent, only its name.

How to accomplish?


I think like this:

\definecolor[myred][r=.5]
\defineprocesscolor[myredish][myred][a=1,t=.2]


Oh, another one that I didn’t know. (Of course it’s in the source, but 
only Wolfgang knows all of it. ;-)


Hraban

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: transparent color

2024-05-06 Thread Jacob Kauffmann via ntg-context


> Am 06.05.2024 um 10:41 schrieb Hans van der Meer via ntg-context 
> :
> 
> I would like to use a transparent version of an existing color. Thus
> \definecolor[transparentcolor][color,t=0.2,a=1]
> instead of
> \definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1]
> because I do not know the rgb values of the color that must be made 
> transparent, only its name.
> 
> How to accomplish? 

I think like this:

\definecolor[myred][r=.5]
\defineprocesscolor[myredish][myred][a=1,t=.2]
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: transparent color

2024-05-06 Thread Bruce Horrocks


> On 6 May 2024, at 09:41, Hans van der Meer via ntg-context 
>  wrote:
> 
> I would like to use a transparent version of an existing color. Thus
> \definecolor[transparentcolor][color,t=0.2,a=1]
> instead of
> \definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1]
> because I do not know the rgb values of the color that must be made 
> transparent, only its name.
> 
> How to accomplish? 

The Wiki page  gives the source files for 
various sets of colours (built in, crayola etc) and the source has the RGB 
values in a fairly obvious format.

—
Bruce Horrocks
Hampshire, UK

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: transparent color

2024-05-06 Thread Henning Hraban Ramm

Am 06.05.24 um 10:41 schrieb Hans van der Meer via ntg-context:

I would like to use a transparent version of an existing color. Thus
\definecolor[transparentcolor][color,t=0.2,a=1]
instead of
\definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1]
because I do not know the rgb values of the color that must be made 
transparent, only its name.


How to accomplish?


Interesting task. Perhaps via multitone colors?
https://wiki.contextgarden.net/Spot_Colors

Otherwise you can use \definetransparency and \starttransparent around 
\color (or \startcolor).


Hraban

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] transparent color

2024-05-06 Thread Hans van der Meer via ntg-context
I would like to use a transparent version of an existing color. Thus
\definecolor[transparentcolor][color,t=0.2,a=1]
instead of
\definecolor[transparentcolor][r=..,g=..,b=..,t=0.2,a=1]
because I do not know the rgb values of the color that must be made 
transparent, only its name.

How to accomplish? 

yours sincerely
dr. Hans van der Meer



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___