Ok I figured it out.  I can’t find this anywhere and the sample.lua doesn’t show it.  I first tried changing the orderedList function to:

 

Function orderedList(items,listAttributes)

 

I did that as a guess.  Then it errored and told me listAttributes was a number. When I tried to log it as an attribute list. .  I then guess that the number would be the start.  So I changed the function to:

Function orderedList (items,start,style)

 

Then I was able to use the start and style. 

 

So if anyone else is trying to figure this out and finding the documents very lacking The above function definition correctly gets the items, start value, and style.  Maybe the sample.lua should be changed.

 

Ken

 

 

--
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/001401d9462c%2470b47400%24521d5c00%24%40blinksoft.com.