[NTG-context] Inline mathematics is stretched

2023-10-29 Thread Mia Bikey
Hi,
I was using \setupalign[verytolerant,stretch] so that the mono font does
not go inside the right inline image but after using that command the
inline math seems to spread.

Here is a Minimal Working Example:

ConTeXt  ver: 2023.09.26 18:19 LMTX

\setupbodyfont[10pt, mono]

This is how it should look. \\
When $a, b, c$ are given, two values of $x$ and no more can be found which
shall make the function $ax^2 + bx + c$ vanish; that is, the equation
always has two roots and no more. The roots may be equal or unequal, real
or imaginary, according to circumstances. \\

\starttext

\setupalign[stretch]
This paragraph seems to look fine on 12pt. \\
When $a, b, c$ are given, two values of $x$ and no more can be found which
shall make the function $ax^2 + bx + c$ vanish; that is, the equation
always has two roots and no more. The roots may be equal or unequal, real
or imaginary, according to circumstances. \\

\setupalign[verytolerant, nothyphenated]
It looks even worse when I also use verytolerant and nothyphenated. \\
When $a, b, c$ are given, two values of $x$ and no more can be found which
shall make the function $ax^2 + bx + c$ vanish; that is, the equation
always has two roots and no more. The roots may be equal or unequal, real
or imaginary, according to circumstances.

\stoptext


Thisishowitlooks.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 / 
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: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mia Bikey
Hi Pablo,
I am on Windows 10 and using Firefox 119 with default PDF.js.
I made a completely new profile to check and the issue exists there too.
Though after testing a bit I realized that the white lines appear on
specific zoom levels and disappear on others.
White lines appear on sumatra too but on a specific zoom level.
There are now some bottom white lines too on some zoom levels.
Okay the issue seems to be happening on all pdf files regardless of whether
it was made from context or not. The black background just allows me to
notice it.
Thank you for checking.

On Sat, Oct 28, 2023 at 9:34 PM Pablo Rodriguez via ntg-context <
ntg-context@ntg.nl> wrote:

> On 10/28/23 16:26, Mia Bikey wrote:
> > Well I was using firefox to open my pdf and did not check it on anything
> > else.
> > I opened the pdf in sumatra, adobe, microsoft edge and yeah there is no
> > white line.
> > Seems like it is a firefox issue then.
>
> Hi Mia,
>
> opening your attachment with Firefox 119 (and the version of PDF.js that
> comes with it) on Linux, I was not able to find any white line in your
> attachment or in the output from the you source (with zoom set to 400%).
>
> Just in case it might 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
>
> ___
>
___
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: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
 Thanks, that works great.


On Sat, Oct 28, 2023 at 7:10 PM Hans Hagen  wrote:

> On 10/28/2023 2:25 PM, Henning Hraban Ramm wrote:
> > Am 28.10.23 um 14:17 schrieb Mia Bikey:
> >> Hi,
> >> I was using mono font as my default font but it appears to have issues
> >> with right side inline images.
> >>
> >> Here is a Minimal Working Example:
> >>
> >> ConTeXt  ver: 2023.09.26 18:19 LMTX
> >>
> >> \setupbodyfont[mono]
> >>
> >> \starttext
> >>
> >> Image on the right side gets issues.
> >> \placefigure[right]{}{\externalfigure[dummy]}
> >> \input tufte \\
> >>
> >> Image on the left side is fine.
> >> \placefigure[left]{}{\externalfigure[dummy]}
> >> \input tufte
> >>
> >> \stoptext
> >
> > I fear there’s something generally wrong with mono font calculations,
> > also affecting line breaking, since I get overfull hboxes with code
> > examples all the time.
> mono runs way to wide for decent linebreaks so use
>
> \setupalign[verytolerant,stretch]
>
>
>
> -
>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 /
> 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: Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mia Bikey
Well I was using firefox to open my pdf and did not check it on anything
else.
I opened the pdf in sumatra, adobe, microsoft edge and yeah there is no
white line.
Seems like it is a firefox issue then.
Thank You

On Sat, Oct 28, 2023 at 7:50 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:

