[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] proposal to have ignoreheading tags/properties
From: |
Thorsten Jolitz |
Subject: |
Re: [O] proposal to have ignoreheading tags/properties |
Date: |
Fri, 13 Jun 2014 17:02:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Rasmus <address@hidden> writes:
> Thorsten Jolitz <address@hidden> writes:
>
>> Ken Mankoff <address@hidden> writes:
>>
>>> Another common (for me) example is to have a heading called "* Appendix"
>>> in a paper, and then the LaTeX "\appendix" command. The Org heading is
>>> just for me. It should not be exported. All headings below the \appendix
>>> command are Org sub-sections but should be promoted to \section in the
>>> final document.
>>
>> then IMO it should be
>>
>> ,----------------------------
>> | * Appendix
>> | ** Latex Command :noexport:
>> | \appendix
>> | ** Subsec1
>> | ** Subsec2 ...
>> `----------------------------
>
> Your code example is broken, but let's not care about that for now.
Yes, I (unfortunately) did not care about the LaTeX side of this special
case, just wanted to say that this
,-------------
| * 1st Level
| text
| ** 2nd Level
| text
| ** 2nd Level
| text
`-------------
often causes headaches that can easily avoided, e.g by
,-------------
| * 1st Level
| ** 2nd Level
| text
| ** 2nd Level
| text
| ** 2nd Level
| text
`-------------
or (your solution)
,-------------
| * 1st Level
| text
| * 1st Level
| ** 2nd Level
| text
| ** 2nd Level
| text
`-------------
> So the appendix case is kind of special. Really what we want is to
> inject a command before the insertion of the appendix. Due to the
> nature of LaTeX this is easy. I often do something like
>
> * appendix pre :ignoreheading:
> #+LATEX: \appendix
> * my appendix
> content
--
cheers,
Thorsten
Re: [O] proposal to have ignoreheading tags/properties, Eric Schulte, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Aaron Ecay, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Nicolas Girard, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Nicolas Girard, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Ken Mankoff, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Nicolas Girard, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Samuel Wales, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Eric Schulte, 2014/06/12
- Re: [O] proposal to have ignoreheading tags/properties, Nicolas Girard, 2014/06/12