I’m very much enjoying the new “preview” functionality in 9, and especially happy to see how easy it is to drop in some css and a pandoc command and get my Markdown writing in a very near final format with footnotes and bibliography displaying quite well. Amazing.
One thing that I’m struggling with however is “transcluding” child notes in the Markdown preview so as to achieve a view of a whole document in the Preview pane. It helps me to see how the document is shaping up.
For instance, imagine I have a document entitled “Paper”, with 3 sections, Sec. 1, Sec. 2, and Sec. 3.
I’d like to be able to see a complete version of Paper with all 3 sections and a final bibliography rendered in the preview. I’m able right now to see each of the Sections this way, each with their own bibliographies rendered in pandoc (which isn’t bad by any stretch of the imagination!)
I see that the export template found in “Hints\Preview\template” seems as if it should be easy to manipulate, but I’m not having much success at achieving what I’m after which should be to gather the text of the children of “Paper” (i.e. the three sections) and then have them stand in the place of the
<body> ^text^ </body> in this “Hints\Preview\template”. I feel as if I’m very close, but for some reason, close isn’t good enough this time.
Thanks very much.