From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 UEqOBJRKomKILgEAbAwnHQ (envelope-from ) for ; Thu, 09 Jun 2022 21:31:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6B20BJRKomIw1AAA9RJhRA (envelope-from ) for ; Thu, 09 Jun 2022 21:31:32 +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 C9D18F264 for ; Thu, 9 Jun 2022 21:31:31 +0200 (CEST) Received: from localhost ([::1]:47652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nzNsQ-0001Ue-5I for larch@yhetil.org; Thu, 09 Jun 2022 15:31:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzN2T-0004FU-Jp for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 14:37:49 -0400 Received: from ciao.gmane.io ([116.202.254.214]:52884) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nzN2R-0006hQ-QF for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 14:37:49 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nzN2P-0001if-C2 for emacs-orgmode@gnu.org; Thu, 09 Jun 2022 20:37:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-orgmode@gnu.org To: emacs-orgmode@gnu.org From: Uwe Brauer Subject: export to odt, but #text# should be coloured Date: Thu, 09 Jun 2022 20:37:40 +0200 Message-ID: <87mteld6ob.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:8OgJcPCMZOLJLhtIq80D1ME0Cpw= Mail-Copies-To: never 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: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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=1654803091; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=E4rQGoeT19KWSGxXkA8ZsLbEKOrqQIHO8cY99RAuOhc=; b=lDQKjAMSGc+9BrCAy5dXujXghghBQ1e8GrX4YVz3LJdZXzXojdgm83miY4xG5XmyY/K7+0 YGs/pTeNq3qfSD8s7RjJy602RaNJTrrF2rRDKLiPs44OperhzWu9ocE8HsI2+bQbAwHKj2 Q4r/26gm08AXrBUTw+T5pvZsO3CgsH3/TqQP6MtCQE8DGtJ1eiqB5rFd/J/w0t+MfkeSN0 SBTYcqjX27bnF5s84ow+ZJt5lu3GF6kQjvmA5iwOKqEftRSWZ6epfYTLYdIAbC4SiBaJnw uV4F08eK918b8L/7ZFa1kfIPOxBClk2A7UKDrxhL8iZ/8hlVEBtBVJnGv+rBgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654803091; a=rsa-sha256; cv=none; b=FuyuA33YcPngBhuzU42U1i0KKju4ThstztXNo+uDJ+44My/wXVkbVAInCIrUsplwDqQZaZ Klqhv9OurCRNCSL790Ee/KeVGoQywzkMMjH4CZJB56/9QBL9CwXbvnJDmStlgkqNfPczB/ kMuWBBwfGQwsNX7UMKK9dYNQQtv6BXkgHhAStHW3x6nBJgbgIm4961R6eAlpSc3652FCwq 8IT4WFUyv6Ov2ZitP1GC0GrRZsqAZ9n5Kq3cH+EHRLiypnZ4CrvwOXa+Rcx8yx9bXih9aI s1bxrla9pBcH4UWF22+6Fh3NZJXARE/t/dr/eMRtpUcFZSw2MQpVL1FAJJPNvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (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: 4.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mat.ucm.es (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: C9D18F264 X-Spam-Score: 4.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: r2EjPk9RbK+s Hi a short hack of the sort (interactive) (while (re-search-forward "#\\([^#]*\\)#" nil t) (replace-match "\\1"))) Allows me to export text like this #important# to HTML where the resulted text is colored in red. Now, how can I achieve something like this for the odt export? Reards Uwe Brauer -- I strongly condemn Putin's war of aggression against the Ukraine. I support to deliver weapons to Ukraine's military. I support the ban of Russia from SWIFT. I support the EU membership of the Ukraine.