ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Trimming (rearranging) long section name
@ 2023-09-04 11:06 Lukas via ntg-context
  2023-09-04 11:25 ` [NTG-context] " Henning Hraban Ramm
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas via ntg-context @ 2023-09-04 11:06 UTC (permalink / raw)
  To: ConTeXt; +Cc: context

[-- Attachment #1: Type: text/plain, Size: 737 bytes --]

Hello,

is there a way to alter the section name to be

"
Specifické požadavky pro předpokládanou technologii
stavby (přístupy, přívody el. energie, skladovací plochy,
montážní a pomocné plochy, montážní a pomocné konstrukce,
...)
"

instead of

"
Specifické požadavky pro předpokládanou technologii stavby
(přístupy, přívody el. energie, skladovací plochy, mon-
tážní a pomocné plochy, montážní a pomocné konstrukce,
...)
"

IOW to force the word "stavby" not to cross the right border (see the
green vertical line) but to appear on the next line?

I played with "strict", "verytolerant" and similar options but they seem
not to affect section titles.

(MkIV solution preferably.)

Best regards,

Lukas

[-- Attachment #2: TZ~~.jpg --]
[-- Type: image/jpeg, Size: 59316 bytes --]

[-- Attachment #3: Type: text/plain, Size: 495 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] 5+ messages in thread

* [NTG-context] Re: Trimming (rearranging) long section name
  2023-09-04 11:06 [NTG-context] Trimming (rearranging) long section name Lukas via ntg-context
@ 2023-09-04 11:25 ` Henning Hraban Ramm
  2023-09-04 11:33   ` Lukas via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Henning Hraban Ramm @ 2023-09-04 11:25 UTC (permalink / raw)
  To: Lukas via ntg-context

Am 04.09.23 um 13:06 schrieb Lukas via ntg-context:
> IOW to force the word "stavby" not to cross the right border (see the
> green vertical line) but to appear on the next line?
> 
> I played with "strict", "verytolerant" and similar options but they seem
> not to affect section titles.

What’s your section setup, esp. the align settings?

Hraban

___________________________________________________________________________________
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] 5+ messages in thread

* [NTG-context] Re: Trimming (rearranging) long section name
  2023-09-04 11:25 ` [NTG-context] " Henning Hraban Ramm
@ 2023-09-04 11:33   ` Lukas via ntg-context
  2023-09-04 12:06     ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Lukas via ntg-context @ 2023-09-04 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: context

Hello,

just

"
\setuphead[section][distance=1.25em]
\setuphead[section][style=\bfc]
"

Lukas


On 2023-09-04 11:25, Henning Hraban Ramm wrote:
> Am 04.09.23 um 13:06 schrieb Lukas via ntg-context:
>> IOW to force the word "stavby" not to cross the right border (see the
>> green vertical line) but to appear on the next line?
>> 
>> I played with "strict", "verytolerant" and similar options but they 
>> seem
>> not to affect section titles.
> 
> What’s your section setup, esp. the align settings?
> 
> Hraban
___________________________________________________________________________________
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] 5+ messages in thread

* [NTG-context] Re: Trimming (rearranging) long section name
  2023-09-04 11:33   ` Lukas via ntg-context
@ 2023-09-04 12:06     ` Wolfgang Schuster
  2023-09-04 12:30       ` Lukas via ntg-context
  0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2023-09-04 12:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Lukas via ntg-context

Lukas via ntg-context schrieb am 04.09.2023 um 13:33:
> Hello,
>
> just
>
> "
> \setuphead[section][distance=1.25em]
> \setuphead[section][style=\bfc]
> "
>
> Lukas
>
>
> On 2023-09-04 11:25, Henning Hraban Ramm wrote:
>> Am 04.09.23 um 13:06 schrieb Lukas via ntg-context:
>>> IOW to force the word "stavby" not to cross the right border (see the
>>> green vertical line) but to appear on the next line?
>>>
>>> I played with "strict", "verytolerant" and similar options but they 
>>> seem
>>> not to affect section titles.
>>
>> What’s your section setup, esp. the align settings?

Please try to provide a *working* minimal example the next time, 
otherwise we have
to fill the missing parts (\starttext ... \stoptext).

\mainlanguage[cz]

\setuphead
   [section]
   [distance=1.25em,
    style=\bfc,
    align={flushleft,broad,nothyphenated}]

\setupbodyfont[8pt]

\starttext

\chapter{Dummy}

\samplefile{lorem}

\section{Specifické požadavky pro předpokládanou technologii stavby 
(přístupy, přívody el. energie, skladovací plochy, montážní a pomocné 
plochy, montážní a pomocné konstrukce, ...)}

\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://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] 5+ messages in thread

* [NTG-context] Re: Trimming (rearranging) long section name
  2023-09-04 12:06     ` Wolfgang Schuster
@ 2023-09-04 12:30       ` Lukas via ntg-context
  0 siblings, 0 replies; 5+ messages in thread
From: Lukas via ntg-context @ 2023-09-04 12:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: context

Hello,

On 2023-09-04 12:06, Wolfgang Schuster wrote:
> \mainlanguage[cz]
> 
> \setuphead
>   [section]
>   [distance=1.25em,
>    style=\bfc,
>    align={flushleft,broad,nothyphenated}]

that's it, thank you!

Lukas

> \setupbodyfont[8pt]
> 
> \starttext
> 
> \chapter{Dummy}
> 
> \samplefile{lorem}
> 
> \section{Specifické požadavky pro předpokládanou technologii stavby 
> (přístupy, přívody el. energie, skladovací plochy, montážní a pomocné 
> plochy, montážní a pomocné konstrukce, ...)}
> 
> \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://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] 5+ messages in thread

end of thread, other threads:[~2023-09-04 12:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-04 11:06 [NTG-context] Trimming (rearranging) long section name Lukas via ntg-context
2023-09-04 11:25 ` [NTG-context] " Henning Hraban Ramm
2023-09-04 11:33   ` Lukas via ntg-context
2023-09-04 12:06     ` Wolfgang Schuster
2023-09-04 12:30       ` Lukas 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).