public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* docx to dokuwiki continuous ordered list conversion issue (or not possible)
@ 2021-01-23 22:02 Spricer
       [not found] ` <73f5cab0-5d1c-41b8-94a6-03c10153c2fen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Spricer @ 2021-01-23 22:02 UTC (permalink / raw)
  To: pandoc-discuss


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

I have many documents to convert with ordered number lists. And in my case 
specified conversion does not adhere to dokuwiki markup of:
(space)(space)(dash)
  -
Since there are  picture inserts and some notes numbering is broken so 
conversion tries to mitigate problem by creating html style <ol start=x..> 
continuing listing.
I end up with this:
----------------------------------------------------------
====== Installation ======

<HTML><ol style="list-style-type: decimal;"></HTML>
<HTML><li></HTML><HTML><p></HTML>Boot the server <HTML></p></HTML>
<HTML><p></HTML>It launches automatically.<HTML></p></HTML>
<HTML><p></HTML>{{media/image1.png}}<HTML></p></HTML><HTML></li></HTML><HTML></ol></HTML>

Figure ‑: Deployment Window

<HTML><ol start="2" style="list-style-type: decimal;"></HTML>
<HTML><li></HTML><HTML><p></HTML>Click **Configure 
Network**.<HTML></p></HTML><HTML></li></HTML>
<HTML><li></HTML><HTML><p></HTML>Network cards are displayed. 
<HTML></p></HTML><HTML></li></HTML><HTML></ol></HTML>

> Using the MAC addresses noted earlier, identify the cards.
> 
> For the card identified type the corresponding information in the 
following fields.
  * IP Address
  * Subnet Mask
  * Default Gateway
  * DNS Server
  * DNS Suffixes

> For the card identified as xyz use next

  * IP Address
  * Subnet Mask

> {{media/image2.png}}

Figure ‑: Configure Network

<HTML><ol start="4" style="list-style-type: decimal;"></HTML>
<HTML><li></HTML><HTML><p></HTML>Click **Finish**.<HTML></p></HTML>
<HTML><p></HTML>The main Deployment Toolkit window is 
displayed.<HTML></p></HTML>
<HTML><p></HTML>{{media/image3.png}}<HTML></p></HTML><HTML></li></HTML><HTML></ol></HTML>

Figure ‑: Deployment Main Window
-----------------------------------------------------------------------------------

So I have manually to edit it like this to make it per dokuwiki language:
---------------------------------------------------------------------------------------
  - Boot the server
  - It launches automatically.\\ {{media/image1.png}}\\ Figure ‑: 
Deployment Window
  - Click **Configure Network**.
  - Network cards are displayed.\\ Using the MAC addresses noted earlier, 
identify the cards.\\ For the card identified type the corresponding 
information in the following fields.
    * IP Address
    * Subnet Mask
    * Default Gateway
    * DNS Server
    * DNS Suffixes\\ For the card identified as xyz use next
    * IP Address
    * Subnet Mask\\ {{media/image2.png}}\\ Figure ‑: Configure Network
  - Click **Finish**.
  - The main Deployment window is displayed.\\ {{media/image3.png}}\\ 
Figure ‑: Deployment Main Window
---------------------------------------------------------------------------------------
*I was wondering if there is way (command option or filter) to achieve this 
or maybe I should ask for "feature request"?*
If pandoc is able to detect need for list to be ordered by html code I 
think there should be a way to to use instead  correct 
"(space)(space)(dash)" semantic and new line detection to convert to 
"\\(space)" way. Note there is also unordered sub-list which by dokuwiki 
markup should be "(space)(space)(space)(space)*"

-- 
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/73f5cab0-5d1c-41b8-94a6-03c10153c2fen%40googlegroups.com.

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

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

end of thread, other threads:[~2021-01-24 17:18 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-23 22:02 docx to dokuwiki continuous ordered list conversion issue (or not possible) Spricer
     [not found] ` <73f5cab0-5d1c-41b8-94a6-03c10153c2fen-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-01-23 22:55   ` John MacFarlane
     [not found]     ` <m2r1mbi7py.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-01-23 23:58       ` Spricer
     [not found]         ` <84ae92cc-4df0-4945-807a-bcf1fef7a572n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-01-24  1:14           ` John MacFarlane
     [not found]             ` <m2czxvi1aj.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-01-24  3:40               ` Spricer
     [not found]                 ` <f9c2cc53-dbf9-4388-8755-833e84339945n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-01-24  6:18                   ` John MacFarlane
     [not found]                     ` <m2y2gihn7w.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-01-24  6:51                       ` Zev Spitz
     [not found]                         ` <6AFF4B4F-3130-475D-9736-423B6C492401-DAm+jCDmP11mR6Xm/wNWPw@public.gmane.org>
2021-01-24 17:18                           ` Spricer

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).