From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QBgCLWPHqGEsbAEAgWs5BA (envelope-from ) for ; Thu, 02 Dec 2021 14:17:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wIaVKGPHqGE9OgAAbx9fmQ (envelope-from ) for ; Thu, 02 Dec 2021 13:17:23 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3A488B686 for ; Thu, 2 Dec 2021 14:17:23 +0100 (CET) Received: from localhost ([::1]:50830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mslxg-00089u-Hp for larch@yhetil.org; Thu, 02 Dec 2021 08:17:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mslvG-00085X-Os for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 08:14:50 -0500 Received: from mout02.posteo.de ([185.67.36.66]:40737) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mslvE-0006Po-GS for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 08:14:50 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 19492240104 for ; Thu, 2 Dec 2021 14:14:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1638450886; bh=uo8DF8TxH+BHjygJAH29G+cjrcGZJtkIPLmiDdE4/3s=; h=From:To:Cc:Subject:Date:From; b=SdsPs16QBgOh1Ggn3g1aEV2MtcHBNoThpnQmse/19YDi2ltIml/+urKEVWzJ6ygAA +jFjRXWfJZzqFW8TAhOOgGBkV7E/0KZm/5XGe6n6EioGRUMS11TlKvs7wKuAStosqo 5iXf0NBPhWSAmebYQr0PZNlzUfJC2H0rxODkkgV1Ba35rQxJx93eCIhrUStV8Sn88z 31xBoKPaT7rO7xpV8XqgN9MBRo7BeK7hkJzI08lZSIfMyj9zSZoxL5UQNLQDmmneD/ zYxxGIPpxvP4LVsfX4+BQhHQ+excRSDxic9CjuFDbks/lvA7XW76xSEHY0WSz2AgNm hQ4pKd+brk/bw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J4bys1y3wz9rxK; Thu, 2 Dec 2021 14:14:45 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Ihor Radchenko Subject: Re: Org-syntax: Intra-word markup References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87o85zi7b0.fsf@localhost> <87czmf9rcf.fsf@posteo.net> <871r2vw7vt.fsf@gmail.com> <875ys7i4w1.fsf@localhost> <30bf8fc6-9099-7b32-3dcf-1841b45cc647@mailbox.org> <87zgpjgoa6.fsf@localhost> Date: Thu, 02 Dec 2021 13:14:43 +0000 In-Reply-To: <87zgpjgoa6.fsf@localhost> (Ihor Radchenko's message of "Thu, 02 Dec 2021 20:54:41 +0800") Message-ID: <87sfvbjgho.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode , denismaier@mailbox.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638451043; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=uo8DF8TxH+BHjygJAH29G+cjrcGZJtkIPLmiDdE4/3s=; b=uKnc4IYzvF5ZhbkkTH8dM6XYoZDQVWdBGhrQ9A3iZTH6QiNWy/ri8GUODM/sB5Fr1KRtIL kMADaSNDX2Q2Qh9qmZ0cpcmQmKCKILdLyPjULCCG9ZMD5rLEM1yOcIgdV+VGedy9sYAmnC nCl7rzTAyzzdvRWf32jbAoRn2Yctv/FgrSMXw3noLTGjA9E3RbWWyqX8MpZZ+V4l0OpawT aPgD0hqyfmloDiiDaZ7NitvMEehuZ89mezyfHYRLJjvNRDJOpGOULx0jfPt6tX2wFAPbgd L8PXJ0AYTNhSSl/3TFLW021X4OjwWc3KkgHW+rVbqvUel2B71QMuKHk0AHbTPA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638451043; a=rsa-sha256; cv=none; b=ofP6yzM4auOmc+l3ybwAVm6Iyuv3OXYeINERT3Cc5OkuatrUWtMRVcnFzutXngnNpdJHD5 oZEVpLQQD8nqrfT7HVnqHItPX+Su74wAkn9aB9qy2DYsaxKZKYhlgb8soqUvZYpb+BZ3TD QHOrNegF9f/2bouYPmavVdk6zLoprd/F6xYLxe0esiahLeBN56P1ox45OSUtwNlURxc2fJ /v7JFIz9ZeU5o4JJ+t9AdEb5YJL8JcmIPVNmIGueNYc13MMPEigS1eSbCadXsstC3rxyXB DB0AVjJB34bbYjMR4P+JwzmsoaPkjLhc3lE1p2zugc7zGFRlYkmr6ZpaVIJGHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SdsPs16Q; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=SdsPs16Q; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 3A488B686 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: y742g1++WY/t Ihor Radchenko writes: > Denis Maier writes: > >>> Can you create an example of such scenario and post it as a bug? >>> Probably, we just need to strip all zero-width spaces at the basic ox.el >>> level. >> To be clear: That's not an org bug. It's just that latex won't be able=20 >> such a word. If | is a zero width space, the word "hyphen|ation" is not= =20 >> the same as "hyphenation". >> 1. hyphenation >> 2. hyphen|ation > > You are right for your example, but if we force the user to put > *hyphen*|ation to create bold emphasis, it should not be any different > compared to @@latex:\textbf{hyphen}ation@@. Meanwhile the *hyphen*|ation > gets exported as \textbf{hyphen}|ation keeping the zero width space. --=20 I would say that they are very random cases, and therefore difficult to reproduce. In the 'hyphenation' example, if we load the package showhypehns, you see that: /hyphen/=E2=80=8Bation (with zero width sp) and \emph{hyphen}ation they are cut in the same way. But differently from hyphenation (without emphasis) (compiled with LuaTeX). Anyway, I have come across some curious cases. For example, a long time ago I had defined a macro for text in other languages: #+MACRO: lg (eval (if (org-export-derived-backend-p org-export-current-back= end 'latex) (concat "@@latex:\\foreignlanguage{@@" $1 "@@latex:}{@@" "\u200= B" $2 "\u200B" "@@latex:}@@") $2)) I needed to add before and after a zero width space, but doing so, the shape of the text was altered. That can be reproduced with this example: #+LaTeX_Header: \usepackage{showhyphens} #+LaTeX_Header:\usepackage{lipsum,multicol} #+LaTeX_Header:\usepackage[spanish]{babel} #+LaTeX_Header: \def\example{\lipsum[1]} #+LaTeX_Header: \def\zwsp{\char"200B{}} #+OPTIONS: toc:nil @@latex:\begin{multicols}{2}@@ @@latex:\foreignlanguage{italian}{\zwsp\example\zwsp}@@ @@latex:\foreignlanguage{italian}=E2=80=8B{\example}@@ @@latex:\end{multicols}@@ Best regards, Juan Manuel=20