From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id WHaIDYWK32K3PgEAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 08:32:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gLpKDIWK32KNuwAAG6o9tA (envelope-from ) for ; Tue, 26 Jul 2022 08:32:37 +0200 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 D609693C6 for ; Tue, 26 Jul 2022 08:32:36 +0200 (CEST) Received: from localhost ([::1]:47524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGE7P-0002DC-NT for larch@yhetil.org; Tue, 26 Jul 2022 02:32:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGE5i-0002BD-Ot for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 02:30:52 -0400 Received: from ciao.gmane.io ([116.202.254.214]:47404) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGE5e-0006NK-ST for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 02:30:49 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1oGE5c-0004Tg-C7 for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 08:30:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: How to force markup without spaces Date: Tue, 26 Jul 2022 13:30:36 +0700 Message-ID: References: <87r128d5pp.fsf@localhost> <80f0990042a564556cc6b047a94f7e9dddf5a280.camel@outlook.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Content-Language: en-US In-Reply-To: <80f0990042a564556cc6b047a94f7e9dddf5a280.camel@outlook.com> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658817156; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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; bh=kp8nskcV30Qm8GQR8kr053qdRqxn+cHuz/1KO9RXzMw=; b=Nnqs5o5PBR9ScYvfrY5vSfonHrc58CjDNSqX9oR/WuquiIq8I3ZVXUkf82vwMKGAlHe0i9 hhyhmWlxPiBxA3Vs9zEYuLDGJh+30uBwX2triCXs5z/MrAPsyALvzreyqhQl61z8v5IKjg OcGDAlOPtGS6UYH7I4Pm8hczp81Uq+naV9kDgRy1PIMasxnNfksU7B45DpyEhiJSnliuua rzh1KeXXH8magWMOOMd5e4LyST7sEpzK/ecK4XLOVqnzwSkSox2bCU9I8Piyh9/xbtzouo u2qyCcmOObzDqoSxyZWul0L3lW6d/VcGAgitmydtBztWiB1NlhXVgG3KCLGnWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1658817156; a=rsa-sha256; cv=none; b=k0HJTai7YfPKO/MYKMLNET6VtzxGW5pV2woSzVEDm74QyW08csjp3UItUEdPV7VyedqKAX 9xk8OsXzaQwINPHwC9NFBcX+ars2NmrU+o7hQwG1EBFS3WvqOVtedWd36mSKzJqDzq4Wf3 sEBJphHDvF9F5hVFIxtnEGUs8u1+WgR0zyDhp7tzW6ooj3C5gwet9ydd3gvwUvd8s5HTRF /jmf2W0ChoSxMAamVGaxAXphnJmrang4vzIYdJ60IHH4qSrU15NS+ojLMgq9mNkkNPHK6O J9XhqXdZkbXNXixObG8QyVl4AdTXiiZfv8U18b4VCNqQ2N5DvZo7biO7Bg64wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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.47 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (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: D609693C6 X-Spam-Score: 2.47 X-Migadu-Scanner: scn0.migadu.com X-TUID: tXVqbdJG1Tvh On 26/07/2022 11:26, K K wrote: > On 2022-07-26 Tue. 09:23 +0700,Max Nikulin wrote: > >> > However the suggestion was namely to use U+200B ZERO WIDTH SPACE and >> > it >> > is actually implemented since `org-emphasis-regexp-components' >> > currently >> > contains [:space:]. >> > ... >> > K, could you, please, clarify what is your particular use case? > > My bad, I misunderstood the "feature" mentioned in the old post. > > My use case is to emphasize chinese characters without spaces being > inserted, even those zero-width spaces. For example "中文*测*试" should > be enough to emphasize "测". > > I am using zero-width spaces right now, and it works fine in org-mode > buffers, but if exported to latex-pdf files, the U+200B ZERO WIDTH SPACE > character will not be zero-width for certain fonts. So I hope not to use > that character. I have not tested it, but I expect you can use - export filter that removes zero-width spaces at the last export stage. I assume that your documents do not contain them besides markup workaround - #+latex_header: \DeclareUnicodeCharacter{200B}{} - custom link #+begin_src elisp :results none :exports both (org-link-set-parameters "sep" :export (lambda (path desc backend) (if (org-export-derived-backend-p backend 'org) (org-link-make-string (concat "sep:" path) desc) (or desc "")))) #+end_src "中文[[sep:][*测*]]试" https://list.orgmode.org/ssp8e7$ah2$1@ciao.gmane.io/ Max Nikulin Re: [RFC] Creole-style / Support for **emphasis**__within__**a word** Tue, 25 Jan 2022 23:27:50 +0700 In other thread we are discussing advantages and problems of switching from PdfLaTeX to LuaLaTeX for non-latin scripts. The latter is a Unicode engine. I am curious what is your opinion from standpoint of Chinese language, namely amount of required customization in both cases. I think, it is better to either start a dedicated thread, or find the part of discussion related to fonts and babel (LaTeX package) setup.