public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* display list numbers
@ 2020-08-20 12:19 Serg
       [not found] ` <d1992e34-4787-4957-bd4d-149ac045d496n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Serg @ 2020-08-20 12:19 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1005 bytes --]



Hello!

 I use pandoc *2.10.1*.

 There are three documents in the attachment, in this way the result of the 
conversion is "1.docx- > 2.md- > 3.docx".

 I perform the сonversion with assistance by next commands:

 *1.docx- > 2.md*:

*pandoc -s 1_en.docx -f docx+styles -t markdown -o 2_en.md -s*

 *2.md- > 3.docx*:

*pandoc --reference-doc 1_en.docx 2_en.md -f markdown -t docx -o 3_en.docx*

 

As a result, I get the following problems in output file *3.docx*:

Numbered lists are displayed as the same style (1_en.docx = yes.png; 
3_en.docx = no.png)

 

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d1992e34-4787-4957-bd4d-149ac045d496n%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 1457 bytes --]

[-- Attachment #2: 2_en.md --]
[-- Type: text/markdown, Size: 374 bytes --]

**List Numbers:**

1.  ::: {custom-style="List Number"}
    Number.
    :::

2.  ::: {custom-style="List Number"}
    Number.
    :::

3.  ::: {custom-style="List Number 2"}
    Number.
    :::

4.  ::: {custom-style="List Number 3"}
    Number.
    :::

5.  ::: {custom-style="List Number 4"}
    Number.
    :::

6.  ::: {custom-style="List Number 5"}
    Number.
    :::

[-- Attachment #3: yes.png --]
[-- Type: image/png, Size: 19714 bytes --]

[-- Attachment #4: 1_en.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 21881 bytes --]

[-- Attachment #5: 3_en.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 16311 bytes --]

[-- Attachment #6: no.png --]
[-- Type: image/png, Size: 20360 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: display list numbers
       [not found] ` <d1992e34-4787-4957-bd4d-149ac045d496n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2020-08-21 19:47   ` John MacFarlane
       [not found]     ` <m2k0xrbx30.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2020-08-21 19:47 UTC (permalink / raw)
  To: Serg, pandoc-discuss


Thanks for this and your other posts.

You can help diagnose what is going on, to save the developers'
time.

The most basic question to resolve is whether it's an issue with
the docx reader, the docx writer, the markdown reader, or the
markdown writer.

If the document features you're interested in are represented
in the intermediate markdown file but not the final docx,
then the problem is either in the markdown reader or the
docx writer.  If they're not represented in the intermediate
markdown file, then the probelm is either in the docx reader
or the markdown writer.

To narrow it down further, you can inspect the "native"
representation of the document pandoc uses, e.g.

pandoc -f docx+styles -t native -s

If the document features you're interested in it are not represented
there, you know the issue is with the docx reader.

Anything you can do to help narrow down the issues will be helpful.


Serg <hudrid-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> Hello!
>
>  I use pandoc *2.10.1*.
>
>  There are three documents in the attachment, in this way the result of the 
> conversion is "1.docx- > 2.md- > 3.docx".
>
>  I perform the сonversion with assistance by next commands:
>
>  *1.docx- > 2.md*:
>
> *pandoc -s 1_en.docx -f docx+styles -t markdown -o 2_en.md -s*
>
>  *2.md- > 3.docx*:
>
> *pandoc --reference-doc 1_en.docx 2_en.md -f markdown -t docx -o 3_en.docx*
>
>  
>
> As a result, I get the following problems in output file *3.docx*:
>
> Numbered lists are displayed as the same style (1_en.docx = yes.png; 
> 3_en.docx = no.png)
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/d1992e34-4787-4957-bd4d-149ac045d496n%40googlegroups.com.
> **List Numbers:**
>
> 1.  ::: {custom-style="List Number"}
>     Number.
>     :::
>
> 2.  ::: {custom-style="List Number"}
>     Number.
>     :::
>
> 3.  ::: {custom-style="List Number 2"}
>     Number.
>     :::
>
> 4.  ::: {custom-style="List Number 3"}
>     Number.
>     :::
>
> 5.  ::: {custom-style="List Number 4"}
>     Number.
>     :::
>
> 6.  ::: {custom-style="List Number 5"}
>     Number.
>     :::

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2k0xrbx30.fsf%40johnmacfarlane.net.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: display list numbers
       [not found]     ` <m2k0xrbx30.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2020-08-21 19:59       ` Serg
  0 siblings, 0 replies; 3+ messages in thread
From: Serg @ 2020-08-21 19:59 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 509 bytes --]

Question ca be closed.
Similar Ploblem <https://groups.google.com/g/pandoc-discuss/c/hYugLy14JIs>

-- 
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/5e6d03eb-1b90-47cc-8c79-f1c6e2602c4an%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 816 bytes --]

[-- Attachment #2: 1_en.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 23305 bytes --]

[-- Attachment #3: 3_en.docx --]
[-- Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document, Size: 17220 bytes --]

[-- Attachment #4: 2_en.md --]
[-- Type: text/markdown, Size: 676 bytes --]

**List Numbers:**

::: {custom-style="xz1"}
Tertert
:::

::: {custom-style="xz2"}
Dsfsdg
:::

::: {custom-style="xz2"}
Sdgsdgsd
:::

::: {custom-style="xz3"}
Dsfsdg
:::

::: {custom-style="List Paragraph"}
sdgsdgsd
:::

1.  ::: {custom-style="Стиль1"}
    Asfas
    :::

2.  ::: {custom-style="Стиль1"}
    Dfs
    :::

3.  ::: {custom-style="Стиль1"}
    Sdgd
    :::

4.  ::: {custom-style="Стиль1"}
    Sdg
    :::

5.  ::: {custom-style="List Paragraph"}
    Fasfasfg
    :::

    ::: {custom-style="List Paragraph"}
    Adgsagda
    :::

    ::: {custom-style="List Paragraph"}
    asdasfasfas
    :::

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-21 19:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-20 12:19 display list numbers Serg
     [not found] ` <d1992e34-4787-4957-bd4d-149ac045d496n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-08-21 19:47   ` John MacFarlane
     [not found]     ` <m2k0xrbx30.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-08-21 19:59       ` Serg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).