Re: [O] Re: Continuation of main section text after subsections ?

2011-03-31 Thread Aankhen
On Fri, Apr 1, 2011 at 01:34, Matt Lundin m...@imapmail.org wrote:
 Samuel Wales samolog...@gmail.com writes:

 IIUC, OP wants to move stuff around more easily and not have improper
 body text folded.  Improper in this case means belonging to the
 grandparent but after parents.  He doesn't need improper outline
 exporting.

 Correct?

 Agreed. That's how I read it. The issue has to do with visibility and
 folding while editing, not with exporting (since html and latex can't
 render such a nested structure).

Just to clarify, HTML can, while LaTeX and DocBook can’t.  No idea
about the remaining export formats.

Aankhen



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-30 Thread Aankhen
On Wed, Mar 30, 2011 at 00:29, Matt Lundin m...@imapmail.org wrote:
 William Gardella gardell...@gmail.com writes:

 I think org-mode should aim to be flexible enough to accomodate all
 writers, writing tasks, and writing styles.  Maybe for this particular
 issue it would be enough to give org-mode an explicit way to close a
 heading--an Org-wide equivalent to \end{section} in LaTeX, say.

 Is there an \end{section} in LaTeX?

No, hence my question earlier in the thread: how would one return to
an enclosing context in LaTeX or DocBook?  After all, it wouldn’t make
sense to allow it in org-mode and then have the text end up as part of
the last subsection when exported.

Aankhen



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-30 Thread Filippo A. Salustri
Crazy idea: what if there were a special kind of headline, which
basically treats it's content as part of the preceding headline of the
same level?
Cheers.
Fil

