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: chapter wise bibliography in docx
Date: Tue, 9 Jan 2018 00:47:55 -0800 (PST)	[thread overview]
Message-ID: <e2045875-ea80-46fe-94d7-9ef9f857fb0e@googlegroups.com> (raw)
In-Reply-To: <5ce48365-f66a-4caa-bbf0-cb8e825e01c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>


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

If you want to give Lua filters a try after all, have a look at jkr's 
section-ref filter:
https://github.com/jkr/lua-filters/tree/master/filters/section-refs

It has more features and is much cleaner than what I posted.

On Tuesday, January 9, 2018 at 8:23:50 AM UTC+1, Stefan Stiene wrote:
>
> Dear John and Albert,
> thanks for your solutions!
>
> I will go for Johns solution as I'm pandoc newbie and a little bit afraid 
> that lua filters will raise 5 additional questions ;-)
>
> Thanks
> Stefan
>
> Am Donnerstag, 4. Januar 2018 21:21:09 UTC+1 schrieb Albert Krewinkel:
>>
>> Forgot to add the link: 
>>
>> https://gist.github.com/tarleb/febcc78e5c7f6384299297232ab7dfe2 
>>
>> > As usual, I'd like to propose a lua-filter solution – I don't really 
>> > suggest using it though, as it's far too hacky in its current state. 
>> > 
>> > The filter splits the document in multiple sub-documents, runs 
>> > pandoc-citeproc on each of these, and then combines them back into a 
>> big 
>> > document.  It's not fully tests, doesn't work with metadata specified 
>> on 
>> > the command line (use YAML values instead), and is generally not useful 
>> > other than demonstrating the feasibility of using Lua filters for this. 
>>
>> -- 
>> Albert Krewinkel 
>> GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124 
>>
>

-- 
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/e2045875-ea80-46fe-94d7-9ef9f857fb0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

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

  parent reply	other threads:[~2018-01-09  8:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-04  9:12 'Stefan Stiene' via pandoc-discuss
     [not found] ` <2190ca6a-6085-4a46-a5aa-48e2b6cf3d10-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-04 13:13   ` James Austin
     [not found]     ` <ff8d25cf-7045-6b08-ce12-7905d1a9ee0c-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2018-01-04 14:39       ` 'Stefan Stiene' via pandoc-discuss
2018-01-04 16:23   ` John MacFarlane
2018-01-04 20:17   ` Albert Krewinkel
     [not found]     ` <87fu7lcrak.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2018-01-04 20:19       ` Albert Krewinkel
     [not found]         ` <877esxcr7o.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2018-01-09  7:23           ` 'Stefan Stiene' via pandoc-discuss
     [not found]             ` <5ce48365-f66a-4caa-bbf0-cb8e825e01c7-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2018-01-09  8:47               ` albert.krewinkel-stqabkCVF6SGlKaCpJGLJw [this message]
2020-03-15 17:37   ` David Denton

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=e2045875-ea80-46fe-94d7-9ef9f857fb0e@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).