From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KIPdF/7aq2FtBwAAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 22:17:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GAKHE/7aq2GnCQAAbx9fmQ (envelope-from ) for ; Sat, 04 Dec 2021 21:17:50 +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 C211A27866 for ; Sat, 4 Dec 2021 22:17:49 +0100 (CET) Received: from localhost ([::1]:55792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtcPk-0003OC-Uk for larch@yhetil.org; Sat, 04 Dec 2021 16:17:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtcOR-0002yI-Ki for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 16:16:27 -0500 Received: from mout01.posteo.de ([185.67.36.65]:47353) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtcOO-0000IZ-Bp for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 16:16:26 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 50296240029 for ; Sat, 4 Dec 2021 22:16:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1638652582; bh=iYsO7BUcp/buZ4aYJFH345AVsccYGswxDfrDeYJHVXw=; h=From:To:Cc:Subject:Date:From; b=fevKVt4KI+R3X5HIf1vUnfbtPvQFLe18Inco3rgXc007ZKFVy0F77gWBApKR9iboq SOV4hvkmOyycOv+WJEgFN0FXcf0QfiWOy0W/mWInugrPz6bg04mzF0XPD+WqXGbDRR uySmtYpIcOzWD11cu6IHAr5iEBWs/QdI0PyERykG5hv9QXY0QMxuw2zwSvP+Xl8eNe D9uvTfz+Y/PkoujuwE4gr/qWdWTTR9yQuZ5JNlmWz0J4epsdxrhs+BaaibNyv78vMk LomndXVOVit2m9m8d8+gvP2jSX1THhL31dPGmbVePz5R4V5vRPuR3d+pRmRxAamLi7 PzOYjLvivpp/Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J62Yd07f9z9rxW; Sat, 4 Dec 2021 22:16:20 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: John Kitchin Subject: Re: Org-syntax: Intra-word markup References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87fsrbp673.fsf@gmail.com> <1ef0e093-c165-2a5f-954d-6a33b64c8ee9@mailbox.org> <87r1avgnpi.fsf@localhost> <878rx2bzhw.fsf@nicolasgoaziou.fr> <9525e029-a590-3f48-df64-ffb9176075d9@mailbox.org> Date: Sat, 04 Dec 2021 21:16:18 +0000 In-Reply-To: (John Kitchin's message of "Sat, 4 Dec 2021 13:37:41 -0500") Message-ID: <87lf10t6jh.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@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_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 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=1638652670; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=O0ugT0JUtyAzOUWZckHGe06ZyQ49cQ+O6Y7AquP0zB8=; b=rui0O+OTt565h7sdy1ah/u6xs9THfShxXrMDL5Dw5u3kH3Qq+IX2/8Gq9FFRleU1At2Nsd u/3GzIdSTEDbDmVqykOuN3T1MsuTc5PAdl5AczUge1IaAC/iUoew3EsY3yMBZ2khS56Qp6 7GWPYamsuxRU7vUqiO/loVoR7OfGbhcpKd6MuN4hX9zFVTotabyvSW/vrWJBYn8rXk8PWM /OeNpKVXG9Cu+AEJXCKfru5UcvlCYZo6dMw7y7FUYchadNwpp4REefjK1xUYc12COCb0Ys 32IXfmImtDsAoKkh9xiNeREyW6Kwp/sJ9pn7k4MicgIiX+x8OVPN5yI5k7iSHA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638652670; a=rsa-sha256; cv=none; b=iO4k8QMLTjE7YWEL0+Z6fRiXqK4VY+lJt/S5rm/xuoVXbxgnLU0Tk2l7b4jb7boPWty9Rr C+pNySjQikCs9J5sxaiTmE/9O6cFz+hm5k092exqnFtP2ujrAqQjLHJ6kVYuaW18xbV1IQ RPfHENBOyZ+fnDV5tTqbKolYQCuGHZQEJYYW2yevzXN9y7F+6rRFUnpIsSRy1D73d+W7XX 578I/A/woOgbWBFzlpVY0avaI4xeICNu9NM05x7TzONtOSfuiBIulEg3pU+uTviZtuP7IB OIB18k6mP5q1RZ1RtJRm/3l3QqveV+E7JYdigoWbT1WQxEq3EqWQIeObHZAIfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fevKVt4K; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=fevKVt4K; dmarc=pass (policy=none) header.from=posteo.net; 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: C211A27866 X-Spam-Score: -4.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: LAsDjKsyfb8q Hi John, John Kitchin writes: > Along these lines (and combining the s-exp suggestion from Max) , you > can achieve something like this with links. I like this idea of merging the Maxim's proposal with the power of links. In any case, this and other workarounds provided here make it clear that in Org we do not lack of good and useful resources. I usually use macros (taking advantage of the fact that macros expand soon). For example (only in this case with the LaTeX backend): #+MACRO: emph (eval (when (org-export-derived-backend-p org-export-current-backend 'latex) (concat "@@latex:\\emph{@@" $1 "@@latex:}@@"))) Defined the macro this way, it allows me also to introduce nested emphases by both ways: #+begin_src example {{{emph(lorem *ipsum* /dolor/ {{{emph(sit)}}} amet)}}} #+end_src ==> \emph{lorem \textbf{ipsum} \emph{dolor} \emph{sit} amet} Best regards, Juan Manuel