From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ide5LuzB32J4+wAAbAwnHQ (envelope-from ) for ; Tue, 26 Jul 2022 12:29:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mIyLLOzB32L6OQEAG6o9tA (envelope-from ) for ; Tue, 26 Jul 2022 12:29:00 +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 3E6703091A for ; Tue, 26 Jul 2022 12:29:00 +0200 (CEST) Received: from localhost ([::1]:47954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGHoB-0000mQ-CZ for larch@yhetil.org; Tue, 26 Jul 2022 06:28:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGHm6-0008Mm-IN for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 06:26:50 -0400 Received: from mail-sn1anam02olkn2013.outbound.protection.outlook.com ([40.92.44.13]:32195 helo=NAM02-SN1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGHm4-0000s5-43 for emacs-orgmode@gnu.org; Tue, 26 Jul 2022 06:26:50 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e+bKZ5DhvKncl/8av1QUnXrNodQPrpna1OW5D5lKi1gCoU/2sJPMWQ4W8JdDPAv1lx+pGQAO08xqzD1MP6fKCaqVOZoEoRBqbbKN1KfX6kP2r4wsKkMNerdUn1/Y27OhQT/EQhEFWQpk9IppMyfJg6zOEDvDsdWfzPIzb24ErDpgg3cOQiCy8NKnOd875aQdp1FGaEpRe6i3q4uzVzhVXse5S2NeVYV8Hc7k7Z1M3JRuQBR3S12aK/SK40eeebqNEbXEP4nI+ANZp9Hu1MMscO0osiih9VQcLgACAdxGj0QyNo0/G0EARRYJk4LEaP5BNemo8ke83kkU3Lgb+/f6uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=igtSoIhi5y9OMwJuji/T53sUaafJVhgmhBBSYEh9PdA=; b=B66iYakAd/60UIHPKguKKK1Kp3L+iOpQjdhHPh3oeB/mbGl0hq+8QHDEcyrCudkfAx1NDz3RLyxcbOCAMS3uFjrdEbWHuDvdAj+hOUGo6fGQTIz0LI5Ry4I3BSjksnJN0vJ//rTcqoyeRPu39YBPL65OWF6UtWTeHh21/4IrWD2obOjVjRuME+BIuA14+4mLlPdip2OPL9r6k8KWiNZKUAkhJSM9IFK3DWAaOkc/0m+TQshBTunNzZcTDvmeYpTKigwqivsq9XVbjoDcsXAzcD+Tk3nVVTflKtX/SIwCSpYzeHqKLdF3C2V1afEcgenmbXhob/ox/D74lSU3jMHLeA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=igtSoIhi5y9OMwJuji/T53sUaafJVhgmhBBSYEh9PdA=; b=LGd1zdg9wPcRtwTvB+RDF/lFyE48o5H/cMHQyrAB7ky+7P+cI2hiPmBe6/9B4eXlKqmK9m6Y7Z4yyI7aN3zQ6MPJvCkFqf2qNBZ3ZuqZqOnpD/BGCVwUSsZzNIr2rmsKRqDIWnHNxi66JEGlnH6P1rkdreX/9Dbrv2jtXTdkDOJpKJ26mkR35blSiBLA/c1TO9o8ZQ+Ydpgz9+sI+Rx4z9B5UJYOLjFkS5EoUAfL7oy9mCLsWs/17J4ab7lJ8gxrEOV4zFzYrBAo8up/a3Sd3Q7b1qEpfCFEECQbfVJT+owdfDuXKzKUIuX9MnfMHRnV1oJXDtUxWzUaBlndaZhFtw== Received: from BY5PR10MB4289.namprd10.prod.outlook.com (2603:10b6:a03:20c::10) by BN6PR10MB1827.namprd10.prod.outlook.com (2603:10b6:404:108::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5458.20; Tue, 26 Jul 2022 10:26:45 +0000 Received: from BY5PR10MB4289.namprd10.prod.outlook.com ([fe80::88e3:961:90ae:990d]) by BY5PR10MB4289.namprd10.prod.outlook.com ([fe80::88e3:961:90ae:990d%7]) with mapi id 15.20.5458.025; Tue, 26 Jul 2022 10:26:45 +0000 Date: Tue, 26 Jul 2022 18:24:43 +0800 Message-ID: From: K To: Max Nikulin CC: emacs-orgmode@gnu.org Subject: Re: How to force markup without spaces Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-TMN: [dgf9Qg8ux/YfY3qZ6TD1OAxshJNG1xa8mNX/4YfawCA=] X-ClientProxiedBy: SI2PR01CA0028.apcprd01.prod.exchangelabs.com (2603:1096:4:192::21) To BY5PR10MB4289.namprd10.prod.outlook.com (2603:10b6:a03:20c::10) X-Microsoft-Original-Message-ID: <87fsiop3x0.fsf@archklu.mail-host-address-is-not-set> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1755b342-a10b-48c7-e8ef-08da6ef156c1 X-MS-TrafficTypeDiagnostic: BN6PR10MB1827:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: c/bAttiva+I5m5QRL6jQQ0q9NnA8TvbFeoIjhHr0Zs0dZJVIilQKt9QbTGfVjy/RMVJ5MxKb+SZm2jU+fd51PjfadgqU6i+UoJUnIJtfq9R29Jn/U2n7jhEEoL1mQoWnG2LScoVvh8u0Uwixk/RTf+zB+GucIV+ZEJ5mZOuMi2HYf3op+d/YcgYgO02SyVcFEgE7raeWK5EYQ89UaHthjKjPaI0Bq4ei4w15vhKX0uHFRzy3uS+GDAAfk4q2pjs7FALD0UwHta0eGBDApmnJaQyPdckCU2ve+VVct7wvFTJQUgMIgrlALxkvulvGG62kUPWvxae/hbbQ4ytyQYNx84AK0ecteWTQfMvW5zUf5kj1SqUEyp6GvGTgb/fxFdUX5s2ZU5z1ru0pGhC2IymVw6xRbw10ApdnHTuL6BsLIYqGeYUSVyF+9Ny4e6BTXaO/JpaE6gnXbk4v8joAjHkHn/f1f+LDqKQsvjyP32vpUUB8fGKD8/7ZjWPAVzhbS7a4VMdYpVEgsnPdZ4CddBLfGak3gA3U8mq6hHsXscpnXrhatMdg4++QUGsHiY8+1bLRUWx/jLkxYpV1edY8favrQdBp10OfnRn0Qh+hjR+DCdiVxbXhp5lXJUk51VADtMd7Sk58ou4Vw1erHwRrnFqkgp5B2d2Tn1xCN3DjY9VS1m+0sDGoCIRbbc94RNhp+bty X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YkN1M1REMU1LOVJRWWxLai9hYWJmeWR6WldyaUhPUDJ3UkRtdmZ2NjNEVWtt?= =?utf-8?B?NEU3R2N2TzZDWEZvbjhJWDhZTXhCeFhOa1dVMS9oTVpYZ3ovenpsRktDdGJ4?= =?utf-8?B?SmtoWWdsTTNuSVVEOXpBekJtOFNIa2lsU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XUEQ4VEpWSEdiRG1sYkl1eXdhQW1mMko0U24zT3ZTNmVhY2JsbG5sNEMx?= =?utf-8?B?UTgrWk1kaCtoUEN6Y0p5cUNYWWExUWpUMDdFOVhKTXA5MTVBb1VSL1g0WDBa?= =?utf-8?B?bm14TmlMWjc0bWlyc0xPK2dPWGdDWDJZeDhBbGRESTQ2ei9ySW10VWtBb2NH?= =?utf-8?B?UjJqdk44N1NxVlNEcUZPU3hBM2FsbDlSSlYvWEtkS2Z5ekF4Mk5LWko1a2Fh?= =?utf-8?B?Wm1teXF2akJWNTE2T0J2N1pURWlhRHdqeElXUGxWdmxHM3RVb1lUanQ3QWNZ?= =?utf-8?B?d2EwWEl6RnY1NGw3bWZXQzFCZGlmb2pxT0xEZzVCdEZSdEYzUVh6TVh6THp4?= =?utf-8?B?eDkxaDdrR0pKazdnOHVLb1dtdTVHYTBPSTZHUS96ZWVKNlpVQlZ4b3BtY0Rk?= =?utf-8?B?Y1h5YlFuNkJvTHg2SjZ0Nzd2Q20veUlZZGhXNVR4MWFyU3VYTGtDUG0zUXZF?= =?utf-8?B?UmV0VlZJUGd5dFNmSHhpWlNCTEVNOXhJQ1pEdzBrcnpSbDlSMHI5aFRHYzNq?= =?utf-8?B?R1VrejluZllKWVlOelMwY1ljVElSN1VwS3FmcGs2OEExNUduR2J3ZVVZRDBw?= =?utf-8?B?aUFjSURka0p6eGZUcWJ4U21JRmdKbExpWGRUK3llUGlCR2VsOENCcVN6V0Jr?= =?utf-8?B?aVBFMDhJT3BwZFlWMmVrMlp0Mmh5cWFxa1ZYamxYNFh4NDdacEFSOVdRPT0=?= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1755b342-a10b-48c7-e8ef-08da6ef156c1 X-MS-Exchange-CrossTenant-AuthSource: BY5PR10MB4289.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jul 2022 10:26:45.1494 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR10MB1827 Received-SPF: pass client-ip=40.92.44.13; envelope-from=k_foreign@outlook.com; helo=NAM02-SN1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1658831340; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=igtSoIhi5y9OMwJuji/T53sUaafJVhgmhBBSYEh9PdA=; b=eLQ/Oau0f3stf4d5Lpt9MxOvVAOEizgUYdz0CnSd4FqHJZOATftgEEPAtg0P2iG+C/AE7V Z0uBCfrTbAdVJsSA9lqgKBvkWJv5MI0f8RB9YT/73cpARQXF3rE5tNgT97jlhcAYcFz82c 61pWtbutnaxz8bfBw6eAvkm0+vhGrvNBkarFPE3S6lGy+E/AFaO8tvHWI3kPXJjK85n9lx oDHENnMDBNJBhK9/cBt7q+uur2xe9RdcwMZZ8QcFm1bqR0jcYya5hcTWxXNznr+Dmg9vPL 4XGTZ8IwEvr8M9481tymV2W8944sJ/GBpINripBzkutjh6kYseqhbjkTSNB2Wg== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1658831340; a=rsa-sha256; cv=pass; b=BUQsPx8etVdxZDsddNYE9b+2OY8IwkW6o8rCWmaftxyaauh35d89mhy4zksRhPjqIuoZdy bIOSWV9dcb69lBfudBrhrSk0I2XXZ5xeCF+aGyjlDOhYyR790hMq0a19iXJLvVZGesQqww 1R6M4yXaSHVMYD+z30SKIIjss5vNIwrQDDADmR1iKzuq5789gFPgvlxkZ1kdWc1qaIa1ex LbfQF4CDtpKvbsSt2zd/T7UU75HLBOuMYm4VNxwuaywPT0kCSjKxTTBKE0IMXTwdhf4zzL sPHhS4pTOiu8U0IElw3c3TsfFboFUMxqHXdogGlfx/DmPoWBRqfaOzX1NgpYZw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=LGd1zdg9; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; 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: -5.43 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=outlook.com header.s=selector1 header.b=LGd1zdg9; arc=pass ("microsoft.com:s=arcselector9901:i=1"); dmarc=pass (policy=none) header.from=outlook.com; 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: 3E6703091A X-Spam-Score: -5.43 X-Migadu-Scanner: scn0.migadu.com X-TUID: kBM5mGuawUdB On Tue, 2022-07-26 at 13:30 +0700, Max Nikulin wrote: > 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:][*测*]]试" I tested the second workaround, and replaced the \DeclareUnicodeCharacter{200B}{} sequence with \newunicodechar{​}{} sequence since I am using xelatex, which does not support the former. It works fine so far. > 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. As far as I know, Chinese users commonly use ctex package https://ctan.org/pkg/ctex to handle Chinese typesetting problem, and they prefer xelatex and lualatex over pdflatex. They don't support more fonts when using pdflatex, compared with using xelatex etc. (you can see that on page 7 of their pdf document). So I just use xelatex and don't have much experience using pdflatex. When using ctex, you just need to declare \documentclass{ctexart} (ctexart is a ctex version article) to use Chinese characters. Then if your system has the required default fonts, the pdf documents should be OK.