From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Griswold Subject: Re: tricky odt export needs Date: Wed, 20 Nov 2013 15:40:00 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e014933d4f5207004eba1c879 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjEZ8-00072S-FI for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 15:40:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VjEZ7-000087-82 for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 15:40:02 -0500 Received: from mail-qe0-x22d.google.com ([2607:f8b0:400d:c02::22d]:49930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjEZ7-00007x-2M for emacs-orgmode@gnu.org; Wed, 20 Nov 2013 15:40:01 -0500 Received: by mail-qe0-f45.google.com with SMTP id 6so1591867qea.18 for ; Wed, 20 Nov 2013 12:40:00 -0800 (PST) In-Reply-To: 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@gnu.org --089e014933d4f5207004eba1c879 Content-Type: text/plain; charset=ISO-8859-1 Thank you Christian, This is very helpful. I'll do some comparing of the standard way of doing links with the workaround I've stumbled into. Cheers, Dan On Wed, Nov 20, 2013 at 3:34 PM, Christian Moe wrote: > > Hi, > > > @This is a > > highlighted text@. But this is a > > regular text. > > > > doesn't work. That is, the resulting .odt file shows the text above with > > the @ symbols. Am I missing something? > > No, the manual is. My bad, sort of; I meant to fix it a week ago but > never got around to it. > > With the new exporter, the syntax is: > > @@odt:@@This is a highlighted > text@@odt:@@. But this is a regular text. > > The raw ODT is now wrapped in double @@'s, not preceded by a single @, > and you need to specify the backend after the leading @@'s. > > > It would be nice to know how I can get embedded odt tags to work as > > described in the manual. But what's more important, and may make the odt > > tag question moot, is to be able to mark places in the document as labels > > and page references. Even if I could get just the first part of that > going > > (marking certain places as labels or cross reference sources) then I'd be > > further along. > > You can do cross-references with ordinary links. Have a look at the > manual section 4.2, "Internal links". However, what you get out of the > box is textual references to e.g. section headings, not page > references. You can change that for each reference individually by > right-clicking on them in LibreOffice. There should be a way to get page > references by default, but off the cuff, I'm not sure how. > > Yours, > Christian > > --089e014933d4f5207004eba1c879 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thank you Christian,

This is v= ery helpful.

I'll do some comparing of the standard way of= doing links with the workaround I've stumbled into.

Cheer= s,

Dan



On Wed, Nov 20, 2013 at 3:34 PM, Christian Moe &l= t;mail@christian= moe.com> wrote:

Hi,

> @<text:span text:style-name=3D"Highlight">This is a > highlighted text@</text:span>. =A0But this is a
> regular text.
>
> doesn't work. That is, the resulting .odt file shows the text abov= e with
> the @ symbols. Am I missing something?

No, the manual is. My bad, sort of; I meant to fix it a week ago but<= br> never got around to it.

With the new exporter, the syntax is:

@@odt:<text:span text:style-name=3D"Highlight">@@This is a = highlighted
text@@odt:</text:span>@@. =A0But this is a regular text.

The raw ODT is now wrapped in double @@'s, not preceded by a single @,<= br> and you need to specify the backend after the leading @@'s.

> It would be nice to know how I can get embedded odt tags to work as > described in the manual. But what's more important, and may make t= he odt
> tag question moot, is to be able to mark places in the document as lab= els
> and page references. Even if I could get just the first part of that g= oing
> (marking certain places as labels or cross reference sources) then I&#= 39;d be
> further along.

You can do cross-references with ordinary links. Have a look at the manual section 4.2, "Internal links". However, what you get out o= f the
box is textual references to e.g. section headings, not page
references. You can change that for each reference individually by
right-clicking on them in LibreOffice. There should be a way to get page references by default, but off the cuff, I'm not sure how.

Yours,
Christian


--089e014933d4f5207004eba1c879--