With Sphinx/Rst you can change the css stylesheet and get it to use yours instead. For example, the difference between the appearance of the docs on the Sphinx site and those on ReadTheDocs is the CSS stylesheet. I'm not sure how you can get Sphinx to use a newly named style - one that it doesn't inherently know about - for a given paragraph or section, but I wouldn't be surprised if there's a way.
On Monday, April 12, 2021 at 1:24:22 PM UTC-4 stevelitt wrote: > > The ability to name and define a style that stays a style throughout > the editable files of the entire compile chain is all I want out of > life, assuming no premature conversion of the style p.story to > appearances, and assuming that in each format (html, ePub and PDF) I > can create a different style to appearance mapping for p.story, that > gets applied at the very last minute. Without Pandoc. > > Markdown has no such ability. Neither does AsciiDoc. AsciiDoctor > *might*, but it appears to be very complicated. LyX' HTML exporter does > very premature conversions of styles to appearance, so that the > resulting HTML loses most of its styles, meaning you can't convert from > HTML to something further. What I've briefly read about Sphinx + rST is > that it might be able to --- perhaps with the use of rolls, but I've > found no example on the Internet, so I have to experiment. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/42cd14f5-3109-4e15-89e5-147764bf9f59n%40googlegroups.com.
