** Example*** TODO Your name- Enter your full name on the open line below.#+srcname: your-name#+begin_src latexTom Dye#+end_src*** TODO Your email address- Enter your email address on the open line below.#+srcname: your-email#+begin_src latextsd at tsdye dot com#+end_src*** No data entry below this line- The two source blocks here each produce a LaTeX document afterthey are tangled with a call to =org-babel-tangle=.#+begin_src latex :noweb :tangle dist-form.tex\documentclass[12pt]{article}\begin{document}\section{Distribution Form}\begin{description}\item[Name] <<your-name>>\item[Email] <<your-email>>\end{description}\end{document}#+end_src#+begin_src latex :noweb :tangle file-form.tex\documentclass[10pt]{article}\begin{document}\section{File Form}<<your-name>> can be reached at <<your-email>>.\end{document}#+end_src
So, no Christmas present for me? :)
Merry Christmas everyone. Thanks for all the hard work and
the help over the last year. Congratulations for working
together to produce such a fantastic tool.
Mark
Mark Elston wrote:I have been making progress on my use of org-mode to manage bothmy teaching notes and handouts in a single document. However, thereis something I still have not been able to make happen. That isselective exporting of text *without* exporting a headline along withit.Here is a sample of what I would like. In this example I have sectionswith "common" text (should be in both teaching notes and handouts) andsections that are specific to each individual output format. What Ihave below is set up to export the notes. What I would like is tohave the text (only) of the non-excluded sections and not the headlines.--------------------------------------------------------------#+TITLE: Test#+LaTeX_CLASS: ClassNotes#+OPTIONS: toc:nil H:8 tags:nil#+EXPORT_EXCLUDE_TAGS: handouts* Headline 1some text** Headline 1-1even more text* Headline 2some more text** Headline 2-1Common text 1. Should be followed by handout or notes text.***** should be handouts only :handouts:handout text***** should be notes only :notes:notes text** Headline 2-2Common text 2. Should be followed by handout or notes text.***** :handouts:handout text again***** :notes:notes text again--------------------------------------------------------------The relevant material from my org-export-latex-classes is:("ClassNotes" "\\documentclass[letter,twoside,openright]{memoir}...("\\chapter{%s}" . "\\chapter*{%s}")("\\section{%s}" . "\\section*{%s}")("\\subsection{%s}" . "\\subsection*{%s}")("\\subsubsection{%s}" . "\\subsubsection*{%s}")("%% Level 5" . "%% Level 5")("%% Level 6" . "%% Level 6")("%% Level 7" . "%% Level 7")("%% Level 8" . "%% Level 8"))...I was hoping to allow all levels of heading to be exported but onlywrite comments for the levels below level 4. It didn't work out thatway.With the above I don't get *any* of the :notes: or :handouts:sections written out. However, if I include empty level three and fourheadlines (the stars followed by a mandatory space) I get the :notes:and :handouts: sections just fine. Except now I also get empty\subsection{} and \subsubsection{} blocks in my latex output. I haveattached the resulting .tex file with comments pointing out theextra heading lines I would like to *not* see...The net result is a lot of blank space in the resulting .pdf filebetween the 'common' text and the note- or handout-specific text. Thisis *definitely* not what I had in mind.Is there any way of working around this or correcting this behavior?Mark------------------------------------------------------------------------_______________________________________________Emacs-orgmode mailing listPlease use `Reply All' to send replies to the list.Emacs-orgmode@gnu.orghttp://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode