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

2014-06-07 Thread Eric Schulte
Eric Schulte schulte.e...@gmail.com writes: Matt Lundin m...@imapmail.org writes: Chris Malone chris.m.mal...@gmail.com 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

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

2014-06-06 Thread Eric Schulte
Matt Lundin m...@imapmail.org writes: Chris Malone chris.m.mal...@gmail.com 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

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

2012-09-27 Thread Renier Marchand
Matt Lundin mdl at imapmail.org writes: Chris Malone chris.m.malone at 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

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

2012-09-27 Thread Nick Dokos
Renier Marchand reni...@gmail.com 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 *

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

2011-05-06 Thread Matt Lundin
Chris Malone chris.m.mal...@gmail.com 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

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

2011-05-06 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com 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

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 e.fr...@ucl.ac.uk 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

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

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 chris.m.mal...@gmail.com 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

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 chris.m.mal...@gmail.com 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

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 fatkasuvayu+li...@gmail.com wrote: Hello Chris,

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. :)

[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:

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

2011-05-04 Thread Matt Lundin
Chris Malone chris.m.mal...@gmail.com 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

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

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

2011-05-04 Thread Matt Lundin
Chris Malone chris.m.mal...@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 following file... --8---cut

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 chris.m.mal...@gmail.com 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