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 ms13.migadu.com with LMTPS id EAshHuxlZmeNggEAqHPOHw:P1 (envelope-from ) for ; Sat, 21 Dec 2024 06:53:32 +0000 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 EAshHuxlZmeNggEAqHPOHw (envelope-from ) for ; Sat, 21 Dec 2024 07:53:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=breatheoutbreathe.in header.s=key1 header.b=N7YILnMm; 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=quarantine) header.from=breatheoutbreathe.in ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734764012; 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=X4e3h8dpnbglgWO/c4HqOGhcrzaJMQv3FSFu/pp49Kk=; b=Ae7g3we9OgEt2/N+DGo5GtqA+/H1+zI3Sx7d5HBnzfHDz6rOgdItQ/VKu4W6qr9kZhAvU8 7O2HJSsNmzIpX/hLtzds9jzBJdRxwqI0sTM8BBtp31r+m6WJJiVyGi/89SOnM0mDVbGrX8 XdVxop6Y04QynUoHK9ImiAP7vQNRf78jk0IpTvTpjpM3RnNW/4aYFK/3RKy8kTWsy20/Sy mRcnSenLZlXxZmRby1VmvaHpmL9CinDo0ejtv6/4HIO06uKF9Otm0W+NAdhEbdW8j330ki 2EyiqbA9DCZ1If+v38aavXQ7pgyae04ef1Yf4KIrN5frZQcklflNYPPhD5MtBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=breatheoutbreathe.in header.s=key1 header.b=N7YILnMm; 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=quarantine) header.from=breatheoutbreathe.in ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734764012; a=rsa-sha256; cv=none; b=TbmTbvZacUsT0ewNQuCMIrE+rXkGjDUHhBaI5qWDpqgYl0SbKBZbxpB4pl9W7jx4eNl7Gs nKWRf2/sVFkOml/5Pds9rJriWXR6AuNe/MpCzj+pXgs7vshneObIyQJC/GMGo2g2LEj/MM HEcGWZ5wfR0PVWp6YGc6DKKZYO1pAzf8O+oyFzSxU52z73XoM87md8MsQLeVOMr8s2dzkg 5mmk/R8m8+iwPUQhpe5dQGrUExxdWsn0EEjeC6lP6d4VycbkMPAseGlkoi02G3Ia2YQfE8 WlZD8pDJebyVZcZaXPsooQHgwsrTfCfieSjtFt7hl6eDwH59H/7u65ssLljU1g== 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 E5D3924220 for ; Sat, 21 Dec 2024 07:53:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOtLv-0002QI-Ab; Sat, 21 Dec 2024 01:52:43 -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 1tOtLs-0002Py-Fr for emacs-orgmode@gnu.org; Sat, 21 Dec 2024 01:52:40 -0500 Received: from out-182.mta0.migadu.com ([2001:41d0:1004:224b::b6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tOtLo-0006y0-Lj for emacs-orgmode@gnu.org; Sat, 21 Dec 2024 01:52:40 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1734763951; h=from:from: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; bh=X4e3h8dpnbglgWO/c4HqOGhcrzaJMQv3FSFu/pp49Kk=; b=N7YILnMmnHLi5tcK8WQ113qSvFLppnrIbBLs7zWCNzBvKNy1vRS8ApAdf4OqjSKM2088a6 GZ0IognxDJNlKz302a9wR3gwXq+99G9dxV/gJoO0QFWFfi1fRH6y1HKeXXoBG4L3qudHNa +fcBaUURKihmYZft+pOrnhIy61+2jF8= From: Joseph Turner To: emacs-orgmode@gnu.org Cc: Bohong Huang , Max Nikulin Subject: Re: Form feed characters break odt export In-Reply-To: (Max Nikulin's message of "Sat, 21 Dec 2024 10:56:31 +0700") References: <87ed21hkmi.fsf@breatheoutbreathe.in> Date: Fri, 20 Dec 2024 22:52:26 -0800 Message-ID: <87ed21fryt.fsf@breatheoutbreathe.in> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:41d0:1004:224b::b6; envelope-from=joseph@breatheoutbreathe.in; helo=out-182.mta0.migadu.com 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, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.34 X-Spam-Score: -6.34 X-Migadu-Queue-Id: E5D3924220 X-TUID: iLUg8iFplCc7 Max Nikulin writes: > On 21/12/2024 08:48, Joseph Turner wrote: >> I can export the following Org content to a .odt file, but the >> exported >> file cannot be opened ("Read Error. Format error discovered in the file >> in sub-document content.xml at 368,2(row,col).") > [...] >> First reported by bohonghuang: >> https://github.com/bohonghuang/org-srs/pull/10#issuecomment-2557417871 > > In this specific context a workaround should be > > #+begin_comment > ^L > #+end_comment Thank you! Or even simpler: # ^L > Or a commented out empty local variables block above. > > I have wrote already that I do not like non-printable characters in > Org files. I agree that they make Org files less portable outside Emacs, and they complicate org-export. > I admit that special characters either should cause `org-lint' > warnings or should be filtered out by exporters. > > Specifically to ^L, there was a request to treat it as a page break by > all exporters (I would prefer some entity or macro instead to not > deviate from plain text markup). > > Marvin G=C3=BClker. Feature request: export form feed as page break. Sat, > 21 Oct 2023 09:42:33 +0200. > > > I have not had a close look at another proposed feature, but I suspect > that it might make filtering special characters more tricky. (I would > be happy to hear that I am wrong.) Yes. Without digging into it, my gut feeling is also that handling one non-printable character specially would open Pandora's box. > Nathaniel Nicandro. [PATCH] ANSI color on example blocks and fixed > width elements. Wed, 05 Apr 2023 07:03:43 -0500. > Gratefully, Joseph