ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Lukas via ntg-context <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Trimming (rearranging) long section name
Date: Mon, 4 Sep 2023 14:06:24 +0200	[thread overview]
Message-ID: <5a40b4cd-58a6-18f0-a383-f003837a750d@gmail.com> (raw)
In-Reply-To: <73c534c51b2e3026230f23cc14f406c1@vivaldi.net>

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
___________________________________________________________________________________

  reply	other threads:[~2023-09-04 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-04 11:06 [NTG-context] " 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 [this message]
2023-09-04 12:30       ` Lukas via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5a40b4cd-58a6-18f0-a383-f003837a750d@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox