ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Keep the right margin in [nothyphenated, flushleft] columns
@ 2022-08-12 12:01 Marcin Ciura via ntg-context
  2022-08-12 21:11 ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Marcin Ciura via ntg-context @ 2022-08-12 12:01 UTC (permalink / raw)
  To: ntg-context; +Cc: Marcin Ciura


[-- Attachment #1.1: Type: text/plain, Size: 830 bytes --]

Dear list,

I am typesetting [nothyphenated,flushleft] text in two columns. Some words
stick through the right margin of the left column, sometimes even
overlapping the right column. How can I make Context obey the right margin?

The MWE is below.

Here is the output PDF:
https://live.contextgarden.net/cgi-bin/result.cgi?id=UnSfnS


Best regards,

Marcin


\setupalign[nothyphenated,flushleft]

\starttext

\startitemize[n,nowhite,columns,two]

% The word '(boków' sticks through the right

% margin of the left column.

\item {\bf Wielokąt} to figura na płaszczyźnie,

której brzeg składa się z~odcinków

({\bf boków wielokąta}).

Końce boków nazywamy wierzchołkami wielokąta.

Czasem wyróżniamy jeden bok,

nazywając go podstawą wielokąta.

\stopitemize

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 1883 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Keep the right margin in [nothyphenated, flushleft] columns
  2022-08-12 12:01 Keep the right margin in [nothyphenated, flushleft] columns Marcin Ciura via ntg-context
@ 2022-08-12 21:11 ` Aditya Mahajan via ntg-context
  2022-08-12 22:16   ` Denis Maier via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-08-12 21:11 UTC (permalink / raw)
  To: Marcin Ciura via ntg-context; +Cc: Aditya Mahajan

On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote:

> Dear list,
> 
> I am typesetting [nothyphenated,flushleft] text in two columns. Some words
> stick through the right margin of the left column, sometimes even
> overlapping the right column. How can I make Context obey the right margin?

(Untested): Try adding 'tolerant' or 'verytolerant' to the align options.

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Keep the right margin in [nothyphenated, flushleft] columns
  2022-08-12 21:11 ` Aditya Mahajan via ntg-context
@ 2022-08-12 22:16   ` Denis Maier via ntg-context
  2022-08-13  9:06     ` Marcin Ciura via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Maier via ntg-context @ 2022-08-12 22:16 UTC (permalink / raw)
  To: ntg-context; +Cc: denis.maier

Also stretch might be useful as an additional option for align.

Denis

________________________________________
Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Aditya Mahajan via ntg-context <ntg-context@ntg.nl>
Gesendet: Freitag, 12. August 2022 23:11:21
An: Marcin Ciura via ntg-context
Cc: Aditya Mahajan
Betreff: Re: [NTG-context] Keep the right margin in [nothyphenated, flushleft] columns

On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote:

> Dear list,
>
> I am typesetting [nothyphenated,flushleft] text in two columns. Some words
> stick through the right margin of the left column, sometimes even
> overlapping the right column. How can I make Context obey the right margin?

(Untested): Try adding 'tolerant' or 'verytolerant' to the align options.

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Keep the right margin in [nothyphenated, flushleft] columns
  2022-08-12 22:16   ` Denis Maier via ntg-context
@ 2022-08-13  9:06     ` Marcin Ciura via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Marcin Ciura via ntg-context @ 2022-08-13  9:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marcin Ciura


[-- Attachment #1.1: Type: text/plain, Size: 2131 bytes --]

Thank you, Denis.
\setupalign[nothyphenated,flushleft,stretch] fixes the problem of overfull
lines.
Marcin

sob., 13 sie 2022 o 00:17 Denis Maier via ntg-context <ntg-context@ntg.nl>
napisał(a):

> Also stretch might be useful as an additional option for align.
>
> Denis
>
> ________________________________________
> Von: ntg-context <ntg-context-bounces@ntg.nl> im Auftrag von Aditya
> Mahajan via ntg-context <ntg-context@ntg.nl>
> Gesendet: Freitag, 12. August 2022 23:11:21
> An: Marcin Ciura via ntg-context
> Cc: Aditya Mahajan
> Betreff: Re: [NTG-context] Keep the right margin in [nothyphenated,
> flushleft] columns
>
> On Fri, 12 Aug 2022, Marcin Ciura via ntg-context wrote:
>
> > Dear list,
> >
> > I am typesetting [nothyphenated,flushleft] text in two columns. Some
> words
> > stick through the right margin of the left column, sometimes even
> > overlapping the right column. How can I make Context obey the right
> margin?
>
> (Untested): Try adding 'tolerant' or 'verytolerant' to the align options.
>
> Aditya
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://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://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://contextgarden.net
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3594 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2022-08-13  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-12 12:01 Keep the right margin in [nothyphenated, flushleft] columns Marcin Ciura via ntg-context
2022-08-12 21:11 ` Aditya Mahajan via ntg-context
2022-08-12 22:16   ` Denis Maier via ntg-context
2022-08-13  9:06     ` Marcin Ciura via ntg-context

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).