From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CId8F4hR1mXougAAe85BDQ:P1 (envelope-from ) for ; Wed, 21 Feb 2024 20:39:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CId8F4hR1mXougAAe85BDQ (envelope-from ) for ; Wed, 21 Feb 2024 20:39:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="rB+/FQKo"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708530498; 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=nyohqtlu/upbYNHSXQH+1QYi+ia9iMr8uq7N6sbKILI=; b=ops+8vZDkNpFtnuSe1Rmje1DPOkJhHISrXebr8dylEMvYem6SpLiUTRDJTvR36kopOZVC1 z1iH11gTtOS+0VOWGsfMg18Y+1e7ozYqXS81UQMncq78uarxD/N6KQxzKRoUb2+yr1wL3T Cf7Zvgy5kCzkV+EKrQJVAEhhwToqWRhuks8EAqjDc02cuC5eURO5gFXxXHeP6hdpKPBmrR BkK5zpuHHPc4RgzdPv6Skm3sHyZ9V9VyLyVpfuM6IfpsQC75gvX6CxW2bY8KM7jbFdRfEW VxYbjAeJf6fO0LWGfrs80cj2zks18xaoH+hzUauf3aztFq9HGVho/zcOse0KYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="rB+/FQKo"; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708530498; a=rsa-sha256; cv=none; b=ealC9ZtA45vYQngLFlWkuK0o4dBoUmBE+M3CfYnusMB+h5kWw4M8ZP/fJx5TQYpxkGAOVL u/5udbZ7azBuMIZoFSLKCSybq7iRCRf/YPQnRt0+2mibdlQOT1buvmR28KUgwtnVBJ0IOF loEgU/PmkuXVHjgRPM/selQdvW0J9mQYqvZfDpbJ6+axo+oP318sDCTp6rDLTHrMv/ycEK VZmF8khhjmNueuMi3Eqf+r/srCoQC/AsKGks2pPmKuhG/0zGUA60VVTfN3X8EVS2VIduO0 Lhz7BYpoGh8BKjZryI9VaZAMZY2H6rbzvt0p8CWgvv8ZAFQYi/26RgfNhFmHrg== 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 49DDE7F1BD for ; Wed, 21 Feb 2024 16:48:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rcoah-0001S2-DZ; Wed, 21 Feb 2024 10:32:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rcoXb-0004Ab-73 for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 10:29:47 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rci7r-0004lg-Io for emacs-orgmode@gnu.org; Wed, 21 Feb 2024 03:38:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 3125524002A for ; Wed, 21 Feb 2024 09:38:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708504725; bh=nyohqtlu/upbYNHSXQH+1QYi+ia9iMr8uq7N6sbKILI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=rB+/FQKoV1dXI8IJvBeX5NOTo4KNn9xOtMkfCfHNwfS6OnSnlXgdwp872/OipnQ8U moV4xKa20MvWkm1hQqW3Vy5XY6lDdxCvm+Srud18fxGQOZPYexZZaVI5eoMo5DAzyU +jUl+1wTmGfvKetqMiamdD0VgkxT+DTnIvlwDwVNCtaeD2LVhDT+9w+r5TCgAYmcAo BTQRHDTE4CdgF1n1b3MGjYKSTkglN/JUQkQeiqLnj9hYlVx3ubzcw/Juggpzv16V2C vVbphfOwmpf4PEVnAFRaYzcwonX+Q9PiozQ4uyY3s0VqOeNpigUhUoivpw9MpmBBqX qnm96E4Ut50mg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TfqS42YjXz9rxD; Wed, 21 Feb 2024 09:38:44 +0100 (CET) From: Ihor Radchenko To: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= Cc: orgmode Subject: Re: [proof of concept] inline language blocks In-Reply-To: <87msrudgcn.fsf@posteo.net> References: <87msrudgcn.fsf@posteo.net> Date: Wed, 21 Feb 2024 08:42:12 +0000 Message-ID: <8734tmmcnv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.96 X-Spam-Score: -4.96 X-Migadu-Queue-Id: 49DDE7F1BD X-TUID: 7aaa+ivwviUf Juan Manuel Mac=C3=ADas writes: > I'm dedicating a local branch to developing this proof of concept and > testing it in my workflow, so far with good results. The basic idea is > to provide Org with multilingual features and various methods for > selecting languages. > > The inline-language-block is intended for small segments of text in a > language other than the main language. They can span several lines but > not more than a paragraph. They can be used for in-line textual quotes, > glosses, etc. They are constructions equivalent to, for example, LaTeX > \foreignlanguage{french}{text} or HTML text. > > I have thought of a syntax that is as least intrusive as possible, so as > not to make reading uncomfortable. I have tried the following: > > :fr{some text in French} :it{some text in Italian} :la{some text in Latin} > > You can also use a literal term instead of a language code: > > :klingon!{some text in Klingon} > > The blocks can be nested: > > :klingon!{Some text in Klingon with :it{some text in Italian}} > > And they may include other elements: > > :el{Some text in Greek with a {{{macro}}} and a [[link]]} This is a good idea, although it would be better to make this new markup element within the framework of more general inline special block we discussed in the past: https://list.orgmode.org/orgmode/87a6b8pbhg.fsf@post= eo.net/ --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at