Re: [O] INCLUDE heading

2015-04-01 Thread Rasmus
Joon Ro writes: >> From: ras...@gmx.us >> Date: Wed, 1 Apr 2015 21:42:43 +0200 > >> Subject: Re: [O] INCLUDE heading >> >> Joon Ro writes: >> >> > I would love to have this feature (include only a subtree from another org >> > file) as

Re: [O] INCLUDE heading

2015-04-01 Thread Joon Ro
> From: ras...@gmx.us > Date: Wed, 1 Apr 2015 21:42:43 +0200 > Subject: Re: [O] INCLUDE heading > > Joon Ro writes: > > > I would love to have this feature (include only a subtree from another org > > file) as well. > > You can do this in Org v8.3. > T

Re: [O] INCLUDE heading

2015-04-01 Thread Rasmus
Joon Ro writes: > I would love to have this feature (include only a subtree from another org > file) as well. You can do this in Org v8.3. -- Vote for proprietary math!

Re: [O] INCLUDE heading

2015-04-01 Thread Joon Ro
Rob Richmond gmail.com> writes: > > > Hi all, > I use org-mode to write both papers and slides. The code to generate tables and figures is placed in source blocks. Most of the time I use the same tables in my slides as in my papers, but a lot of preprocessing code is needed to generate the t

[O] INCLUDE heading

2014-09-18 Thread Rob Richmond
Hi all, I use org-mode to write both papers and slides. The code to generate tables and figures is placed in source blocks. Most of the time I use the same tables in my slides as in my papers, but a lot of preprocessing code is needed to generate the tables. I'd like to put the generation of these

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-10 Thread Nicolas Goaziou
Hello, Bastien writes: > I think the whole thread calls for a variable to let the user > configure the way she wants references to be inserted. > > Because \nameref could be useful in LaTeX/Beamer too. Internal links in Beamer are complicated, because there's no way to know which slide we're re

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-10 Thread Bastien
I think the whole thread calls for a variable to let the user configure the way she wants references to be inserted. Because \nameref could be useful in LaTeX/Beamer too. And maybe ODT could enjoy such a function too. Nicolas, what do you think? -- Bastien

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-09 Thread Nicolas Goaziou
"D. C. Toedt" writes: > --- is there a comparable one (or arguments) to get the section number of a > heading? There is `org-export-get-headline-number' but is only accessible during export, so it cannot be called from a macro or a Babel block. Anyway, in your case, you just need to use [[#cust

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-09 Thread D. C. Toedt
Excellent -- that seems to export just fine. Interestingly, the export now generates the message, "Position saved to mark ring, go back with C-c & ." I presume that comes from the ((org-link-search-inhibit-query t)) argument in the "let" function. It doesn't seem to harm the export results. One

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-09 Thread D. C. Toedt
> Why don't you use [[#IntroTechContracts][Introduction to Technology Contracts]] as a link? I routinely tweak the text of the target headings as I edit the document. For example, the section heading "Introduction to Technology Contracts" might become, say, "Introduction: Why Technology Contrac

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-09 Thread Nicolas Goaziou
"D. C. Toedt" writes: > I found a problem when trying this on a bigger file (my book file): If $1 > (actually, #$1) is for a link target that doesn't exist, then org-mode goes > into its "No match - create this as a new heading? (y or n)" routine. That > causes the rest of the export to fail. I

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-09 Thread Bastien
Hello, "D. C. Toedt" writes: > (Org-mode maintainer [Bastien, still?], can you please let me know if > / when this gets implemented in an official release.) I'm not Org's maintainer anymore, I'm just /de facto/ taking decisions in accordance with the other core maintainers, our level of trust l

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-08 Thread D. C. Toedt
I found a problem when trying this on a bigger file (my book file): If $1 (actually, #$1) is for a link target that doesn't exist, then org-mode goes into its "No match - create this as a new heading? (y or n)" routine. That causes the rest of the export to fail. It'd be better if get-title could

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-08 Thread D. C. Toedt
That works -- please email me privately with where to send the $100 via PayPal. Thanks! (Org-mode maintainer [Bastien, still?], can you please let me know if / when this gets implemented in an official release.) Regards, D. C. *D. C. Toedt III * *(my** last name is pronounced "Tate") * Attorn

Re: [O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-08 Thread Nicolas Goaziou
Hello, "D. C. Toedt" writes: > QUESTION: When org-mode headings are NUMBERED, and the file is exported to > HTML, is there any way to have org-mode include the TITLE, not just the > section number, of a cross-referenced section, along the lines of the LaTex > \nameref{} function? Here's an exa

[O] Include heading title in HTML section-number cross-reference, like LaTex \nameref?

2014-02-08 Thread D. C. Toedt
I'm using Org-mode version 8.2.5f with Gnu Emacs 24.3 on a Macbook Air with Mavericks. I'm using it to build building an annotated collection of contract clauses that I'm releasing under a Creative Commons license (see http://www.CommonDraft.org), which I hope to monetize with a book on contract dr