Re: [O] Replacing links with section numbers in ASCII export

2012-10-25 Thread Nicolas Goaziou
Hello,

Mats Kindahl mats.kind...@oracle.com writes:

 I would like to get references to sections replaced with the section
 number in ASCII export instead of the link name, that is, something
 similar to how LaTeX handles \label and \ref (but for ASCII export). Is
 this possible?

 For example:

 * Top Header

 ** Inner Header

 Some text...

 ** Other Inner Header

 Here I would like to have a reference to [[Inner Header]] as a
 section /number/.

It is possible in the new (experimental) exporter.


Regards,

-- 
Nicolas Goaziou



Re: [O] Replacing links with section numbers in ASCII export

2012-10-25 Thread Mats Kindahl

On 10/25/2012 02:44 PM, Nicolas Goaziou wrote:
 Hello,

 Mats Kindahl mats.kind...@oracle.com writes:

 I would like to get references to sections replaced with the section
 number in ASCII export instead of the link name, that is, something
 similar to how LaTeX handles \label and \ref (but for ASCII export). Is
 this possible?

 For example:

 * Top Header

 ** Inner Header

 Some text...

 ** Other Inner Header

 Here I would like to have a reference to [[Inner Header]] as a
 section /number/.
 It is possible in the new (experimental) exporter.

That is nice. I assume that I have to use the development branch in that
case?

/Matz



 Regards,


-- 
Senior Principal Software Developer
Oracle, MySQL Department




Re: [O] Replacing links with section numbers in ASCII export

2012-10-25 Thread Nicolas Goaziou
Mats Kindahl mats.kind...@oracle.com writes:

 That is nice. I assume that I have to use the development branch in that
 case?

Yes, its merge is planned for Org 8.0. For now it lies in the contrib/
directory.

If you want to try it, assuming contrib/ is in your load-patch, just
require the back-end(s) you need, in this case (require 'org-e-ascii),
and call M-x org-export-dispatch.

Regards,



Re: [O] Replacing links with section numbers in ASCII export

2012-10-25 Thread Mats Kindahl

On 10/25/2012 04:15 PM, Nicolas Goaziou wrote:
 Mats Kindahl mats.kind...@oracle.com writes:

 That is nice. I assume that I have to use the development branch in that
 case?
 Yes, its merge is planned for Org 8.0. For now it lies in the contrib/
 directory.

 If you want to try it, assuming contrib/ is in your load-patch, just
 require the back-end(s) you need, in this case (require 'org-e-ascii),
 and call M-x org-export-dispatch.

OK. Thanks!

I'll try it out.

/Matz


 Regards,

-- 
Senior Principal Software Developer
Oracle, MySQL Department