From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 1973426861 for ; Mon, 20 May 2024 09:39:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id E31644844A0 for ; Mon, 20 May 2024 09:38:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id t4A5nZO8klTc for ; Mon, 20 May 2024 09:38:40 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 492354844F7 for ; Mon, 20 May 2024 09:38:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id AAF8D484363 for ; Mon, 20 May 2024 09:37:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MBSRvkPDnUOU for ; Mon, 20 May 2024 09:37:36 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.44; helo=mail-ed1-f44.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ed1-f44.google.com (mail-ed1-f44.google.com [209.85.208.44]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 5B61948435F for ; Mon, 20 May 2024 09:37:36 +0200 (CEST) Received: by mail-ed1-f44.google.com with SMTP id 4fb4d7f45d1cf-57342829409so9817817a12.1 for ; Mon, 20 May 2024 00:37:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716190656; x=1716795456; darn=ntg.nl; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=wPeZpN36Tnk/2XrlTQ+yM6pWtxomXku18zeF/T+gUqQ=; b=UcRNZXB8fBrt2stbqrkS7PGu+vD+Q1ZQ/DyTktb3qQzmTgK8iab6AfXbelyYwgWPSW eFEi6EqXquFRkVABvJtSU7Sk8O4EMo7OSBAgS8Y8CxJoSWHwpu7OeZQC691BarCHV/6j WkTFSQFcxLJo1CKuPzsQS0vT0n6WNi5XD9oyX2VfGofnEYEmKGk3xHzxBK3HupijlDiJ jpQ9Os4dpMRIu2OqOxtxq51jRzSuyEB8FUfftMC8WpfZ4I3+s5dAEbCmzIYFTahDKi4u d+IPnECnaEdwjQlJk+CDUJZGvStCApch21ituk3OI2UcEV1uBwzQBaQk4ZUAw95Nab6j wzHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716190656; x=1716795456; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:cc:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wPeZpN36Tnk/2XrlTQ+yM6pWtxomXku18zeF/T+gUqQ=; b=ejdAWBS5xLTGG0jai7vMVNsRIdgk7gpSHW0jakrPowbfaGKyVl0QvOtq3NNjnf5aw9 lna5BXW7RuTJ6lXD7tD1YerF9KWagtQxDUUq+bfQXrq6FRwFvq84xOwPwC0H+k4vklnb 85a6YiJ0YqdjVeCPkpQCCc2h//bNoRH9peiXbYuL84fnp88eBvmzR0U2kI+M6S1pOCMv Ly2qeletxdRZuCEuAJHlJZsOEPDt91cU8HQfHdhousWL9KzExx16qHbsgVcFvpHG/1PN 8U4ChxQapX1X8IMU/FeccQIkRE93oaTf61wNwPUBaRMUHm5HV7wdhGxCst7TUy8grEuH p6FA== X-Gm-Message-State: AOJu0YyZ8wnSeR1TZco1lOcQFFu9R6WWhxkfbOUvUosYKcgvkyIfs6Os ZzynqDFqrn0fw9PR2B6wQmRh1EIG7RdSL83iopSFFmZ3tkJOCCP1cVDa4Q== X-Google-Smtp-Source: AGHT+IFrfTR6ZM1LbyRgcw3JhUzZmFTXD+uPPSnUJkdBErmregtmHe4BjoRREFDk14nm2LNhVDB5og== X-Received: by 2002:a50:d6d7:0:b0:574:eb6b:f50c with SMTP id 4fb4d7f45d1cf-57570ee2448mr4752625a12.6.1716190655631; Mon, 20 May 2024 00:37:35 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:dc10::ca39? ([2a02:810d:a8bf:dc10::ca39]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-57509a90101sm5084450a12.79.2024.05.20.00.37.34 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 May 2024 00:37:35 -0700 (PDT) To: mailing list for ConTeXt users , Joel via ntg-context References: <355610415.658426.1716168615345.ref@mail.yahoo.com> <355610415.658426.1716168615345@mail.yahoo.com> From: Wolfgang Schuster Message-ID: <96564e9a-0637-23ea-39d8-96f27c30409d@gmail.com> Date: Mon, 20 May 2024 09:37:31 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.60 MIME-Version: 1.0 In-Reply-To: <355610415.658426.1716168615345@mail.yahoo.com> Content-Language: en-US Message-ID-Hash: AS5QJ5QE7QBXDOYQKULKO7TYGVFJAEEE X-Message-ID-Hash: AS5QJ5QE7QBXDOYQKULKO7TYGVFJAEEE X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: How to disable hyphenation at the end of a line? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit Joel via ntg-context schrieb am 20.05.2024 um 03:30: > I'm using mostly default ConTeXt settings, but an editor has warned I > should avoid using hyphenation at the end of lines--at least for my > particular audience. > > I've found manual text that says how to disable specific words from > being hyphenated. > > Is there a whole-document switch to disable it? You can disable hyphenation with \setupalign[nothyphenated] but this setting alone isn't enough because now text tends to stick into the right margin. To get better result you have to combine it with other option like "tolerant" or "verytolerant". The example below show also how you can use font enpansion in combination with a lesser tolerance value to align the text on both margins with result in smaller interword spacer than a larger tolerance value. You can combine this with font protrusion to move punctuation marks slightly into the margin area to have a better alignment of the text alone. %%%% begin example \setupwhitespace[big] \showframe[text][text] \definefontfeature[default][default][expansion=quality,protrusion=quality] \starttext \type{alignment: default} \samplefile{lorem} \page \type{alignment: nothyphenated} \start \setupalign[nothyphenated] \samplefile{lorem} \stop \page \type{alignment: nothyphenated,flushleft} \start \setupalign[nothyphenated,flushleft] \samplefile{lorem} \stop \page \type{alignment: nothyphenated,verytolerant} \start \setupalign[nothyphenated,verytolerant] \samplefile{lorem} \stop \page \type{alignment: nothyphenated,tolerant,hz} \start \setupalign[nothyphenated,tolerant,hz] \samplefile{lorem} \stop \page \type{alignment: nothyphenated,verytolerant,hanging} \start \setupalign[nothyphenated,verytolerant,hanging] \samplefile{lorem} \stop \page \type{alignment: nothyphenated,tolerant,hz,hanging} \start \setupalign[nothyphenated,tolerant,hz,hanging] \samplefile{lorem} \stop \stoptext %%%% end example 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 ___________________________________________________________________________________