> Mikael Sundqvist schrieb am 28.10.2023 um 16:14:
> > Hi,
> >
> > I cannot reproduce it, and I do not see a white line in your file.
> > Maybe I look at the wrong place.
>
> Neither do I see a white line in the pdf.
>
> Which OS and PDF reader do you use and have you checked with a different
> reader?
>
> 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
___


[NTG-context] Double sided pages leave a thin white line on the right side

2023-10-28 Thread Mia Bikey
Hi,
I was using \setuppagenumbering[alternative=doublesided] to get double
sided pages.
After doing that I noticed a thin white line on the right side.

Here is a Minimal Working Example:

ConTeXt  ver: 2023.09.26 18:19 LMTX

\setupbackgrounds[page][background=color,backgroundcolor=black]
\setuppagenumbering[alternative=doublesided]

\starttext
a
\stoptext


Thisishowitlooks.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 / 
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: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
Ah that sucks, I really like how the font looks.
I guess I will use some other font then.
Thank You

On Sat, Oct 28, 2023 at 5:56 PM Henning Hraban Ramm  wrote:

> Am 28.10.23 um 14:17 schrieb Mia Bikey:
> > Hi,
> > I was using mono font as my default font but it appears to have issues
> > with right side inline images.
> >
> > Here is a Minimal Working Example:
> >
> > ConTeXt  ver: 2023.09.26 18:19 LMTX
> >
> > \setupbodyfont[mono]
> >
> > \starttext
> >
> > Image on the right side gets issues.
> > \placefigure[right]{}{\externalfigure[dummy]}
> > \input tufte \\
> >
> > Image on the left side is fine.
> > \placefigure[left]{}{\externalfigure[dummy]}
> > \input tufte
> >
> > \stoptext
>
> I fear there’s something generally wrong with mono font calculations,
> also affecting line breaking, since I get overfull hboxes with code
> examples all the time.
>
> 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
>
> ___
>
___
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] Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
Hi,
I was using mono font as my default font but it appears to have issues with
right side inline images.

Here is a Minimal Working Example:

ConTeXt  ver: 2023.09.26 18:19 LMTX

\setupbodyfont[mono]

\starttext

Image on the right side gets issues.
\placefigure[right]{}{\externalfigure[dummy]}
\input tufte \\

Image on the left side is fine.
\placefigure[left]{}{\externalfigure[dummy]}
\input tufte

\stoptext


This is how it looks.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 / 
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: Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
Ah, wrong attachment.
Here is the correct one.

On Sat, Oct 28, 2023 at 5:18 PM Mia Bikey  wrote:

> Hi,
> I was trying to get all my references black as it goes well along with
> black text but they appear red in some pages.
>
> I have reinstalled context in case there was some software issue but it is
> still the same.
>
> Here is a minimal working example:
>
> ConTeXt  ver: 2023.09.26 18:19 LMTX
>
> \setupinteraction[state=start, color=black]
>
> \starttext
>
> \placeformula[eq:equation1]
> \startformula
> x
> \stopformula
>
> References are red on the first page \in[eq:equation1]
> \at{page}[eq:equation1]
>
> \input tufte
> \input tufte
> \input tufte
> \input tufte
> \input tufte
>
> Now they become black \in[eq:equation1] \at{page}[eq:equation1]
>
> \stoptext
>


This is how it looks 2.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 / 
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] Color option in \setupinteraction doesn't work sometimes

2023-10-28 Thread Mia Bikey
Hi,
I was trying to get all my references black as it goes well along with
black text but they appear red in some pages.

I have reinstalled context in case there was some software issue but it is
still the same.

Here is a minimal working example:

ConTeXt  ver: 2023.09.26 18:19 LMTX

\setupinteraction[state=start, color=black]

\starttext

\placeformula[eq:equation1]
\startformula
x
\stopformula

References are red on the first page \in[eq:equation1]
\at{page}[eq:equation1]

\input tufte
\input tufte
\input tufte
\input tufte
\input tufte

Now they become black \in[eq:equation1] \at{page}[eq:equation1]

\stoptext


This is how it looks.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 / 
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
___