From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ILhrB6h/U2FEOwAAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 22:48:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gD0DA6h/U2GCHQAAB5/wlQ (envelope-from ) for ; Tue, 28 Sep 2021 20:48:40 +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 8D1D313C9E for ; Tue, 28 Sep 2021 22:48:39 +0200 (CEST) Received: from localhost ([::1]:58356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVK1l-000115-BT for larch@yhetil.org; Tue, 28 Sep 2021 16:48:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33566) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVK0m-0000z3-VA for emacs-orgmode@gnu.org; Tue, 28 Sep 2021 16:47:37 -0400 Received: from mout01.posteo.de ([185.67.36.65]:37631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVK0j-0007DB-Vb for emacs-orgmode@gnu.org; Tue, 28 Sep 2021 16:47:36 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 0CCF8240026 for ; Tue, 28 Sep 2021 22:47:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632862049; bh=ri4d4rwn0U0fg3jQP+mSOLP6rHBF8ZEbR73i+xADeEc=; h=From:To:Cc:Subject:Date:From; b=HgaZrx9zzCdlLrrTgCB7lmT/KXLA+u03aktUPGPBahnoE2+aGEGjfePKtY42tZEZT McUWJCi1Aplt5JcgzxLpqx+m2/oe5nHHRdQbGqYLSz8QhPM+kkOClIgT4mHUpH5MOs tKVU5tq8k+OSK78r7uHQGet8+xLDRUBMsUUj3i5nxDxrcDQay5UEPCCvUFxaoi7PtV Ur37BHN6yCUtlF+rn4H28E5IFt8Cqn9oIRgpMj5xXk4OzBwlYd3duqg3K+V4gWBLSI WBjsRx3nsMDRRnjah44MBEo0JysrtT31iOp09eC7J+5CX1NJrv2BbFNjuT79OibJE+ Rtzj/gv6+gDbw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJs5D2q3Pz9rxD; Tue, 28 Sep 2021 22:47:28 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Uwe Brauer Subject: Re: how to export checkboxes to odt? References: <8735po3awv.fsf@mat.ucm.es> Date: Tue, 28 Sep 2021 20:47:27 +0000 In-Reply-To: <8735po3awv.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 28 Sep 2021 18:46:56 +0200") Message-ID: <87czosh1gg.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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632862119; 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=k/C9b2cDcXUvaIspM9Gu36paVWW8gFXqi4ifrZoOL90=; b=AuV3OxlelPE3sN/FcXi+o0k5jiBv5m37iKO7lhnUzNBBGKjqPkfn9ne8/3m1Iv8l4eV7ll eG4BrYWSFw/6Y4fp6bUVw3OvoDomX0oI/GaLJ0+3iGPFVcMtiCHnU3xs+vzPWilAHoKBsf 8HTKy6t/yFr7stJuk9ge72ibTbziG+jV2pedM9JnIc4Q8LdZ9U47b0OTNSqzqeQeclHuHa c6sqZCdRC2hPcjFzVjFY64DvINKg/E5HdFFM/HyJrOWC7Vyl7iysArqX90aAqknVhACXpK mC3fQ9aW/f6H4U8QPO+cPV6MB7/pcst7kOj/QIseXKXS6xtxm0n36i4dlSbdQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632862119; a=rsa-sha256; cv=none; b=sK3EOYAcBYc96NAx/6RSM+mGfPfoxhJq/6f0LIBQoy3Ed9/55DcJNrxJPS+y1XrczCg7fY qrmXsInITiipYtr6bByTId/vDl5L+1ASl/jecmhWftmi6It36Da1nDnZsc8ybuRZol0qHg 8yYQOLcD4UT8VfAEJ67DFhzJcLf/tUkXxlPncMccXn65dcd6TyxQJ1mJBuQ36Zv34m2Gda LLUEx5oekMH4sjNwt+JQOHNUK0/jBcQPyvedO9ZcTi4X0gse8EIz3saOhcSpu6l02SUgEU eb3Mj5n4nysoHOiEgsmy0bnIrFVkaciK4Tqvz1RD/JeNoCtytzyPayOv7nu4UA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HgaZrx9z; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.60 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=HgaZrx9z; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 8D1D313C9E X-Spam-Score: -0.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: QY5kEKDZ0VOX Hi Uwe, Uwe Brauer writes: > Any idea how to export checkboxes to odt? > > I mean not just simply having [ ] in the odt document but having them translated as actual boxes. You can try: (defun my/org-odt--checkbox (item) "Return check-box string associated to ITEM." (let ((checkbox (org-element-property :checkbox item))) (if (not checkbox) "" (format "%s" "OrgCode" (cl-case checkbox (on "\u2611 ") ; CHECK MARK (off "\u2610 ") (trans "[-] ")))))) ;; I don't know which character to choose here... (advice-add 'org-odt--checkbox :override #'my/org-odt--checkbox) Best regards, Juan Manuel