public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: albert.krewinkel-stqabkCVF6SGlKaCpJGLJw@public.gmane.org
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: docx to pdf conversion error
Date: Wed, 15 Nov 2017 05:38:38 -0800 (PST)	[thread overview]
Message-ID: <b8cdcc3a-105a-405f-b2a2-188cdc053abb@googlegroups.com> (raw)
In-Reply-To: <17d771db-6489-402c-afa6-d948ca8e9cac-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

One possibility would be to pack all collected lua filters up into a single 
luarock, and to use the luarocks module management system to deal with 
downloads/updates.  This would allow the definition of dependencies on 
other lua packages while keeping things reasonably simple. The disadvantage 
is that one of the main benefits of lua filters, namely independence from 
other software, would be weakened.

I believe collecting filters in a central place is a very good start, 
either way.


On Tuesday, November 14, 2017 at 1:12:27 PM UTC+1, Kolen Cheung wrote:
>
> While pandocpm sort of work, there's still some major changes needed. The 
> new lua filtering system in pandoc 2.0 certainly sparks my interest in 
> completing this tool again. e.g. we had excuses to not have our own package 
> manager because we can rely on those existed in the language we wrote it. 
> But since pandoc embedded the lua interpreter, the only thing needed for a 
> lua filter is really only the filter itself (so in this case relying on 
> some sort of lua package manager doesn't make sense). Now there's still one 
> imperfection though, that pandocpm is written in Python. Do you think it is 
> possible to rewrite pandocpm in lua, using only the embedded lua 
> interpreter alone? I haven't used lua at all, but I heard that in lua 
> there's minimal "standard library" so I'm not sure how much functionality 
> has been embedded. From some examples you and @jgm did, there's already IO. 
> And then pandoc certainly handles YAML (but is there YAML library available 
> in the embedded lua interpreter? That might make it easier.) And then 
> pandocpm only need to access the DATADIR, and I imagine it could be done to 
> let pandoc passes it to the script?
>

-- 
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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b8cdcc3a-105a-405f-b2a2-188cdc053abb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2017-11-15 13:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-09 23:32 sclarke-DpHT0TjK6O80n/F98K4Iww
     [not found] ` <9256e740-7530-4dc2-9acd-5d14eca6fc07-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-10  3:58   ` John Muccigrosso
     [not found]     ` <ac6b1f81-80bf-4e92-a65c-db089def2c19-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-10  4:02       ` sclarke-DpHT0TjK6O80n/F98K4Iww
     [not found]         ` <d1935dae-097e-447c-bd10-a8265ba169db-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-10  4:02           ` sclarke-DpHT0TjK6O80n/F98K4Iww
2017-11-10  4:44   ` John MacFarlane
     [not found]     ` <20171110044412.GI70590-jF64zX8BO091tJRe0FUodcM6rOWSkUom@public.gmane.org>
2017-11-10  5:10       ` sclarke-DpHT0TjK6O80n/F98K4Iww
     [not found]         ` <e741d764-809b-422b-aee1-75b4e4351569-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-10 22:02           ` Kolen Cheung
2017-11-10 22:06           ` Kolen Cheung
     [not found]             ` <4710734d-f71c-45c9-b65f-27ebf81e29e1-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-12 21:34               ` sclarke-DpHT0TjK6O80n/F98K4Iww
     [not found]                 ` <85643608-a189-4407-8a21-37e5d75074fd-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-13  9:19                   ` albert.krewinkel-stqabkCVF6SGlKaCpJGLJw
     [not found]                     ` <323e407c-d9ae-429a-b951-1dc5b87a624b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-13 23:37                       ` Kolen Cheung
     [not found]                         ` <2b1dba89-0544-49a0-954d-cad4c269fc78-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-13 23:53                           ` sclarke-DpHT0TjK6O80n/F98K4Iww
2017-11-14  7:50                           ` albert.krewinkel-stqabkCVF6SGlKaCpJGLJw
     [not found]                             ` <600cb80b-0753-4823-acd3-a05cae7577e8-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-14 12:12                               ` Kolen Cheung
     [not found]                                 ` <17d771db-6489-402c-afa6-d948ca8e9cac-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-15 13:38                                   ` albert.krewinkel-stqabkCVF6SGlKaCpJGLJw [this message]
     [not found]                                     ` <b8cdcc3a-105a-405f-b2a2-188cdc053abb-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2017-11-15 17:43                                       ` Kolen Cheung

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b8cdcc3a-105a-405f-b2a2-188cdc053abb@googlegroups.com \
    --to=albert.krewinkel-stqabkcvf6sglkacpjgljw@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).