Re: [O] Collapse LaTeX source before start of main document?

2014-06-07 Thread Eric Schulte
Eric Schulte writes: > Matt Lundin writes: > >> Chris Malone writes: >> >> (Note: When using gmail, please adjust the settings to send your >> messages as plain text only instead of multipart/alternative.) >> >>> When I include the actual contents of my abstract, this preliminary material >>> s

Re: [O] Collapse LaTeX source before start of main document?

2014-06-06 Thread Eric Schulte
Matt Lundin writes: > Chris Malone writes: > > (Note: When using gmail, please adjust the settings to send your > messages as plain text only instead of multipart/alternative.) > >> When I include the actual contents of my abstract, this preliminary material >> section (the #+begin ... #+end blo

Re: [O] Collapse LaTeX source before start of main document?

2012-09-27 Thread Nick Dokos
Renier Marchand wrote: > > It seems that the reason this does not work for Chris Malone is that if the > heading tagged with :prelim: is preceded with a heading tagged with > :noexport: > then the content of the prelim section is in effect not exported. > > For this example > > * My setup

Re: [O] Collapse LaTeX source before start of main document?

2012-09-27 Thread Renier Marchand
Matt Lundin imapmail.org> writes: > > Chris Malone gmail.com> writes: > > > > I added your suggestion to my .emacs but upon export it removed the > > entire block, which is odd based on the source code for the > > function... > > Hmm... That's not my experience. > > When I export the followin

Re: [O] Collapse LaTeX source before start of main document?

2011-05-06 Thread Suvayu Ali
On Fri, 06 May 2011 16:41:19 +0100 Eric S Fraga wrote: > It works, however, if there is at least one headline *before* the one > to be omitted, one that will not be omitted; if the omitted one is the > first headline, the whole block is gone. Strange. I can confirm this, when I had tried this i

Re: [O] Collapse LaTeX source before start of main document?

2011-05-06 Thread Eric S Fraga
Suvayu Ali writes: > On Thu, 05 May 2011 17:45:13 + > chris.m.mal...@gmail.com wrote: > >> Hi Suvayu, >> >> I think Matt's lisp code /should/ work for doing exactly what we are >> talking about, but for some reason I can't get it to work with LaTeX >> export. >> > > I just tried Matt's co

Re: [O] Collapse LaTeX source before start of main document?

2011-05-06 Thread Matt Lundin
Chris Malone writes: > @Matt: I can get your example to work fine for html export, but not > LaTeX export where the entire contents of the headline are removed as > well. =org-version=: 7.5 (release_7.5.105.g8d0c) if that makes any > difference. Hmm... I have no idea why the LaTeX backend is r

Re: [O] Collapse LaTeX source before start of main document?

2011-05-05 Thread Suvayu Ali
On Thu, 05 May 2011 17:45:13 + chris.m.mal...@gmail.com wrote: > Hi Suvayu, > > I think Matt's lisp code /should/ work for doing exactly what we are > talking about, but for some reason I can't get it to work with LaTeX > export. > I just tried Matt's code, worked very smoothly for me. :)

Re: [O] Collapse LaTeX source before start of main document?

2011-05-05 Thread chris . m . malone
Hi Suvayu, I think Matt's lisp code /should/ work for doing exactly what we are talking about, but for some reason I can't get it to work with LaTeX export. Anyway, good luck on your defense! Chris On May 5, 2011 1:37pm, Suvayu Ali wrote: Hello Chris, Sorry for the delay, had to atte

Re: [O] Collapse LaTeX source before start of main document?

2011-05-05 Thread Suvayu Ali
Hello Chris, Sorry for the delay, had to attend a meeting. On Thu, 5 May 2011 11:37:41 -0400 Chris Malone wrote: > Hi Suvayu, > > Thanks for sharing your use case - I'm interested in a few more > details: > > > For example for my appendix and bibliography I use the following: > > > > #+INCLUD

Re: [O] Collapse LaTeX source before start of main document?

2011-05-05 Thread Chris Malone
Hi Suvayu, Thanks for sharing your use case - I'm interested in a few more details: > For example for my appendix and bibliography I use the following: > > #+INCLUDE: thesis-appendix.org :minlevel 1 > > \backmatter > \newpage > \addcontentsline{toc}{chapter}{\bibname} > > \bibliographystyle{plain

Re: [O] Collapse LaTeX source before start of main document?

2011-05-05 Thread Suvayu Ali
Hi Chris, On Thu, 5 May 2011 10:23:50 -0400 Chris Malone wrote: > @Suvayu: Thanks for the suggestion. That is essentially what I am > doing now with the #+LaTeX_HEADER lines, but the problem is that I > have a bunch of things which must follow the \begin{document} in > LaTeX. I know I could pu

Re: [O] Collapse LaTeX source before start of main document?

2011-05-05 Thread Chris Malone
Hi Matt and Suvayu, @Matt: I can get your example to work fine for html export, but not LaTeX export where the entire contents of the headline are removed as well. =org-version=: 7.5 (release_7.5.105.g8d0c) if that makes any difference. @Suvayu: Thanks for the suggestion. That is essentially w

Re: [O] Collapse LaTeX source before start of main document?

2011-05-04 Thread Suvayu Ali
Hi Chris, I just finished writing my master's thesis in org-mode. On Wed, 4 May 2011 11:36:58 -0400 Chris Malone wrote: > I'm working on using org mode for my PhD thesis. I'd like to do this > in one large file where each headline is a single chapter. Naturally > in a thesis there needs to be

Re: [O] Collapse LaTeX source before start of main document?

2011-05-04 Thread Matt Lundin
Chris Malone writes: > > I added your suggestion to my .emacs but upon export it removed the > entire block, which is odd based on the source code for the > function... Hmm... That's not my experience. When I export the following file... --8<---cut here---start--

Re: [O] Collapse LaTeX source before start of main document?

2011-05-04 Thread Chris Malone
Hi Matt, Sorry for the non-plain text... I added your suggestion to my .emacs but upon export it removed the entire block, which is odd based on the source code for the function... Anyway, I found another solution that now seems obvious: the #+begin...#+end blocks themselves can be folded by eit

Re: [O] Collapse LaTeX source before start of main document?

2011-05-04 Thread Matt Lundin
Chris Malone writes: (Note: When using gmail, please adjust the settings to send your messages as plain text only instead of multipart/alternative.) > When I include the actual contents of my abstract, this preliminary material > section (the #+begin ... #+end block) is rather large. I'd like t

[O] Collapse LaTeX source before start of main document?

2011-05-04 Thread Chris Malone
Hi All, I'm working on using org mode for my PhD thesis. I'd like to do this in one large file where each headline is a single chapter. Naturally in a thesis there needs to be a lot of front matter: title page, abstract, signature page, etc. Right now, I'm doing this with something like: -