Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

FB2: proper alignment and formatting of epigraph descendants #299

Open
sensboston opened this issue Sep 4, 2017 · 0 comments
Open

FB2: proper alignment and formatting of epigraph descendants #299

sensboston opened this issue Sep 4, 2017 · 0 comments

Comments

@sensboston
Copy link

sensboston commented Sep 4, 2017

Currently, <epigraph> alignment is ignored for descendant. For example, if I want to align all epigraphs in the fb2 document to the right but their descendants (i.e. <p>, <poem>, <stanza>) to the left (of epigraph, not a document! - it's important), I can't do this.

For example, for

    <section>
     <epigraph>
      <poem>
       <stanza>
        <v>Поет зима — аукает,</v>
        <v>Мохнатый лес баюкает</v>
        <v>Стозвоном сосняка.</v>
        <v>Кругом с тоской глубокою</v>
        <v>Плывут в страну далекую</v>
        <v>Седые облака.</v>
       </stanza>
       <text-author>С. Есенин</text-author>
      </poem>
     </epigraph>
     <p>Скучно зимой на пасеке.</p>

I'd like to align section's <epigraph> to the right side of page, but also align <stanza> to the left of <epigraph> block, and <text-author> should be aligned to the right side of epigraph.

It's a low priority feature request.

P.S. Thanks for the great app!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant