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.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, 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 DCE0D235C8 for ; Thu, 7 Nov 2024 23:41:06 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 4A077484F63 for ; Thu, 7 Nov 2024 23:38:09 +0100 (CET) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-type:content-type:list-unsubscribe:list-subscribe :list-post:list-owner:list-help:list-archive:archived-at:list-id :subject:subject:reply-to:precedence:message-id:date:date:from :from:mime-version:received:received:received:received:received :received; s=cgl; t=1731019089; x=1733611090; bh=FIfu7k2MiJQMP4D BtEUO6hscRJ4b1Ecl84Px4M/UeDs=; b=cEtxkziHEnoicx3bk/wNPbPctGPiCYE yeHdquJoY9CjjIkMxoAqaAEEUzI+AQ9ZKW7tyE/jzMgi+hC4lWv0O8dGR96qP4NP 43Uu1grr6u8bljTwo+JB19mj/uNHZmkrKc9u+sxV0KPGaBKw3Tn+/cTrtPcYUEn9 WQT5L8EjPY68= 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 G9g1M-8qLkMi for ; Thu, 7 Nov 2024 23:38:09 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 1ABA048512C for ; Thu, 7 Nov 2024 23:37:03 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 29E69484E9D for ; Thu, 7 Nov 2024 23:36:18 +0100 (CET) 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 ydBsX3G62OyU for ; Thu, 7 Nov 2024 23:36:17 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.216.48; helo=mail-pj1-f48.google.com; envelope-from=florent.m42@gmail.com; receiver= Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (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 D09DE484E9A for ; Thu, 7 Nov 2024 23:36:17 +0100 (CET) Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-2e2d1858cdfso1181402a91.1 for ; Thu, 07 Nov 2024 14:36:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731018975; x=1731623775; darn=ntg.nl; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=UaQtIg6066x2S1Ib2uwRyZTrZ3L6kybkJyke9CgId7s=; b=bXqIMXEfu1cdeV8KrKz1k6hKHf814wzY9zN068HN+2I+NiV3rqlU9SauAEW486FpYb VXe/4mBe0YVI1ah/q8VJkEvWnE9dQfKoj3O9yuZ71JMWGAJL1zFK6eF02oMtVxYRkepK SNy5BbsgwJd4TWAQgBFIWVCrwas3RlIrh8MlZnPc8Ns7zgXjndcm8bqjBpF0nvYYVRzO cZZ1+nmJ+AEdrHwq1VoHBFlpx87sLRlEG4/x+yJpFEU2LvkLvJEv1SEHLq/Y0PJ1nIZM 35uQpIuiwJRKmZHlW/eqPYrv8NjjkeUhfBIN/udSyDc2ojCK8Y3Xtf0hNRcRlzY2ZVhq AbDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731018975; x=1731623775; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=UaQtIg6066x2S1Ib2uwRyZTrZ3L6kybkJyke9CgId7s=; b=HxGAItYs80sNGwZbirEwz803KPCl2FmCM8IG0TfknHRsu5yUaidRnDfpCWIsuJHoqv DNlDv07p1L5W+OcPYkGcAGAF9ea+QGSH30do3MIWFATJzbtFSslFLBZjxWqfu/AcyW0k ssdRs7Tp7uOv/ojhdlZ5i1pE6QiPs2qceXgKRqjDfSPRuhvm8XPdjjCJTZ/TGG4iPCJC 36HAqvPwiLeZflOv6oljFhW2U+RkLCzK1KsOCNfekcrqbeAnDF9sFRZzEsZjXYfeKpRz 3/8WIkANLbScv1rcFrEIzGG4/IzJ7jnGhrd9hB4QtJldmNmz13+EqYf/G3Kzfgnu6koF ZJaw== X-Gm-Message-State: AOJu0Yze7zeBDCRFvjW9id7lq/MvYSlZM2E113EmVznrjF7+lVgd4sPh eCsWHhET0B58W9Z2RdTYlFOgCv8xpn/uhG17fZ7rb/RoA8jkAc0501IrNlJr7IaqNKsnYIa1Zty oQBJO7/EEqnpnRn4+wmhvCj4XW/Tr3igM X-Google-Smtp-Source: AGHT+IFVjkwkLSdPkj88sMJ3z8c3pu32uIJqzKPm8up5OAJYZvu/g7m4LvB1E5jv8Y0OVqpuLkLEp/7nbu3ElATQhhI= X-Received: by 2002:a17:90b:2ecb:b0:2e5:5ab5:ba52 with SMTP id 98e67ed59e1d1-2e9b173f1ddmr1184512a91.20.1731018974811; Thu, 07 Nov 2024 14:36:14 -0800 (PST) MIME-Version: 1.0 From: Florent Michel Date: Thu, 7 Nov 2024 22:35:58 +0000 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: ZM3U4V6W6PZ7D34SHWUJPZ6OEYIZ4CFM X-Message-ID-Hash: ZM3U4V6W6PZ7D34SHWUJPZ6OEYIZ4CFM X-MailFrom: florent.m42@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.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Hyphenated word in html export List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============4928392851554930730==" --===============4928392851554930730== Content-Type: multipart/alternative; boundary="00000000000017dfcc06265a4348" --00000000000017dfcc06265a4348 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Is there a way to preserve hyphenated words in the html export? When exporting a document with ConTeXt, hyphens in the middle of words seem to be replaced by soft hyphens, which are not displayed by my web browser. Minimal example: \setupbackend[export=3Dyes] \starttext co-worker \stoptext The resulting .html file contains:
co=C2=ADworker
(There is apparently a soft hyphen between =E2=80=98co=E2=80=99 and =E2=80= =98worker=E2=80=99. The pdf seems to render correctly.) Cheers, Florent --00000000000017dfcc06265a4348 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Is there a way to preserve hyphenated=C2=A0w= ords in the html export?
When exporting a document with ConTeXt, hyphen= s in the middle of words seem to be replaced by soft hyphens,=C2=A0which ar= e not displayed by my web browser.

Minimal example:=C2=A0

\se= tupbackend[export=3Dyes]
\starttext
co-worker
\stoptext

Th= e resulting .html file contains:
<div>
co=C2=ADworker</div>

(There is apparently a sof= t hyphen between =E2=80=98co=E2=80=99 and =E2=80=98worker=E2=80=99. The pdf= seems to render correctly.)

Cheers,
Florent
--00000000000017dfcc06265a4348-- --===============4928392851554930730== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============4928392851554930730==--