From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [BUG][ODT] Subtree export fails when link references target on higher level Date: Mon, 25 Nov 2013 15:19:32 +0530 Message-ID: <87siukvmj7.fsf@gmail.com> References: <87wqk15py1.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VksrE-0006mT-2W for Emacs-orgmode@gnu.org; Mon, 25 Nov 2013 04:53:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vksr8-0006aN-7e for Emacs-orgmode@gnu.org; Mon, 25 Nov 2013 04:53:32 -0500 Received: from mail-pb0-x236.google.com ([2607:f8b0:400e:c01::236]:51891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vksr8-0006aC-04 for Emacs-orgmode@gnu.org; Mon, 25 Nov 2013 04:53:26 -0500 Received: by mail-pb0-f54.google.com with SMTP id un15so5324405pbc.41 for ; Mon, 25 Nov 2013 01:53:24 -0800 (PST) In-Reply-To: (Christian Moe's message of "Fri, 22 Nov 2013 09:04:19 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Moe Cc: Emacs-orgmode , Nicolas Goaziou Christian Moe writes: > In ODT, the link can be useful anyway, as the ODT output is a > reference field that can be automatically updated to a different > format, e.g. to refer to a page number instead of the (missing) > headline text. When using page numbers, one may have to use "Update Fields" - an extraneous step - to have a consistent doc. With the use of section numbers, the extraneous step and the inconsistency are altogether avoided. Remember the "section numbers" are computed by ODT exporter by hand (i.e., these section numbers are NOT "auto-magically" plugged in by LibreOffice.) It is more important to have a consistent document. So, use of page numbers can be an configurable option. It should NOT be the default option. When using page numbers, please mention in the docstring/manual that updating of fields is a user responsibility. ---------------------------------------------------------------- A potential patch will touch `org-odt-label-styles' and `org-odt-category-map-alist' or steal significantly from these variables. ----------------------------------------------------------------