Re: Nested, titled sections
"Jeffrey C. Jacobs" <[email protected]>
| Newsgroups | gmane.text.docutils.user |
|---|---|
| Message-ID | <CAEUix6EpfWJDffBkV5Ao4m-xbeMrb8fHERDPfiEw-VY_h-YMGA@mail.gmail.com> |
On Tue, Apr 14, 2015 at 5:19 PM, David Goodger <[email protected]> wrote: > At this point, the only real issue is that the "(action)" text above > has to be on its own line. You could either process your document to > treat the "parenthetical" role specially, or you could use line > blocks: > > Character > | Dialog > | `(action)` > | More dialog, that might > wrap around. Note that > the vertical bars aren't > necessary on wrapped lines. Thanks for drilling down into a more specific use case than dogs, David. I know the original question doesn't seem like its related but I was trying to make a query in the most general case possible. In that sense, I think your title suggestion does make some sense as long as it's rendered inline and not separate from the document which I think was my main concern, how the writer would handle it. I think the line-blocks are an interesting idea and I'll definitely consider it as a way to spell how it should be rendered. As you saw in the developer's thread, I'm trying to look at all of Docutils for rendering, which will likely mean modifying the doctree through a custom transform before it hits the writer and then use the existing writer with a custom stylesheet to render it properly. I just wonder if custom doctree transforms can be added to any of the publish functions as I worry that styling may not be able to smooth over all the bumps of the default generated document elements without a little massaging beforehand. A simple visitor transform could accomplish this (seeing adding an XSLT parser is a bit much for such a thing). But as transforms are more a developer issue, I'll move that discussion there. Thanks again! Jeffrey. ------------------------------------------------------------------------------ BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own process in accordance with the BPMN 2 standard Learn Process modeling best practices with Bonita BPM through live exercises http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF