Re: [O] tricky odt export needs

2014-02-14 Thread Jambunathan K
Jambunathan K writes: > In the pdf version of Emacs info manuals one typically sees all three of > a Section number AND a Description AND a Page number, something like: > > See Section 3.1 [Tropical Storms], page 24. > > In Org context, I am wondering whether there is such a need. I have ad

Re: [O] tricky odt export needs

2013-12-22 Thread Christian Moe
Jambunathan K writes: > When we are typesetting a xref in a backend - I can authoritatively > speak for the ODT backend - we need not be resticted to "ONE-OF" but can > have "ANY-COMBINATION-OF" descriptors. What I mean is this: > > In the pdf version of Emacs info manuals one typically sees all

Re: [O] tricky odt export needs

2013-12-20 Thread Jambunathan K
I will respond to other items as I visit them. Meanwhile, I would like to add the following note for discussion. Christian Moe writes: > When headings are not numbered in export (#+options: num:nil), current > ODT export outputs a cross-reference with a descriptive text equal to > the heading

Re: [O] tricky odt export needs

2013-12-20 Thread Christian Moe
Jambunathan K writes: > The following message is a courtesy copy of an article > that has been posted to gmane.emacs.orgmode as well. > > > Christian Moe writes: > >> You can do cross-references with ordinary links. Have a look at the >> manual section 4.2, "Internal links". However, what you ge

Re: [O] tricky odt export needs

2013-12-19 Thread Jambunathan K
Christian Moe writes: > 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

Re: [O] tricky odt export needs

2013-11-21 Thread Suvayu Ali
On Thu, Nov 21, 2013 at 11:34:55AM -0500, Dan Griswold wrote: > On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe wrote: > > > > > Well, here's one way to get those page references, using filters: > > > > (defun my-odt-filter-pagerefs (text backend info) > >"Make page references, not textual

Re: [O] tricky odt export needs

2013-11-21 Thread Christian Moe
Dan Griswold writes: > Well, as you can see with my exchange with Suvayu I got past the error. Yet > I still have a strange problem. Your solution works on a small test file, > but not on my large (~ 13k words) document. The conversion of "text" to > "page" just doesn't happen. Odd. The document

Re: [O] tricky odt export needs

2013-11-21 Thread Christian Moe
Hi, Dan, Is this the message you get? No such file: /[path]/OpenDocument export failed: FIXME? Does the error always occur when you have my filter set, and never when you don't? Does it matter whether you're restricting export to subtrees? After some more testing, I'm seeing the above error m

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
Well, as you can see with my exchange with Suvayu I got past the error. Yet I still have a strange problem. Your solution works on a small test file, but not on my large (~ 13k words) document. The conversion of "text" to "page" just doesn't happen. I do have a special style file, so I thought tha

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
On Thu, Nov 21, 2013 at 11:38 AM, Suvayu Ali wrote: > First I would check the Output buffer. That should have more > information on why the export failed. > Thanks Suvayu. There was no Output buffer, only a few error messages in the *Messages* buffer (and these are of dubious relevance.) But it

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe wrote: > > Well, here's one way to get those page references, using filters: > > (defun my-odt-filter-pagerefs (text backend info) >"Make page references, not textual references in ODT export." >(when (org-export-derived-backend-p back

Re: [O] tricky odt export needs

2013-11-20 Thread Dan Griswold
Thank you! On Wed, Nov 20, 2013 at 4:10 PM, Nicolas Goaziou wrote: > Dan Griswold writes: > > > It seems that my installation of org mode (from orgmode.org/elpa) does > not > > have its info file updated to reflect that change of syntax. > > I updated the manual. Thank you. > > > Regards, > > -

Re: [O] tricky odt export needs

2013-11-20 Thread Christian Moe
I said: > 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-clicki

Re: [O] tricky odt export needs

2013-11-20 Thread Nicolas Goaziou
Dan Griswold writes: > It seems that my installation of org mode (from orgmode.org/elpa) does not > have its info file updated to reflect that change of syntax. I updated the manual. Thank you. Regards, -- Nicolas Goaziou

Re: [O] tricky odt export needs

2013-11-20 Thread Dan Griswold
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. > >

Re: [O] tricky odt export needs

2013-11-20 Thread Dan Griswold
Thank you, Nicolas! This is just what I need. It seems that my installation of org mode (from orgmode.org/elpa) does not have its info file updated to reflect that change of syntax. Dan On Wed, Nov 20, 2013 at 3:24 PM, Nicolas Goaziou wrote: > Hello, > > Dan Griswold writes: > > > @This is a

Re: [O] tricky odt export needs

2013-11-20 Thread Christian Moe
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 ex

Re: [O] tricky odt export needs

2013-11-20 Thread Nicolas Goaziou
Hello, Dan Griswold writes: > @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? Syntax for Org > 8.0 is: @@odt:@@ Regards, -- Nicolas Goaziou

[O] tricky odt export needs

2013-11-20 Thread Dan Griswold
Hi all, I have a document that was formerly a LaTeX file. In it there were labels and references using \label and \pageref. I am needing to export to doc using ox-odt. I have been able to do some fairly advanced things like using styles I've modified and created. But I'm having trouble with all bu