On 30 March 2011 06:05, Rasmus rasmus.p...@gmail.com wrote:

 --8---cut here---start-8---
  * Main headline
    Some thoughts expressed here

  ** Subheading 1
     More thoughts expressed here
  ** Subheading 2
     More thoughts expressed here
  ** Main headline (cont.)

   I would like to have this text part of 'Main headline', not of
   'Subheading 2'
 --8---cut here---end---8---

 I don't understand the logic in this.

 In terms of final layout, do you want to have subheading appear as a
 box? Like in some (introductory) textbooks? If so, you could program a
 certain ** to be export as a certain type of object. You might even be
 able to use tags to determine how output should be formatted, like in
 Org-latex-beamer mode. This might require some hacking.


 I do however, strongly support the idea of terminating headings, but for
 other reasons.

 My problem is ending * COMMENT headings.

 This sketch the issue (in terms of LaTeX export):
 #+begin_src emacs-org
 * COMMENT This is were I put all my export settings, various notes and such

  it could be placed as the very last headline, but that is somewhat
  annoying an illogical to me.

 ** Export
 #+TITLE: Test
 #+AUTHOR: me
 [A bunch of paper-specific #+latex_header:]

 ** An outline of the task at hand
 [...]

 And HERE I want to put text before the first subsection. That is beneath
 Title but before first section.
 #+end_src

 In terms of LaTeX I need something like:

 #+begin_src latex
 \begin{document}
 \maketitle
 This is where I want some initial text
 \section{first section}
 #+end_src

 Of course, I could start explicitly with a \section{intro} (i.e. *
 Intro) right after \maketitle/\begin{document}, but for short papers I
 find this is redundant.

 Is my style the problem or should there be a way to terminate section, maybe
 with an artificial new heading (similar to the :B_ignoreheading: tag)?

 Cheers,
 Rasmus







-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-30 Thread Samuel Wales
IIUC, OP wants to move stuff around more easily and not have improper
body text folded.  Improper in this case means belonging to the
grandparent but after parents.  He doesn't need improper outline
exporting.

Correct?

So having headlines for the later stuff like this:

On 2011-03-30, Matt Lundin m...@imapmail.org wrote:
  * Main headline
Some thoughts expressed here

  ** Subheading 1
 More thoughts expressed here
  ** Subheading 2
 More thoughts expressed here
  ** Main headline (cont.)


 ** here is a headline to make things easier to move

   I would like to have this text part of 'Main headline', not of
   'Subheading 2'

should work for him.

Except that the headline should not be exported.  For which a tag that
allows exporting the body without the headline should work.

But I proposed this already and it was not the right solution for the OP.

So I don't know what is desired.

Likely I didn't follow the thread closely enough.



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-30 Thread Samuel Wales
On 2011-03-30, Samuel Wales samolog...@gmail.com wrote:
 IIUC, OP wants to move stuff around more easily and not have improper
 body text folded.  Improper in this case means belonging to the

Correction: folded *under the parent as it is now*.



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-30 Thread Samuel Wales
On 2011-03-30, Samuel Wales samolog...@gmail.com wrote:
 IIUC, OP wants to move stuff around more easily and not have improper
 body text folded.  Improper in this case means belonging to the
 grandparent but after parents.  He doesn't need improper outline

Another correction: improper means belonging to the parent of the task
that it currently belongs to in the outline.

Not doing well today.



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-28 Thread Marcel van der Boom

On zo 27-mrt-2011 13:08
Filippo A. Salustri salus...@ryerson.ca wrote:

 I would humbly suggest that the real question is a design / use case
 question.  Is it reasonable to expect authors to stick to proper
 outline format throughout their drafting process?  If it is, then org
 is fine as is.  If it isn't, then there's a problem.

Very much agreed. I think that paragraph is the best summary so
far for the problem, stated in generic terms. 

marcel

PS
For what it is worth, I think the 'case of inline tasks' is exactly the
same problem as mine.

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV-- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build  -- http://cobra.mrblog.nl



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Cian
You can't do that, as it would be akin to trying to have in a book

Section 1
Stuff
Section 1.1.1
More stuff

Now this goes under Section 1

Not really an idiom that makes sense (I find its best to think of
org-mode's headings as chapter headers

What you can do is something like the following:

* Main headline
Something goes here

#+BEGIN_NOTE
sub thoughts
#+END_NOTE

Some more stuff under main headline

The #stuff can be closed when you want it to get it out of the way, so
I sometimes use this a means of attaching notes to a document. It
works, but I'm sure it could be improved. That way you can also have
different exporting options for the note if you really want them.

On Sun, Mar 27, 2011 at 4:37 PM, Jambunathan K kjambunat...@gmail.com wrote:

 ---
 * Main headline
   Some thoughts expressed here

 ** Subheading 1
    More thoughts expressed here
 ** Subheading 2
    More thoughts expressed here

  I would like to have this text part of 'Main headline', not of
  'Subheading 2'
 

 Why is copy pasting not an option ...

 My intention is not to tick you off but I am confused about what you are
 trying to say here.

 Jambunathan K.





Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Marcel van der Boom

On zo 27-mrt-2011 16:52
Cian cian.ocon...@gmail.com wrote:

 You can't do that, as it would be akin to trying to have in a book
 
 Section 1
 Stuff
 Section 1.1.1
 More stuff
 
 Now this goes under Section 1
 
 Not really an idiom that makes sense (I find its best to think of
 org-mode's headings as chapter headers

Agreed, for paper books that would not make much sense (depending on
how you do it) and that fact kept me from asking the question for a
while. 
For electronic texts however, especially in the drafting stage where
(sub-)sections get shuffled around, promoted, demoted, split etc. it
does make sense, to me at least.

When writing I tend to think about org headings as 'handles' to a
logical block of information, including its child blocks. Apparently my
analogy clashes with what org-mode wants. I had my hopes on a
customization option. 

Is there a strong reason this could not work as an option in org-mode?

marcel

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV-- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build  -- http://cobra.mrblog.nl



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Nick Dokos
Marcel van der Boom mar...@hsdev.com wrote:

 When writing I tend to think about org headings as 'handles' to a
 logical block of information, including its child blocks. Apparently my
 analogy clashes with what org-mode wants. I had my hopes on a
 customization option. 
 
 Is there a strong reason this could not work as an option in org-mode?
 

I'm sure that patches would be welcome, but I think you'd find it
difficult to specify, let alone implement. In particular, how do you
tell where the section 1.1.1 stuff ends and the section 1 stuff begins
again? And would the extra stuff be part of section 1 or (sub)section
1.1? Why? And don't forget this is all just text, so any markup has to
be minimal, intuitive and as unobtrusive as possible.

The devil is in the details.

Nick




Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Filippo A. Salustri
I agree with Marcel on this.  If org is supposed to help get /to/ the
final version of a document, then it should support the (possibly
inconsistent) structures that can appear in all the in-between steps
after conceiving of the document and before the final version.

The workaround I use is to use lists instead of headlines.  The
problem then becomes the extra work of turning lists into
headines+text later.
Cheers.
Fil

On 27 March 2011 12:11, Marcel van der Boom mar...@hsdev.com wrote:

 On zo 27-mrt-2011 16:52
 Cian cian.ocon...@gmail.com wrote:

 You can't do that, as it would be akin to trying to have in a book

 Section 1
 Stuff
 Section 1.1.1
 More stuff

 Now this goes under Section 1

 Not really an idiom that makes sense (I find its best to think of
 org-mode's headings as chapter headers

 Agreed, for paper books that would not make much sense (depending on
 how you do it) and that fact kept me from asking the question for a
 while.
 For electronic texts however, especially in the drafting stage where
 (sub-)sections get shuffled around, promoted, demoted, split etc. it
 does make sense, to me at least.

 When writing I tend to think about org headings as 'handles' to a
 logical block of information, including its child blocks. Apparently my
 analogy clashes with what org-mode wants. I had my hopes on a
 customization option.

 Is there a strong reason this could not work as an option in org-mode?

 marcel

 --
 Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
 HS-Development BV    -- http://www.hsdev.com
 So! web applications -- http://make-it-so.info
 Cobra build          -- http://cobra.mrblog.nl





-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Thomas S. Dye


On Mar 27, 2011, at 6:45 AM, Nick Dokos wrote:


Marcel van der Boom mar...@hsdev.com wrote:


When writing I tend to think about org headings as 'handles' to a
logical block of information, including its child blocks.  
Apparently my

analogy clashes with what org-mode wants. I had my hopes on a
customization option.

Is there a strong reason this could not work as an option in org- 
mode?




I'm sure that patches would be welcome, but I think you'd find it
difficult to specify, let alone implement. In particular, how do you
tell where the section 1.1.1 stuff ends and the section 1 stuff begins
again? And would the extra stuff be part of section 1 or (sub)section
1.1? Why? And don't forget this is all just text, so any markup has to
be minimal, intuitive and as unobtrusive as possible.

The devil is in the details.

Nick


I don't think the limitation is Org-mode's.  Marcel's structure simply  
deviates from proper outline structure.   His situation is typically  
handled in linear text with footnotes, and in non-linear text with  
links, both of which Org-mode implements without issue.


Tom



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Filippo A. Salustri
It seems to me we're getting into some real design territory here, in
that it comes down to a question of a proper outline.
I agree that a proper outline is such that Marcel's format is improper.
I agree that org follows the proper outline, was designed to suit it,
and therefore it isn't surprising that it's not trivially easy to
support Marcel's format too.

I would humbly suggest that the real question is a design / use case
question.  Is it reasonable to expect authors to stick to proper
outline format throughout their drafting process?  If it is, then org
is fine as is.  If it isn't, then there's a problem.

/How/ it's implemented, or worked around, as the case may be, is,
imho, irrelevant in the long term (tho certainly useful in the short).

Cheers.
Fil

On 27 March 2011 13:02, William Gardella gardell...@gmail.com wrote:
 Marcel van der Boom mar...@hsdev.com writes:

 On zo 27-mrt-2011 16:52
 Cian cian.ocon...@gmail.com wrote:

 You can't do that, as it would be akin to trying to have in a book

 Section 1
 Stuff
 Section 1.1.1
 More stuff

 Now this goes under Section 1

 Not really an idiom that makes sense (I find its best to think of
 org-mode's headings as chapter headers

 Agreed, for paper books that would not make much sense (depending on
 how you do it) and that fact kept me from asking the question for a
 while.
 For electronic texts however, especially in the drafting stage where
 (sub-)sections get shuffled around, promoted, demoted, split etc. it
 does make sense, to me at least.

 When writing I tend to think about org headings as 'handles' to a
 logical block of information, including its child blocks. Apparently my
 analogy clashes with what org-mode wants. I had my hopes on a
 customization option.

 Is there a strong reason this could not work as an option in org-mode?

 marcel

 Marcel,

 I think this is not yet easily possible in org-mode due to the
 limitations of org's rather simple concept of markup.  Because org tries
 to stay out of the way of the user's choice of indentation flow, for
 example, whitespace can't be used to indicate that your text has
 returned to the top level after entering a subheading.  And unlike in,
 e.g., HTML or LaTeX, there's no way of closing the subheading
 environment explicitly.

 As Cian suggests, some alternatives you can use are to employ drawers or
 environments such as #+BEGIN_NOTE.

 I also use Org as a drafting tool, mostly for documents that will end up
 as papers or legal documents rendered with LaTeX.  There are a few
 ambiguities in the markup that are hard to resolve without going the
 additional step of exporting to HTML or LaTeX and editing that output.
 You've just stumbled into one of them...

 I'd support some kind of fix, but it'd be moderately to very involved
 and far beyond my level of comfort with Elisp.  I also agree that it'd
 be hard to specify.

 --
 William Gardella
 J.D. Candidate
 Class of 2011, University of Pittsburgh School of Law






-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Filippo A. Salustri
Out of my depth too.  That's why I'd be happy to live with it as is. :)
Cheers.
Fil

On 27 March 2011 13:18, William Gardella gardell...@gmail.com wrote:
 Filippo A. Salustri salus...@ryerson.ca writes:

 It seems to me we're getting into some real design territory here, in
 that it comes down to a question of a proper outline.
 I agree that a proper outline is such that Marcel's format is improper.
 I agree that org follows the proper outline, was designed to suit it,
 and therefore it isn't surprising that it's not trivially easy to
 support Marcel's format too.

 I would humbly suggest that the real question is a design / use case
 question.  Is it reasonable to expect authors to stick to proper
 outline format throughout their drafting process?  If it is, then org
 is fine as is.  If it isn't, then there's a problem.

 /How/ it's implemented, or worked around, as the case may be, is,
 imho, irrelevant in the long term (tho certainly useful in the short).

 Cheers.
 Fil


 I think org-mode should aim to be flexible enough to accomodate all
 writers, writing tasks, and writing styles.  Maybe for this particular
 issue it would be enough to give org-mode an explicit way to close a
 heading--an Org-wide equivalent to \end{section} in LaTeX, say.  Of
 course it would have to be as pithy and unobtrusive as the rest of
 org-mode syntax...I'm sure it's possible (because with Elisp practically
 everything is possible), but out of my depth. :)

 --
 William Gardella
 J.D. Candidate
 Class of 2011, University of Pittsburgh School of Law






-- 
Filippo A. Salustri, Ph.D., P.Eng.
Mechanical and Industrial Engineering
Ryerson University
350 Victoria St, Toronto, ON
M5B 2K3, Canada
Tel: 416/979-5000 ext 7749
Fax: 416/979-5265
Email: salus...@ryerson.ca
http://deseng.ryerson.ca/~fil/



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Aankhen
Hullo,

On Sun, Mar 27, 2011 at 22:32, William Gardella gardell...@gmail.com wrote:
 Marcel van der Boom mar...@hsdev.com writes:

 On zo 27-mrt-2011 16:52
 Cian cian.ocon...@gmail.com wrote:

 You can't do that, as it would be akin to trying to have in a book

 Section 1
 Stuff
 Section 1.1.1
 More stuff

 Now this goes under Section 1

 Not really an idiom that makes sense (I find its best to think of
 org-mode's headings as chapter headers

 Agreed, for paper books that would not make much sense (depending on
 how you do it) and that fact kept me from asking the question for a
 while.
 For electronic texts however, especially in the drafting stage where
 (sub-)sections get shuffled around, promoted, demoted, split etc. it
 does make sense, to me at least.

 When writing I tend to think about org headings as 'handles' to a
 logical block of information, including its child blocks. Apparently my
 analogy clashes with what org-mode wants. I had my hopes on a
 customization option.

 Is there a strong reason this could not work as an option in org-mode?

 marcel

 Marcel,

 I think this is not yet easily possible in org-mode due to the
 limitations of org's rather simple concept of markup.  Because org tries
 to stay out of the way of the user's choice of indentation flow, for
 example, whitespace can't be used to indicate that your text has
 returned to the top level after entering a subheading.  And unlike in,
 e.g., HTML or LaTeX, there's no way of closing the subheading
 environment explicitly.

 As Cian suggests, some alternatives you can use are to employ drawers or
 environments such as #+BEGIN_NOTE.

 I also use Org as a drafting tool, mostly for documents that will end up
 as papers or legal documents rendered with LaTeX.  There are a few
 ambiguities in the markup that are hard to resolve without going the
 additional step of exporting to HTML or LaTeX and editing that output.
 You've just stumbled into one of them...

Out of curiosity, how would you return to an enclosing context in
LaTeX or DocBook?  In HTML, of course, you can nest ‘div’ elements (or
proper ‘section’ elements in HTML5) and alternate subsections and text
to your heart’s content.  As far as I know, there is no equivalent in
the other two formats: you need to use other containers within the
section, such as lists or tables.

Aankhen



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Samuel Wales
IIUC the goal is to allow continuing body text.  Is this for org
itself or for export?  Or both?

I wonder if inline tasks can be used to achieve some of this.

Samuel

-- 
The Kafka Pandemic:
  
http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html
I support the Whittemore-Peterson Institute (WPI)
===
I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MRV paper.



Re: [O] Re: Continuation of main section text after subsections ?

2011-03-27 Thread Cian
Wouldn't blocks that allowed org headings offer this. If I understand
this correctly, what you're really looking for is the ability to mark
certain bits of text as one blob, so that you can move them around
easily as you draft a paper, without worrying about pulling other bits
of the paper. So this would work:

* First level
blah blah

** Second level

#+BEGIN_block
some text

* Third level
because all headings within the block are treated as subheadings of
the containing level

** Fourth level
This is some rubbish that I'm not sure about

#+END_BLOCK

This is different rubbish that will stay here if I cut the block above me


Would something along those lines serve?

On Sun, Mar 27, 2011 at 5:11 PM, Marcel van der Boom mar...@hsdev.com wrote:

 On zo 27-mrt-2011 16:52
 Cian cian.ocon...@gmail.com wrote:

 You can't do that, as it would be akin to trying to have in a book

 Section 1
 Stuff
 Section 1.1.1
 More stuff

 Now this goes under Section 1

 Not really an idiom that makes sense (I find its best to think of
 org-mode's headings as chapter headers

 Agreed, for paper books that would not make much sense (depending on
 how you do it) and that fact kept me from asking the question for a
 while.
 For electronic texts however, especially in the drafting stage where
 (sub-)sections get shuffled around, promoted, demoted, split etc. it
 does make sense, to me at least.

 When writing I tend to think about org headings as 'handles' to a
 logical block of information, including its child blocks. Apparently my
 analogy clashes with what org-mode wants. I had my hopes on a
 customization option.

 Is there a strong reason this could not work as an option in org-mode?

 marcel

 --
 Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
 HS-Development BV    -- http://www.hsdev.com
 So! web applications -- http://make-it-so.info
 Cobra build          -- http://cobra.mrblog.nl