From: engelbert g. <gr...@us...> - 2025-06-30 14:22:24
|
you are completely right, i just happened to never have used upperlines but now i know how put chapter titles please bear with me, if this is not fixed in 0.22 cheers and many thanks On Sat, 28 Jun 2025 at 11:51, Harmen <ha...@us...> wrote: > @grubert <https://sourceforge.net/u/grubert/profile/> actually that is > not documented: > https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html > > I think the example should be fine according to that specification. > > In any case, it's a bug to have the paragraph repeated. > ------------------------------ > > *[bugs:#505] <https://sourceforge.net/p/docutils/bugs/505/> Curious > repeated paragraph* > > *Status:* open > *Created:* Thu Jun 26, 2025 06:38 PM UTC by Harmen > *Last Updated:* Sat Jun 28, 2025 09:29 AM UTC > *Owner:* nobody > > When the following is parsed, the line that says "this is repeated" > appears *twice* as a paragraph. > > ========= > section 1 > ========= > > --- > abc > --- > > this is repeated > > ========= > section 2 > ========= > > It is fixed by: > > 1. Adding an additional newline after the sentence > 2. Using 4 hyphens ---- instead of 3 --- above and below abc > 3. Removing the upper --- > > Pandoc renders this as expected (at least by me). > ------------------------------ > > Sent from sourceforge.net because you indicated interest in > https://sourceforge.net/p/docutils/bugs/505/ > > To unsubscribe from further messages, please visit > https://sourceforge.net/auth/subscriptions/ > --- **[bugs:#505] Curious repeated paragraph** **Status:** open **Created:** Thu Jun 26, 2025 06:38 PM UTC by Harmen **Last Updated:** Sat Jun 28, 2025 09:51 AM UTC **Owner:** nobody When the following is parsed, the line that says "this is repeated" appears **twice** as a paragraph. ``` ========= section 1 ========= --- abc --- this is repeated ========= section 2 ========= ``` It is fixed by: 1. Adding an additional newline after the sentence 2. Using 4 hyphens `----` instead of 3 `---` above and below `abc` 3. Removing the upper `---` Pandoc renders this as expected (at least by me). --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |