From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MLwqOcrd5GXHSQAAqHPOHw:P1 (envelope-from ) for ; Sun, 03 Mar 2024 21:30:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MLwqOcrd5GXHSQAAqHPOHw (envelope-from ) for ; Sun, 03 Mar 2024 21:30:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QOz3gW7r; 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=1709497802; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=uYgvSCgOvH6MrBEJKyYEkqVyE/K+SurXLQNv7rVd17o=; b=jgolsNryw/cmcYYxpV9Xy/tAj5OfRbayAx8bkPYGbIQ6KPEvBjiNN6wFUktd6Lf96vt9JR SZoCqHMcHrkeqiXebofiH7lOJRsedQ0VyF0wXmGD7UpSvpLWGloaxwS1AwEt4JPgpXJFk8 EyYSRN0HpR49HxhmO1yqbAUrhuuK+gJDorGM9NACMd2Ms8RaerafalOydI6sVYhRFmmgi3 l20CRJY56s4tL5uUZhBfscWYA1GBOu6kQwD6i2pxuUyVNe9DnN4CN4FTsYJJb0f8NJm2Od zl/yDLzYY6U3WMYbRI0ke7d7r7JrRqiW2cHooWRm3hHgH13S2hXnMNocmRcNaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QOz3gW7r; 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=1709497802; a=rsa-sha256; cv=none; b=EU7qBtjKVtCUkDtquRv9Mqk6kiHSdy7rtV5/CIt3LL8mbcG3GOMCXV+dg3JZQLYrm4uSMt zvlXAvML+ZeFLgEGZCIYFKBayak5/g9eKZeSS5C+2eAJHsbtHXfvQeTmcVbxdLo0xJTBi+ GJum9wQoWDGkqmbCwvDGnTBDWnDydHYiP8bpm2qAn0++1fwB3bGbUkJQzbHhnCg3zYD986 CfLKEMFN6AnkhJZJbId1rET8yTTq/BQCTQrlrLpU6dTgBidOPeB4jXxTs679W0TcTJ4u+3 BJpOudZQYIEcKZ3s0RjII+L/zyn9JhLe75TB2SBQhGtW4jOw0g/jvBZwCMHBOA== 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 761CC1D740 for ; Sun, 3 Mar 2024 21:30:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgsSR-0000Gc-At; Sun, 03 Mar 2024 15:29:15 -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 1rgsSP-0000GO-4D for emacs-orgmode@gnu.org; Sun, 03 Mar 2024 15:29:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rgsSM-0007P7-RE for emacs-orgmode@gnu.org; Sun, 03 Mar 2024 15:29:12 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9548F240101 for ; Sun, 3 Mar 2024 21:29:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1709497746; bh=CMfdUiS4F+raIAaNNGgdMtF3VRLHp9TF/muMCfhkMFU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=QOz3gW7rjhjGfY5RRj79f1eWSnpVaq/9cNX+lkLDnmrpLj6KGIs/Aieei43/kTt6U VnSbDM810YUU2Xk0017BhzlFGydxl7Yl6o5MmNNrzHIyTf8HmsurtpwW2+LjSlXazR YenCFoA+mxZsjcUQbNFmvyYR2rHcqs8cop70nofEXoSePU9lYSecIzQJfHSPCXSA4W zrpKv/auruOmstHjoAvt9owj3CdwtDPKnHirnTRDhR7942SbYgQB+J46/G8cxPuBnO 84sC1WVIsDIGMmAKZSLkhemr8C24IPWWea2njvMWNRuf91UIWVSQASA+jU8oLpT0hd R3xPw94BLe93g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Tnthf07Rsz9rxD for ; Sun, 3 Mar 2024 21:29:05 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Re: Experimental public branch for inline special blocks In-Reply-To: <87wmql6690.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Fri, 01 Mar 2024 20:34:35 +0000") References: <87wmql6690.fsf@posteo.net> Date: Sun, 03 Mar 2024 20:29:03 +0000 Message-ID: <87cysb2h68.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain 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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -7.12 X-Spam-Score: -7.12 X-Migadu-Queue-Id: 761CC1D740 X-TUID: wD3PE3ubkITh Hi again, The odt backend is now complete with the `org-odt-inline-special-block' function. Some particularities of exporting to odt: - The only specific attribute is :odt-style, which overrides the default style. Example: &foo{lorem ipsum} ==> the style is "foo" &foo[:odt-style bar]{lorem ipsum} ==> the style is "bar". Same with the anonymous variant &_[:odt-style bar]{lorem ipsum}. - The three global attributes supported in the LaTeX and HTML backends are also supported in odt: `:lang', `:color' and `:smallcaps'. I have learned that these direct format elements are in odt "automatic styles", which must be declared before the body. I haven't thought of any other way to do it than using a list of automatic styles that is inserted inside `org-odt-template', with each export. Some examples with various combinations: &foo[:color magenta :odt-style Bold]{this is magenta and bold} &foo[:color red :odt-style Emphasis]{this is red and emphasis} &Underline[:color green]{this is green and underline} &foo[:color blue]{this is blue with &_[:smallcaps t]{smallcaps}} And a screenshot: https://i.imgur.com/KNhYQrv.png Best regards, Juan Manuel