Jacob,
Thanks a lot. I'll definitely to better understand your response and make
changes on my system. Also, I will report back just in case another user
runs into this issue.

Best,
Premal


On Wed, Jul 2, 2025 at 2:23 PM Jacob S. Gordon <jacob.as.gor...@gmail.com>
wrote:

> Hey Premal,
>
> On 2025-07-01 14:23, Premal P. Vora wrote:
> > I'm attaching the template.
>
> Thanks, I have a guess as to what’s going on now. Numbered lists are
> exported with a particular style name, which is in the [default]
> `styles.xml' but not yours:
>
> ┌────
> │ <text:list text:style-name="OrgNumberedList">
> └────
> Listing 1: `doc.odt/content.xml'
>
> ┌────
> │ <text:list-style style:name="OrgNumberedList">
> └────
> Listing 2: `doc.odt/styles.xml'
>
> After renaming one of your `list-style' entries in `styles.xml', e.g.
> from `Numbering_20_ABC' to `OrgNumberedList', the exported ordered lists
> are styled.
>
> What confuses me is that there’s other org-specific styles defined in
> your file, so it seems like you started from the default [as
> recommended], but the list styles got lost somehow.
>
> I tried starting from the default and editing the list styles in
> `LibreOffice' under `Styles > List Styles > OrgNumberedList', and the
> resulting `styles.xml' looked more reasonable. Maybe something went
> wrong during this step on your end?
>
> [default]
> <
> https://cgit.git.savannah.gnu.org/cgit/emacs/org-mode.git/tree/etc/styles/OrgOdtStyles.xml#n641
> >
>
> [as recommended]
> <https://orgmode.org/manual/Applying-custom-styles.html>
>
> Thanks,
>
> --
> Jacob S. Gordon
> jacob.as.gor...@gmail.com
> =========================
> Please avoid sending me HTML emails and MS Office documents.
> https://useplaintext.email/#etiquette
> https://www.gnu.org/philosophy/no-word-attachments.html
>

Reply via email to